Azure Speech-to-text issue

Roy Pappachan 1 Reputation point
2021-08-12T16:59:59.92+00:00

Hello,

I am using Speech SDK in my custom app. When I use speech to text, I'm facing some issues like When I say "OPE-123" ( O P E hyphen one two three ) ,it is not coming as "OPE-123" instead it is showing as "OPE 123".
I created S0 pricing model's custom speech and there also, I'm not able create a pronunciation text with the above data.

Same type of issues with some lengthy text like "OHUB2004030005", "NQ01046967" ,"NQ01046223-01" "RWSTVA7TGEN0HM" etc..

So how to solve this issue?

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

2 answers

Sort by: Most helpful
  1. YutongTie-MSFT 53,966 Reputation points Moderator
    2021-08-26T16:29:05.78+00:00

    @Roy Pappachan

    Hello Roy,

    I have checked with product group and tried on my side.

    If you use "dash" directly, English-US (O P E dash one two three) and got back "OP E-123" Unfortunately it inserts this space between P and E

    If you wish to convert "hyphen" to "-", you have to enable dictation (see for instance: https://learn.microsoft.com/en-us/dotnet/api/microsoft.cognitiveservices.speech.speechconfig.enabledictation?view=azure-dotnet#Microsoft_CognitiveServices_Speech_SpeechConfig_EnableDictation). "hyphen" (or any other punctuation word) will be replaced by the corresponding sign. As dash is not, stricly speaking, a punctuation sign, it is always replaced by "-". There is indeed an issue with the Display form which inserts wrongly a space after the hyphen (OPE- 123) or between the P and E with dash.

    Lexical form: O P E hyphen one two three -> Display form: OPE- 123.
    Lexical form: O P E dash one two three -> Display form: OP E-123.

    We are checking on the form to see if we can make it as OPE - 123. Thansk.

    Regards,
    Yutong


  2. Roy Pappachan 1 Reputation point
    2021-09-22T11:54:11.487+00:00

    @YutongTie-MSFT ,

    From the above conversation : For example : our quotation starts with "NQ234567" . When we speak this, it will add a space in between "NQ" and "234567".

    Is this still an existing issue or is there any work around to solve it?

    Thanks,
    Roy

    0 comments No comments

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.