Skip to main content

Malayalam morphology analyser based spellchecker

Project description

PyPI Version

This is a Spellchcker 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 import Analyser
from mlmorph_spellchecker import spellcheck, getSuggestions
analyser = Analyser()
if spellcheck(word, analyser) is True:
    print('%s ✔️' % (word))
else:
    print('%s ❌ Suggestions: %s' % (word, getSuggestions(word, analyser)))

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.0.1.dev1.tar.gz (6.9 kB view details)

Uploaded Source

File details

Details for the file mlmorph_spellchecker-1.0.1.dev1.tar.gz.

File metadata

File hashes

Hashes for mlmorph_spellchecker-1.0.1.dev1.tar.gz
Algorithm Hash digest
SHA256 10eee537adf113a65d8e80e54c781ac9ae750f40109c810383f7c71a2fa5f504
MD5 7f918023de8b569b7a93273dc512815a
BLAKE2b-256 7d6c1639143cc1bfdee03d5f71c92585ed07e155eb81c339de3471620ce3402e

See more details on using hashes here.

Supported by

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