Say, you have a text, "Edwards will be sck yesterday". How do you check validity of spelling and grammar for these texts?
Using google translate, you'll be getting correction of "sck" become "sick". But that's still invalid, right?
Thankfully, there are a spelling and grammar based on the context. Say hello to Ginger Proofreader. Ginger provides service for such natural spelling and grammar correction.
If you want to use ginger ability inside Ruby application or on your shell, you can use
gingerice gem. As usual you can put on Gemfile:
Then, on your prompt you can type:
gingerice "Edwards will be sck yesterday" # Edwards was sick yesterday
You can refer to gingerice README for usage and sample output.