Implementing The Levenshtein Distance for Word Autocompletion and Autocorrection | DigitalOcean
This tutorial works through a step-by-step example of how to implement the Levenshtein distance in Python for word autocorrection and autocompletion.
blog.paperspace.com