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
471 stars 144 forks source link

SimpleGazetteerAnnotatorTest - getLabel String with path information? #744

Open chrisoutwright opened 3 years ago

chrisoutwright commented 3 years ago

Running the edu.illinois.cs.cogcomp.edison.annotators.SimpleGazetteerAnnotatorTest from the illinois-edison yields Assertion Errors like these for the reference "organizations(IC)"

org.junit.ComparisonFailure: expected:<[/H:/eclipse/cogcomp/cogcomp-nlp-master/edison/target/classes/testgazetteers/]organizations(IC)> but was:<[]organizations(IC)> The assertion part in question is assertEquals(c1.getLabel(), "organizations(IC)"); Why is there path information in the square brackets? Where do the square brackets come from in the Failure log?