Skip to content

Commit a65dcf4

Browse files
committed
Merge branch 'fix/web/prevent-insdel-sub-aliasing' into fix/web/delete-corrections-flat-cost
2 parents b277570 + 578cfdc commit a65dcf4

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

web/src/engine/predictive-text/worker-thread/src/main/correction/distance-modeler.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,11 @@ export class SearchNode {
457457
* incoming input transforms in an efficiently-batched manner.
458458
*
459459
* When an incoming character cannot match the next character for the node's
460-
* represented lexicon prefix - be it due to not adding one (deletions) or due
461-
* to not being the same character, all mismatching cases are merged into one,
462-
* reducing the rate of expansion for the search graph.
463-
* @param input
464-
* @param isSubstitution
460+
* represented lexicon prefix - be it due to not adding one (deletions) or
461+
* due to not being the same character, all mismatching cases are merged into
462+
* one, reducing the rate of expansion for the search graph.
463+
* @param dist
464+
* @param edgeId
465465
* @returns
466466
*/
467467
private setupSubsetProcessing(dist: Distribution<Transform>, edgeId: number) {

web/src/engine/predictive-text/worker-thread/src/main/correction/search-quotient-node.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
import { SearchNode, SearchResult } from "./distance-modeler.js";
1111

12-
export let SPACE_ID_SEED = 0;
12+
let SPACE_ID_SEED = 0;
1313

1414
export function generateSpaceSeed(): number {
1515
return SPACE_ID_SEED++;

web/src/test/auto/headless/engine/predictive-text/worker-thread/correction-search/getBestMatches.tests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Created by jahorton on 2025-10-09
55
*
6-
* This file defines tests for the SearchSpace class of the
6+
* This file defines tests for the correction-searching process of the
77
* predictive-text correction-search engine.
88
*/
99

0 commit comments

Comments
 (0)