add norm edit distance of string