interface WordCorrection {
    correctedWord: string;
    length: number;
    offset: number;
    originalWord: string;
}

Properties

correctedWord: string

The new corrected word

length: number

Length of the correction

offset: number

Offset, from the beginning of the query

originalWord: string

The original word that was corrected