aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/DictionaryCollection.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2012-03-16 16:16:02 +0900
committerJean Chalard <jchalard@google.com>2012-03-16 17:01:57 +0900
commitc68d1bbfafe4b2041db49523c044123f78d6635d (patch)
tree97166776032b5ba411c1af6dba1ec8a08acee690 /java/src/com/android/inputmethod/latin/DictionaryCollection.java
parentc24f66e18007b5aba32bfab8f86eb7f03fa6c1b7 (diff)
downloadlatinime-c68d1bbfafe4b2041db49523c044123f78d6635d.tar.gz
latinime-c68d1bbfafe4b2041db49523c044123f78d6635d.tar.xz
latinime-c68d1bbfafe4b2041db49523c044123f78d6635d.zip
Move the UserUnigramDictionary functionality over
UserBigramDictionary now assumes both functionalities. It will be renamed to UserHistoryDictionary in a future change. There are several reasons to do this. First, there is a lot of duplicate code in User{Unigram,Bigram}Dictionaries that are factored by the few lines of code in this change. Also, other dictionaries like BinaryDictionary or ContactsDictionary all assume both responsibilities, as should be the case theoretically. It is also possible to do this because previous versions don't write any unigram data that we'd want to reuse. For even older versions that do write data, we can't really make any sense out of it. Bigram data however can be useful, and this allows us to reuse it easily. Change-Id: I755525f92744e1536eaef097527e8151b7859a30
Diffstat (limited to 'java/src/com/android/inputmethod/latin/DictionaryCollection.java')
0 files changed, 0 insertions, 0 deletions