public class ViterbiSearcher
extends java.lang.Object
| Constructor and Description |
|---|
ViterbiSearcher(TokenizerBase.Mode mode,
ConnectionCosts costs,
UnknownDictionary unknownDictionary,
java.util.List<java.lang.Integer> penalties) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ViterbiNode> |
search(ViterbiLattice lattice)
Find best path from input lattice.
|
public ViterbiSearcher(TokenizerBase.Mode mode, ConnectionCosts costs, UnknownDictionary unknownDictionary, java.util.List<java.lang.Integer> penalties)
public java.util.List<ViterbiNode> search(ViterbiLattice lattice)
lattice - the result of build method