Signature matching via levenshtein distance algorithm