nlp - 在斯坦福 NLP 中构建失败
问题描述
我对此真的很陌生,如果有什么听起来很愚蠢,很抱歉。目前正在尝试构建 NLP,我得到了这个:
Buildfile: /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/build.xml
clean:
[delete] Deleting directory /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/bin
[delete] Deleting directory /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/testreport
BUILD SUCCESSFUL
Total time: 0 seconds
Buildfile: /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/build.xml
compile:
[mkdir] Created dir: /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/bin
[mkdir] Created dir: /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/bin/test
[mkdir] Created dir: /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/testreport
[javac] Compiling 3 source files to /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/bin
[javac] Compiling 13 source files to /Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/bin/test
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
junit:
[junit] Running edu.stanford.nlp.pipeline.DetectorNotDefinedTest
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Registering annotator jmwe.indexData with class Users/Invate/mwetoolkit3/JMWE/CoreNLP/lib/mweindex_wordnet3.0_semcor1.6.data
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Registering annotator jmwe.verbose with class true
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Registering annotator jmwe.underscoreReplacement with class -
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Registering annotator jmwe.detector with class SomeOtherText
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Registering annotator jmwe with class edu.stanford.nlp.pipeline.JMWEAnnotator
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator tokenize
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator ssplit
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator pos
[junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.827 sec
[junit] [main] INFO edu.stanford.nlp.tagger.maxent.MaxentTagger - Loading POS tagger from edu/stanford/nlp/models/pos-tagger/english-left3words-distsim.tagger ... done [0.7 sec].
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator lemma
[junit] [main] INFO edu.stanford.nlp.pipeline.StanfordCoreNLP - Adding annotator jmwe
BUILD FAILED
/Users/Invate/mwetoolkit3/JMWE/CoreNLP-jMWE/build.xml:54: Test edu.stanford.nlp.pipeline.DetectorNotDefinedTest failed
我不确定为什么构建失败,所以我会感谢所有帮助。谢谢!
解决方案
推荐阅读
- java - 对于 Wildfly 中以 .html 文件结尾的 URL,此 URL 不支持 HTTP 方法 POST
- android - 获取坐标的平均精度
- r - 图的置信区间
- android - 如何将“锻炼”对象从一项活动传递回主活动
- java - 实现基于令牌的身份验证的最佳方法是什么
- ios - 如何在objective c中使用colorLiteral、imageLiteral
- javascript - 尝试安装 vue/cli 时权限被拒绝
- mysql - 使用 SQL 触发器设置类别嵌套路径
- c++ - 如何删除可以是指针(模板)的变量?
- azure - 注册期间同时使用 Azure B2C 移动和电子邮件