CogComp/cogcomp-nlp

Minor improvement to POSAnnotator

Opened this issue · 0 comments

Looking at code to try to understand how to use POSAnnotator I see an opportunity for a minor improvement. In

and line 97 the code seems to be doing the same operation tagger.discreteValue(lbjtoken). Perhaps the value can be saved the first time and reused in line 97.