refactor Double Metaphone