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.0.tar.gz (19.6 kB view details)

Uploaded Source

File details

Details for the file mlmorph_spellchecker-1.1.0.tar.gz.

File metadata

  • Download URL: mlmorph_spellchecker-1.1.0.tar.gz
  • Upload date:
  • Size: 19.6 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

Hashes for mlmorph_spellchecker-1.1.0.tar.gz
Algorithm Hash digest
SHA256 8a54d961247d4723243f3dc90863f90932f92bd9c2b17cb8512ea1ed3faee91d
MD5 1e29833d1bcb7aa6349cc6829db3a035
BLAKE2b-256 780b437439a95c878904088e689606ff448090360899b1fe28db5b49ad41ec01

See more details on using hashes here.

Supported by

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