edu.umass.cs.mallet.base.fst
Class Transducer.ViterbiPath_NBest

java.lang.Object
  extended byedu.umass.cs.mallet.base.types.SequencePair
      extended byedu.umass.cs.mallet.base.types.SequencePairAlignment
          extended byedu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest
Enclosing class:
Transducer

public class Transducer.ViterbiPath_NBest
extends SequencePairAlignment


Field Summary
 
Fields inherited from class edu.umass.cs.mallet.base.types.SequencePairAlignment
cost
 
Fields inherited from class edu.umass.cs.mallet.base.types.SequencePair
confidenceNBest, costNBest, input, output, outputNBest
 
Constructor Summary
protected Transducer.ViterbiPath_NBest(Sequence inputSequence, Sequence outputSequence, int N)
           
 
Method Summary
protected  void combineNBest()
           
protected  edu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest.ViterbiNode_NBest getViterbiNode(edu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest.ViterbiNode_NBest[][] nodes, int ip, int stateIndex)
           
protected  Sequence[] NBestBackwardASearch(int N)
           
protected  void NBestForwardViterbi(edu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest.ViterbiNode_NBest[][] nodes, edu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest.ViterbiNode_NBest[] finalNodePredecessor, int N)
           
 
Methods inherited from class edu.umass.cs.mallet.base.types.SequencePairAlignment
getCost
 
Methods inherited from class edu.umass.cs.mallet.base.types.SequencePair
confidenceNBest, costNBest, input, output, outputNBest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transducer.ViterbiPath_NBest

protected Transducer.ViterbiPath_NBest(Sequence inputSequence,
                                       Sequence outputSequence,
                                       int N)
Method Detail

getViterbiNode

protected edu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest.ViterbiNode_NBest getViterbiNode(edu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest.ViterbiNode_NBest[][] nodes,
                                                                                                     int ip,
                                                                                                     int stateIndex)

NBestForwardViterbi

protected void NBestForwardViterbi(edu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest.ViterbiNode_NBest[][] nodes,
                                   edu.umass.cs.mallet.base.fst.Transducer.ViterbiPath_NBest.ViterbiNode_NBest[] finalNodePredecessor,
                                   int N)

NBestBackwardASearch

protected Sequence[] NBestBackwardASearch(int N)

combineNBest

protected void combineNBest()