fix(tts): add versioned extended Latin grapheme support - #16296
Open
rohan-patnaik wants to merge 1 commit into
Open
rohan-patnaik wants to merge 1 commit into
rohan-patnaik wants to merge 1 commit into
Conversation
Signed-off-by: Rohan Patnaik <rohan-patnaik@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do ?
Adds opt-in extended-Latin support to IPA dictionary parsing and word tokenization while preserving existing vocabularies by default.
Collection: TTS
Changelog
latin_charset_version=2for Latin Extended-A/B and Latin Extended Additional.IpaG2p.Usage
Set
latin_charset_version=2when the tokenizer should admit extended Latin graphemes. Omitting it preserves legacy behavior and token IDs.GitHub Actions CI
93 broader tokenizer/G2P tests, 45 focused tests, and pre-commit pass locally. External CI may require
/ok to test cfcdfec08b0ba7d437051450a967289c4fc8458c.Before your PR is "Ready for review"
Pre checks:
PR Type:
Additional Information
Related to #16083. Legacy mode retains the shipped German dictionary's complete 149-token list; version 2 intentionally expands it to 151. This also includes the bounded warning proposed in closed PR #16084.