Is it possible to convert adjectives/adverbs to their base forms?
It's great to be able to control pluralization, but I'm missing the facilities to convert adjectives and adverbs to their base forms (fastest, faster -> fast). Is that planned or supported?
Does wordnet have that information? Is it planned to have some deeper integration with it?
Thanks
sounds like you are looking for a stemmer? https://github.com/NaturalNode/natural#stemmers
@kkoch986 - I tried stemming complete sentences and got unsatisfactory results, I got non-words all the time, I started using nounInflector and verbInflector to do "targeted inflections" and i found that it works much better than just stemming. I was hoping there's a "best" way for adverbs/adjectives as well.
I tried with complete sentences, but I haven't tried stemming single word inflected adjectives/adverbs, I'll see what I get.
So I gave it a try, it seems like the Lancaster stemmer does manage to convert comparative forms (faster, brighter become fast, bright), but both stemmers don't do anything with superlative forms (fastest and brightest don't change).