Skip to content

improve language handling - #55

Merged
vm75 merged 4 commits into
mainfrom
dev
Oct 11, 2026
Merged

vm75 merged 4 commits into
mainfrom
dev

Conversation

@vm75

@vm75 vm75 commented Oct 10, 2026

Copy link
Copy Markdown
Owner

…dlers

  • Streamline inditrans.cpp to coordinate streaming tokenization, lookahead, and output emission
  • Extract preservation policy (XML tags, skip blocks, marker filtering) into preservation_policy.h
  • Extract shared contextual rules (anuswara assimilation, ASCII numerals, Tamil traditional replacements) into contextual_handlers.h
  • Extract Gurmukhi adhak gemination logic into gurmukhi_handler.h
  • Extract Brahmic and Latin cluster assembly and grapheme emission into indic_handler.h and latin_handler.h
  • Extract Tamil phonology, allophones, superscripts, prefixes, and orthography into tamil_handler.h
  • Introduce token_stream.h for zero-overhead token discriminated union and streaming adapters
  • Add comprehensive handler unit tests in test-handlers.cpp
  • Update ARCHITECTURE.md to document the modular handler architecture and static dispatch
  • Rebuild WebAssembly, native shared library, and distribution artifacts

vm75 added 2 commits October 10, 2026 18:59
…dlers

- Streamline inditrans.cpp to coordinate streaming tokenization, lookahead, and output emission
- Extract preservation policy (XML tags, skip blocks, marker filtering) into preservation_policy.h
- Extract shared contextual rules (anuswara assimilation, ASCII numerals, Tamil traditional replacements) into contextual_handlers.h
- Extract Gurmukhi adhak gemination logic into gurmukhi_handler.h
- Extract Brahmic and Latin cluster assembly and grapheme emission into indic_handler.h and latin_handler.h
- Extract Tamil phonology, allophones, superscripts, prefixes, and orthography into tamil_handler.h
- Introduce token_stream.h for zero-overhead token discriminated union and streaming adapters
- Add comprehensive handler unit tests in test-handlers.cpp
- Update ARCHITECTURE.md to document the modular handler architecture and static dispatch
- Rebuild WebAssembly, native shared library, and distribution artifacts
…dlers

- Streamline inditrans.cpp to coordinate streaming tokenization, lookahead, and output emission
- Extract preservation policy (XML tags, skip blocks, marker filtering) into preservation_policy.h
- Extract shared contextual rules (anuswara assimilation, ASCII numerals, Tamil traditional replacements) into contextual_handlers.h
- Extract Gurmukhi adhak gemination logic into gurmukhi_handler.h
- Extract Brahmic and Latin cluster assembly and grapheme emission into indic_handler.h and latin_handler.h
- Extract Tamil phonology, allophones, superscripts, prefixes, and orthography into tamil_handler.h
- Introduce token_stream.h for zero-overhead token discriminated union and streaming adapters
- Add comprehensive handler unit tests in test-handlers.cpp
- Update ARCHITECTURE.md to document the modular handler architecture and static dispatch
- Rebuild WebAssembly, native shared library, and distribution artifacts
vm75 added 2 commits October 10, 2026 21:54
- Revert benchmark default sweeps to 5 runs everywhere while retaining median aggregation
- Add 10 Tamil workloads, Gurmukhi adhak, and ITRANS phonemic vowels to throughput and short-call benchmarks
- Support per-case TranslitOptions in benchmark and short-call harnesses
- Add cold-start benchmarks for Tamil to ISO and Devanagari
- Add allocation probe modes for Tamil to ISO, Tamil to Devanagari, and Tamil superscript output
- Add representative Tamil workloads to standalone WASM benchmarks
- Add comprehensive feature tests covering Tamil contextual voicing, pulli, prefixes, numerals, and mixed Indic scripts
…ness in run-perf.py

- Measure historical tags using persistent sparse worktrees under out/perf/worktrees/
- Compile historical engines against the current benchmark harness without modifying primary checkout
- Remove workspace stash, checkout, and restore logic from tool/run-perf.py
- Support optional source and output path overrides in standalone WASM builds
- Track engine vs harness metadata and content fingerprint in perf_metadata.py
- Add regression tests in tool/test_perf_worktree.py and update performance documentation
@vm75
vm75 merged commit 6668bb8 into main Oct 11, 2026
7 checks passed
@vm75
vm75 deleted the dev branch October 11, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant