public class ConstituentParsing extends Object
| Constructor and Description |
|---|
ConstituentParsing(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
opennlp.tools.parser.Parse[] |
parse(String sentence,
int numParses)
This method receives as an input a tokenized sentence and stores the parses
in a Parse object array.
|
public ConstituentParsing(Properties properties)
public opennlp.tools.parser.Parse[] parse(String sentence, int numParses)
sentence - tokenized sentencenumParses - number of parsesCopyright © 2017. All rights reserved.