Day 63 – Highlight and Correct Grammatical Errors Using Natural Language Processing

Image Source: Gramformer

When we want to edit, highlight, and correct grammatical errors, we tend to use default Microsoft Word.  However, if you are a professional blogger or a pro writer, we may use an online grammar corrections tool.  Nowadays, most online editing tools using Artificial Intelligence Natural Language processing to check word sounds, writing styles, grammar errors, spell checks, etc.

Today, one of the most interesting frameworks we are exploring “Gramformer”  The Gramformer helps to detect, highlight, and correct grammatical errors in Natural language text.  It is an open-source tool where we can explore and use in our every day to edit grammatical errors.

Gramformer:

Human and machine generated text often suffer from grammatical and/or typographical errors. It can be spelling, punctuation, grammatical or word choice errors. Gramformer is a library that exposes 3 seperate interfaces to a family of algorithms to detect, highlight and correct grammar errors. To make sure the corrections and highlights recommended are of high quality, it comes with a quality estimator. You can use Gramformer in one or more areas mentioned under the “use-cases” section below or any other usecase as you see fit. Gramformer stands on the shoulders of giants, it combines some of the top notch researches in grammar correction. Note: It works at sentence levels and has been trained on 128 length sentences, so not (yet) suitable for long prose or paragraphs (stay tuned for upcoming releases)

Source: Gramformer

Where can Gramformer use it?

  • Text2Text Generation.
  • Chatbot and Conversational AI require to autodetect, highlight and correct grammatical errors.
  • Integrate custom text editors.
  • Messaging and Social platforms can autodetect, highlight, and correct grammatical errors in words/sentences.

We will see the sample code in Part 2 and dig more into it.

Click here to go to GitHub Repository.

By |2021-06-20T22:49:51+00:00June 20th, 2021|Artificial Intelligence|0 Comments

About the Author:

Leave A Comment