Stemming library/plugin for Ruby on Rails
Looking for开发者_JS百科 a stemming library in Ruby which will allow me to create such mappings as:
maps_to["dogs"] = "dog"
maps_to["puppies"] = "dog"
maps_to["doggies"] = "dog"
etc
Try this : https://rubygems.org/gems/stemmer4r/
Stemming may not work the way most people think stemming works though.
精彩评论