HomeSort by relevance Sort by last modified time
    Searched refs:CharGroup (Results 1 - 8 of 8) sorted by null

  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
FusionDictionary.java 46 ArrayList<CharGroup> mData;
53 mData = new ArrayList<CharGroup>();
55 public Node(ArrayList<CharGroup> data) {
90 * This is the central class of the in-memory representation. A CharGroup is what can
92 * same time. A CharGroup essentially represents one or several characters in the middle
94 * In this in-memory representation, whether the CharGroup is a terminal or not is represented
99 public static final class CharGroup {
112 public CharGroup(final int[] chars, final ArrayList<WeightedString> shortcutTargets,
124 public CharGroup(final int[] chars, final ArrayList<WeightedString> shortcutTargets,
136 public void addChild(CharGroup n)
    [all...]
BinaryDictInputOutput.java 22 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup;
304 private static int getGroupCharactersSize(final CharGroup group) {
365 * Compute the maximum size of a CharGroup, assuming 3-byte addresses for everything.
367 * @param group the CharGroup to compute the size of.
371 private static int getCharGroupMaximumSize(final CharGroup group, final FormatOptions options) {
394 for (CharGroup g : node.mData) {
437 * Compute the size of the header (flag + [parent address] + characters size) of a CharGroup.
442 private static int getGroupHeaderSize(final CharGroup group, final FormatOptions options) {
512 final ArrayList<CharGroup> branches = node.mData;
514 for (CharGroup group : branches)
    [all...]
BinaryDictIOUtils.java 25 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup;
113 && info.mFrequency != FusionDictionary.CharGroup.NOT_A_TERMINAL) {// found word
166 * Gets the address of the last CharGroup of the exact matching word in the dictionary.
215 if (currentInfo.mFrequency == CharGroup.NOT_A_TERMINAL
324 * Update a parent address in a CharGroup that is referred to by groupOriginAddress.
458 * Update a children address in a CharGroup that is addressed by groupOriginAddress.
    [all...]
  /packages/inputmethods/LatinIME/tools/dicttool/tests/com/android/inputmethod/latin/makedict/
FusionDictionaryTest.java 20 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup;
75 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, word);
  /packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
Info.java 21 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup;
68 final CharGroup group = FusionDictionary.findWordInTree(dict.mRoot, word);
Diff.java 20 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup;
124 final CharGroup word1 = FusionDictionary.findWordInTree(dict1.mRoot, word0.mWord);
153 final CharGroup word0 = FusionDictionary.findWordInTree(dict0.mRoot, word1.mWord);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
UserHistoryDictIOUtilsTests.java 28 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup;
88 final CharGroup group = FusionDictionary.findWordInTree(dict.mRoot, word);
  /packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
BinaryDictIOTests.java 29 import com.android.inputmethod.latin.makedict.FusionDictionary.CharGroup;
216 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, word);
224 final CharGroup cg = FusionDictionary.findWordInTree(dict.mRoot, words.get(w1));
232 final CharGroup group = FusionDictionary.findWordInTree(dict.mRoot, entry.getKey());

Completed in 96 milliseconds