Searched refs:mProbabilityInfo (Results 1 – 11 of 11) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WeightedString.java | 30 public ProbabilityInfo mProbabilityInfo; field in WeightedString 38 mProbabilityInfo = probabilityInfo; in WeightedString() 43 return mProbabilityInfo.mProbability; in getProbability() 47 mProbabilityInfo = new ProbabilityInfo(probability); in setProbability() 52 return Arrays.hashCode(new Object[] { mWord, mProbabilityInfo}); in hashCode() 60 return mWord.equals(w.mWord) && mProbabilityInfo.equals(w.mProbabilityInfo); in equals()
|
D | WordProperty.java | 39 public final ProbabilityInfo mProbabilityInfo; field in WordProperty 55 mProbabilityInfo = probabilityInfo; in WordProperty() 88 mProbabilityInfo = createProbabilityInfoFromArray(probabilityInfo); in WordProperty() 133 return mProbabilityInfo.mProbability; in getProbability() 139 word.mProbabilityInfo, in computeHashCode() 170 return mProbabilityInfo.equals(w.mProbabilityInfo) in equals()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 87 ProbabilityInfo mProbabilityInfo; field in FusionDictionary.PtNode 106 mProbabilityInfo = probabilityInfo; in PtNode() 118 mProbabilityInfo = probabilityInfo; in PtNode() 137 return mProbabilityInfo != null; in isTerminal() 141 return isTerminal() ? mProbabilityInfo.mProbability : NOT_A_TERMINAL; in getProbability() 174 bigram.mProbabilityInfo = probabilityInfo; in addBigram() 207 mProbabilityInfo = ProbabilityInfo.max(mProbabilityInfo, probabilityInfo); in update() 219 existingBigram.mProbabilityInfo = ProbabilityInfo.max( in update() 220 existingBigram.mProbabilityInfo, bigram.mProbabilityInfo); in update() 400 currentPtNode.mBigrams, currentPtNode.mProbabilityInfo, in add() [all …]
|
D | PtNodeInfo.java | 29 public final ProbabilityInfo mProbabilityInfo; field in PtNodeInfo 42 mProbabilityInfo = probabilityInfo; in PtNodeInfo() 49 return mProbabilityInfo != null; in isTerminal()
|
D | Ver4DictDecoder.java | 86 fusionDict.add(wordProperty.mWord, wordProperty.mProbabilityInfo, in readDictionaryBinary() 98 fusionDict.setBigram(word0, bigram.mWord, bigram.mProbabilityInfo); in readDictionaryBinary()
|
D | BinaryDictIOUtils.java | 117 ptNodeInfo.mOriginalAddress, ptNodeInfo.mProbabilityInfo.mProbability); in readUnigramsAndBigramsBinaryInner()
|
D | BinaryDictDecoderUtils.java | 341 result = new WeightedString(builder.toString(), info.mProbabilityInfo); in getWordAtPositionWithoutParentAddress()
|
D | BinaryDictEncoderUtils.java | 671 + " : " + ptNode.mProbabilityInfo.toString()); in writePlacedPtNodeArray()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CombinedFormatUtils.java | 61 builder.append(formatProbabilityInfo(wordProperty.mProbabilityInfo)); in formatWordProperty() 76 builder.append(formatProbabilityInfo(ngramProperty.mTargetWord.mProbabilityInfo)); in formatWordProperty()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 112 dict.setBigram(word, s.mWord, s.mProbabilityInfo); in readDictionaryCombined() 206 dict.setBigram(word, s.mWord, s.mProbabilityInfo); in readDictionaryCombined()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | BinaryDictionaryTests.java | 727 assertEquals(unigramProbability, wordProperty.mProbabilityInfo.mProbability); in testGetWordProperties() 835 wordProperty.mProbabilityInfo.mProbability); in testIterateAllWords()
|