Skip to content

Conversation

@SaiSrichandra
Copy link
Contributor

Pull Request Template

script name - SpellCorrector.py

What have you Changed
Added the Spell Corrector script for correcting spelling errors

what you changed in the codebase.write here

from textblob import TextBlob
import sys

def spell_correct(text):
spell = TextBlob(text)
after_correction = spell.correct()
return after_correction

def main():
after_correction = ""
for text in map(spell_correct, sys.argv[1:]):
after_correction += str(text) + ' '
print(after_correction)

if name == 'main':
main()

Issue no.(must) - #38

Self Check(Tick After Making pull Request)

  • This issue was assigned to me.
  • One Change in one Pull Request
  • My file is in proper folder (Name of folder should be in lowercase with no space in between)
  • I am following clean code and Documentation and my code is well linted with flake8.
  • I have added README.md and requirements.txt with my script

If issue was not assigned to you Please don't make a PR. It will marked as invalid.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Congratulations!! 🎉 @SaiSrichandra for making your first PR. We will review the changes soon and merge finally.😊 Do give a star ⭐ meanwhile if you like this project.

@pawangeek pawangeek linked an issue Oct 9, 2020 that may be closed by this pull request
2 tasks
@pawangeek
Copy link
Contributor

Thanks for your contribution @SaiSrichandra. Leave a star ⭐ on repo if you enjoy that :)

@pawangeek pawangeek merged commit f808efb into python-geeks:main Oct 9, 2020
@pawangeek pawangeek added the hacktoberfest-accepted Supporting completion of hacktober fest label Oct 9, 2020
@pawangeek
Copy link
Contributor

@all-contributors please add @SaiSrichandra for code

@allcontributors
Copy link
Contributor

@pawangeek

I've put up a pull request to add @SaiSrichandra! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted Supporting completion of hacktober fest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spell Corrector

2 participants