From eebf85a888562ab32600fb95bab03dcba35f1bad Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Fri, 15 Aug 2025 09:59:22 -0500 Subject: [PATCH] docs(web): documents parameter added to computeAlignment --- .../worker-thread/src/main/correction/context-tokenization.ts | 2 ++ 1 file changed, 2 insertions(+) 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 12d953e4ea..17eaea6b3b 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 @@ -95,6 +95,8 @@ export class ContextTokenization { * Determines the alignment between a new, incoming tokenization source and the * tokenization modeled by the current instance. * @param incomingTokenization Raw strings corresponding to the tokenization of the incoming context + * @param noSubVerify When true, this disables inspection of 'substitute' transitions that avoids + * wholesale replacement of the original token. * @returns Alignment data that details if and how the incoming tokenization aligns with * the tokenization modeled by this instance. */