diff options
author | 2010-08-03 18:28:38 -0700 | |
---|---|---|
committer | 2010-08-10 13:30:58 -0700 | |
commit | ac093396ba20437a240dbcf4e2b35f9d5355bd6c (patch) | |
tree | 5d6cdff18ec7266a1f4461159aa1a011fe386c02 /java/src/com/android/inputmethod/latin/ContactsDictionary.java | |
parent | 6dea4254808017374af47b126f179c515bd544a9 (diff) | |
download | latinime-ac093396ba20437a240dbcf4e2b35f9d5355bd6c.tar.gz latinime-ac093396ba20437a240dbcf4e2b35f9d5355bd6c.tar.xz latinime-ac093396ba20437a240dbcf4e2b35f9d5355bd6c.zip |
-UserBigram
-UnitTest for UserBigram
-Changes for number of bigrams to load
Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
Diffstat (limited to 'java/src/com/android/inputmethod/latin/ContactsDictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/ContactsDictionary.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/ContactsDictionary.java b/java/src/com/android/inputmethod/latin/ContactsDictionary.java index 756782887..ab75868cf 100644 --- a/java/src/com/android/inputmethod/latin/ContactsDictionary.java +++ b/java/src/com/android/inputmethod/latin/ContactsDictionary.java @@ -125,8 +125,8 @@ public class ContactsDictionary extends ExpandableDictionary { super.addWord(word, FREQUENCY_FOR_CONTACTS); if (!TextUtils.isEmpty(prevWord)) { // TODO Do not add email address - super.addBigrams(prevWord, word, - FREQUENCY_FOR_CONTACTS_BIGRAM); + // Not so critical + super.setBigram(prevWord, word, FREQUENCY_FOR_CONTACTS_BIGRAM); } prevWord = word; } |