CogComp / cogcomp-nlp

CogComp's Natural Language Processing Libraries and Demos: Modules include lemmatizer, ner, pos, prep-srl, quantifier, question type, relation-extraction, similarity, temporal normalizer, tokenizer, transliteration, verb-sense, and more.
http://nlp.cogcomp.org/
Other
473 stars 142 forks source link

Failing pipeline:SentencePipelineTest #523

Open Slash0BZ opened 7 years ago

Slash0BZ commented 7 years ago

The "testSentencePipeline" in the "SentencePipelineTest" https://github.com/CogComp/cogcomp-nlp/blob/master/pipeline/src/test/java/edu/illinois/cs/cogcomp/pipeline/main/SentencePipelineTest.java#L89 leads to an assertion error "java.lang.AssertionError: Expecting token: The, found Th instead." at https://github.com/CogComp/cogcomp-nlp/blob/master/core-utilities/src/main/java/edu/illinois/cs/cogcomp/core/datastructures/textannotation/TreeView.java#L543

Slash0BZ commented 7 years ago

Full trace output:

java.lang.AssertionError: Expecting token: The, found Th instead.

at edu.illinois.cs.cogcomp.core.datastructures.textannotation.TreeView.addParseTree(TreeView.java:543)
at edu.illinois.cs.cogcomp.core.datastructures.textannotation.TreeView.addParseTree(TreeView.java:549)
at edu.illinois.cs.cogcomp.core.datastructures.textannotation.TreeView.addParseTree(TreeView.java:549)
at edu.illinois.cs.cogcomp.core.datastructures.textannotation.TreeView.addParseTree(TreeView.java:549)
at edu.illinois.cs.cogcomp.core.datastructures.textannotation.TreeView.setParseTree(TreeView.java:265)
at edu.illinois.cs.cogcomp.pipeline.handlers.StanfordParseHandler.addView(StanfordParseHandler.java:215)
at edu.illinois.cs.cogcomp.annotation.Annotator.lazyAddView(Annotator.java:181)
at edu.illinois.cs.cogcomp.annotation.Annotator.getView(Annotator.java:166)
at edu.illinois.cs.cogcomp.pipeline.main.SentencePipeline.processBySentence(SentencePipeline.java:112)
at edu.illinois.cs.cogcomp.pipeline.main.SentencePipeline.addView(SentencePipeline.java:88)
at edu.illinois.cs.cogcomp.annotation.BasicAnnotatorService.addViewsAndCache(BasicAnnotatorService.java:371)
at edu.illinois.cs.cogcomp.pipeline.main.SentencePipelineTest.testSentencePipeline(SentencePipelineTest.java:90)