This is a word predictor fed on billions of tokens of text. Because it has been trained on human writing, it makes characteristically human mistakes (including spelling, grammar, and even some phonetic errors).