From e94a2ffe8b8446b7ebdd82b78dcd06f32ed7c446 Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Tue, 30 Sep 2025 09:10:34 -0500 Subject: [PATCH] docs(web): assertion -> assumption --- .../src/main/correction/context-tokenization.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/web/src/engine/predictive-text/worker-thread/src/main/correction/context-tokenization.ts b/web/src/engine/predictive-text/worker-thread/src/main/correction/context-tokenization.ts index 2e10f389b0..177c42c992 100644 --- a/web/src/engine/predictive-text/worker-thread/src/main/correction/context-tokenization.ts +++ b/web/src/engine/predictive-text/worker-thread/src/main/correction/context-tokenization.ts @@ -819,11 +819,12 @@ export function analyzePathMergesAndSplits(priorTokenization: string[], resultTo * result token for either edit type, or to a token immediately after the * result. * - * Assertions: + * Preconditions: * - not used with epic/dict-breaker * - per unicode wordbreaker, no massive shifting of word boundaries for * prior text. - * - we can probably loosen this with work AT THIS STEP. + * - we can't handle part of one token being split off and simultaneously + * merged to another. */ let queueIndex = 0;