2
我试着创建一个新的项目,在斯坦福解析器上工作。我应该在我的项目中包含哪些所有jar文件以使用stanford分析器?
我已将stanford-postagger.jar和stanford-parser-2012-05-22-models.jar添加到项目中。 还有什么我应该补充的?
我无法使用LexicalizedParser。我遇到了一个错误:LexicalizedParser cannot be resolved to a type" in the line ...
LexicalizedParser lp = LexicalizedParser.loadModel("edu/stanford/nlp/models/lexparser/englishPCFG.ser.gz");
我正在使用eclipse IDE。
谢谢, 哈里什