Skip to main content

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.

Source Distribution

faspell-0.0.4.tar.gz (2.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page