Skip to content
Snippets Groups Projects
  1. Jun 26, 2012
  2. Jun 25, 2012
  3. May 29, 2012
  4. May 16, 2012
  5. May 12, 2012
  6. Apr 23, 2012
    • Jean Chalard's avatar
      Pass words as int[] to the native code. · 522a04ea
      Jean Chalard authored
      We need to get the bigrams during the call to getSuggestions for
      bug#6313806. We already give an int[] to getSuggestions and we
      wanted to get rid of char[]'s anyway because it doesn't work with
      surrogate pairs, so here we go.
      
      Bug: 6313806
      Change-Id: I56ce99f1db6b3302cdf42f0527343bded837091e
      522a04ea
  7. Apr 17, 2012
  8. Apr 11, 2012
  9. Apr 06, 2012
  10. Apr 04, 2012
  11. Mar 28, 2012
  12. Mar 27, 2012
    • satok's avatar
      ongoing cleanup 2 · 01ab7c8b
      satok authored
      Change-Id: I66b61cbe491cf8375144e834390beae3209a777d
      01ab7c8b
  13. Mar 23, 2012
  14. Mar 21, 2012
  15. Mar 08, 2012
  16. Feb 16, 2012
  17. Jan 26, 2012
  18. Jan 12, 2012
  19. Oct 31, 2011
  20. Oct 04, 2011
  21. 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
  22. Sep 29, 2011
  23. Aug 04, 2011
  24. Jun 02, 2011
  25. 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
  26. 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
  27. Apr 22, 2011
  28. 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
  29. 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
  30. 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
  31. 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
Loading