primary
MecabDictionary.Category primary()
Returns the first category on the mapping.
- Returns:
- The category that supplies unknown-word settings.
CategoryTableint, which
holds every id because MecabDictionary accepts at most 17 categories.CategoryAssignment(MecabDictionary.Category[] categories) (package private) intcontinuedRunEnd(CategoryTable.CategoryAssignment next,
int nextRunEnd,
int characterEnd) (package private) MecabDictionary.Categoryprimary()categories - The categories in mapping order. Must not be empty.IllegalArgumentException - Thrown if categories is null or
empty.seekToOtherType replaces the current mask after each accepted
character, so successive assignments must overlap.next - The next character's assignment, or null at the end of text.nextRunEnd - The run end calculated at the next character.characterEnd - The exclusive end of the current character.nextRunEnd when the assignments intersect;
characterEnd otherwise.