An array of ranges (in ascending order) indicating the start and end
indexes of each correction within the corrected phrase. Corrections in
which only deletions occurred (e.g. an excess space or letter was removed)
are indicated by zero-length ranges (where start is equal to end).
description: string
A user-friendly description of the type of correction performed. This
should be displayed to the user to inform them about other kinds of
corrective action that may be necessary.
An array of ranges (in ascending order) indicating the
start
andend
indexes of each correction within the corrected phrase. Corrections in which only deletions occurred (e.g. an excess space or letter was removed) are indicated by zero-length ranges (wherestart
is equal toend
).