Skip to content
Snippets Groups Projects
  1. Mar 28, 2012
    • satok's avatar
      Fix AIOOBE · 9611b281
      satok authored
      Bug: 6236912
      Change-Id: Ie09e5ef1c23eb48621ac3f2f2dc28dc2e46ca288
      9611b281
  2. Mar 23, 2012
    • Jean Chalard's avatar
      Correct a shaky processing and move it to a better place · 71f9d30b
      Jean Chalard authored
      The old code would remove caps from the first letter if
      auto-capsed but that makes very little sense when the word
      is camel-cased. Also, it would not correctly handle
      surrogate pairs, and would require a direct reference to
      LatinIME and a specific method to do the processing in an
      unexpected place.
      
      Change-Id: I416d6a805242788a2473f007ca7452c9fe3f5205
      71f9d30b
  3. Mar 19, 2012
    • Jean Chalard's avatar
      Rename the user history dictionary. · 9ffb94fa
      Jean Chalard authored
      UserBigramDictionary -> UserHistoryDictionary.
      
      Also update all methods, strings and comments, except those needed
      for backward compatibility (which only include the name of the
      database file).
      
      Change-Id: I0bccea29880dc566b90100575b83baaa947b03ae
      9ffb94fa
  4. Mar 16, 2012
    • satok's avatar
      Fix NPE · cbb5053b
      satok authored
      bug: 6181736
      
      Change-Id: I6522f19555c27f33c9ff4eaa8b2559a51a38f015
      cbb5053b
    • Jean Chalard's avatar
      Move the UserUnigramDictionary functionality over · c68d1bbf
      Jean Chalard authored
      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
      c68d1bbf
    • Jean Chalard's avatar
      Streamline some user history dictionary code · c24f66e1
      Jean Chalard authored
      A lot of things don't really make sense in the old code.
      Let's streamline it for now so that we have a cleaner interface
      to work with. This is preliminary work for bug 4192129.
      
      Change-Id: If01a5974cfadc43afced610c57fcf7fde67c1346
      c24f66e1
  5. Mar 01, 2012
  6. Dec 13, 2011
    • Jean Chalard's avatar
      Various mini-cleanups · f7d6517d
      Jean Chalard authored
      - Stop the word composer from escaping - take a page from the law
        of Demeter and only report what is actually needed.
      - Fix typos in comments.
      - Add a comment for a fishy processing.
      - Remove a useless local variable.
      
      Change-Id: I5fa78901cbb5483fc9683bfb7094f47244b85df6
      f7d6517d
  7. Oct 28, 2011
  8. Oct 04, 2011
  9. May 23, 2011
  10. May 20, 2011
  11. Apr 22, 2011
  12. Apr 06, 2011
    • Jean Chalard's avatar
      Reinforce user-history based bigram use. · 3e236828
      Jean Chalard authored
      - Have user-history based bigrams used as soon as they are entered,
        not after 6 times.
      - Limit bigram frequency to 255 (this limits the multiplier to 1.8, and
        has no effect on main dict bigrams which already have this limit)
      - Some TODO resolving
      
      bug: 4192129
      
      Change-Id: I4777f1a58c43dd55381c4b01252d722ab3a70547
      3e236828
  13. Dec 10, 2010
  14. Nov 29, 2010
  15. Aug 24, 2010
    • satok's avatar
      Clean up LatinIME java · 525141a4
      satok authored
      - remove unused code
      - add @Override
      - change the inappropriate cast
      
      Change-Id: Ib25b4939e5b4273794ab0f6349776b5b62d89894
      525141a4
  16. Aug 20, 2010
  17. Aug 10, 2010
    • Jae Yong Sung's avatar
      -UserBigram · ac093396
      Jae Yong Sung authored
      -UnitTest for UserBigram
      -Changes for number of bigrams to load
      
      Change-Id: I2c6fbe6194d34112ccc52c7e199461d2350e8516
      ac093396
Loading