edu.stanford.nlp.ie.hmm
Class MultiStructure
java.lang.Object
|
+--edu.stanford.nlp.ie.hmm.Structure
|
+--edu.stanford.nlp.ie.hmm.MultiStructure
- All Implemented Interfaces:
- GeneralStructure, Serializable
- public class MultiStructure
- extends Structure
Class to model an HMM context structure.
- See Also:
- Serialized Form
Field Summary |
protected int |
states
|
Fields inherited from class edu.stanford.nlp.ie.hmm.Structure |
BACKGROUND, END, END_STATE, GLOBAL_END, GLOBAL_START, ONE, PREFIX, prefixes, START, START_STATE, stateTypes, SUFFIX, suffixes, TARGET, targets, transitions, ZERO |
Methods inherited from class edu.stanford.nlp.ie.hmm.Structure |
addPrefix, addSuffix, addTarget, addTransition, chrisDefaultStates, chrisDefaultStates2, copy, defaultStates, getIncoming, getOutgoing, getTransitions, giveDefault, giveEmpty, giveErgodic, giveTarget, initializeTransitions, insertState, jimDefaultStates, lengthenPrefix, lengthenSuffix, lengthenTarget, mergeStructures, normalize, numParameters, numPrefixes, numSuffixes, numTargets, perturbTransitions, setWeight, splitState, toString |
states
protected int states
MultiStructure
public MultiStructure(String[] targetFields)
main
public static void main(String[] args)
- Tests that creation doesn't crash...
calcEmitStates
public int calcEmitStates()
createTransitions
public double[][] createTransitions()
getStates
public State[] getStates()
- Specified by:
getStates
in interface GeneralStructure
- Overrides:
getStates
in class Structure
Stanford NLP Group