Package opennlp.tools.tokenize.lattice
package opennlp.tools.tokenize.lattice
-
ClassDescriptionDictionary-driven segmentation for languages written without spaces: a Viterbi search over the word lattice of a
MecabDictionary, minimizing the sum of word costs and connection costs.An immutable, in-memory dictionary in the MeCab directory format: lexicon entries from the*.csvfiles, connection costs frommatrix.def, character categories fromchar.def, and unknown-word templates fromunk.def, loaded from a user-supplied dictionary directory.One morpheme from lattice segmentation: theSpanit covers in the original text, its surface form, and the feature columns its dictionary entry carries.Frequency-driven segmentation for Chinese and similar scripts: a Viterbi search that maximizes the summed log-probability of the words in a user-supplied frequency lexicon, with unlisted characters falling back to single-character words.