Compute operational differences between two sequences/texts using the Levenshtein algorithm
pip install levenshtein-distance
from levenshtein_distance import Levenshtein
lev_object = Levenshtein('test', 'text')
distance = lev_object.distance()
ratio = lev_object.ratio()
array = lev_object.sequence_array()
lev_object = Levenshtein('test', 'text').set_replace_cost(2)
distance = lev_object.distance()
ratio = lev_object.ratio()
array = lev_object.sequence_array()