Is there an open-source English grammar-checking library for C++ like language tools for Java?
If you are looking for an open source grammar checker, there's none for C++ code so far. However, i found this python based grammar checker in Git. Its worth checking. https://github.com/topics/grammar-checker
I am tempted to say: "No, there isn't, at least not one you would want to use."
However "After the Deadline" appears to be GPL and without trying it myself I couldn't say that with confidence :-)
--
Grammar checking is hard. All the good ones are closed source (possibly modulo the one above). That's because it isn't primarily a computing/automation problem, it's a linguistics problem, of compiling massive numbers of rules and special cases.
In other words, it is more like writing a dictionary than a program. A really, really big dictionary.
Other things which there aren't:
All pretty much for the same reason.
I haven't used it too much, but you may want to look into After the Deadline. It's open source so theoretically you could link into the api, but it's intended for net-aware applications. By default, spelling and grammar checks go to their servers. Alternatively, you could avoid that by building up their open source stand alone server as part of your application.
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