cc.mallet.fst
Class CRF.Factors.WeightedIncrementor

java.lang.Object
  extended by cc.mallet.fst.CRF.Factors.WeightedIncrementor
All Implemented Interfaces:
Transducer.Incrementor
Enclosing class:
CRF.Factors

public class CRF.Factors.WeightedIncrementor
extends java.lang.Object
implements Transducer.Incrementor


Constructor Summary
CRF.Factors.WeightedIncrementor(double instanceWeight)
           
 
Method Summary
 void incrementFinalState(Transducer.State s, double count)
           
 void incrementInitialState(Transducer.State s, double count)
           
 void incrementTransition(Transducer.TransitionIterator ti, double count)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRF.Factors.WeightedIncrementor

public CRF.Factors.WeightedIncrementor(double instanceWeight)
Method Detail

incrementFinalState

public void incrementFinalState(Transducer.State s,
                                double count)
Specified by:
incrementFinalState in interface Transducer.Incrementor

incrementInitialState

public void incrementInitialState(Transducer.State s,
                                  double count)
Specified by:
incrementInitialState in interface Transducer.Incrementor

incrementTransition

public void incrementTransition(Transducer.TransitionIterator ti,
                                double count)
Specified by:
incrementTransition in interface Transducer.Incrementor