Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AutomationScripts/Grammar Correction/Images/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Here all the images of output are given.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions AutomationScripts/Grammar Correction/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Title: **Grammar Correction

Short description of package/script: Here we can easily solve simple grammar mistakes by just running and then writing the sentence as input so the corrected output will be shown.


List out the libraries imported.-> gingerit

Setup instructions
Explain how to setup and run your package/script in user's system: We just need to run our program and then have to write the sentence for which we would like to check grammar then the corrected sentence will be shown after pressing enter.



Output:
https://user-images.githubusercontent.com/71593494/121782557-af01e700-cbc7-11eb-88a0-691a228a5907.png
https://user-images.githubusercontent.com/71593494/121782559-b1644100-cbc7-11eb-9f57-8dbbafc2641a.png


Author:
**Neel Shah**
4 changes: 4 additions & 0 deletions AutomationScripts/Grammar Correction/grammar_correction.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from gingerit.gingerit import GingerIt
text = input("Enter a sentence >>: ")
corrected_text = GingerIt().parse(text)
print(corrected_text['result'])
3 changes: 3 additions & 0 deletions AutomationScripts/Grammar Correction/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Libraries used : gingerit

for installing this library : pip install gingerit