public String processEnglishPhonetics(String word) {
        StringBuilder sb = new StringBuilder(word);

        if ((word.matches("[a-zA-Z]+[1246789]?[a-zA-Z]*")) || (word.matches("[1246789]?[a-zA-Z]+"))) { //||(word.matches("[a-zA-Z]+[1246789]?[a-zA-Z]*")))

            //Number Homophones e.g. gr8, 7teen, sum1
            if (sb.indexOf("1") >= 0) {
                sb.replace(sb.indexOf("1"), sb.indexOf("1") + 1, "one");
            } else if (sb.indexOf("2") >= 0) {
                sb.replace(sb.indexOf("2"), sb.indexOf("2") + 1, "too");
            } else if (sb.indexOf("4") >= 0) {
                sb.replace(sb.indexOf("4"), sb.indexOf("4") + 1, "for");
            } else if (sb.indexOf("6") >= 0) {
                sb.replace(sb.indexOf("6"), sb.indexOf("6") + 1, "six");
            } else if (sb.indexOf("7") >= 0) {
                sb.replace(sb.indexOf("7"), sb.indexOf("7") + 1, "seven");
            } else if (sb.indexOf("8") >= 0) {
                sb.replace(sb.indexOf("8"), sb.indexOf("8") + 1, "ate");
            } else if (sb.indexOf("9") >= 0) {
                sb.replace(sb.indexOf("9"), sb.indexOf("9") + 1, "nin");
            }
        }

        return sb.toString();
    }