Skip to main content

Disturbance

Disturbance Object

Spell-checking object. Each token is associated with an object and is checked against our dictionary. If the token does not exist, a list of candidates will be suggested along with the most likely replacement. Gender and plural are not taken into account as the lemma will be the same regardless.

KEYTYPEDESCRIPTIONCONSTRAINTS
originalstringtoken as found in the sentence-
predictstringpredicted token after spell-checking, same as original for valid words-
probabilitiesdictionarycandidates for correction with correspond rank (0 being the most likely candidate)Key only exists if word should be corrected
to_correctint1 if token should be corrected but no replacement has been found0 or 1