Package opennlp.tools.tokenize.lattice
Interface MecabDictionary.PrefixMatchConsumer
- Enclosing class:
MecabDictionary
static interface MecabDictionary.PrefixMatchConsumer
Receives one common-prefix match during
MecabDictionary.prefixMatches(java.lang.String, int, int, opennlp.tools.tokenize.lattice.MecabDictionary.PrefixMatchConsumer).-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(int length, List<MecabDictionary.WordEntry> entries) Accepts one match.
-
Method Details
-
accept
Accepts one match.- Parameters:
length- The matched surface length in characters.entries- The lexicon entries for that surface.
-