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) |
static List<String> |
segmenter(String blob) |
static List<String> |
tokenize(String sentence) |
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 © 2017. All rights reserved.