Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

Added 'and' between dollars and cents. Also added prosody rate support#51

Open
rthomas-sf wants to merge 15 commits intorhasspy:masterfrom
SwampfoxInc:gruut_changes
Open

Added 'and' between dollars and cents. Also added prosody rate support#51
rthomas-sf wants to merge 15 commits intorhasspy:masterfrom
SwampfoxInc:gruut_changes

Conversation

@rthomas-sf
Copy link
Copy Markdown

Currently, gruut converts a currency value like $10034.54 into 'ten thousand and thirty-four dollars fifty-four cents'.
This has now been corrected to be 'ten thousand thirty-four dollars and fifty-four cents'.
There is now an 'and' between the dollars and cents.
Also all the 'and's except the last one are removed if there is a cents portion (the "and" between thousand and thirty).

Also added prosody

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant