Package cc.mallet.fst
Interface MaxLattice
-
- All Known Implementing Classes:
MaxLatticeDefault
public interface MaxLattice
The interface to classes implementing the Viterbi algorithm, finding the best sequence of states for a given input sequence.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Sequence<java.lang.Object>
bestOutputSequence()
java.util.List<Sequence<java.lang.Object>>
bestOutputSequences(int n)
Sequence<Transducer.State>
bestStateSequence()
java.util.List<Sequence<Transducer.State>>
bestStateSequences(int n)
double
elementwiseAccuracy(Sequence referenceOutput)
double
getDelta(int inputPosition, int stateIndex)
Transducer
getTransducer()
-
-
-
Method Detail
-
getDelta
double getDelta(int inputPosition, int stateIndex)
-
bestOutputSequence
Sequence<java.lang.Object> bestOutputSequence()
-
bestOutputSequences
java.util.List<Sequence<java.lang.Object>> bestOutputSequences(int n)
-
bestStateSequence
Sequence<Transducer.State> bestStateSequence()
-
bestStateSequences
java.util.List<Sequence<Transducer.State>> bestStateSequences(int n)
-
getTransducer
Transducer getTransducer()
-
elementwiseAccuracy
double elementwiseAccuracy(Sequence referenceOutput)
-
-