【发布时间】:2014-10-23 10:12:33
【问题描述】:
我想使用 Stanford CoreNLP Parser 解析一个带有“makeCopulaHead”标志的句子。
在我的文件input.txt中,我有以下句子:
I am tall.
目标是在输出依赖树中没有 copula 关系(cop)。
我试过了:
java -cp "*" -mx8g edu.stanford.nlp.pipeline.StanfordCoreNLP -makeCopulaHead -file input.txt
.xml 文件包含 cop 关系 :(
我也尝试过(xml 输出的错误:https://mailman.stanford.edu/pipermail/java-nlp-user/2013-January/002959.html ?):
java -cp "*" -mx8g edu.stanford.nlp.pipeline.StanfordCoreNLP -makeCopulaHead -file input.txt -outputFormat text
但其实是一样的……
【问题讨论】:
标签: nlp stanford-nlp