parent
92827b0712
commit
6c7cebdefb
|
@ -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 New Issue