/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | ProbabilityInfo.java | 25 public final class ProbabilityInfo { class 35 public static ProbabilityInfo max(final ProbabilityInfo probabilityInfo1, in max() 36 final ProbabilityInfo probabilityInfo2) { in max() 47 public ProbabilityInfo(final int probability) { in ProbabilityInfo() method in ProbabilityInfo 51 public ProbabilityInfo(final int probability, final int timestamp, final int level, in ProbabilityInfo() method in ProbabilityInfo 79 if (!(o instanceof ProbabilityInfo)) return false; in equals() 80 final ProbabilityInfo p = (ProbabilityInfo)o; in equals()
|
D | WeightedString.java | 30 public ProbabilityInfo mProbabilityInfo; 33 this(word, new ProbabilityInfo(probability)); in WeightedString() 36 public WeightedString(final String word, final ProbabilityInfo probabilityInfo) { in WeightedString() 47 mProbabilityInfo = new ProbabilityInfo(probability); in setProbability()
|
D | WordProperty.java | 39 public final ProbabilityInfo mProbabilityInfo; 51 public WordProperty(final String word, final ProbabilityInfo probabilityInfo, in WordProperty() 71 private static ProbabilityInfo createProbabilityInfoFromArray(final int[] probabilityInfo) { in createProbabilityInfoFromArray() 72 return new ProbabilityInfo( in createProbabilityInfoFromArray()
|
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/ |
D | CombinedInputOutput.java | 23 import com.android.inputmethod.latin.makedict.ProbabilityInfo; 99 ProbabilityInfo probabilityInfo = new ProbabilityInfo(0); in readDictionaryCombined() 126 probabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]), in readDictionaryCombined() 137 probabilityInfo = new ProbabilityInfo(probabilityInfo.mProbability, in readDictionaryCombined() 152 ProbabilityInfo bigramProbabilityInfo = new ProbabilityInfo(0); in readDictionaryCombined() 159 bigramProbabilityInfo = new ProbabilityInfo(Integer.parseInt(params[1]), in readDictionaryCombined() 168 bigramProbabilityInfo = new ProbabilityInfo( in readDictionaryCombined()
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderFlattenTreeTests.java | 36 dict.add("foo", new ProbabilityInfo(1), false /* isNotAWord */, in testFlattenNodes() 38 dict.add("fta", new ProbabilityInfo(1), false /* isNotAWord */, in testFlattenNodes() 40 dict.add("ftb", new ProbabilityInfo(1), false /* isNotAWord */, in testFlattenNodes() 42 dict.add("bar", new ProbabilityInfo(1), false /* isNotAWord */, in testFlattenNodes() 44 dict.add("fool", new ProbabilityInfo(1), false /* isNotAWord */, in testFlattenNodes()
|
D | FusionDictionaryTest.java | 105 dict.add(sWords.get(i), new ProbabilityInfo(180), false, in testFusion()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 87 ProbabilityInfo mProbabilityInfo; 103 final ProbabilityInfo probabilityInfo, final boolean isNotAWord, in PtNode() 115 final ProbabilityInfo probabilityInfo, final boolean isNotAWord, in PtNode() 168 public void addBigram(final String word, final ProbabilityInfo probabilityInfo) { in addBigram() 204 void update(final ProbabilityInfo probabilityInfo, in update() 207 mProbabilityInfo = ProbabilityInfo.max(mProbabilityInfo, probabilityInfo); in update() 219 existingBigram.mProbabilityInfo = ProbabilityInfo.max( in update() 274 public void add(final String word, final ProbabilityInfo probabilityInfo, in add() 305 final ProbabilityInfo probabilityInfo) { in setBigram() 310 add(getCodePoints(word1), new ProbabilityInfo(0), false /* isNotAWord */, in setBigram() [all …]
|
D | PtNodeInfo.java | 29 public final ProbabilityInfo mProbabilityInfo; 35 final int[] characters, final ProbabilityInfo probabilityInfo, in PtNodeInfo()
|
D | BinaryDictDecoderEncoderTests.java | 136 dict.add(word, new ProbabilityInfo(UNIGRAM_FREQ), false /* isNotAWord */, in addUnigrams() 147 dict.setBigram(words.get(w1), words.get(w2), new ProbabilityInfo(BIGRAM_FREQ)); in addBigrams()
|
/packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/dicttool/ |
D | BinaryDictOffdeviceUtilsTests.java | 34 import com.android.inputmethod.latin.makedict.ProbabilityInfo; 88 dict.add("foo", new ProbabilityInfo(TEST_FREQ), false /* isNotAWord */, in testGetRawDictWorks() 90 dict.add("fta", new ProbabilityInfo(1), false /* isNotAWord */, in testGetRawDictWorks() 92 dict.add("ftb", new ProbabilityInfo(1), false /* isNotAWord */, in testGetRawDictWorks() 94 dict.add("bar", new ProbabilityInfo(1), false /* isNotAWord */, in testGetRawDictWorks() 96 dict.add("fool", new ProbabilityInfo(1), false /* isNotAWord */, in testGetRawDictWorks() 174 dict.add(word, new ProbabilityInfo(TEST_FREQ), false /* isNotAWord */, in runTestHeaderReaderProcessorWithOneSpec()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CombinedFormatUtils.java | 21 import com.android.inputmethod.latin.makedict.ProbabilityInfo; 91 public static String formatProbabilityInfo(final ProbabilityInfo probabilityInfo) { in formatProbabilityInfo()
|
/packages/apps/Car/LatinIME/ |
D | proguard.flags | 23 -keep class com.android.inputmethod.latin.makedict.ProbabilityInfo
|
/packages/inputmethods/LatinIME/java/ |
D | proguard.flags | 23 -keep class com.android.inputmethod.latin.makedict.ProbabilityInfo
|