aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/Dictionary.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-10-23 07:54:35 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-23 07:54:35 +0000
commit77e6afd1f243eb05936a00f54f6839ecacddd35c (patch)
treebcd93f81f396556ddaa1a765fa92c2011f9bcf99 /java/src/com/android/inputmethod/latin/Dictionary.java
parent3af7fd0a913d754593c231eb8ba0236b47322f50 (diff)
parentd3a4c5132422b189c8dbb94dbbe84a9b9761b0a8 (diff)
downloadlatinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.tar.gz
latinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.tar.xz
latinime-77e6afd1f243eb05936a00f54f6839ecacddd35c.zip
am d3a4c513: Fix Javadoc and null analysis related warnings
* commit 'd3a4c5132422b189c8dbb94dbbe84a9b9761b0a8': Fix Javadoc and null analysis related warnings
Diffstat (limited to 'java/src/com/android/inputmethod/latin/Dictionary.java')
-rw-r--r--java/src/com/android/inputmethod/latin/Dictionary.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/Dictionary.java b/java/src/com/android/inputmethod/latin/Dictionary.java
index d8f1b2a20..28a62b283 100644
--- a/java/src/com/android/inputmethod/latin/Dictionary.java
+++ b/java/src/com/android/inputmethod/latin/Dictionary.java
@@ -120,10 +120,18 @@ public abstract class Dictionary {
*/
abstract public boolean isInDictionary(final String word);
+ /**
+ * Get the frequency of the word.
+ * @param word the word to get the frequency of.
+ */
public int getFrequency(final String word) {
return NOT_A_PROBABILITY;
}
+ /**
+ * Get the maximum frequency of the word.
+ * @param word the word to get the maximum frequency of.
+ */
public int getMaxFrequencyOfExactMatches(final String word) {
return NOT_A_PROBABILITY;
}