Skip to content
Snippets Groups Projects
  1. Dec 15, 2011
  2. Oct 04, 2011
  3. Aug 29, 2011
  4. Aug 19, 2011
  5. Aug 04, 2011
  6. May 23, 2011
  7. May 02, 2011
    • Jean Chalard's avatar
      Straighten out magic space vs real spaces behavior. · 0730bbfb
      Jean Chalard authored
      Picking a suggestion inserts a space after the word. This change makes
      this space a magic space.
      
      Incidentally, do some minor cleanup: add CODE_DASH, CODE_SINGLE_QUOTE
      and CODE_DOUBLE_QUOTE to Keyboard and use them throughout the code,
      and remove a useless import directive in some unrelated file.
      
      Bug: 4319740
      
      Change-Id: I245f396c34dd0af820bca91edc4ec363238a4ae4
      0730bbfb
  8. 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
  9. Mar 16, 2011
    • Tadashi G. Takaoka's avatar
      Add Utils.equalsIgnoreCase methods · e7a2512a
      Tadashi G. Takaoka authored
      This change also corrects usage of "frequency", "priority" and "score"
      * Frequency is the relative probability in dictionary.
      * Score is the relative probability in suggestions.
      * Priority is kind a sorted score.
      
      Change-Id: Iafb135a4ecdb401cc505014a07c74dfcac44d699
      e7a2512a
  10. Mar 05, 2011
    • Jean Chalard's avatar
      Demote skipped characters matched words with respect to length. · 07a8406b
      Jean Chalard authored
      Words that matched user input with skipped characters used to be demoted
      in BinaryDictionary by a constant factor and not at all in those dictionaries
      implemented in java code. To represent the fact that the impact of a skipped
      character gets larger as the word is shorter, this change will implement a
      demotion that gets larger as the typed word is shorter. The demotion rate
      is (n - 2) / (n - 1) where n is the length of the typed word for n >= 2.
      It implements it for both BinaryDictionary and java dictionaries.
      
      Bug: 3340731
      Change-Id: I3a18be80a9708981d56a950dc25fe08f018b5b89
      07a8406b
    • Ken Wakasa's avatar
      Fix a NPE caused by a null typedWord · baf263ca
      Ken Wakasa authored
      bug: 3514797
      Change-Id: Ie1056745ded1f848d1e4f70c5344d6969de509b0
      baf263ca
  11. Feb 17, 2011
  12. Jan 09, 2011
  13. Dec 10, 2010
  14. Nov 29, 2010
  15. Aug 20, 2010
  16. 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
  17. Jul 28, 2010
    • Jae Yong Sung's avatar
      - separate dict (uses xml) · 80aa14fd
      Jae Yong Sung authored
      - retrieve bigrams that only starts with character typed and neighbor keys
      - contacts bigram
      - performance measure
      
      bug: 2873133
      
      Change-Id: If97c005b18c82f3fafef50009dd2dfd972b0ab8f
      80aa14fd
  18. Jul 13, 2010
    • Jae Yong Sung's avatar
      added bigram prediction · 937d5ad0
      Jae Yong Sung authored
        - after first character, only suggests bigram data (but doesn't autocomplete)
        - after second character, words from dictionary gets rearranged by using bigram
        - compatible with old dictionary
        - added preference option to disable bigram
      
      Change-Id: Ia8f4e8fa55e797e86d858fd499887cd396388411
      937d5ad0
  19. Jun 02, 2010
  20. Mar 10, 2010
    • Amith Yamasani's avatar
      Load UserDictionary and AutoDictionary in a background thread. · 283a77f6
      Amith Yamasani authored
      This is to avoid ANRs during bootup, as some of the providers
      may not have been initialized yet.
      
      Refactored the ContactsDictionary and moved the async loading
      code to ExpandableDictionary to share with the other dicts.
      
      Bug: 2501133
      Change-Id: I20393edb6fdf5df2f54ebac8dd04419a592177a2
      283a77f6
  21. Mar 09, 2010
  22. Mar 04, 2010
  23. Feb 08, 2010
    • Amith Yamasani's avatar
      Increase target size of preferred letters while typing. · 1b62ff1a
      Amith Yamasani authored
      This increases the chance of hitting the correct letter when typing a word
      that exists in the dictionary, rather than only correct it after the fact.
      It is most effective after 2 or 3 letters of a word have been typed and gets
      more accurate with more typed letters in the word.
      
      If 2 adjacent letters have similar probabilities of occuring, then there is no
      hit correction applied.
      1b62ff1a
  24. Jan 12, 2010
  25. Dec 07, 2009
    • Amith Yamasani's avatar
      Fix 2306814: Too aggressive suggesting names from my contacts list. · 5b63c38d
      Amith Yamasani authored
      When there is more than one instance of a name in the Contacts, it
      gets a very high weightage and can override corrections for very
      high frequency words such as "the".
      
      This fix prevents multiple occurences from increasing the frequency
      of a contact and also from bumping it above 255, which is the frequency
      of "the", "is", etc.
      5b63c38d
  26. Nov 13, 2009
  27. Aug 14, 2009
    • Amith Yamasani's avatar
      Auto add new words to the user dictionary. · 34386e69
      Amith Yamasani authored
      First pass at automatically adding new words that the user types and deliberately
      accepts.
      After typing the word 4 times, the word gets promoted to being valid.
      After typing the word 7 times, the word gets added into the UserDictionary and can
      be removed from the UserDictionary Settings UI.
      
      Also add a second row of symbols to the period popup.
      34386e69
  28. Mar 13, 2009
Loading