Facebook just re-launched Comments, with a automatic grammar fixing feature.
What does the grammar filter do?
- Adds punctuation (e.g. periods at the end of sentences)
- Trims extra whitespace Auto cases words (e.g. capitalize the first word of a sentence)
- Expands slang words (e.g. plz becomes please)
- Adds a space after punctuation (e.g. Hi,Cat would become Hi, Cat)
- Fix common grammar mistakes (e.g. convert ‘dont' to ‘don’t’)
What is an equivalent plugin or gem?
I don't know of anything with those particular features.
However, you might look at Ruby LinkParser, which is a Ruby wrapper for the Link Grammar parser developed by academics and used by the Abiword project for grammar checking. (Note that "link" in Link Grammer parser doesn't refer to HTML links, but rather to a structure that describes English syntax as a set of links between words).
Here's another interesting checker, written in Ruby, which is designed to check LaTex files for some of the problems you mention (plus others).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With