Searched refs:probabilityInfo (Results 1 – 8 of 8) sorted by relevance
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 104 final ArrayList<WeightedString> bigrams, final ProbabilityInfo probabilityInfo, in PtNode() argument 107 mProbabilityInfo = probabilityInfo; in PtNode() 108 mTerminalId = probabilityInfo == null ? NOT_A_TERMINAL : probabilityInfo.mProbability; in PtNode() 117 final ArrayList<WeightedString> bigrams, final ProbabilityInfo probabilityInfo, in PtNode() argument 121 mProbabilityInfo = probabilityInfo; in PtNode() 184 public void addBigram(final String word, final ProbabilityInfo probabilityInfo) { in addBigram() argument 190 bigram.mProbabilityInfo = probabilityInfo; in addBigram() 192 bigram = new WeightedString(word, probabilityInfo); in addBigram() 238 private void update(final ProbabilityInfo probabilityInfo, in update() argument 242 mProbabilityInfo = ProbabilityInfo.max(mProbabilityInfo, probabilityInfo); in update() [all …]
|
D | Ver2DictDecoder.java | 218 final ProbabilityInfo probabilityInfo; in readPtNode() local 220 probabilityInfo = PtNodeReader.readProbabilityInfo(mDictBuffer); in readPtNode() 223 probabilityInfo = null; in readPtNode() 251 return new PtNodeInfo(ptNodePos, addressPointer, flags, characters, probabilityInfo, in readPtNode()
|
D | PtNodeInfo.java | 35 final int[] characters, final ProbabilityInfo probabilityInfo, in PtNodeInfo() argument 42 mProbabilityInfo = probabilityInfo; in PtNodeInfo()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | WordProperty.java | 47 public WordProperty(final String word, final ProbabilityInfo probabilityInfo, in WordProperty() argument 52 mProbabilityInfo = probabilityInfo; in WordProperty() 62 private static ProbabilityInfo createProbabilityInfoFromArray(final int[] probabilityInfo) { in createProbabilityInfoFromArray() argument 64 probabilityInfo[BinaryDictionary.FORMAT_WORD_PROPERTY_PROBABILITY_INDEX], in createProbabilityInfoFromArray() 65 probabilityInfo[BinaryDictionary.FORMAT_WORD_PROPERTY_TIMESTAMP_INDEX], in createProbabilityInfoFromArray() 66 probabilityInfo[BinaryDictionary.FORMAT_WORD_PROPERTY_LEVEL_INDEX], in createProbabilityInfoFromArray() 67 probabilityInfo[BinaryDictionary.FORMAT_WORD_PROPERTY_COUNT_INDEX]); in createProbabilityInfoFromArray() 74 final boolean isBeginningOfSentence, final int[] probabilityInfo, in WordProperty() argument 79 mProbabilityInfo = createProbabilityInfoFromArray(probabilityInfo); in WordProperty()
|
D | WeightedString.java | 36 public WeightedString(final String word, final ProbabilityInfo probabilityInfo) { in WeightedString() argument 38 mProbabilityInfo = probabilityInfo; in WeightedString()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 99 ProbabilityInfo probabilityInfo = new ProbabilityInfo(0); in readDictionaryCombined() local 108 dict.add(word, probabilityInfo, shortcuts.isEmpty() ? null : shortcuts, in readDictionaryCombined() 123 probabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]), in readDictionaryCombined() 124 probabilityInfo.mTimestamp, probabilityInfo.mLevel, in readDictionaryCombined() 125 probabilityInfo.mCount); in readDictionaryCombined() 132 probabilityInfo = new ProbabilityInfo(probabilityInfo.mProbability, in readDictionaryCombined() 192 dict.add(word, probabilityInfo, shortcuts.isEmpty() ? null : shortcuts, isNotAWord); in readDictionaryCombined()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CombinedFormatUtils.java | 89 public static String formatProbabilityInfo(final ProbabilityInfo probabilityInfo) { in formatProbabilityInfo() argument 91 builder.append(PROBABILITY_TAG + "=" + probabilityInfo.mProbability); in formatProbabilityInfo() 92 if (probabilityInfo.hasHistoricalInfo()) { in formatProbabilityInfo() 95 builder.append(probabilityInfo.mTimestamp); in formatProbabilityInfo() 97 builder.append(probabilityInfo.mLevel); in formatProbabilityInfo() 99 builder.append(probabilityInfo.mCount); in formatProbabilityInfo()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/ |
D | word_property.cpp | 34 int probabilityInfo[] = {mUnigramProperty.getProbability(), mUnigramProperty.getTimestamp(), in outputProperties() local 36 env->SetIntArrayRegion(outProbabilityInfo, 0 /* start */, NELEMS(probabilityInfo), in outputProperties() 37 probabilityInfo); in outputProperties()
|