CorrectionCandidateclass
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
Properties
editDist
the edit distance between the original and corrected words
ranking
ranking
replCnt
number of character replacements included in the edit distance
tokenList
the corrected token list
wordIdx
the index of the corrected word
Methods
construct (toks, dist, repl, idx, err)
no description available
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1