I need to stem words to get the root words. I was able to get the stemmed words for nouns and verbs but unable to get the root words of adjectives.
WordnetStemmer stem = new WordnetStemmer(ws.getDictionary());
System.out.println("test" + stem.findStems("shooting",POS.VERB) );
System.out.println("test" + stem.findStems("gunshots",POS.VERB) );
The following works but when I try it for an adjective it doesn't. Is there any way to stem an adjective or get the root form of it?
Thanks in advance.