Commit graph

1712 commits

Author SHA1 Message Date
Joshua Horton
1415cec807
Merge pull request #15911 from keymanapp/fix/web/block-default-predictable-unless-needed
fix(web): block use of predictable "fallback" result to cases where no corrections could be found 🚂 🔪
2026-05-29 21:44:20 +07:00
Joshua Horton
2c9d550c9b
Merge pull request #15688 from keymanapp/feat/web/substitution-spurs
feat(web): implement dedicated substitution-spur class, tests 🚂 🔪
2026-05-29 21:44:01 +07:00
Joshua Horton
5ced0d0fb5
fix(web): apply logic fix from suggestion
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-05-14 22:48:44 +07:00
Joshua Horton
6ca785cd13 change(web): address PR suggestion of local var reuse
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-08 15:04:36 -05:00
Eberhard Beilharz
94da9183eb
Merge pull request #15912 from keymanapp/docs/web/fixtypos
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-08 17:18:16 +02:00
Eberhard Beilharz
c414904da8
docs(web): fix minor typo and add links
Build-bot: skip
Test-bot: skip
2026-05-06 11:27:28 +02:00
Joshua Horton
6abdee4ed4 fix(web): block use of predictable "fallback" result to cases where no corrections could be found
Build-bot: skip build:web
Test-bot: skip
2026-05-05 16:06:00 -05:00
Joshua Horton
7445486a3a Merge branch 'epic/autocorrect' into feat/web/substitution-spurs 2026-05-05 15:47:40 -05:00
Joshua Horton
7b52db2e84
Merge pull request #15855 from keymanapp/feat/web/quotient-node-finalizer
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
feat(web): adds finalizer quotient-node type for facilitating multi-word corrections 🚂
2026-05-06 02:53:08 +07:00
Joshua Horton
656b392bc8
Merge pull request #15162 from keymanapp/feat/web/search-space-node-propagation
feat(web): ensure all child spaces are notified when parent reaches end of a correction path 🚂
2026-05-06 02:52:57 +07:00
Joshua Horton
64b7807658
Merge pull request #15818 from keymanapp/feat/web/multi-token-corrector
feat(web): add classes for use in multi-token correction 🚂
2026-05-06 02:52:46 +07:00
Joshua Horton
f7a7978852 change(web): adjustments per PR review 2026-05-05 14:42:23 -05:00
Joshua Horton
2f7b1fadf0 fix(web): missed inclusion in merge conflict resolution 2026-05-05 14:39:39 -05:00
Joshua Horton
e2de46f609 Merge branch 'feat/web/search-space-node-propagation' into feat/web/quotient-node-finalizer 2026-05-05 14:36:26 -05:00
Joshua Horton
91fe1b1382 Merge branch 'feat/web/multi-token-corrector' into feat/web/search-space-node-propagation
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-05 12:27:02 -05:00
Joshua Horton
91b097f7a4 change(web): address other concerns from PR review 2026-05-05 12:25:35 -05:00
Joshua Horton
3c03a53e64 change(web): address multiple concerns from PR review 2026-05-05 12:18:23 -05:00
Joshua Horton
7fa980e0ef
docs(web): clarify doc-comment on TokenizationCorrector uncorrectable vs correctable entries
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-05-05 20:46:07 +07:00
Joshua Horton
33dea12729
change(web): add return-type suggestion from PR review
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-05-05 20:44:29 +07:00
Joshua Horton
65e8932eb2 change(web): address PR review concerns
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Adds lots of documentation, adjusts name of one field and property, and has `TokenResultMapping` explicitly inherit from the new `TokenResult` interface that abstracts it further.
2026-04-28 11:41:15 -05:00
Joshua Horton
0bb69a5a69 Merge branch 'epic/autocorrect' into change/web/suggestion-range
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-24 11:11:02 -05:00
Joshua Horton
c251def81f
Merge pull request #15817 from keymanapp/feat/web/correction-search-abstraction
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
feat(web): add abstraction for main correction-search algorithm, leveraged types 🚂
2026-04-24 23:10:11 +07:00
Joshua Horton
d54f0cfef3 change(web): store cost in deduplication object, not actual results 2026-04-24 10:32:32 -05:00
Joshua Horton
7f8555ffd8 Merge branch 'change/web/return-search-token-mapping' into refactor/web/extract-duplicate-result-filter 2026-04-24 10:28:12 -05:00
Joshua Horton
117ce99989 Merge branch 'epic/autocorrect' into change/web/return-search-token-mapping 2026-04-24 09:59:36 -05:00
Joshua Horton
14a86afeb4 change(web): fix imports after suggested change 2026-04-24 09:26:02 -05:00
Joshua Horton
e59e474923 Merge branch 'refactor/web/extract-duplicate-result-filter' into feat/web/correction-search-abstraction 2026-04-24 09:13:55 -05:00
Joshua Horton
7766c99273
change(web): explicitly import CorrectionResultMapping type
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-04-24 21:11:49 +07:00
Joshua Horton
f0c7084dc2 change(web): re-filter previously returned results 2026-04-24 08:52:47 -05:00
Joshua Horton
4dae9255e0
change(web): Apply EB suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-04-24 20:40:15 +07:00
Joshua Horton
8ba4d0bd9a change(web): safeguard clusters from clustering roots
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-23 11:19:00 -05:00
Joshua Horton
77b22a21e0 change(web): adds temp constructRoot() method to handle legacy vs non-legacy splits, merges 2026-04-23 08:54:50 -05:00
Joshua Horton
b92642e35a feat(web): TokenizationCorrector should track returned results
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 15:35:36 -05:00
Joshua Horton
856466ec09 change(web): update TokenizationCorrector, QuotientNodeFinalizer unit tests to use new spur type
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-04-22 15:21:50 -05:00
Joshua Horton
3e5e78a023 fix(web): remove any exhausted token from further correction, not just the prediction-supporting one 2026-04-22 15:15:57 -05:00
Joshua Horton
e81ae0a1dd change(web): support baseline non-correction if token proves uncorrectable 2026-04-22 15:01:19 -05:00
Joshua Horton
6552f2bfd6 feat(web): implement dedicated substitution-spur class, tests
Per the search quotient graph documentation, we should no longer have one node type handle all edit operation types.  Our current ("legacy") implementation and unit tests are most tailored for the needs of 'substitution' edit types, so this PR starts there.

