From f99ad233b447de36d16dda344beaf6874a1da059 Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Thu, 16 Apr 2026 10:33:43 -0500 Subject: [PATCH] docs(web): add tokenization-corrector.ts header --- .../src/main/correction/tokenization-corrector.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 039d767540..5b7813e865 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 @@ -1,3 +1,13 @@ +/* + * Keyman is copyright (C) SIL Global. MIT License. + * + * Created by jahorton on 2026-04-02 + * + * This file defines the `TokenizationCorrector` class, which is used to + * prioritize optimal multi-token corrections (and predictions) within the + * predictive-text correction-search engine. + */ + import { PriorityQueue } from "@keymanapp/web-utils"; import { ContextToken } from "./context-token.js";