diff --git a/java/src/org/futo/inputmethod/latin/xlm/LanguageModelFacilitator.kt b/java/src/org/futo/inputmethod/latin/xlm/LanguageModelFacilitator.kt index 5465eb495..57609baef 100644 --- a/java/src/org/futo/inputmethod/latin/xlm/LanguageModelFacilitator.kt +++ b/java/src/org/futo/inputmethod/latin/xlm/LanguageModelFacilitator.kt @@ -297,6 +297,14 @@ public class LanguageModelFacilitator( results } + finalResults.mSuggestedWordInfoList.removeAll { + !suggestionBlacklist.isSuggestedWordOk(it) + } + + finalResults.mRawSuggestions?.removeAll { + !suggestionBlacklist.isSuggestedWordOk(it) + } + inputLogic.mSuggestionStripViewAccessor.showSuggestionStrip(finalResults) if(values.composedData.mIsBatchMode) {