postagger

Using the Stanford postagger in java, getting java.lang.IncompatibleClassChangeError

I am trying to initialize the Stanford NLP Part of Speech tagger and I keep getting a java.lang.IncompatibleClassChangeError. When I print the cause of the error, I get null, when I print the message I get Implementing Class. This is my code: try { MaxentTagger tagger = new MaxentTagger(path+"left3words-wsj-0-18.tagger"); ...

POS tagger in SharpNLP

I am using SharpNLP for my POS tagging: EnglishMaximumEntropyPosTagger posTagger = new EnglishMaximumEntropyPosTagger(mModelPath); String tagSentence = posTagger.TagSentence(question); I only have 3 tags. How can I load a set of Penn treebank or some other tagging tree banks to use? Thanks :) ...