refactor double metaphone class 6