spell package

Submodules

spell.spell module

class spell.spell.DeletionFilter[source]
static get_suggestions(lexicon)[source]
class spell.spell.LoadDictionary[source]

Bases: threading.Thread

DEBUG = False
lock = <thread.lock object>
run()[source]

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)[source]
find_correspondents()[source]
find_letter_positions()[source]
generate_word_alternates()[source]
static run(letters)[source]
varisai = [[u'\u0bb2\u0bcd', u'\u0bb4\u0bcd', u'\u0bb3\u0bcd'], [u'\u0bb0\u0bcd', u'\u0bb1\u0bcd'], [u'\u0ba8\u0bcd', u'\u0ba9\u0bcd', u'\u0ba3\u0bcd'], [u'\u0b99\u0bcd', u'\u0b9e\u0bcd']]
class spell.spell.OttruSplit(word, letters)[source]

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

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

Bases: object

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

use this class method for SORTED

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

Module contents