edu.stanford.nlp.sequences
Class FactoredSequenceListener
java.lang.Object
edu.stanford.nlp.sequences.FactoredSequenceListener
- All Implemented Interfaces:
- SequenceListener
public class FactoredSequenceListener
- extends Object
- implements SequenceListener
- Author:
- grenager
Date: Apr 18, 2005
Method Summary |
void |
setInitialSequence(int[] sequence)
Informs this sequence model that the value of the whole sequence is initialized to sequence |
void |
updateSequenceElement(int[] sequence,
int pos,
int oldVal)
Informs this sequence model that the value of the element at position pos has changed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoredSequenceListener
public FactoredSequenceListener(SequenceListener model1,
SequenceListener model2)
FactoredSequenceListener
public FactoredSequenceListener(SequenceListener[] models)
updateSequenceElement
public void updateSequenceElement(int[] sequence,
int pos,
int oldVal)
- Informs this sequence model that the value of the element at position pos has changed.
This allows this sequence model to update its internal model if desired.
- Specified by:
updateSequenceElement
in interface SequenceListener
setInitialSequence
public void setInitialSequence(int[] sequence)
- Informs this sequence model that the value of the whole sequence is initialized to sequence
- Specified by:
setInitialSequence
in interface SequenceListener
Stanford NLP Group