aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/CandidateView.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2011-08-17 15:10:56 +0900
committerJean Chalard <jchalard@google.com>2011-08-22 14:02:57 +0900
commit5d4c5692f11958064ba7c0de5715f30c96175400 (patch)
treea54da3cbbb9255476a4842793b137e658eaf6bc9 /java/src/com/android/inputmethod/latin/CandidateView.java
parentcee174b8ccb47ccddc8a8a7e88a9c617f9b5e766 (diff)
downloadlatinime-5d4c5692f11958064ba7c0de5715f30c96175400.tar.gz
latinime-5d4c5692f11958064ba7c0de5715f30c96175400.tar.xz
latinime-5d4c5692f11958064ba7c0de5715f30c96175400.zip
Fix case sensitivity for the spell checker.
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
Diffstat (limited to 'java/src/com/android/inputmethod/latin/CandidateView.java')
0 files changed, 0 insertions, 0 deletions