【发布时间】:2015-08-05 07:08:29
【问题描述】:
我正在使用最新版本的 CoreNLP。
我的任务是使用 CollapsedCCProcessedDependenciesAnnotation 解析文本并获得 conll 格式的输出。
我运行以下命令
time java -cp $CoreNLP/javanlp-core.jar edu.stanford.nlp.pipeline.StanfordCoreNLP -props $CoreNLP/config.properties -file 12309959 -outputFormat conll
depparse.model = english_SD.gz
问题是如何获取CollapsedCCProcessedDependenciesAnnotation。
我尝试使用 config.properties 中的 depparse.extradependencies
但是根据CCProcessedDependenciesAnnotation没有参数
http://nlp.stanford.edu/nlp/javadoc/javanlp/edu/stanford/nlp/trees/GrammaticalStructure.Extras.html#REF_ONLY_COLLAPSED
您能否提出任何解决方案,我可以如何使用CollapsedCCProcessedDependenciesAnnotation 在 conll 中进行解析?
【问题讨论】:
标签: parsing stanford-nlp