I'm looking for a fast way to count grammar errors in Python. For example, I need something along these lines:
matches = grammar_checker.check('You is awesome!')
assert len(matches) == 1
Speed is much more an issue than accuracy. I could live with a few false positives or negatives as a trade-off for fast checks. I am talking here about problem sizes on the order of 100k documents (with roughly 5-10k characters) in only a few minutes.
I came across LanguageTool in Java and its Python wrapper language_check. However, these are unfortunately too slow for my purposes. Any other suggestions or ideas? Thanks!