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
import Levenshtein | |
def levenshtein(s1: str, s2: str) -> float: | |
''' | |
0.0 means perfect match | |
0.1 very possible match | |
0.2 less possible match | |
0.3 likely not a match | |
''' | |
def processor(_string: str) -> str: | |
_string = _string.upper() |