Skip to content
Snippets Groups Projects
  1. Jul 26, 2018
    • Yohei Yukawa's avatar
      Fix lint warnings in LatinIME JNI code · 3d74fc73
      Yohei Yukawa authored
      This CL addresses compiler warnings when building libjni_latinime.so
      with NDK from Android Studio.
      
      There should be no behavior change.
      
      Bug: 110741422
      Bug: 110757803
      Test: tapas LatinIME LatinIMETests arm64 userdebug && make -j
      Change-Id: Icc711dd46511a167b1fd90028552def5b2f9941f
      3d74fc73
  2. Jul 25, 2018
    • Yohei Yukawa's avatar
      Deprecate host-side C++ test in LatinIME · f4131e3f
      Yohei Yukawa authored
      Host-side C++ test in LatinIME is no longer actively used and is
      actually not compatible with Android Studio build.
      
      Let's just remove this for now.
      
      Bug: 13754552
      Bug: 110741422
      Test: compile
      Change-Id: I3e81285fe559022e1a296051036e74d2f2afbf9c
      f4131e3f
  3. Nov 02, 2017
  4. Oct 20, 2017
  5. Sep 11, 2017
  6. Oct 07, 2016
  7. Mar 23, 2016
    • Dan Albert's avatar
      Stop mixing and matching platform and NDK. · a4e93839
      Dan Albert authored
      The library was being built with the NDK, but the test is being built
      with the platform, in this case building against the NDK STL headers
      and then using the platform library, which are not ABI compatible.
      
      Bug: http://b/27801981
      Change-Id: I7386dfe6ac73334d7c1b1e0cbc8dc346c84313bf
      a4e93839
  8. Jun 23, 2015
    • Dan Albert's avatar
      Use the new sanitizer option. · 1c2d6743
      Dan Albert authored
      I apparently forgot to upload this change last week when I was
      cleaning this up.
      
      Change-Id: Ibe8c871b4ebb2e814b8d234f8f38fa5f5f721ae2
      1c2d6743
  9. Mar 27, 2015
  10. Dec 17, 2014
  11. Dec 15, 2014
  12. Dec 09, 2014
  13. Nov 25, 2014
    • Keisuke Kuroyanagi's avatar
      Enable Quadgram for personalized dicts. · 60021bbd
      Keisuke Kuroyanagi authored
      Before:
      Total words: 1134659, Success Num: 944709, Success Percentage: 83.259%
      Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111%
      Failures, with auto-correction (F-C): 28013, F-C Percentage: 2.469%
      Max Keystrokes: 6072844, Min Keystrokes: 3347332, Keystroke Saving Percentage:44.880%
      
      After:
      Total words: 1134665, Success Num: 945026, Success Percentage: 83.287%
      Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1271, Bad Failure Percentage: 0.112%
      Failures, with auto-correction (F-C): 27756, F-C Percentage: 2.446%
      Max Keystrokes: 6072850, Min Keystrokes: 3290996, Keystroke Saving Percentage:45.808%
      
      Change-Id: I16af52a3e9c371b95fd6f0741f45ee6b2443bea6
      60021bbd
    • Keisuke Kuroyanagi's avatar
      Use enum to specify ngram type. · 78212a6d
      Keisuke Kuroyanagi authored
      Change-Id: Ie28768ceadcd7a2d940c57eb30be7d4c364e509f
      78212a6d
  14. Nov 19, 2014
  15. Nov 17, 2014
  16. Nov 11, 2014
  17. Nov 10, 2014
  18. Nov 01, 2014
  19. Oct 31, 2014
    • Keisuke Kuroyanagi's avatar
      Update v4 format version from 402 to 403. · ea468cc9
      Keisuke Kuroyanagi authored
      Without personalization:
      Total words: 1134774, Success Num: 899230, Success Percentage: 79.243%
      Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1871, Bad Failure Percentage: 0.165%
      Failures, with auto-correction (F-C): 29084, F-C Percentage: 2.563%
      Max Keystrokes: 6072959, Min Keystrokes: 4436090, Keystroke Saving Percentage:26.953%
      
      Before:
      Total words: 1134646, Success Num: 925194, Success Percentage: 81.540%
      Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1316, Bad Failure Percentage: 0.116%
      Failures, with auto-correction (F-C): 28288, F-C Percentage: 2.493%
      Max Keystrokes: 6072831, Min Keystrokes: 3946188, Keystroke Saving Percentage:35.019%
      
      After
      Total words: 1134659, Success Num: 944746, Success Percentage: 83.263%
      Bad Failures, with auto-correction (typed word == expected word, output word != expected word): 1258, Bad Failure Percentage: 0.111%
      Failures, with auto-correction (F-C): 28016, F-C Percentage: 2.469%
      Max Keystrokes: 6072844, Min Keystrokes: 3387333, Keystroke Saving Percentage:44.222%
      
      Change-Id: I3af42ec37a11847c0429c28616e726f6a339247f
      ea468cc9
    • Keisuke Kuroyanagi's avatar
      Add hacks for better handling count value during migration. · c6119899
      Keisuke Kuroyanagi authored
      Bug: 14425059
      Change-Id: Ib050574aa7c4babd4285322a11c3af9be9fbab1e
      c6119899
    • Keisuke Kuroyanagi's avatar
      Change v403 historical info format. · 2383575d
      Keisuke Kuroyanagi authored
      count -> 2B, level -> 0B.
      
      Change-Id: I3b241126f56eb33cdf09cb1ebfed04f534e4ec48
      2383575d
    • Adrian Velicu's avatar
      Further fixes to treat 0-frequency words · 009e02ce
      Adrian Velicu authored
      Previously, when both legitimate 0-frequency words (such as
      distracters) and offensive words were encoded in the same
      way, distracters would never show up when the user blocked
      offensive words (the default setting, as well as the setting
      for regression tests).
      
      When b/11031090 was fixed and a separate encoding was used
      for offensive words, 0-frequency words would no longer be
      blocked when they were an "exact match" (where case
      mismatches and accent mismatches would be considered an
      "exact match"). The exact match boosting functionality meant
      that, for example, when the user typed "mt" they would be
      suggested the word "Mt", although they most probably meant
      to type "my".
      
      For this reason, we introduced this change, which does the
      following:
      * Defines the "perfect match" as a really exact match, with
      no room for case or accent mismatches
      * When the target word has probability zero (as "Mt" does,
      because it is a distracter), ONLY boost its score if it is a
      perfect match.
      
      By doing this, when the user types "mt", the word "Mt" will
      NOT be boosted, and they will get "my". However, if the user
      makes an explicit effort to type "Mt", we do boost the word
      "Mt" so that the user's input is not autocorrected to "My".
      
      Bug: 11031090
      Change-Id: I92ee1b4e742645d52e2f7f8c4390920481e8fff0
      009e02ce
    • Adrian Velicu's avatar
      Block offensive words in multi-word suggestions · 10416241
      Adrian Velicu authored
      If the user has chosen to block offensive words and types
      "aaaxbb", where "aaa" is an offensive word and "bb" is not,
      we should not suggest "aaa bb".
      
      Bug: 11031090
      Change-Id: Ie23b8dd5d347bc26b1c046c3f5e8dfbc259bf528
      10416241
    • Adrian Velicu's avatar
      Using "blacklist" flag as "possibly offensive" · 7c87859d
      Adrian Velicu authored
      Bug: 11031090
      Change-Id: I5cc0d006ab003656498eb82b0875eb9c051d331e
      7c87859d
    • Keisuke Kuroyanagi's avatar
      Fix: native unit test build. · 0cd1f222
      Keisuke Kuroyanagi authored
      Change-Id: Id2bd4b60d6a4023815a630ebb3059a435b72c193
      0cd1f222
  20. Oct 30, 2014
  21. Oct 29, 2014
  22. Oct 28, 2014
    • Keisuke Kuroyanagi's avatar
      Improve space substitution error correction. · 8a809f34
      Keisuke Kuroyanagi authored
      Bug: 17432052
      
      [Category diff]
      +1     262
      -1      93
      +2       2
      -2      18
      +3      18
      -3       2
      +4     111
      -4     148
      +5     295
      -5     217
      +6      51
      -6     276
      +7     139
      -7     124
      
      [Weighted category diff]
      +1     276
      -1     100
      +2       4
      -2      20
      +3      20
      -3       4
      +4     118
      -4     160
      +5     309
      -5     225
      +6      52
      -6     298
      +7     163
      -7     135
      
      show diff for ./en_user_log_phones_2011_08.csv
      +1     173
      -1      28
      +2       2
      -2      17
      +3      17
      -3       2
      +4      63
      -4      82
      +5     120
      -5      51
      +6      24
      -6     220
      +7      88
      -7      87
      
      Change-Id: I9d673acb0ff632828ae2e0ead56e76e3a20411c6
      8a809f34
  23. Oct 27, 2014
  24. Oct 23, 2014
Loading