i'm pretty new to nlp and i'm trying to figure out pos taggings. currently i'm trying out the stanford nlp pos tagger, url: http://nlp.stanford.edu/software/tagger.shtml
from the link above, there's this sentence:
The tagger can be retrained on any language, given POS-annotated training text for the language.
However, I'm not able to get it working. All I can do now is to give it a text file to tag. for e.g. String test = "this is a test"; will return me this_DT is_VBZ a_DT test_NN.
How can I go about retraining the tagger? Let's say I want the above string to be returned as this_DT is_VBZ a_DT test_VB?
appreciate any answers here.