openreader/compute/core
Richard R ff5a6b834d fix(epub): unify TTS word highlight mapping and normalization
Refactor EPUB and HTML word highlighting to use a shared, position-preserving
text normalization pipeline for mapping TTS alignment offsets to DOM positions.
Replace the previous fuzzy token-matching logic with a direct char→DOM map
based on the canonical "audio" text form, ensuring highlights stay in sync
across languages and with Unicode-aware hyphenation handling.

- Add `highlight-char-map.ts` for shared normalization logic
- Update normalization to handle Unicode hyphenation consistently across
  compute, client, and shared layers
- Remove unused fuzzy token mapping and cache logic from EPUB highlighting
- Update tests for new highlight mapping and normalization behavior

BREAKING CHANGE: Removes legacy fuzzy token-based word highlight mapping in favor of direct char offset mapping; highlight cache and tokenization APIs are removed.
2026-06-09 08:20:53 -06:00
..
src fix(epub): unify TTS word highlight mapping and normalization 2026-06-09 08:20:53 -06:00
tests feat: improve PDF parsing recovery and reader UI (#98) 2026-06-03 04:44:55 -06:00
package.json feat(control-plane): add shared orchestrator and in-memory adapters 2026-05-26 11:09:43 -06:00
tsconfig.json feat(compute): add external compute worker backend and integration 2026-05-19 15:21:25 -06:00