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

Annotator.getView vs Annotator.addView #270

Open danyaljj opened 8 years ago

danyaljj commented 8 years ago

There is a little confusion in usage of these two functions.

Specifically when you change this line of POS test from getView to addView, the test fails.

FYI @ChaseDuncan @cttsai

mssammon commented 7 years ago

The solution may be to create an annotation that indicates "client shouldn't call directly"