Package cc.mallet.fst
Class Transducer.State
- java.lang.Object
-
- cc.mallet.fst.Transducer.State
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
CRF.State
,FeatureTransducer.State
,HMM.State
- Enclosing class:
- Transducer
public abstract static class Transducer.State extends java.lang.Object implements java.io.Serializable
An abstract class used to represent the states of the transducer.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description State()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract double
getFinalWeight()
abstract int
getIndex()
abstract double
getInitialWeight()
abstract java.lang.String
getName()
abstract Transducer
getTransducer()
abstract void
setFinalWeight(double c)
abstract void
setInitialWeight(double c)
Transducer.TransitionIterator
transitionIterator()
Transducer.TransitionIterator
transitionIterator(Sequence input, int inputPosition)
abstract Transducer.TransitionIterator
transitionIterator(Sequence input, int inputPosition, Sequence output, int outputPosition)
-
-
-
Method Detail
-
getName
public abstract java.lang.String getName()
-
getIndex
public abstract int getIndex()
-
getInitialWeight
public abstract double getInitialWeight()
-
setInitialWeight
public abstract void setInitialWeight(double c)
-
getFinalWeight
public abstract double getFinalWeight()
-
setFinalWeight
public abstract void setFinalWeight(double c)
-
getTransducer
public abstract Transducer getTransducer()
-
transitionIterator
public abstract Transducer.TransitionIterator transitionIterator(Sequence input, int inputPosition, Sequence output, int outputPosition)
-
transitionIterator
public Transducer.TransitionIterator transitionIterator(Sequence input, int inputPosition)
-
transitionIterator
public Transducer.TransitionIterator transitionIterator()
-
-