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:

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 hashes)

Uploaded Source

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