|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.stanford.nlp.ie.hmm.State
Class to model a single state in an HMM.
Field Summary | |
static int |
BKGRNDIDX
|
EmitMap |
emit
|
static int |
FINISHIDX
|
static int |
FINISHTYPE
|
static int |
STARTIDX
This variable indicates a state numbering in a state array, not a state type (unlike the TYPE variables above). |
static int |
STARTTYPE
|
double[] |
transition
|
int |
type
An integer type for a state, giving equivalence classes of states. |
Constructor Summary | |
State(int numStates)
Creates new state, initializes transitions and type to background. |
|
State(int type,
EmitMap emit,
double[] transition)
Creates new state, initializes transitions and type. |
|
State(int type,
EmitMap emit,
int numStates)
Creates new state, initializes transitions and type. |
Method Summary | |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public int type
public static final int STARTTYPE
public static final int FINISHTYPE
public EmitMap emit
public double[] transition
public static final int STARTIDX
public static final int FINISHIDX
public static final int BKGRNDIDX
Constructor Detail |
public State(int numStates)
public State(int type, EmitMap emit, int numStates)
public State(int type, EmitMap emit, double[] transition)
Method Detail |
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |