Searched refs:mFrequency (Results 1 – 10 of 10) sorted by relevance
31 public final int mFrequency; field in Word44 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()
64 public int mFrequency; field in FusionDictionary.WeightedString67 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.CharGroup113 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 …]
26 public final int mFrequency; field in PendingAttribute29 mFrequency = frequency; in PendingAttribute()
32 public final int mFrequency; field in CharGroupInfo46 mFrequency = frequency; in CharGroupInfo()
728 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 …]
94 && 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()
54 int mFrequency; field in ExpandableDictionary.Node93 private final int mFrequency; field in ExpandableDictionary.NextStaticWord96 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()
208 attr.mFrequency)); in addWordsFromWordMap()
300 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()
367 unigramFreq, attr.mFrequency); in checkWordMap()