public class StanfordPCFGParser extends StanfordParser
| Constructor and Description |
|---|
StanfordPCFGParser() |
StanfordPCFGParser(String modelPath,
String posTaggerModel,
List<String> ners) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Table<org.maochen.nlp.parser.DTree,edu.stanford.nlp.trees.Tree,Double> |
getKBestParse(String sentence,
int k) |
org.maochen.nlp.parser.DTree |
parse(String sentence) |
org.apache.commons.lang3.tuple.Pair<edu.stanford.nlp.util.CoreMap,edu.stanford.nlp.trees.GrammaticalStructure> |
parseForCoref(String sentence) |
void |
tagPOS(List<edu.stanford.nlp.ling.CoreLabel> tokens,
edu.stanford.nlp.trees.Tree tree) |
load, stanfordTokenize, tagLemma, tagNamedEntity, tagPOSpublic void tagPOS(List<edu.stanford.nlp.ling.CoreLabel> tokens, edu.stanford.nlp.trees.Tree tree)
public org.apache.commons.lang3.tuple.Pair<edu.stanford.nlp.util.CoreMap,edu.stanford.nlp.trees.GrammaticalStructure> parseForCoref(String sentence)
public org.maochen.nlp.parser.DTree parse(String sentence)
parse in interface IParserparse in class StanfordParserCopyright © 2016. All rights reserved.