我安装了nlpnet并下载了data。但它只适用于一些句子。我在virtualenv中使用ubuntu13.0432bits和python2.7.4。在
我在这里贴了两个例子,第一个似乎有用,第二个没有:
python nlpnet-tag.py srl /path/to/nlpnet-data/
This is the first sentence of the paragraph. This is the second sentence of the paragraph.
This is the first sentence of the paragraph .
sentence
A1: the paragraph
A0: first
V: sentence
This is the second sentence of the paragraph .
sentence
A1: the paragraph
A0: second
V: sentence
这个句子取自CoNLL-2005 Examples
^{pr2}$我还从python和tokenization进行了测试,但是在第二个调用arg_structures
的示例中,返回一个空列表。在
我错过了什么。。。如果您能在不使用nlpnet的情况下提供解决方案,我们将不胜感激。在
谢谢
PS:我也reported this issue,但想看看有没有人帮我修一下。在
erickrf,包的作者,answer它:
相关问题 更多 >
编程相关推荐