CoreNLP给出无法找到或加载主类错误

时间:2015-07-27 10:08:53

标签: java linux stanford-nlp

https://github.com/stanfordnlp/CoreNLP下载CoreNLP。我跑的时候

$ java -mx4g src.edu.stanford.nlp.parser.dvparser.CacheParseHypothese
Error: Could not find or load main class src.edu.stanford.nlp.parser.dvparser.CacheParseHypothese

$ java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)

1 个答案:

答案 0 :(得分:0)

好像你拼错了 - > CacheParseHypothese在最后添加s个字符。

class CacheParseHypotheses