开发者

Auto-Correct Spelling Errors Rails Application

开发者 https://www.devze.com 2023-03-28 11:35 出处:网络
I\'m trying to build a Rails application that auto-corrects the spelling of a Rails form after it submits. I realize that the auto-correcting won\'t be 100%, but I\'m wondering if their are any good R

I'm trying to build a Rails application that auto-corrects the spelling of a Rails form after it submits. I realize that the auto-correcting won't be 100%, but I'm wondering if their are any good Ruby gems that I can use to do something like this.

So basically someone enters a few sentences into a text area, presses submit, the controller goes in takes the text and corrects any obvious spelling errors and then saves the "supposedly" error-free text to the database.

开发者_StackOverflow中文版

Any suggestions? Thanks in advance :)


Might try this:

gem install spellingbee
0

精彩评论

暂无评论...
验证码 换一张
取 消