在斯坦福 NLP 中构建失败

时间:2021-03-17 10:39:20

标签: nlp stanford-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

我不知道为什么构建失败,所以我很感激所有的帮助。谢谢!

0 个答案:

没有答案
相关问题