cc.mallet.fst
Interface SumLattice
- All Known Implementing Classes:
- SumLatticeBeam, SumLatticeConstrained, SumLatticeDefault, SumLatticeDefaultCachedDot, SumLatticeKL, SumLatticePR, SumLatticeScaling
public interface SumLattice
Interface to perform forward-backward during training of a transducer.
getXis
double[][][] getXis()
getGammas
double[][] getGammas()
getTotalWeight
double getTotalWeight()
getGammaWeight
double getGammaWeight(int inputPosition,
Transducer.State s)
getGammaProbability
double getGammaProbability(int inputPosition,
Transducer.State s)
getXiProbability
double getXiProbability(int ip,
Transducer.State s1,
Transducer.State s2)
getXiWeight
double getXiWeight(int ip,
Transducer.State s1,
Transducer.State s2)
length
int length()
getInput
Sequence getInput()
getAlpha
double getAlpha(int ip,
Transducer.State s)
getBeta
double getBeta(int ip,
Transducer.State s)
getLabelingAtPosition
LabelVector getLabelingAtPosition(int outputPosition)
getTransducer
Transducer getTransducer()