mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix build.
Change-Id: I5c6c0a9098c5a228ed82b208aa6f237a41f2f6cc
This commit is contained in:
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
Block a user