SpellingCorrectionclass
SpellingCorrection: Each time we attempt a spelling correction, we’ll save information on the attempt in one of these objects.
class
SpellingCorrection
: object
Superclass Tree (in declaration order)
SpellingCorrection
` object`
Subclass Tree
(none)
Global Objects
(none)
Summary of Properties
candidates
corrections
curCand
oldToks
parseError
unknown
Summary of Methods
Properties
candidates
the candidate list - this is a list of token lists
corrections
the indices of the corrections so far, before this one
curCand
the current candidate index
oldToks
the token list before the spelling correction
parseError
the ParseError that triggered the spelling correction attempt
unknown
is this a correction for an unknown word (as opposed to a word that’s in the dictionary, but still could be a typo)?
Methods
construct (oldToks, candidates, corrections, unknown, err)
no description available
Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1