Home
last modified time | relevance | path

Searched refs:word1 (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java184 final String word1, final int probability) { in addBigramWords() argument
185 binaryDictionary.addNgramEntry(new NgramContext(new WordInfo(word0)), word1, probability, in addBigramWords()
190 final String word1, final String word2, final int probability) { in addTrigramEntry() argument
192 new NgramContext(new WordInfo(word1), new WordInfo(word0)), word2, in addTrigramEntry()
197 final String word0, final String word1) { in isValidBigram() argument
198 return binaryDictionary.isValidNgram(new NgramContext(new WordInfo(word0)), word1); in isValidBigram()
202 final String word0, final String word1) { in getBigramProbability() argument
203 return binaryDictionary.getNgramProbability(new NgramContext(new WordInfo(word0)), word1); in getBigramProbability()
207 final String word0, final String word1, final String word2) { in getTrigramProbability() argument
209 new NgramContext(new WordInfo(word1), new WordInfo(word0)), word2); in getTrigramProbability()
[all …]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
DUserDictionaryToolsListJAJP.java68 public int compare(WnnWord word1, WnnWord word2) { in compare() argument
69 return word1.stroke.compareTo(word2.stroke); in compare()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/EN/
DUserDictionaryToolsListEN.java71 public int compare(WnnWord word1, WnnWord word2) { in compare() argument
72 return word1.stroke.compareTo(word2.stroke); in compare()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/
DEncoderUtil.java525 String word1 = encodeB(prefix, part1, usedCharacters, charset, in encodeB() local
532 return word1 + " " + word2; in encodeB()
553 String word1 = encodeQ(prefix, part1, usage, usedCharacters, in encodeQ() local
560 return word1 + " " + word2; in encodeQ()
/packages/services/Telephony/src/org/apache/james/mime4j/codec/
DEncoderUtil.java525 String word1 = encodeB(prefix, part1, usedCharacters, charset, in encodeB() local
532 return word1 + " " + word2; in encodeB()
553 String word1 = encodeQ(prefix, part1, usage, usedCharacters, in encodeQ() local
560 return word1 + " " + word2; in encodeQ()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java304 public void setBigram(final String word0, final String word1, in setBigram() argument
308 final PtNode ptNode1 = findWordInTree(mRootNodeArray, word1); in setBigram()
310 add(getCodePoints(word1), new ProbabilityInfo(0), false /* isNotAWord */, in setBigram()
317 ptNode0.addBigram(word1, probabilityInfo); in setBigram()