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.
- Author:
- Dan Klein
Method Summary |
Tree |
getBestParse()
Returns a best parse of the last sentence on which parse was
called, or null if none exists. |
getBestParse
Tree getBestParse()
- Returns a best parse of the last sentence on which
parse
was
called, or null if none exists.
- Returns:
- The tree for the best parse
Stanford NLP Group