CorrectionCandidateclass

spelling.t[317]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

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  

editDist

spelling.t[337]

the edit distance between the original and corrected words

ranking

spelling.t[334]

ranking

replCnt

spelling.t[340]

number of character replacements included in the edit distance

tokenList

spelling.t[331]

the corrected token list

wordIdx

spelling.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 15/03/2023 from adv3Lite version 1.6.1