Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Persian Spell_Checker in Python

Project description

#author: Amin Etesamian #date: 26/12/1394 - 22:46 pm

  1. introduction

here is a persian spell checker written in python. in order to use it, first create an instance of SpellChecker class by providing it with a dictionary. then using the Correct method, you are given a dictionary containg the checked word, it’s status(which is wrong) and suggestions for the purpose of correction. for example:

>>>my_spell_checker = SpellChecker(my_dictionary_file) >>>print(my_spell_checker.correct(the_word_to_be_corrected)) would give such result:

{[ ‘word’: the_word_to_be_corrected, ‘ud’: false, ‘suggestions’: [suggestion[0], suggestion[1], …] ]}

2. installation simply open your terminal an type: pip(desired version) install persian_spell_checker(desired version).

in case of any bug encounter, please submit your report at https://github.com/eteamin/persian_spell_checker

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for faspell, version 0.0.1b
Filename, size File type Python version Upload date Hashes
Filename, size faspell-0.0.1b.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page