Grammer Correction Tool: Krutika Bhide A-03 Sanjana Bhosle A-09 Gaurav Sharma B-18
Grammer Correction Tool: Krutika Bhide A-03 Sanjana Bhosle A-09 Gaurav Sharma B-18
Grammar Correction
By applying predefined grammar rules, the tool rectifies common grammatical errors,
ensuring proper sentence structure and clarity.
Contraction Expansion
The tool converts contractions, such as "isn't" to "is not," allowing for more formal and
precise language usage.
User Interface: The Grammar Correction Tool offers a simple and intuitive user
interface. Users can input text and view the corrected output, facilitating easy and efficient
usage.
Implementation Downloading NLTK Loading spaCy's
Resources English Model
Details: Setup
and Language To ensure accurate part-of-
speech tagging, the tool
The Grammar Correction Tool
loads spaCy's English model,
Model downloads the necessary which provides robust linguistic
resources from NLTK. processing capabilities for
accurate text analysis and
correction.
Implementation Predefined Grammar Contraction Dictionary
Rules
Details: Grammar
Rules and The tool implements predefined A contraction dictionary is
grammar rules, including subject- utilized to map common
Functions verb agreement and common contractions to their expanded
error corrections, to improve the forms, enabling the tool to handle
overall grammatical accuracy of contractions appropriately.
the text.
Functions: get_synonyms and
apply_grammar_rules
The tool includes functions such as get_synonyms(word) to retrieve synonyms using
WordNet and apply_grammar_rules(word, doc, index) to apply grammar rules and correct
words within the text.
Core Features
Spelling Correction
Grammar Correction
Contraction Expansion