Malayalam morphology analyser based spellchecker
Project description
This is a Spellchecker for Malayalam language based on Malayalam morphology analyser - mlmorph.
Installation
Python 3 is required. Using with venv is recommended
$ pip install mlmorph_spellchecker
Usage
from mlmorph_spellchecker import SpellChecker spellchecker = SpellChecker() if spellchecker.spellcheck(word) is True: print('%s ✔️' % (word)) else: print('%s ❌ Suggestions: %s' % (word, spellchecker.candidates(word)))
Command line interface
$ python -m mlmorph_spellchecker --help usage: __main__.py [-h] word positional arguments: word word to spellcheck optional arguments: -h, --help show this help message and exit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mlmorph_spellchecker-1.1.2.tar.gz
.
File metadata
- Download URL: mlmorph_spellchecker-1.1.2.tar.gz
- Upload date:
- Size: 19.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55d337204bc6df5b0cde5dccb234c06fec400a9ea74302adb7d26d08ccc3061c |
|
MD5 | c57b6621efc25cdb6a1599a9bd415238 |
|
BLAKE2b-256 | fc8d701c8235d333234b32f0d31420c776cd6c5052808192c12c8e48dc978165 |