public interface ViterbiParserWithOptions extends ViterbiParser
null if no parse exists.| Modifier and Type | Method and Description |
|---|---|
void |
setOptionFlags(java.lang.String... flags)
This will set options to a parser, in a way generally equivalent to
passing in the same sequence of command-line arguments.
|
getBestParsevoid setOptionFlags(java.lang.String... flags)
flags - Arguments to the parser, for example,
{"-outputFormat", "typedDependencies", "-maxLength", "70"}java.lang.IllegalArgumentException - If an unknown flag is passed in