Skip to content
Snippets Groups Projects
  1. Mar 30, 2012
  2. Mar 26, 2012
  3. Mar 23, 2012
  4. Mar 08, 2012
  5. Mar 06, 2012
  6. Feb 03, 2012
    • Jean Chalard's avatar
      Fix string iterations in a couple places. · 9242a2bc
      Jean Chalard authored
      Seems I didn't get how to iterate on a String correctly >.>
      Talk about a big bug. Anyway, I think it's working now.
      
      Bug: 5955228
      Change-Id: I988c900cf2a16c44b9505cfd4f77c7cda7e592f0
      9242a2bc
  7. Jan 26, 2012
  8. Jan 12, 2012
  9. Dec 09, 2011
  10. Dec 08, 2011
    • Jean Chalard's avatar
      Add proximity for Russian. · 1830cd1d
      Jean Chalard authored
      This also tries to make the code as easy to extend as possible
      for future developments.
      
      Bug: 5701241
      Change-Id: I1ed48e6a5cc7aab94c5d6e309930cc004247d7e7
      1830cd1d
  11. Dec 05, 2011
    • Jean Chalard's avatar
      Add support for Russian spell checking. · bb2b30fc
      Jean Chalard authored
      Note that this is not enough: we still need to create a
      reasonable proximity table for Cyrillic characters, or we
      won't be able to show up suggestions.
      
      Bug: 5701241
      Change-Id: Idb141f7a230a6e1a46094308c26f43c01ab3b97a
      bb2b30fc
  12. Nov 30, 2011
  13. Nov 10, 2011
  14. Nov 09, 2011
  15. Oct 28, 2011
  16. Oct 26, 2011
  17. Oct 24, 2011
  18. Oct 07, 2011
  19. Oct 06, 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. Sep 28, 2011
    • Jean Chalard's avatar
      Change the logic of the LOOKS_LIKE_TYPO flag · 647db70f
      Jean Chalard authored
      It now follows the following logic:
      - If the word should be filtered out => false
      - Else => !IN_THE_DICTIONARY
      
      This defines the behavior for ICS MR0, and prepares for addition
      of a new HAS_LIKELY_SUGGESTIONS flag in MR1.
      
      Bug: 5383800
      
      Change-Id: I530b1404ae8cf3337ff68ef5ab0f4d95f2dad0e8
      647db70f
  24. Sep 26, 2011
  25. Sep 16, 2011
  26. Sep 15, 2011
    • Jean Chalard's avatar
      Add an option to user dict to match more precise locales · cfed2739
      Jean Chalard authored
      This should not be used lightly, as it violates the general
      contract of locale, and does kill some legitimate (albeit
      alledgedly rare) use patterns.
      Currently, the spell checker uses this because it uses a
      negative logic: it should match broadly, and when in doubt,
      match even more broadly, which is almost never the case of
      something that uses the locale.
      In other words: don't use this option unless you are
      very, VERY sure that's what you want. Hint: it isn't
      
      Bug: 5280929
      Change-Id: Ib3cae319c692161d653630038c5bcde1f4340c05
      cfed2739
    • Jean Chalard's avatar
      Don't kill LatinIME if the spellchecker crashes. · 199dc5e0
      Jean Chalard authored
      If the spellchecker encounters a bug and happens to crash,
      it may be sensible to avoid killing the keyboard in response.
      This is a possible way to do it, which comes with the big
      drawback of making bugs in the spell checker harder to find.
      
      Change-Id: Idb26fb592b9718e1dbdadeda8fbd1a8a1d805c28
      199dc5e0
  27. Sep 14, 2011
    • Jean Chalard's avatar
      Filter out of spellchecking words that don't look like words · 88fa53b8
      Jean Chalard authored
      Note that this affects only the results of the spell checker if
      actually passed such a word. For example, the spell checker will
      not flag "http://oju" as a typo, because it looks like a URL.
      But in the current implementation, TextView passes "http" and
      "oju" separately, so "oju" is still flagged as a typo.
      
      Bug: 5281875
      Change-Id: I9d721fd3af34edc51b11908cf2e8fe994b164242
      88fa53b8
  28. Sep 13, 2011
  29. Sep 12, 2011
  30. Sep 08, 2011
  31. Sep 05, 2011
  32. Aug 29, 2011
  33. Aug 22, 2011
    • Jean Chalard's avatar
      Remove duplicates from the spell checker suggestions. · 6b166a19
      Jean Chalard authored
      Bug: 5175740
      Change-Id: I592401b3b8c3074d70e06dc3a9919cc3cb47ba49
      6b166a19
    • Jean Chalard's avatar
      Fix case sensitivity for the spell checker. · 5d4c5692
      Jean Chalard authored
      The new behavior is as follows:
      - If the word in the dictionary is not fully lower case, then the
      exact case is required to match.
      - If the word in the dictionary is fully lower case, then any of
      the following patterns match:
        - fully lower case
        - only the first char capitalized
        - all caps
      Any other capitalization is rejected.
      
      This is probably what people want. If you type a name in all lower
      case, it should be marked as a typo, but if you type a word with a
      capital for emphasis or just because it's the start of the sentence,
      it should match a lower case word in the dictionary. If you have
      a spurious capital letter in the middle of a word because of a typo,
      it should be marked as such.
      
      Accents are not affected, and should not be. An accented letter
      is a different letter and a missing accent should be reported.
      We should maybe consider again for some common transpositions
      like the "ue" digraph for German, which is now considered a typo,
      but will suggest the correct diacritics as the first suggestion.
      
      Bug: 5145751
      Change-Id: I651e24f13c90fb94700a1674ad380e95336e7dca
      5d4c5692
Loading