diff options
author | 2012-06-27 17:31:09 +0900 | |
---|---|---|
committer | 2012-06-27 17:31:09 +0900 | |
commit | 05efe576f976f5fa280f8d523f2935c15cbb9bd1 (patch) | |
tree | 0ba2a270431128355e5c407e42e4aa6655770b24 /java/src/com/android/inputmethod/latin/Dictionary.java | |
parent | c356df8e08581f7f9f92c15031b8dc3e46e9255a (diff) | |
download | latinime-05efe576f976f5fa280f8d523f2935c15cbb9bd1.tar.gz latinime-05efe576f976f5fa280f8d523f2935c15cbb9bd1.tar.xz latinime-05efe576f976f5fa280f8d523f2935c15cbb9bd1.zip |
Cleanup the dictionary type.
Stop storing an int in each of the different class types, and
just store a string in the top class.
Change-Id: I2af1832743e6fe78e5c1364f6d9cc21252bf5831
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/Dictionary.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java index 00896c364..ba1298356 100644 --- a/java/src/com/android/inputmethod/latin/Dictionary.java +++ b/java/src/com/android/inputmethod/latin/Dictionary.java @@ -33,6 +33,12 @@ public abstract class Dictionary { public static final int NOT_A_PROBABILITY = -1; + protected final String mDictType; + + public Dictionary(final String dictType) { + mDictType = dictType; + } + /** * Searches for words in the dictionary that match the characters in the composer. Matched * words are returned as an ArrayList. |