cc.mallet.fst
Class CRF.Factors.Incrementor
java.lang.Object
cc.mallet.fst.CRF.Factors.Incrementor
- All Implemented Interfaces:
- Transducer.Incrementor
- Enclosing class:
- CRF.Factors
public class CRF.Factors.Incrementor
- extends java.lang.Object
- implements Transducer.Incrementor
Instances of this inner class can be passed to various inference methods, which can then
gather/increment sufficient statistics counts into the containing Factor instance.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CRF.Factors.Incrementor
public CRF.Factors.Incrementor()
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