TuxWordSmith.twssolver
index
/usr/lib/python2.6/site-packages/TuxWordSmith/twssolver.py

/**********************************************************
 
    Organization    :AsymptopiaSoftware | Software@theLimit
 
    Website         :www.asymptopia.org
 
    Author          :Charles B. Cosse
 
    Email           :ccosse@gmail.com
 
    Copyright       :(C) 2006-2008 Asymptopia Software
 
    License         :GPL2
 
***********************************************************/

 
Modules
       
math
os
xml.sax.saxutils
string
sys
time
unicodedata
_xmlplus

 
Classes
       
TWSSolver

 
class TWSSolver
     Methods defined here:
__init__(self, mode, level)
build_ntuple(self)
check_col_neighborhood(self, m, n, word, fp_wcidx_candidate, idx_map)
check_row_neighborhood(self, m, n, word, fp_wcidx_candidate, idx_map)
compute_delta(self, L0, L1)
generate_options(self)
get_article(self, target)
get_article_via_article_lookup_key(self, article_lookup_key)
get_candidates(self, fp_list, min_wc, max_wc, max_delta)
get_installed(self)
get_scrabble_sum(self, fp_list)
get_unidesc_field(self, uchar, field)
handle_events(self)
load_config(self, intermediate_path, fname)
load_resource(self)
lower_uchar(self, uchar)
mkfingerprint(self, uniword)
mkfp_num(self, fp_list)
mkfp_sum(self, fp_list)
mkidxfingerprint(self, word, wc_list)
mktstamp(self)
mkwcidxfingerprint(self, word, wc_list)
on_exit(self)
reload_configs(self)
subtract_fp0_from_fp1(self, fp0, fp1)
subtract_strfp0_from_strfp1(self, fp0, fp1)
upper_uchar(self, uchar)

 
Functions
       
random(...)
random() -> x in the interval [0, 1).

 
Data
        DEBUG = 0
feature_namespaces = 'http://xml.org/sax/features/namespaces'
hdx1 = 15
hdx2 = 15
hexnames = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F']
idx = 3
letters = ['"', '&', ';', ':', '?', '<', '>', ' ', '-', '.', '/', '"', '(', ')', "'", '{', '}', 'a', 'b', 'c', ...]
parser = <xml.sax.expatreader.ExpatParser instance at 0x954bd0c>
ustr = r"u'\u03FF'"