Build-bot: skip build:web
Test-bot: skip
2026-04-22 14:56:15 -05:00
Joshua Horton
2a5f90757a change(web): use QuotientNodeFinalizer within TokenizationCorrector
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 13:44:22 -05:00
Joshua Horton
700d4b5a2b feat(web): adds finalizer quotient-node type for facilitating multi-word corrections
Build-bot: skip build:web
Test-bot: skip
2026-04-22 13:44:16 -05:00
Joshua Horton
7c95d08068 change(web): remove rebase commented-line artifact
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-04-22 13:16:27 -05:00
Joshua Horton
bde82ad60b feat(web): add unit-tests that verify result propagation mechanisms
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 12:53:10 -05:00
Joshua Horton
a9fe2f6f73 feat(web): add multi-space search unit tests 2026-04-22 12:53:10 -05:00
Joshua Horton
2faa96754c feat(web): ensure all child spaces are notified when parent reaches end of a correction path
Build-bot: skip build:web
Test-bot: skip
2026-04-22 12:53:10 -05:00
Joshua Horton
70f04e618e fix(web): clean up TokenizationCorrector.handleNextNode 2026-04-22 12:52:23 -05:00
Joshua Horton
af3f2ee277 fix(web): add upper bound for token correction length 2026-04-22 12:39:29 -05:00
Joshua Horton
7e594e08a6 fix(web): add proper TokenizationResultMapping test export 2026-04-22 11:25:47 -05:00
Joshua Horton
9fc7c23a58 change(web): TokenizationCorrector should use quotient-nodes internally for queue
This, plus the upcoming QuotientNodeFinalizer class, will support result forwarding in multi-tokenization contexts during multi-token & multi-tokenization correction.
2026-04-22 11:25:47 -05:00
Joshua Horton
f99ad233b4 docs(web): add tokenization-corrector.ts header 2026-04-22 11:25:47 -05:00
Joshua Horton
fee2eced76 feat(web): add TokenizationCorrector unit tests 2026-04-22 11:25:47 -05:00
Joshua Horton
595bb2f2d8 feat(web): add classes for use in multi-token correction
Build-bot: skip build:web
Test-bot: skip
2026-04-22 11:25:47 -05:00