Reputation: 2558
I am implementing user search functionality in my Rails application. I want the application to suggest the correct spellings if the user makes a mistake in typing the spelling. Is there any plugin for this in ruby. Can this be done in sql?
Regards, Pankaj
Upvotes: 3
Views: 528
Reputation: 15289
It looks like hunspell gem is there to help you. It requires some external dependencies so it's not pure Ruby. But according to this readme it seem to be exactly what you are looking for.
Alternatively, you can try BOSSMan. It looks like it spell checks via Yahoo.
Upvotes: 2