I am getting Invalid Format exception. I saw some people suggesting to remove tags.tagdict
file from en-pos-maxent.bin
file but I don't know how to do that. Can any one please explain that to me
ava.io.FileInputStream inputStream2 = new java.io.FileInputStream("D://Documents/7090/opennlp-models/en-pos-maxent.bin");
POSModel pModel = new POSModel(inputStream2);
POSTaggerME posDetector = new POSTaggerME(pModel);