Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soosk/persian-spelling-corrector
A simple spelling corrector for Persian language
https://github.com/soosk/persian-spelling-corrector
Last synced: 3 months ago
JSON representation
A simple spelling corrector for Persian language
- Host: GitHub
- URL: https://github.com/soosk/persian-spelling-corrector
- Owner: soosk
- Created: 2015-03-04T14:53:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-03-04T15:01:46.000Z (over 9 years ago)
- Last Synced: 2024-06-28T18:43:34.178Z (5 months ago)
- Language: Python
- Size: 367 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a spelling corrector for the Persian language (also known as Farsi) which is based on Peter Norvig's famous article 'How to write a spelling corrector'
The unigram language model is constructed using a subset of the Bijankhan Corpus freely available at
http://ece.ut.ac.ir/dbrg/bijankhan/ (The corpus distinct words)Sample:
Please enter a word to see the correction: (enter 0 to end): خاانه
Suggestion => خانه
=======
Please enter a word to see the correction: (enter 0 to end): گلدام
Suggestion => گلدان
=======
Please enter a word to see the correction: (enter 0 to end): سلام
Suggestion => سلام
=======
Please enter a word to see the correction: (enter 0 to end): 0
>>>