Skip to content

fix: remove contraction expansions from whitelist#339

Merged
pengzhendong merged 1 commit into
masterfrom
fix/whitelist-heres
Jun 9, 2026
Merged

fix: remove contraction expansions from whitelist#339
pengzhendong merged 1 commit into
masterfrom
fix/whitelist-heres

Conversation

@pengzhendong

@pengzhendong pengzhendong commented Jun 9, 2026

Copy link
Copy Markdown
Member

Closes #290

Summary

Remove here's, Here's, you're, You're, i'm, I'm from tts.tsv. These entries caused words like where's and there's to be incorrectly split because the whitelist matched from the middle of a word.

Before: where'sw here is, there'st here is
After: where'swhere's, there'sthere's

Test plan

  • All 1400 unit tests pass
  • CI passes

…itting (#290)

Remove here's/Here's, you're/You're, i'm/I'm from tts.tsv. These
entries caused words like "where's" and "there's" to be split
(e.g. "where's" → "w here is") because the whitelist matched from
the middle of a word.
@pengzhendong pengzhendong merged commit 083fe4c into master Jun 9, 2026
@pengzhendong pengzhendong deleted the fix/whitelist-heres branch June 9, 2026 08:58
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.

【BUG】Hey! where's the bathroom?!, 读成 w here‘s

1 participant