diff options
author | 2014-01-31 03:06:43 +0000 | |
---|---|---|
committer | 2014-01-31 03:06:44 +0000 | |
commit | 748f32feba044fe4d9c3ae1ab74ed732873d0a83 (patch) | |
tree | 78f64437c8667382a7c7585f0faa89d56f795bbf /java/src/com/android/inputmethod/latin/utils | |
parent | e9085da8cb6efe8228c5432194458242d7163842 (diff) | |
parent | 080a35e959435566e768f2e31afdac784a4dcd00 (diff) | |
download | latinime-748f32feba044fe4d9c3ae1ab74ed732873d0a83.tar.gz latinime-748f32feba044fe4d9c3ae1ab74ed732873d0a83.tar.xz latinime-748f32feba044fe4d9c3ae1ab74ed732873d0a83.zip |
Merge "Rename UnigramProperty to WordProperty."
Diffstat (limited to 'java/src/com/android/inputmethod/latin/utils')
-rw-r--r-- | java/src/com/android/inputmethod/latin/utils/WordProperty.java (renamed from java/src/com/android/inputmethod/latin/utils/UnigramProperty.java) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/com/android/inputmethod/latin/utils/UnigramProperty.java b/java/src/com/android/inputmethod/latin/utils/WordProperty.java index 4feee4393..d6c0f900a 100644 --- a/java/src/com/android/inputmethod/latin/utils/UnigramProperty.java +++ b/java/src/com/android/inputmethod/latin/utils/WordProperty.java @@ -26,7 +26,7 @@ import java.util.ArrayList; // This has information that belong to a unigram. This class has some detailed attributes such as // historical information but they have to be checked only for testing purpose. @UsedForTesting -public class UnigramProperty { +public class WordProperty { public final String mCodePoints; public final boolean mIsNotAWord; public final boolean mIsBlacklisted; @@ -50,8 +50,8 @@ public class UnigramProperty { return codePoints.length; } - // This represents invalid unigram when the probability is BinaryDictionary.NOT_A_PROBABILITY. - public UnigramProperty(final int[] codePoints, final boolean isNotAWord, + // This represents invalid word when the probability is BinaryDictionary.NOT_A_PROBABILITY. + public WordProperty(final int[] codePoints, final boolean isNotAWord, final boolean isBlacklisted, final boolean hasBigram, final boolean hasShortcuts, final int probability, final int timestamp, final int level, final int count, final ArrayList<int[]> shortcutTargets, |