Home
last modified time | relevance | path

Searched refs:mProbability (Results 1 – 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DProbabilityInfo.java26 public final int mProbability; field in ProbabilityInfo
43 return (probabilityInfo1.mProbability > probabilityInfo2.mProbability) ? probabilityInfo1 in max()
53 mProbability = probability; in ProbabilityInfo()
66 return Arrays.hashCode(new Object[] { mProbability, mTimestamp, mLevel, mCount }); in hashCode()
68 return Arrays.hashCode(new Object[] { mProbability }); in hashCode()
82 return mProbability == p.mProbability; in equals()
84 return mProbability == p.mProbability && mTimestamp == p.mTimestamp && mLevel == p.mLevel in equals()
DWeightedString.java43 return mProbabilityInfo.mProbability; in getProbability()
DWordProperty.java133 return mProbabilityInfo.mProbability; in getProbability()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dunigram_property.h33 mProbability(probability) {} in ShortcutProperty()
40 return mProbability; in getProbability()
48 const int mProbability; variable
53 mIsBlacklisted(false), mIsPossiblyOffensive(false), mProbability(NOT_A_PROBABILITY), in UnigramProperty()
62 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty()
71 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty()
80 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty()
89 mIsPossiblyOffensive(isPossiblyOffensive), mProbability(probability), in UnigramProperty()
113 return mProbability; in getProbability()
132 const int mProbability; variable
Dword_attributes.h26 : mProbability(NOT_A_PROBABILITY), mIsBlacklisted(false), mIsNotAWord(false), in WordAttributes()
31 : mProbability(probability), mIsBlacklisted(isBlacklisted), mIsNotAWord(isNotAWord), in WordAttributes()
35 return mProbability; in getProbability()
61 int mProbability; variable
Dngram_property.h33 mProbability(probability), mHistoricalInfo(historicalInfo) {} in NgramProperty()
44 return mProbability; in getProbability()
58 const int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dbigram_entry.h38 : mHasNext(bigramEntry.mHasNext), mProbability(bigramEntry.mProbability), in BigramEntry()
43 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(), in BigramEntry()
49 : mHasNext(hasNext), mProbability(probability), mHistoricalInfo(*historicalInfo), in BigramEntry()
57 return BigramEntry(hasNext, mProbability, &mHistoricalInfo, mTargetTerminalId); in updateHasNextAndGetEntry()
61 return BigramEntry(mHasNext, mProbability, &mHistoricalInfo, newTargetTerminalId); in updateTargetTerminalIdAndGetEntry()
70 return BigramEntry(mHasNext, mProbability, historicalInfo, mTargetTerminalId); in updateHistoricalInfoAndGetEntry()
82 return mProbability; in getProbability()
103 const int mProbability; variable
Dprobability_entry.h38 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry()
43 : mFlags(0), mProbability(NOT_A_PROBABILITY), mHistoricalInfo() {} in ProbabilityEntry()
47 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry()
52 : mFlags(flags), mProbability(probability), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry()
60 return ProbabilityEntry(mFlags, mProbability, historicalInfo); in createEntryWithUpdatedHistoricalInfo()
72 return mProbability; in getProbability()
84 const int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dprobability_entry.h34 : mFlags(probabilityEntry.mFlags), mProbability(probabilityEntry.mProbability), in ProbabilityEntry()
39 : mFlags(Ver4DictConstants::FLAG_NOT_A_VALID_ENTRY), mProbability(NOT_A_PROBABILITY), in ProbabilityEntry()
44 : mFlags(flags), mProbability(probability), mHistoricalInfo() {} in ProbabilityEntry()
48 : mFlags(flags), mProbability(NOT_A_PROBABILITY), mHistoricalInfo(*historicalInfo) {} in ProbabilityEntry()
55 mProbability(unigramProperty->getProbability()), in ProbabilityEntry()
61 : mFlags(0), mProbability(ngramProperty->getProbability()), in ProbabilityEntry()
77 return mProbability; in getProbability()
111 | static_cast<uint8_t>(mProbability); in encode()
149 const int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbinary_dictionary_bigrams_iterator.h30 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), mHasNext(false) {} in BinaryDictionaryBigramsIterator()
35 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), in BinaryDictionaryBigramsIterator()
41 mProbability(bigramsIterator.mProbability), mHasNext(bigramsIterator.mHasNext) {} in BinaryDictionaryBigramsIterator()
48 mBigramsStructurePolicy->getNextBigram(&mBigramPos, &mProbability, &mHasNext, &mPos); in next()
52 return mProbability; in getProbability()
65 int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpt_node_params.h38 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), in PtNodeParams()
50 mProbability(ptNodeParams.mProbability), in PtNodeParams()
67 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams()
82 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams()
98 mProbability(probability), in PtNodeParams()
114 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(probability), in PtNodeParams()
208 return mProbability; in getProbability()
253 const int mProbability; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.h86 : mDictPos(dictPos), mProbability(probability), mTimestamp(timestamp) {} in DictProbability()
93 return mProbability; in getProbability()
104 int mProbability; variable
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DCombinedInputOutput.java137 probabilityInfo = new ProbabilityInfo(probabilityInfo.mProbability, in readDictionaryCombined()
169 bigramProbabilityInfo.mProbability, in readDictionaryCombined()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DFusionDictionary.java107 mTerminalId = probabilityInfo == null ? NOT_A_TERMINAL : probabilityInfo.mProbability; in PtNode()
141 return isTerminal() ? mProbabilityInfo.mProbability : NOT_A_TERMINAL; in getProbability()
335 assert(probabilityInfo.mProbability <= FormatSpec.MAX_TERMINAL_FREQUENCY); in add()
DBinaryDictIOUtils.java117 ptNodeInfo.mOriginalAddress, ptNodeInfo.mProbabilityInfo.mProbability); in readUnigramsAndBigramsBinaryInner()
DBinaryDictDecoderEncoderTests.java662 assertEquals(UNIGRAM_FREQ, wordProperty.mProbabilityInfo.mProbability);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCombinedFormatUtils.java93 builder.append(PROBABILITY_TAG + "=" + probabilityInfo.mProbability); in formatProbabilityInfo()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java753 assertEquals(unigramProbability, wordProperty.mProbabilityInfo.mProbability); in testGetWordProperties()
862 wordProperty.mProbabilityInfo.mProbability); in testIterateAllWords()