diff --git a/web/src/engine/predictive-text/worker-thread/src/main/correction/tokenization-corrector.ts b/web/src/engine/predictive-text/worker-thread/src/main/correction/tokenization-corrector.ts index 720db56ac8..a8b229f67b 100644 --- a/web/src/engine/predictive-text/worker-thread/src/main/correction/tokenization-corrector.ts +++ b/web/src/engine/predictive-text/worker-thread/src/main/correction/tokenization-corrector.ts @@ -279,7 +279,7 @@ export class TokenizationCorrector implements CorrectionSearchable { - if(correctionIsThePredictable) { + if(!correctionIsThePredictable) { // Lock the 'correctable' token now that either a valid correction for // it has been found or all possible corrections are exhausted. We only // consider a single correction for most of a tokenization's tokens,