SpellingCorrection class | spelling.t[814]

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[837]`

the candidate list - this is a list of token lists

`corrections` | `spelling.t[834]`

the indices of the corrections so far, before this one

`curCand` | `spelling.t[840]`

the current candidate index

`oldToks` | `spelling.t[825]`

the token list before the spelling correction

`parseError` | `spelling.t[843]`

the ParseError that triggered the spelling correction attempt

`unknown` | `spelling.t[831]`

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[815]`

no description available

Adv3Lite Library Reference Manual
Generated on 02/05/2024 from adv3Lite version 2.0