Skip to content

Conversation

chihangc
Copy link

@chihangc chihangc commented Nov 21, 2024

This pull request addresses an issue where leading zeros in numbers were not preserved in the transcription when explicitly spoken by the user. e.g. AB01234 was wrongly normalized as AB 1234. The changes ensure that the transcription includes leading zeros when they are intentionally voiced, by add back the zero after to_fraction

- Ensures that leading zero is included in the transcription when explicitly voiced.
@chihangc chihangc changed the title Add support for leading zero in transcription when spoken by user Fix: Add support for leading zero in transcription when spoken by user Nov 21, 2024
@AnhMeo
Copy link

AnhMeo commented May 7, 2025

Nice! What was it that caused the leading zeroes to get removed in the first place?

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