Skip to main content

Malayalam morphology analyser based spellchecker

Project description

PyPI Version

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


Download files

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

Source Distribution

mlmorph_spellchecker-1.1.2.tar.gz (19.7 kB view hashes)

Uploaded source

Supported by

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