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