refactor double metaphone class 3