transform one word into another of the same length through single-letter substitutions within a dictionary