Uses of Record Class
opennlp.tools.tokenize.lattice.MecabDictionary.Category
Packages that use MecabDictionary.Category
-
Uses of MecabDictionary.Category in opennlp.tools.tokenize.lattice
Fields in opennlp.tools.tokenize.lattice declared as MecabDictionary.CategoryModifier and TypeFieldDescriptionprivate final MecabDictionary.Category[]CategoryTable.CategoryAssignment.categoriesMethods in opennlp.tools.tokenize.lattice that return MecabDictionary.CategoryModifier and TypeMethodDescription(package private) MecabDictionary.CategoryMecabDictionary.categoryOf(int codePoint) Classifies a character by code point, so a character outside the Basic Multilingual Plane is classified once, not as separate surrogate code units.(package private) MecabDictionary.CategoryCategoryTable.CategoryAssignment.primary()Returns the first category on the mapping.Methods in opennlp.tools.tokenize.lattice with parameters of type MecabDictionary.CategoryModifier and TypeMethodDescriptionprivate voidLatticeTokenizer.addUnknown(List<LatticeTokenizer.Node> candidates, String text, int position, int runEnd, MecabDictionary.Category category, List<MecabDictionary.WordEntry> templates) Emits unknown-word candidates per the category's grouping and length settings.Method parameters in opennlp.tools.tokenize.lattice with type arguments of type MecabDictionary.CategoryModifier and TypeMethodDescription(package private) CategoryTableCategoryTable.Builder.build(Map<String, MecabDictionary.Category> categories) Builds the lookup table from the recorded mappings.private static voidMecabDictionary.readCharacterDefinition(Path file, Charset charset, Map<String, MecabDictionary.Category> categories, CategoryTable.Builder categoryTable) Readschar.def: the category behavior lines and the code point mapping lines, in file order, so that a later mapping wins over an earlier one.private CategoryTable.CategoryAssignmentCategoryTable.Builder.resolve(String[] names, Map<String, MecabDictionary.Category> categories, Map<String[], CategoryTable.CategoryAssignment> resolvedAssignments, int codePoint) Resolves mapped category names using the defined categories.Constructors in opennlp.tools.tokenize.lattice with parameters of type MecabDictionary.CategoryModifierConstructorDescription(package private)CategoryAssignment(MecabDictionary.Category[] categories) Creates an assignment with the first entry as the primary category.Constructor parameters in opennlp.tools.tokenize.lattice with type arguments of type MecabDictionary.CategoryModifierConstructorDescriptionprivateMecabDictionary(DoubleArrayLexicon lexicon, short[] connectionCosts, int rightSize, Map<String, MecabDictionary.Category> categories, CategoryTable categoryTable, Map<String, List<MecabDictionary.WordEntry>> unknownEntries) Creates an immutable dictionary from parsed lexicon and definition data.