Incorrect Grammar Case for Dates in Microsoft TTS

Dimitrios Arampatzoglou 20 Reputation points
2025-02-18T16:24:16.36+00:00

Hello,

I have noticed an issue with how Microsoft TTS (Text-to-Speech) handles dates in German, specifically regarding grammatical cases. When a date includes the month spelled out, the pronunciation is correct (dative case):

zum 23. November 2025zum dreiundzwanzigsten November zweitausendfünfundzwanzig

However, when the same date is written with digits only, the case is incorrect (nominative instead of dative):

zum 23.11.2025zum dreiundzwanzigste November zweitausendfünfundzwanzig (incorrect)

Expected pronunciation for both formats: zum dreiundzwanzigsten November zweitausendfünfundzwanzig

Could you confirm whether this is a known issue or if there are any workarounds? I appreciate your help in ensuring correct grammar in TTS output.

Best regards,
Dimitris Arampatzoglou

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

Accepted answer
  1. SriLakshmi C 6,010 Reputation points Microsoft External Staff Moderator
    2025-02-19T06:52:23.2633333+00:00

    Hello @Dimitrios Arampatzoglou,

    Greetings and Welcome to Microsoft Q&A!

    I understand that Microsoft's Text-to-Speech (TTS) service may not consistently interpret numerical date formats in German, leading to incorrect grammatical cases in pronunciation, here are few work arounds that you can try,

    Implementing the Speech Synthesis Markup Language (SSML) <say-as> tag, which helps guide the TTS engine in interpreting and pronouncing dates correctly. By specifying interpret-as="date" with the appropriate format, you can improve pronunciation accuracy. For example, using <say-as interpret-as="date" format="dmy">23.11.2025</say-as> instructs the engine to read the date in a structured way, though it may not fully resolve the grammatical case issue in German.

    Please refer this say-as element.

    Also use Explicit text formatting, where you write out dates in full rather than using numerical formats. For instance, instead of "23.11.2025," writing "23. November 2025" ensures the correct dative case pronunciation.

    I Hope this helps. Do let me know if you have any further queries.


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

    Thank you!


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.