Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to get a natural word after it has been stemmed?

I have a word play which after stemming has become plai. Now I want to get play again. Is it possible? I have used Porter's Stemmer.

like image 743
odbhut.shei.chhele Avatar asked Oct 28 '25 20:10

odbhut.shei.chhele


1 Answers

Clearly not. Many different words, after being stemmed, can become plai: including play and playing.

Try it here: http://9ol.es/porter_js_demo.html

So if, given plai, it could have come from either word, it's not deterministic. Or do you want to get the set of all possible words that stem to plai?

Update: Qualtagh mentions some good ideas.

like image 199
Michael Tontchev Avatar answered Oct 31 '25 09:10

Michael Tontchev



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!