# Uses of Interface
org.apache.lucene.analysis.morph.MorphData

Packages that use MorphData
Package
Description
org.apache.lucene.analysis.morph
Abstract classes for morphological analyzers.

## Uses of MorphData in org.apache.lucene.analysis.morph

Classes in org.apache.lucene.analysis.morph with type parameters of type MorphData
Modifier and Type
Class
Description
`class`
`BinaryDictionary<T extends MorphData>`
Abstract dictionary base class.
`class`
`BinaryDictionaryWriter<T extends BinaryDictionary<? extends MorphData>>`
Abstract base dictionary writer class.
`interface`
`Dictionary<T extends MorphData>`
High-level dictionary interface for morphological analyzers.
`class`
`GraphvizFormatter<T extends MorphData>`
Outputs the dot (graphviz) string for the viterbi lattice.
`static interface`
`GraphvizFormatter.DictionaryProvider<T extends MorphData>`
`Dictionary` provider
`class`
`ViterbiNBest<T extends Token,U extends MorphData>`
`Viterbi` subclass for n-best path calculation.
`protected static final class`
`ViterbiNBest.Lattice<U extends MorphData>`
Yet another lattice data structure for keeping n-best path.
Methods in org.apache.lucene.analysis.morph with parameters of type MorphData
Modifier and Type
Method
Description
`protected final void`
Viterbi.`add(MorphData morphData, Viterbi.Position fromPosData, int wordPos, int endPos, int wordID, TokenType type, boolean addPenalty)`
Add a token on the minimum cost path to the pending token list.
`protected int`
Viterbi.`computeSpacePenalty(MorphData morphData, int wordID, int numSpaces)`
Returns the space penalty.
Constructor parameters in org.apache.lucene.analysis.morph with type arguments of type MorphData
Modifier
Constructor
Description
`protected`
`Viterbi(TokenInfoFST fst, FST.BytesReader fstReader, BinaryDictionary<? extends MorphData> dictionary, TokenInfoFST userFST, FST.BytesReader userFSTReader, Dictionary<? extends MorphData> userDictionary, ConnectionCosts costs, Class<U> positionImpl)`
`protected`
`Viterbi(TokenInfoFST fst, FST.BytesReader fstReader, BinaryDictionary<? extends MorphData> dictionary, TokenInfoFST userFST, FST.BytesReader userFSTReader, Dictionary<? extends MorphData> userDictionary, ConnectionCosts costs, Class<U> positionImpl)`
`protected`
`ViterbiNBest(TokenInfoFST fst, FST.BytesReader fstReader, BinaryDictionary<? extends MorphData> dictionary, TokenInfoFST userFST, FST.BytesReader userFSTReader, Dictionary<? extends MorphData> userDictionary, ConnectionCosts costs)`
`protected`
`ViterbiNBest(TokenInfoFST fst, FST.BytesReader fstReader, BinaryDictionary<? extends MorphData> dictionary, TokenInfoFST userFST, FST.BytesReader userFSTReader, Dictionary<? extends MorphData> userDictionary, ConnectionCosts costs)`