public interface IDependencyParser
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDependencyParseModel()
Get dependency parse model
|
java.lang.String |
getOptions()
Get options
|
java.lang.String |
getPosTaggerModel()
Get pos tagger model
|
boolean |
isValid()
Whether this parser is valid
|
edu.stanford.nlp.trees.GrammaticalStructure |
parse(java.util.List<edu.stanford.nlp.ling.CoreLabel> sentence)
Parse sentence
|
java.util.List<edu.stanford.nlp.trees.GrammaticalStructure> |
parseSentences(java.util.List<java.util.List<edu.stanford.nlp.ling.CoreLabel>> sentences)
Parse sentences
|
boolean isValid()
java.lang.String getOptions()
java.lang.String getPosTaggerModel()
java.lang.String getDependencyParseModel()
edu.stanford.nlp.trees.GrammaticalStructure parse(java.util.List<edu.stanford.nlp.ling.CoreLabel> sentence)
sentence
- sentence to parsejava.util.List<edu.stanford.nlp.trees.GrammaticalStructure> parseSentences(java.util.List<java.util.List<edu.stanford.nlp.ling.CoreLabel>> sentences)
sentences
- sentences to parse