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

Uploaded Source

File details

Details for the file mlmorph_spellchecker-1.0.0.dev9.tar.gz.

File metadata

  • Download URL: mlmorph_spellchecker-1.0.0.dev9.tar.gz
  • Upload date:
  • Size: 7.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/38.2.5 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.7

File hashes

Hashes for mlmorph_spellchecker-1.0.0.dev9.tar.gz
Algorithm Hash digest
SHA256 585053a9b9fc948d0daad39cb18db68e9f49ff66459e9127a641b184bdc5ed2d
MD5 4c3b3d096be7fe8e0ed7fa4884b0fa31
BLAKE2b-256 ea6e27257aabae2a6b6ce9221dc8adbd8b9d80a59145a18b88ac203e01c263cb

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