Skip to main content

Tamil spell checker

Project description

Tamilinaiyam - Pizhaithiruthi (Spellchecker)

Python Package

Python Port of TamilInaiya spell checker is named ‘tamilinayavaani’ and available as Python module form same name. It can be used with a UTF-8 encoded text file as follows,

Installation

$ python3 -m pip install --upgrade tamilinayavaani>=0.13

Usage - in-memory

from tamilinaiyavaani import SpellChecker

flag,suggs=SpellChecker.REST_interface('வாழை','பழம்')

expected=['வாழைப்', 'பழம்']

assert not flag

assert expected[0]==suggs[0]

Usage - file-based

An file-based use of the library would look like,

from tamilinaiyavaani import SpellChecker, SpellCheckerResult

result = SpellChecker(fname).run() #fname is a full filename

# result is a list of SpellCheckerResult objects.

Source

Tamil Virtual Academy release sources at link.

License

This code is licensed under terms of GNU GPL V2. Check link for license info.

Credits

  • Thanks to Tamil Virtual Academy, Chennai for releasing ths source code of this application. This work is open-source publication of Vaani from link You can support the close-source Vaani project, an 8 yr effort as of 2020, by donating here donate(link)

  • Python Port was enabled by Kaniyam Foundation, T. Shrinivasan, @manikk, Ashok Ramachandran, and others. You can support Kaniyam Foundation and its mission by donating via instructions here, Kaniyam The Python port depends on tamilsandhichecker project link and the Open-Tamil project link:

  • Additional source data, of 5000 common errors, from Vaani project provided at “Error Annotated Tamil Corpus” is added to the checker under the Creative Commons License. “Annotated with Major Grammar & Spelling Errors generated by VaaniNLP” Ref: Neechalkaran Raja, link:

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

tamilinayavaani-0.14.tar.gz (371.1 kB view details)

Uploaded Source

File details

Details for the file tamilinayavaani-0.14.tar.gz.

File metadata

  • Download URL: tamilinayavaani-0.14.tar.gz
  • Upload date:
  • Size: 371.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for tamilinayavaani-0.14.tar.gz
Algorithm Hash digest
SHA256 e7e11169297cfe7da01efcae79b282d81fbfd2dc4a231eb7b3e25adaecaea9bb
MD5 9895ead1d69748b858f007cc5895aeb9
BLAKE2b-256 5b2c871f78c74a348f40f1d9cef370183cc40da57a74322edb9dd9b83bf238ba

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 Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page