aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/utils
diff options
context:
space:
mode:
authorKeisuke Kuroyanagi <ksk@google.com>2014-01-30 20:43:26 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-01-30 20:43:26 -0800
commit1484054c6b3a887c658058eb33775529fe1246dd (patch)
tree1c13521cf853e97e937698c40a0c8dc8f9829c85 /java/src/com/android/inputmethod/latin/utils
parent02649451497d8c9a0b5c4efa420162e917777e26 (diff)
parent748f32feba044fe4d9c3ae1ab74ed732873d0a83 (diff)
downloadlatinime-1484054c6b3a887c658058eb33775529fe1246dd.tar.gz
latinime-1484054c6b3a887c658058eb33775529fe1246dd.tar.xz
latinime-1484054c6b3a887c658058eb33775529fe1246dd.zip
am 748f32fe: Merge "Rename UnigramProperty to WordProperty."
* commit '748f32feba044fe4d9c3ae1ab74ed732873d0a83': 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,