Deep Text Corrector Demo

Input:

Output:
Click below!

Deep Text Corrector, described in this post, is a tool built on a deep learning model that is capable of correcting small grammatical errors in conversational written English.

Currently, the errors it is capable of correcting are limited to:

  • the subtraction of articles (a, an, the)
  • the subtraction of the second part of a verb contraction (e.g. “‘ve”, “‘ll”, “‘s”, “‘m”)
  • the replacement of a few common homophones with one of their counterparts (e.g. replacing “their” with “there”, “then” with “than”)

Here is one example of text this model can correct:

In [30]: decode("the Cardinals did better then the Cubs")
Out[30]: 'the Cardinals did better than the Cubs'