CorrectionCandidateclassspelling.t[324]

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[344]

the edit distance between the original and corrected words

rankingspelling.t[341]
ranking

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

tokenListspelling.t[338]
the corrected token list

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

Methods  

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

no description available

Adv3Lite Library Reference Manual
Generated on 01/03/2024 from adv3Lite version 1.6.2