Home
last modified time | relevance | path

Searched refs:mFrequency (Results 1 – 10 of 10) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DWord.java31 public final int mFrequency; field in Word
44 mFrequency = frequency; in Word()
54 word.mFrequency, in computeHashCode()
70 if (mFrequency < w.mFrequency) return 1; in compareTo()
71 if (mFrequency > w.mFrequency) return -1; in compareTo()
86 return mFrequency == w.mFrequency && mWord.equals(w.mWord) in equals()
DFusionDictionary.java64 public int mFrequency; field in FusionDictionary.WeightedString
67 mFrequency = frequency; in WeightedString()
72 return Arrays.hashCode(new Object[] { mWord, mFrequency }); in hashCode()
80 return mWord.equals(w.mWord) && mFrequency == w.mFrequency; in equals()
101 int mFrequency; // NOT_A_TERMINAL == mFrequency indicates this is not a terminal. field in FusionDictionary.CharGroup
113 mFrequency = frequency; in CharGroup()
125 mFrequency = frequency; in CharGroup()
141 return NOT_A_TERMINAL != mFrequency; in isTerminal()
159 bigram.mFrequency = frequency; in addBigram()
210 if (frequency > mFrequency) { in update()
[all …]
DPendingAttribute.java26 public final int mFrequency; field in PendingAttribute
29 mFrequency = frequency; in PendingAttribute()
DCharGroupInfo.java32 public final int mFrequency; field in CharGroupInfo
46 mFrequency = frequency; in CharGroupInfo()
DBinaryDictInputOutput.java728 if (group.mFrequency >= 0) { in makeCharGroupFlags()
923 if (DBG && group.mFrequency > FormatSpec.MAX_TERMINAL_FREQUENCY) { in writePlacedNode()
926 + " : " + group.mFrequency); in writePlacedNode()
928 if (group.mFrequency >= 0) groupAddress += FormatSpec.GROUP_FREQUENCY_SIZE; in writePlacedNode()
947 if (group.mFrequency >= 0) { in writePlacedNode()
948 buffer[index++] = (byte) group.mFrequency; in writePlacedNode()
970 target.mFrequency); in writePlacedNode()
991 final int unigramFrequencyForThisWord = target.mFrequency; in writePlacedNode()
995 bigram.mFrequency, unigramFrequencyForThisWord, bigram.mWord); in writePlacedNode()
1036 if (cg.mFrequency >= 0) { in showStatistics()
[all …]
DBinaryDictIOUtils.java94 && info.mFrequency != FusionDictionary.CharGroup.NOT_A_TERMINAL) {// found word in readUnigramsAndBigramsBinaryInner()
96 frequencies.put(info.mOriginalAddress, info.mFrequency); in readUnigramsAndBigramsBinaryInner()
195 if (currentInfo.mFrequency == CharGroup.NOT_A_TERMINAL) { in getTerminalPosition()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DExpandableDictionary.java54 int mFrequency; field in ExpandableDictionary.Node
93 private final int mFrequency; field in ExpandableDictionary.NextStaticWord
96 mFrequency = frequency; in NextStaticWord()
106 return mFrequency; in getFrequency()
116 return mFrequency; in notifyTypedAgainAndGetFrequency()
239 childNode.mFrequency = Math.max(frequency, childNode.mFrequency); in addWordRec()
240 if (childNode.mFrequency > 255) childNode.mFrequency = 255; in addWordRec()
351 return (node == null) ? -1 : node.mFrequency;
456 final int freq = node.mFrequency; in getWordsRec()
DUserHistoryDictIOUtils.java208 attr.mFrequency)); in addWordsFromWordMap()
/packages/inputmethods/LatinIME/tools/dicttool/src/android/inputmethod/latin/dicttool/
DXmlDictInputOutput.java300 dict.setBigram(firstWord, bigram.mWord, bigram.mFrequency); in readDictionaryXml()
349 + FREQUENCY_ATTR + "=\"" + word.mFrequency in writeDictionaryXml()
355 + target.mFrequency + "\">" + target.mWord + "</" + SHORTCUT_TAG in writeDictionaryXml()
364 + bigram.mFrequency + "\">" + bigram.mWord + "</" + BIGRAM_TAG + ">\n"); in writeDictionaryXml()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOTests.java367 unigramFreq, attr.mFrequency); in checkWordMap()