spell package

Submodules

spell.spell module

class spell.spell.DeletionFilter

Bases: object

static get_suggestions(letters, lexicon)
class spell.spell.LoadDictionary

Bases: threading.Thread

DEBUG = False
lock = <unlocked _thread.lock object>
run()

Method representing the thread's activity.

You may override this method in a subclass. The standard run() method invokes the callable object passed to the object's constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.

class spell.spell.Mayangoli(word, letters)

Bases: object

find_correspondents()
find_letter_positions()
generate_word_alternates()
static run(word, letters)
varisai = [['ல்', 'ழ்', 'ள்'], ['ர்', 'ற்'], ['ந்', 'ன்', 'ண்'], ['ங்', 'ஞ்']]
class spell.spell.OttruSplit(word, letters)

Bases: object

யாரிகழ்ந்து = [ய் + ஆரிகழ்ந்து], [யார், இகழ்ந்து] ,[யாரிக், அழ்ந்து], [யாரிகழ்ந்த்,உ]

filter(lexicon)
generate_splits()
யாரிகழ்ந்து =
[['ய்', 'ஆரிகழ்ந்து'],
['யார்', 'இகழ்ந்து'], ['யாரிக்', 'அழ்ந்து'], ['யாரிகழ்ந்த்', 'உ']]
run(lexicon)
class spell.spell.Speller(filename=None, lang='ta', mode='non-web')

Bases: object

ENL_dict = None
REST_interface(word)
TVU_dict = None
add_numeral_words(lexicon)
check_word_and_suggest(word, errmsg=None)
checklang(word)
static dice_comparison(ref_word, word)

use this class method for SORTED

static get_dictionary()
static get_english_dictionary()
get_lang_dictionary()
in_tamil_mode()
interactive()
isWord(word)
language()
mayangoli_suggestions(word, letters)
noninteractive_spellcheck(text)
punctuation = '!"#$%&\'()*+,-./:;<=>?@[\\]^_`{|}~()[]{}'
static scrub_ws(word)
spellcheck(filename)
str_suggestions(word)
suggestion_policy(word, suggs)
class spell.spell.Typographical

Bases: object

static checkFormErrors(word, errmsg=None)
spell.spell.main()

Module contents