Similar Items: Edit Distance of Finite-Valued Transducers