I have a list of words after Pos Tagging in Java. Now I want to remove particular words with specified tags.How to use string tokenizer to remove the tagged words? such as to-PRP? and all words with tags prp?
The input file:
mike-NNS
Buses-NNP
Walk_VRB
to_PRP
. . . . . . . . . and so on