public class StanfordParserUtils extends Object
| Constructor and Description |
|---|
StanfordParserUtils() |
| Modifier and Type | Method and Description |
|---|---|
static org.maochen.nlp.parser.DTree |
convertTreeBankToCoNLLX(String constituentTree) |
static void |
convertTreebankToCoNLLX(String trainDirPath,
FileFilter trainTreeBankFilter,
String outputFileName) |
static org.maochen.nlp.parser.DTree |
getDTreeFromCoreNLP(Collection<edu.stanford.nlp.trees.TypedDependency> deps,
List<edu.stanford.nlp.ling.CoreLabel> tokens) |
public static org.maochen.nlp.parser.DTree getDTreeFromCoreNLP(Collection<edu.stanford.nlp.trees.TypedDependency> deps, List<edu.stanford.nlp.ling.CoreLabel> tokens)
public static void convertTreebankToCoNLLX(String trainDirPath, FileFilter trainTreeBankFilter, String outputFileName)
public static org.maochen.nlp.parser.DTree convertTreeBankToCoNLLX(String constituentTree)
Copyright © 2015. All rights reserved.