diff options
author | 2012-06-08 16:00:02 +0900 | |
---|---|---|
committer | 2012-06-08 16:23:18 +0900 | |
commit | 7214617622fce8f3fea6620e782c16336260a2a3 (patch) | |
tree | 46668d4ada75b6fb801c3a57c8f8ee3d6ad1dfe7 /java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java | |
parent | ab96376c9eae0545b0d037b9904a7cd616308163 (diff) | |
download | latinime-7214617622fce8f3fea6620e782c16336260a2a3.tar.gz latinime-7214617622fce8f3fea6620e782c16336260a2a3.tar.xz latinime-7214617622fce8f3fea6620e782c16336260a2a3.zip |
Remove a slew of Eclipse warnings.
Change-Id: I03236386aea13fbd4fb8eaeee18e0008aa136502
Diffstat (limited to 'java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java b/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java index 89c59f809..0c5d41a5c 100644 --- a/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java +++ b/java/src/com/android/inputmethod/latin/makedict/BinaryDictInputOutput.java @@ -788,7 +788,7 @@ public class BinaryDictInputOutput { // which is the best approximation. This is how we get the most precise result with // only four bits. final double stepSize = - (double)(MAX_TERMINAL_FREQUENCY - unigramFrequency) / (1.5 + MAX_BIGRAM_FREQUENCY); + (MAX_TERMINAL_FREQUENCY - unigramFrequency) / (1.5 + MAX_BIGRAM_FREQUENCY); final double firstStepStart = 1 + unigramFrequency + (stepSize / 2.0); final int discretizedFrequency = (int)((bigramFrequency - firstStepStart) / stepSize); // If the bigram freq is less than half-a-step higher than the unigram freq, we get -1 |