aboutsummaryrefslogtreecommitdiffstats
path: root/tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-01-05 21:36:46 -0800
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-05 21:36:46 -0800
commit69f94e1983f5b0d7b982d806afd9b937c8222b3d (patch)
treedbca7f6ed68bb7e21300d0f046e62fc20f76a406 /tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java
parent3a1a94c3cb4801dfe3985ab2b171e9a54b2d2ad2 (diff)
parentaa9187103004d985d102b528a9f3bf69c9e0f852 (diff)
downloadlatinime-69f94e1983f5b0d7b982d806afd9b937c8222b3d.tar.gz
latinime-69f94e1983f5b0d7b982d806afd9b937c8222b3d.tar.xz
latinime-69f94e1983f5b0d7b982d806afd9b937c8222b3d.zip
Merge "Make the dictionary iterator shortcut-aware (B4)"
Diffstat (limited to 'tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java')
-rw-r--r--tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java b/tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java
index 2f6b2c371..50def5e62 100644
--- a/tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java
+++ b/tools/makedict/src/com/android/inputmethod/latin/FusionDictionary.java
@@ -592,8 +592,7 @@ public class FusionDictionary implements Iterable<Word> {
}
if (currentGroup.mFrequency >= 0)
return new Word(mCurrentString.toString(), currentGroup.mFrequency,
- // TODO: pass the shortcut targets here
- currentGroup.mBigrams);
+ currentGroup.mShortcutTargets, currentGroup.mBigrams);
} else {
mPositions.removeLast();
currentPos = mPositions.getLast();