The following repo is a python application to calculate edit distance between two words:
https://github.com/Hessam64/nlp-fun/tree/main/EditDistance
hessamem