aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool/src
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-07-31 22:18:26 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-07-31 22:18:26 +0000
commitcfc80fd3045794dcc82f67dcf7e9bfe0b50cbaac (patch)
tree552708022329a01e9fd7efdaa9d1a84791b9f41c /tools/dicttool/src
parenta6c7396edfb4d764315b7339382e9adbbd1c41b9 (diff)
parentccfef1083a860ae4cce0ce59b6fcaa20db3fdbf5 (diff)
downloadlatinime-cfc80fd3045794dcc82f67dcf7e9bfe0b50cbaac.tar.gz
latinime-cfc80fd3045794dcc82f67dcf7e9bfe0b50cbaac.tar.xz
latinime-cfc80fd3045794dcc82f67dcf7e9bfe0b50cbaac.zip
Merge "Update language to comply with Android’s inclusive language guidance" am: b01f678ca8 am: 6fc67acb39 am: 94047a03d9 am: ccfef1083a
Original change: https://android-review.googlesource.com/c/platform/packages/inputmethods/LatinIME/+/1371237 Change-Id: I5356f0a29c0a2a0240222dce6d1b4277b0cd22fe
Diffstat (limited to 'tools/dicttool/src')
-rw-r--r--tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java b/tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java
index d516d60c3..8f8c968c1 100644
--- a/tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java
+++ b/tools/dicttool/src/com/android/inputmethod/latin/dicttool/Info.java
@@ -42,7 +42,7 @@ public class Info extends Dicttool.Command {
int wordCount = 0;
int bigramCount = 0;
int shortcutCount = 0;
- int whitelistCount = 0;
+ int allowlistCount = 0;
for (final WordProperty wordProperty : dict) {
++wordCount;
if (wordProperty.mHasNgrams) {
@@ -51,8 +51,8 @@ public class Info extends Dicttool.Command {
}
System.out.println("Words in the dictionary : " + wordCount);
System.out.println("Bigram count : " + bigramCount);
- System.out.println("Shortcuts : " + shortcutCount + " (out of which " + whitelistCount
- + " whitelist entries)");
+ System.out.println("Shortcuts : " + shortcutCount + " (out of which " + allowlistCount
+ + " allowlist entries)");
}
private static void showWordInfo(final FusionDictionary dict, final String word) {