am 6c7cebde: Fix build.

* commit '6c7cebdefb8a15e9468c3e8f30dc361cee509074':
  Fix build.
main
Keisuke Kuroyanagi 2014-06-26 05:55:19 +00:00 committed by Android Git Automerger
commit 9a5275c001
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class UserHistoryDictionary extends DecayingExpandableBinaryDictionaryBas
return;
}
if (null != prevWord) {
if (prevWordsInfo.mIsBeginningOfSentence) {
if (prevWordsInfo.mPrevWordsInfo[0].mIsBeginningOfSentence) {
// Beginning-of-Sentence n-gram entry is treated as a n-gram entry of invalid word.
userHistoryDictionary.addNgramEntry(prevWordsInfo, word,
FREQUENCY_FOR_WORDS_NOT_IN_DICTS, timestamp);