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