Functioning alignments using the Levenshtein weighting. Tests included