Searched refs:mFrequency (Results 1 – 7 of 7) sorted by relevance
31 final int mFrequency; field in Word41 mFrequency = frequency; in Word()49 word.mFrequency, in computeHashCode()63 if (mFrequency < w.mFrequency) return 1; in compareTo()64 if (mFrequency > w.mFrequency) return -1; in compareTo()79 return mFrequency == w.mFrequency && mWord.equals(w.mWord) in equals()
65 int mFrequency; field in FusionDictionary.WeightedString68 mFrequency = frequency; in WeightedString()73 return Arrays.hashCode(new Object[] { mWord, mFrequency }); in hashCode()81 return mWord.equals(w.mWord) && mFrequency == w.mFrequency; in equals()102 int mFrequency; // NOT_A_TERMINAL == mFrequency indicates this is not a terminal. field in FusionDictionary.CharGroup111 mFrequency = frequency; in CharGroup()120 mFrequency = frequency; in CharGroup()134 return NOT_A_TERMINAL != mFrequency; in isTerminal()152 bigram.mFrequency = frequency; in addBigram()202 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 CharGroupInfo45 mFrequency = frequency; in CharGroupInfo()
701 if (group.mFrequency >= 0) { in makeCharGroupFlags()860 if (DBG && group.mFrequency > MAX_TERMINAL_FREQUENCY) { in writePlacedNode()862 + " : " + group.mFrequency); in writePlacedNode()864 if (group.mFrequency >= 0) groupAddress += GROUP_FREQUENCY_SIZE; in writePlacedNode()873 if (group.mFrequency >= 0) { in writePlacedNode()874 buffer[index++] = (byte) group.mFrequency; in writePlacedNode()890 target.mFrequency); in writePlacedNode()911 final int unigramFrequencyForThisWord = target.mFrequency; in writePlacedNode()915 bigram.mFrequency, unigramFrequencyForThisWord, bigram.mWord); in writePlacedNode()951 if (cg.mFrequency >= 0) { in showStatistics()[all …]
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()334 return (node == null) ? -1 : node.mFrequency;436 final int freq = node.mFrequency;
270 dict.setBigram(firstWord, bigram.mWord, bigram.mFrequency); in readDictionaryXml()319 + FREQUENCY_ATTR + "=\"" + word.mFrequency + "\">"); in writeDictionaryXml()324 + target.mFrequency + "\">" + target.mWord + "</" + SHORTCUT_TAG in writeDictionaryXml()333 + bigram.mFrequency + "\">" + bigram.mWord + "</" + BIGRAM_TAG + ">\n"); in writeDictionaryXml()