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

Roman numerals #103

Open
michael-roe opened this issue Jan 6, 2022 · 2 comments
Open

Roman numerals #103

michael-roe opened this issue Jan 6, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@michael-roe
Copy link

Documents often contain numbers written in Roman numerals (e.g. V for 5). Without additional markup, a string such as "LIV" is ambiguous as to whether it is the number 54, the name LIV, or the sequence of characters L I V. Speech synthesisers currently use heuristics to guess, and often get it wrong.

The current spec isn't clear if data-ssml-say-as-format="cardinal" can be applied to Roman numerals, or if we need a new format to handle Roman numerals.

@alia11y
Copy link
Collaborator

alia11y commented Jan 19, 2022

Thank you for your post @michael-roe . Roman numerals are certainly tricky when it comes to pronunciation. However, we can use properties such as 'sub' or 'say-as' to address this. Perhaps, we would add some examples of the Roman numerals in our document.

@brennanyoung
Copy link

Perhaps, we would add some examples of the Roman numerals in our document.

Yes please!

We keep running into this problem, although it's usually because we need a non-numeric interpretation of something which happens to be a roman numeral. The most common case we struggle with is "IV" announced as 4 when "intravenous" is what we're expecting.

Some examples which show how to handle both numeric and non-numeric cases of such strings would be extremely helpful.

@AutoSponge AutoSponge added the enhancement New feature or request label Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants