Searched refs:targetWord (Results 1 – 1 of 1) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | LanguageModelParam.java | 127 final PrevWordsInfo prevWordsInfo, final String targetWord, final int timestamp, in detectWhetherVaildWordOrNotAndGetLanguageModelParam() argument 134 if (dictionaryFacilitator.isValidWord(targetWord, false /* ignoreCase */)) { in detectWhetherVaildWordOrNotAndGetLanguageModelParam() 135 return createAndGetLanguageModelParamOfWord(prevWordsInfo, targetWord, timestamp, in detectWhetherVaildWordOrNotAndGetLanguageModelParam() 139 final String lowerCaseTargetWord = targetWord.toLowerCase(locale); in detectWhetherVaildWordOrNotAndGetLanguageModelParam() 147 return createAndGetLanguageModelParamOfWord(prevWordsInfo, targetWord, timestamp, in detectWhetherVaildWordOrNotAndGetLanguageModelParam() 152 final PrevWordsInfo prevWordsInfo, final String targetWord, final int timestamp, in createAndGetLanguageModelParamOfWord() argument 156 if (StringUtils.getCapitalizationType(targetWord) == StringUtils.CAPITALIZE_FIRST in createAndGetLanguageModelParamOfWord() 158 word = targetWord.toLowerCase(locale); in createAndGetLanguageModelParamOfWord() 160 word = targetWord; in createAndGetLanguageModelParamOfWord()
|