Skip to content
Snippets Groups Projects
  1. May 31, 2013
  2. Jan 29, 2013
    • Jean Chalard's avatar
      Refactoring · d515f134
      Jean Chalard authored
      This creates a new DictionaryInfoUtils class and moves a bunch
      of static methods there for later usage.
      
      Change-Id: Iecb0643e6029a7be36bd6cb36aa918c40e6d8c6a
      d515f134
  3. Jan 21, 2013
  4. Jan 11, 2013
  5. Sep 27, 2012
  6. Aug 22, 2012
  7. Jul 05, 2012
  8. Jun 27, 2012
  9. Jun 25, 2012
  10. May 25, 2012
  11. May 16, 2012
  12. Apr 19, 2012
  13. Apr 12, 2012
  14. Apr 11, 2012
  15. Apr 06, 2012
  16. Apr 05, 2012
  17. Apr 04, 2012
  18. Apr 03, 2012
  19. Mar 16, 2012
  20. Mar 08, 2012
  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. Aug 29, 2011
  23. Aug 23, 2011
    • Jean Chalard's avatar
      Fix an excessive fallback problem. · 0ee3b694
      Jean Chalard authored
      LatinIME has several fallbacks to ensure a dictionary is used.
      However, it should now be possible to deactivate the main dictionary
      through the dictionary pack settings. In this case, Latin IME should
      not fallback to the built-in dictionary.
      
      Change-Id: Ibd992ad89793169f04a968b40781fce819b87b6f
      0ee3b694
  24. Aug 19, 2011
  25. Jul 21, 2011
    • Jean Chalard's avatar
      Set the locale for opening an asset · e150ef98
      Jean Chalard authored
      This is necessary because we don't know any more whether the
      locale of the process is the expected one when the dictionary
      is loaded asynchronously.
      
      Bug: 5023141
      Change-Id: Ia9e4741f3b4a04a9f085f5b65ec122471b0c2dff
      e150ef98
  26. Jul 20, 2011
  27. Jul 19, 2011
    • Jean Chalard's avatar
      Add a number of NULL pointer guards. · 44861474
      Jean Chalard authored
      None of these are expected to actually be null, but those are
      included for peace of mind and foolproofing against future
      code changes.
      
      Bug: 4580040
      Change-Id: Ib112b3e5db5f177aaf61767164b7e78d711f90a0
      44861474
  28. May 12, 2011
  29. 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
  30. Apr 28, 2011
    • Jean Chalard's avatar
      Improve the architecture to support multiple dictionaries. · d8f52a4f
      Jean Chalard authored
      This change enables the interface to get multiple dictionaries from a
      dictionary pack. It only implements it to the end in the case of the
      proprietary method, as the open method needs still some working out,
      and the "inside the package" method does not need it.
      
      This change goes together with Iaa95bf36, and breaks the build
      without it.
      
      Bug: 1752028
      
      Change-Id: I3ccfd696e8ef083ef9c074e1c3e4bb0bf2fcfd23
      d8f52a4f
  31. Apr 27, 2011
    • Jean Chalard's avatar
      Use the new Utils.setSystemLocale method in the new code. · 19bfef6c
      Jean Chalard authored
      The change list that introduced this code was created at the same
      time as the one that introduced the Utils.setSystemLocale method
      and didn't use it yet. Fix this.
      
      Change-Id: Ifdd2ad9f7dbb7f300bc255bc2e035ae893a9d410
      19bfef6c
    • 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
Loading