Skip to content
Snippets Groups Projects
  1. Jun 08, 2023
    • Michael Bestas's avatar
      LatinIME: Update emojis · de37c2f9
      Michael Bestas authored and Mohammad Hasan Keramat J's avatar Mohammad Hasan Keramat J committed
      Update to Emoji 15.0
      From: https://unicode.org/emoji/charts-15.0/full-emoji-list.html
      
      
      
      Change-Id: Ic8db8cde54bb72a21d6cac39a84e5cad08c847d0
      Signed-off-by: default avatarMohammad Hasan Keramat J <ikeramat@protonmail.com>
      de37c2f9
    • icburns's avatar
      Fix spellcheck on sentence end · 109e7b2b
      icburns authored and Mohammad Hasan Keramat J's avatar Mohammad Hasan Keramat J committed
      Issue:
      Valid words are being erroneously flagged by the spellchecker when
      followed by a period.
      
      Resolution:
      Valid words followed by periods are no longer flagged. Invalid words
      followed by periods are still flagged, and the intent behind the
      existing logic to flag and suggest valid words on either side of a
      period within a token should not be impacted by this change.
      
      Additional considerations for CHECKABILITY_CONTAINS_PERIOD:
      * Empty words are considered invalid. In CHECKABILITY_CONTAINS_PERIOD,
        when a period was the first or last index of text, splitting that
        text on periods caused suggestions to consider potentially valid
        words to be invalid. For example, "this.example." should suggest
        "this example" or "this example.", but no suggestions were being
        given due to the trailing empty string resulting from the split
        operation being considered invalid. This PR modifies this behavior
        such that empty split tokens will not be considered toward word
        validity when generating suggestions for text containing periods.
      
      * Single word sentences (like "Groovy.") were being flagged as invalid
        since the word only exists in the main dictionary as lower case, but
        the validity check within CHECKABILITY_CONTAINS_PERIOD sent text over
        as is. This PR adds, specific to the period checkability logic,
        a fallback validity check for words set to lower case.
      
      Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/4861
      
      
      Change-Id: Ie445533544fb3ed4b8d2fa6b554e03e0ae5a960f
      Signed-off-by: default avatarMohammad Hasan Keramat J <ikeramat@protonmail.com>
      109e7b2b
  2. Jan 20, 2023
Loading