Skip to content
Snippets Groups Projects
  1. Oct 04, 2011
  2. Sep 30, 2011
    • Jean Chalard's avatar
      Make use of the FULL_EDIT_DISTANCE flag. · 673cebf9
      Jean Chalard authored
      In effect, this stops the spell checker from suggesting overly
      long words.
      More precisely, it takes advantage of the new facility that
      takes into account the whole length of the dictionary word when
      computing scores, so words much longer than the input word will
      see their score demoted accordingly.
      
      Bug: 5384578
      Change-Id: I326cd7c87c3080e7fa8729f78517f8ba13672a9b
      673cebf9
  3. Sep 29, 2011
  4. Aug 04, 2011
  5. Jun 02, 2011
  6. Apr 27, 2011
    • Jean Chalard's avatar
      Create a dictionary collection and a dictionary factory. · 4250eb27
      Jean Chalard authored
      The dictionary collection is a class complying to the Dictionary
      interface that acts as a front end to a collection of arbitrarily many
      dictionaries of any type.
      The dictionary factory is a helper class for creating various
      dictionaries and get some meta information about them.
      
      At the same time, this change makes the BinaryDictionary class
      not a singleton any more.
      
      This also needs I9afe61a9 to not break the build.
      
      Change-Id: I61fdcc4867fcda18342807bf1865e6e46979e5d5
      4250eb27
  7. Apr 26, 2011
    • Jean Chalard's avatar
      Fix Eclipse warnings. · 0c8d5ca0
      Jean Chalard authored
      This change is only there to fix warning issued by Eclipse.
      It should have absolutely no impact on the program logic.
      
      Change-Id: Ie0e242ac6c167297d33de19902340b0f6ecae9e1
      0c8d5ca0
  8. Apr 22, 2011
  9. Apr 20, 2011
    • Jean Chalard's avatar
      Move language-specific keyboard setting to resources. · c899038e
      Jean Chalard authored
      Some flag settings used to be stored in a keyboard layout extravalue setting. This
      change:
      - Introduces the capability of setting such specific flags in values/config.xml
      - Retains the ability to use extravalues (for layout-specific settings), though
        there is no more any such setting at the moment.
      - Fixes a bug where loading a dictionary from outside does not initialize the flags.
      - Moves Flag to another class.
      
      Note: this needs I705ec68c to avoid breaking the build
      
      Change-Id: Ia7703aae3215b06c0b3cb792821649806e8998c1
      c899038e
  10. Mar 18, 2011
    • Jean Chalard's avatar
      Add different ways of reading the dictionary file. · cba93f50
      Jean Chalard authored
      This change adds basic support for an external dictionary provider.
      It adds methods for reading the dictionary itself from an asset in
      the dictionary provider package directly, obtaining the file name
      through the ContentProvider interface; it also adds a way of getting
      the data through an InputStream and copying the file locally.
      
      Incidentally this change also adds the code needed to listen for
      updating the dictionary provider package and reloading it in time.
      
      This change also goes hand-in-hand with Iab31db6e, which implements
      the small closed part of this.
      
      Issue: 3414944
      
      Change-Id: I5e4fff99a59bb99dbdb002102db6c90e6cb41c8a
      cba93f50
  11. Mar 17, 2011
    • Tadashi G. Takaoka's avatar
      Refactor BinaryDictionary a bit · 071f4714
      Tadashi G. Takaoka authored
      This changes:
      * Flag initialization code in BinaryDictionary to be more unit test friendly.
      * Removing unnecessary class hierarchy of LatinIME inner class WordAlternatives.
      * Formatting normalized score neatly.
      
      Change-Id: I9f10c093d4f36258fe883cf3fb10cbbda2770497
      071f4714
  12. 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
  13. Mar 03, 2011
  14. Mar 01, 2011
  15. Feb 28, 2011
  16. Feb 25, 2011
  17. Feb 23, 2011
  18. Feb 17, 2011
  19. Feb 08, 2011
  20. Jan 17, 2011
  21. Jan 09, 2011
  22. Jan 07, 2011
  23. Jan 05, 2011
    • Ken Wakasa's avatar
      Consolidate main dictionary files. · 458249e7
      Ken Wakasa authored
      This change is a preparation for upcoming optimizations on dictionary file loading.
      * We can consolidate dictionary files because we are no longer relying on Asset Manager.
      * Stopping compressing dictionary files as planning to use mmap() on the region in the apk file.
      * Probably we won't rely on Asset Manager.  Instead we'll probably use offset and size obtained from AssetFileDescriptor.
      
      Change-Id: Id57dce512fd3d2397a58628f8264bd824194da76
      458249e7
  24. Dec 06, 2010
  25. Dec 01, 2010
  26. Nov 29, 2010
  27. 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
  28. Aug 20, 2010
  29. 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
  30. 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
  31. Jul 20, 2010
    • Ken Wakasa's avatar
      Prepare for master merge · debd74c6
      Ken Wakasa authored
      - Rename the jni library name
      - Revert the local cert
      - LatinIme2Google -> LatinIME
      Please note that we'll use the new package name: com.google.android.inputmethod.latin
      
      Change-Id: Ibbab07e8102ade5a93660c0723cd86f600c14a7d
      debd74c6
  32. Jul 16, 2010
  33. 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
  34. Jun 02, 2010
  35. May 07, 2010
  36. Apr 27, 2010
  37. Apr 26, 2010
  38. Apr 20, 2010
    • Ken Wakasa's avatar
      Fix the sandbox build & get rid of ICU dependency. · 07cab72c
      Ken Wakasa authored
      Changed package name from com.android.inputmethod.latin2 to com.google.android.inputmethod.latin2.
      Copied LatinIME's current dictionaries from master's vendor directory.
      Confirmed latin_tolower() function returns the result identical to ICU's u_tolower().
      - Note that I will merge the ICU dependency removal change to master.
      
      Change-Id: Ia85bd3e88ce5159934684e2228d8b0c5a8885296
      07cab72c
Loading