Fix build.

Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc
main
Keisuke Kuroyanagi 2014-06-26 14:42:40 +09:00
parent 92827b0712
commit 6c7cebdefb
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);