Fix build.

Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc
This commit is contained in:
Keisuke Kuroyanagi 2014-06-26 14:42:40 +09:00
parent 92827b0712
commit 6c7cebdefb

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);