CorrectionCandidateclassspelling.t[317]

Spelling correction candidate. This tracks a modified token list with a corrected word, to keep track of which word was corrected and how well it ranks by our selection criteria.

class CorrectionCandidate :   object

Superclass Tree   (in declaration order)

CorrectionCandidate
        object

Subclass Tree  

(none)

Global Objects  

(none)

Summary of Properties  

editDist  ranking  replCnt  tokenList  wordIdx 

Summary of Methods  

construct 

Properties  

editDistspelling.t[337]

the edit distance between the original and corrected words

rankingspelling.t[334]
ranking

replCntspelling.t[340]
number of character replacements included in the edit distance

tokenListspelling.t[331]
the corrected token list

wordIdxspelling.t[343]
the index of the corrected word

Methods  

construct (toks, dist, repl, idx, err)spelling.t[318]

no description available

Adv3Lite Library Reference Manual
Generated on 28/03/2016 from adv3Lite version 1.5