diff options
author | 2014-06-24 06:18:11 +0000 | |
---|---|---|
committer | 2014-06-24 06:18:11 +0000 | |
commit | c1ded3dd79f08d94789ea7191342c6fc83df021c (patch) | |
tree | 9752f80961ebc343a277246925255f6c6e988415 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | |
parent | 03404d559c9b6bbdd043f1ad316b5ae343bc42d1 (diff) | |
parent | 702e153fbc28d54aeb2ded40b9f3f31c1fd154e9 (diff) | |
download | latinime-c1ded3dd79f08d94789ea7191342c6fc83df021c.tar.gz latinime-c1ded3dd79f08d94789ea7191342c6fc83df021c.tar.xz latinime-c1ded3dd79f08d94789ea7191342c6fc83df021c.zip |
am 702e153f: Merge "Support migration/dump of Beginning-of-Sentence entries."
* commit '702e153fbc28d54aeb2ded40b9f3f31c1fd154e9':
Support migration/dump of Beginning-of-Sentence entries.
Diffstat (limited to 'tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java')
-rw-r--r-- | tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java index 4b332ca84..406046a74 100644 --- a/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java +++ b/tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java @@ -614,7 +614,8 @@ public class BinaryDictDecoderEncoderTests extends AndroidTestCase { 0 /* offset */, file.length(), true /* useFullEditDistance */, Locale.ENGLISH, dictName, false /* isUpdatable */); for (final String word : words) { - final WordProperty wordProperty = binaryDictionary.getWordProperty(word); + final WordProperty wordProperty = binaryDictionary.getWordProperty(word, + false /* isBeginningOfSentence */); assertEquals(word, wordProperty.mWord); assertEquals(UNIGRAM_FREQ, wordProperty.getProbability()); if (shortcuts.containsKey(word)) { |