Wink-lemmatizer
winkjs.org
winkjs.org
Very cool! It looks like this is only for English at the moment, but it would be cool to see this for other languages as well.
- instead of calling the API using "noun", "verb", etc, let the library figure out the type of word.
- let the library return information about the word, e.g. "coolest" -> "cool"+superlative.
> The stemming for ponies and pony might seem strange.
What's that all about?
Does it have a deleterious effect on retrieval? Why or why not?
Any thoughts?
It's not helpful unless we know what it's doing under the covers.
One (horrible) use for something like this is in a framework like Rails, where there's a cultural acceptance of making method and field names by pluralising and conjugating etc.
In Rails if your `House` model has a one-to-many relationship with your `Mouse` model, a `house` object probably automatically gets a `.mice` field. That sort of thing can be done with extensive rule sets, or it can be done with a black-box library.
Of course it's a horrible use-case, and you'll probably always need to deal with ambiguity and context, but for that sort of thing the implementation details aren't nearly as relevant as "the dimensions of the black box" -- how quickly does it run, how quickly does it start up, how much memory does it use, how good at its job is it, and which languages does/can it be made to support?
For stemming, we have wink-porter2-stemmer (https://github.com/winkjs/wink-porter2-stemmer) that uses Porter Stemmer Algorithm V2 by Dr Martin F Porter.
The more a language needs a lemmatizer for NLP the harder it is to write it.