diff --git a/java/src/org/futo/inputmethod/latin/xlm/LanguageModel.java b/java/src/org/futo/inputmethod/latin/xlm/LanguageModel.java index 151b90627..f8f28225f 100644 --- a/java/src/org/futo/inputmethod/latin/xlm/LanguageModel.java +++ b/java/src/org/futo/inputmethod/latin/xlm/LanguageModel.java @@ -70,7 +70,7 @@ public class LanguageModel { List personalDictionary, String[] bannedWords ) { - Log.d("LanguageModel", "getSuggestions called"); + //Log.d("LanguageModel", "getSuggestions called"); if (mNativeState == 0) { loadModel(); @@ -249,7 +249,7 @@ public class LanguageModel { suggestion.mOriginatesFromTransformerLM = true; } - Log.d("LanguageModel", "returning " + String.valueOf(suggestions.size()) + " suggestions"); + //Log.d("LanguageModel", "returning " + String.valueOf(suggestions.size()) + " suggestions"); return suggestions; } diff --git a/java/src/org/futo/inputmethod/latin/xlm/LanguageModelFacilitator.kt b/java/src/org/futo/inputmethod/latin/xlm/LanguageModelFacilitator.kt index de3b15dda..ded164649 100644 --- a/java/src/org/futo/inputmethod/latin/xlm/LanguageModelFacilitator.kt +++ b/java/src/org/futo/inputmethod/latin/xlm/LanguageModelFacilitator.kt @@ -155,7 +155,7 @@ public class LanguageModelFacilitator( val emoji = emojiData.emojiAliases[word.lowercase()] if(emoji != null) { - Log.i("LanguageModelFacilitator", "Found emoji ${emoji.emoji} for $word") + //Log.i("LanguageModelFacilitator", "Found emoji ${emoji.emoji} for $word") return SuggestedWordInfo( emoji.emoji, "", @@ -268,8 +268,8 @@ public class LanguageModelFacilitator( suggestionBlacklist.isSuggestedWordOk(it) } - Log.d("LanguageModelFacilitator", "suggestedWordsDict = ${suggestedWordsDictList?.map { "$it ${it.mScore}" }}") - Log.d("LanguageModelFacilitator", "lmSuggestions = ${lmSuggestions.map { "$it ${it.mScore}" }}") + //Log.d("LanguageModelFacilitator", "suggestedWordsDict = ${suggestedWordsDictList?.map { "$it ${it.mScore}" }}") + //Log.d("LanguageModelFacilitator", "lmSuggestions = ${lmSuggestions.map { "$it ${it.mScore}" }}") val maxWordDict = suggestedWordsDictList?.maxByOrNull { if(it == suggestedWordsDict.typedWordInfo) { Int.MIN_VALUE } else { it.mScore } @@ -328,7 +328,7 @@ public class LanguageModelFacilitator( } } - Log.d("LanguageModelFacilitator", "final suggestionResults = ${suggestionResults.map { "$it ${it.mScore}" }}") + //Log.d("LanguageModelFacilitator", "final suggestionResults = ${suggestionResults.map { "$it ${it.mScore}" }}") val wordComposer = inputLogic.mWordComposer val suggestedWords = Suggest.obtainNonBatchedInputSuggestedWords( wordComposer, values.inputStyle, true, -1, locale, suggestionResults, settingsValues.mAutoCorrectionThreshold) @@ -380,7 +380,7 @@ public class LanguageModelFacilitator( launch { withContext(Dispatchers.Default) { sharedFlow.conflate().collect { value -> - Log.d("LanguageModelFacilitator", "Collecting") + //Log.d("LanguageModelFacilitator", "Collecting") processUpdateSuggestionStrip(value) } } @@ -440,7 +440,7 @@ public class LanguageModelFacilitator( ) lifecycleScope.launch { - Log.d("LanguageModelFacilitator", "Emitting values") + //Log.d("LanguageModelFacilitator", "Emitting values") sharedFlow.emit(values) } } catch(e: Exception) {