mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Update
This commit is contained in:
parent
001f1eb442
commit
eb5ed75227
@ -286,8 +286,8 @@ public class LanguageModelFacilitator(
|
||||
ngramContext: NgramContext,
|
||||
timeStampInSeconds: Long,
|
||||
blockPotentiallyOffensive: Boolean,
|
||||
importance: Int) {
|
||||
|
||||
importance: Int
|
||||
) {
|
||||
val wordCtx = ngramContext.fullContext.trim().lines().last()
|
||||
var committedNgramCtx = ngramContext.extractPrevWordsContext().replace(NgramContext.BEGINNING_OF_SENTENCE_TAG, " ").trim();
|
||||
if(committedNgramCtx.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user