Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Add support for leading zero in transcription when spoken by user #2452

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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
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