edu.stanford.nlp.parser
Interface ViterbiParser
- All Superinterfaces:
- Parser
- All Known Implementing Classes:
- LexicalizedParser
- public interface ViterbiParser
- extends Parser
The interface for Viterbi parsers. Viterbi parsers support
getBestParse, which returns a best parse of the input, or null if
no parse exists.
Method Summary |
Tree |
getBestParse()
Returns a best parse of the last sentence on which parse was
called, or null if none exist. |
Methods inherited from interface edu.stanford.nlp.parser.Parser |
parse |
getBestParse
public Tree getBestParse()
- Returns a best parse of the last sentence on which parse was
called, or null if none exist.
Stanford NLP Group