我只是下載並使用下面的命令運行Standfor NLP 3.6.0 http://stanfordnlp.github.io/CoreNLP/index.html :斯坦福NLP服務器::未知註釋:情緒
java -cp "*" edu.stanford.nlp.pipeline.StanfordCoreNLPServer --public --port 1062
我測試的其他註釋像POS,標記者和他們的工作只是OK 。然而,當我嘗試運行的情緒註釋[http://nlp.stanford.edu/sentiment/]我收到以下錯誤:
java.lang.IllegalArgumentException: Unknown annotator: sentiment
at edu.stanford.nlp.pipeline.StanfordCoreNLP.ensurePrerequisiteAnnotators(StanfordCoreNLP.java:281)
at edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.getProperties(StanfordCoreNLPServer.java:476)
at edu.stanford.nlp.pipeline.StanfordCoreNLPServer$CoreNLPHandler.handle(StanfordCoreNLPServer.java:350)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.AuthFilter.doFilter(AuthFilter.java:83)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:82)
at sun.net.httpserver.ServerImpl$Exchange$LinkHandler.handle(ServerImpl.java:675)
at com.sun.net.httpserver.Filter$Chain.doFilter(Filter.java:79)
at sun.net.httpserver.ServerImpl$Exchange.run(ServerImpl.java:647)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
我上傳我從下載頁面得到了所有文件[http://stanfordnlp.github.io/CoreNLP/index.html#download]不知道我缺少什麼?