Spell-and grammar-checking is not a new task, and is integrated in many standard text editors for the major languages.
smaller languages are not so well covered, and the technology is very much inspired by what works for English where simple list checking will identify non-words, and correction suggestions can be found with the editing distance measure using the same list.