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
 
Constructor Summary
MultiStructure(String[] targetFields)
           
 
Method Summary
 int calcEmitStates()
           
 double[][] createTransitions()
           
 State[] getStates()
           
static void main(String[] args)
          Tests that creation doesn't crash...
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

states

protected int states
Constructor Detail

MultiStructure

public MultiStructure(String[] targetFields)
Method Detail

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