Fix build.
Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc
This commit is contained in:
parent
92827b0712
commit
6c7cebdefb
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue