|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.stanford.nlp.sequences.ExactBestSequenceFinder
public class ExactBestSequenceFinder
A class capable of computing the best sequence given a SequenceModel. Uses the Viterbi algorithm.
Constructor Summary | |
---|---|
ExactBestSequenceFinder()
|
Method Summary | |
---|---|
int[] |
bestSequence(SequenceModel ts)
Runs the Viterbi algorithm on the sequence model given by the TagScorer in order to find the best sequence. |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExactBestSequenceFinder()
Method Detail |
---|
public static void main(java.lang.String[] args)
public int[] bestSequence(SequenceModel ts)
bestSequence
in interface BestSequenceFinder
ts
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |