SpellingCorrectionclass

spelling.t[800]

Superclass
Tree

Subclass
Tree

Global
Objects

Property
Summary

Method
Summary

Property
Details

Method
Details

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  

construct

Properties  

candidates

spelling.t[823]

the candidate list - this is a list of token lists

corrections

spelling.t[820]

the indices of the corrections so far, before this one

curCand

spelling.t[826]

the current candidate index

oldToks

spelling.t[811]

the token list before the spelling correction

parseError

spelling.t[829]

the ParseError that triggered the spelling correction attempt

unknown

spelling.t[817]

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)

spelling.t[801]

no description available

Adv3Lite Library Reference Manual
Generated on 15/03/2023 from adv3Lite version 1.6.1