Smart English Text Error Detection and Correction System

5 min read
Rs. 22000 only

Share this project:

Web Application Development

University students frequently prepare assignments, lab reports, project proposals, research papers, and project documentation. Many students have difficulty identifying spelling, grammar, punctuation, capitalization, and basic sentence-structure errors, especially in lengthy documents. For example, a student submits the following text: "The students was working on there project." 

The system identifies: 

  • • was → were — Grammar error 
  • • there → their — Word usage error 

The corrected text is: "The students were working on their project." 

SmartWrite is a web-based application that detects and corrects common English language errors in user-provided text and .docx documents. The system will detect spelling, grammar, punctuation, capitalization, word-usage, and basic sentence-structure errors. Users will be able to enter text directly or upload a .docx document for analysis. The system will identify and categorize detected errors and provide appropriate correction suggestions. Users will be able to review each suggestion, accept or reject individual corrections, or apply all accepted corrections. The system will display the corrected text and allow users to download the corrected document while preserving the original paragraph and sentence order. The system will focus on correcting language errors rather than generating or unnecessarily rewriting content.

Functional Requirements: 

Corrected Document 

1. Provide a web interface that allows users to enter English text directly into a text editor for analysis. 

2. The system shall allow the user to upload a “docx” document for analysis. 

3. The system shall extract text from the text editor and the uploaded .docx document while preserving the paragraph order. Error Detection 

4. The system shall detect spelling errors in the submitted text. 

5. The system shall detect common grammatical errors in the submitted text. 

6. The system shall detect common punctuation errors in the submitted text. 

7. The system shall detect capitalization errors in the submitted text. 

8. The system shall detect basic sentence structure errors, such as sentence fragments and run-on sentences.

 9. The system shall classify each detected error as spelling, grammar, punctuation, capitalization, or sentence-structure error.

Correction 

10.The system shall display the incorrect word, phrase, or sentence corresponding to each detected error.

 11.The system should provide at least one correction suggestion for each error detected when a valid correction is available. 

12.The system shall display a brief explanation for each detected error. 

13.The system shall allow the user to accept individual corrections. 

14.The system shall allow the user to reject an individual correction. 

15.The system shall allow the user to apply all accepted corrections to the submitted text. 

Corrected Document

 16.The system shall display the corrected text separately from the original text. 

17.The system shall allow users to accept or reject individual suggestions. 

18.The system shall provide users with the option to apply all accepted errors. 

19.The system shall provide an option for the user to accept all suggested corrections. 

20.The system shall allow the user to download the corrected text as a .docx file. 

21.The system shall preserve the original paragraph and sentence order when generating the corrected document.

    Tools & Technologies
  • Frontend: HTML + CSS + JavaScript
  • Backend: Python + Django/Flask
  • NLP: spaCy + LanguageTool (language_tool_python)
  • Document processing: python-docx

Share this project:

Faisal Mehmood

Faisal Mehmood Expert in CS619 Final Year Projects and software development.

View all projects