This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Print dict words that are closest to given word, upto a set distance (of 2), | |
sorted acc to increasing distance | |
Levenshtein module installed using - | |
pip install python-levenshtein | |
""" | |
from Levenshtein import distance | |
import os |