Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Spell corrector #91

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
pawangeek merged 5 commits into python-geeks:main from SaiSrichandra:spell-corrector
Oct 9, 2020
Merged

Conversation

@SaiSrichandra
Copy link
Contributor

@SaiSrichandra SaiSrichandra commented Oct 9, 2020

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
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
Copy link
Contributor

@all-contributors please add @SaiSrichandra for code

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

Reviewers

@github-actions github-actions[bot] github-actions[bot] left review comments

Assignees

No one assigned

Labels

hacktoberfest-accepted Supporting completion of hacktober fest

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Spell Corrector

AltStyle によって変換されたページ (->オリジナル) /