diff options
author | 2014-06-24 05:41:08 +0000 | |
---|---|---|
committer | 2014-06-24 01:59:00 +0000 | |
commit | 702e153fbc28d54aeb2ded40b9f3f31c1fd154e9 (patch) | |
tree | 9752f80961ebc343a277246925255f6c6e988415 /tests/src/com/android/inputmethod/latin/makedict/BinaryDictDecoderEncoderTests.java | |
parent | d700e5970049deee7f61aeb573ef42d7caa6ab0f (diff) | |
parent | 88fa47a27d45f6460971d0d223aa558e121b3478 (diff) | |
download | latinime-702e153fbc28d54aeb2ded40b9f3f31c1fd154e9.tar.gz latinime-702e153fbc28d54aeb2ded40b9f3f31c1fd154e9.tar.xz latinime-702e153fbc28d54aeb2ded40b9f3f31c1fd154e9.zip |
Merge "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)) { |