ctext
index
Name CLexicon
Examples
    String target = "happiness";
    CLexicon med = new CLexicon(this);
    String[] similar = med.similarBySound(target);
Description Provides various matching algorithms (MinEditDistance, Soundex etc.) various Lexicons, based either on letters, phonemes, or both.
Constructors
CLexicon(pApplet);
Methods
containingStringsByLetter ( )   Returns valid words (in lexicon) using both substring and superstring matching. This method CONTAINS(K) = UNION(SUB(K), SUPER(K)).

similarBySoundAndLetter ( )   Computes MED Set first for phonemes, then filters the resulting Set by MED for spelling.

substringsByLetter ( )   Returns valid words (in lexicon) using aphaeresis and apocope with length at least 'minLength' characters

superstringsByLetter ( )   Returns valid words (in lexicon) using aphaeresis and apocope with length at least 'minLength' characters

Usage Web & Application
Related