Spell checker algorithms

I'm sure we're all very familiar with the squiggly red lines that appear under misspelled words when we're typing away at an essay or an email but if you ever stop to wonder how such a feature is implemented.

This algorithm implementation is based on the following video: https://www.youtube.com/watch?v=d-Eq6x1yssU