How to change "number format" in Azure text to speech?

PAVAGEAU Perrine 100 Reputation points
2024-08-26T16:22:07.66+00:00

Our style of saying numbers out is different than what Azure has:
257 - is spoken as "two hundred and fifty seven" by Azure
we need it to say "two hundred fifty seven" without the "and".

What we currently do is change the number into words in the input text. Is there a way to change the format of such numbers to auto remove "and"?

Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,684 questions
0 comments No comments
{count} votes

Accepted answer
  1. santoshkc 8,100 Reputation points Microsoft Vendor
    2024-08-26T17:27:27.17+00:00

    Hi @PAVAGEAU Perrine,

    Thank you for reaching out to Microsoft Q&A forum!

    In Azure Text-to-Speech, it's possible to have numbers like "257" spoken as "two hundred fifty seven" without including the "and." To achieve this, I replicated the process by selecting the number from the input text (e.g. 257). On the right side of the section navigate to the Pronunciation section> select Reading rules> select Number from drop down. Playing the audio confirmed the correct pronunciation. Please look into the below screenshot.

    User's image

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.