Skip to content

fix(zh): normalize grouped and decimal money values - #2

Merged
HungerDeng merged 1 commit into
downstreamfrom
fix/zh-money-normalization
Sep 24, 2026
Merged

HungerDeng merged 1 commit into
downstreamfrom
fix/zh-money-normalization

Conversation

@HungerDeng

Copy link
Copy Markdown
Owner

Summary

Integrate the Chinese money-normalization fix into the downstream branch while the corresponding upstream PR, NVIDIA#491, remains under review.

  • Normalize comma-separated Chinese money values as a single amount.
  • Preserve multi-digit integer parts when normalizing decimal money values.
  • Add regression coverage for grouped, decimal, combined, suffix-currency, and sentence-level cases.

Validation

  • 30 Chinese money normalization data cases checked; 0 failures.
  • Verified that the branch merges cleanly into the current downstream branch.

Upstream

Notes

  • Existing unstaged dependency and untracked artifact changes were not included.

Keep comma-separated and decimal amounts within a single Chinese money token so values such as `$1,234` and `$1234.0` are verbalized correctly.

Add regression coverage for grouped integers, multi-digit decimals, combined forms, suffix currencies, and sentence contexts.

Signed-off-by: hungerdeng <hungerdeng@gmail.com>
@HungerDeng
HungerDeng merged commit cc9d718 into downstream Sep 24, 2026
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