Skip to content

Add Latin support - #1322

Merged
0xShug0 merged 2 commits into
0xShug0:mainfrom
coolcoder613eb:main
Nov 18, 2026
Merged

0xShug0 merged 2 commits into
0xShug0:mainfrom
coolcoder613eb:main

Conversation

@coolcoder613eb

Copy link
Copy Markdown
Contributor

@0xShug0

0xShug0 commented Nov 17, 2026

Copy link
Copy Markdown
Owner

@coolcoder613eb Thanks for the PR. The duration changes have two issues:

  1. They affect all OmniVoice languages and packages. There is no Latin-language gate. In controlled tests, Māori changes from 28 → 29 estimated audio tokens, and x̄ from 16 → 20, despite not being a long vowel.
  2. Equivalent Unicode spellings produce different durations. Precomposed ḡ and decomposed ḡ both produce 16 tokens on main. The PR produces 16 versus 20. The tokenizer normalizes to NFC, but duration estimation does not.

Could you restrict the new duration weighting to Latin requests, normalize text before estimating duration, and apply the extra weight only to valid long vowels?

@0xShug0
0xShug0 merged commit 749fffe into 0xShug0:main Nov 18, 2026
7 checks passed
@0xShug0

0xShug0 commented Nov 18, 2026

Copy link
Copy Markdown
Owner

@coolcoder613eb Thanks for fixing the normalization bug! PR merged!

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.

2 participants