Azure-Samples / Cognitive-Speech-STT-ServiceLibrary

Service SDK - C# Samples, documentation for service to service speech to text
22 stars 26 forks source link

No LongDictation results for certain locales #3

Closed emillundh closed 7 years ago

emillundh commented 7 years ago

I am trying Long Dictation mode in in Swedish and English. English works fine, Swedish does not. Results for me turn out as follows, consistently:

I have tried several valid, wav files in Swedish as well as English, not too long (ranging from 10 seconds up to two minutes), produced by the same tools (ffmpeg).

Why can I not use sv-SE in long dictation mode?

amrmahdi commented 7 years ago

Hi @emillundh,

Unfortunately we don't support sv-SE in long dictation mode. The current documentation does not list the supported locales per mode independently, we will make sure to update that.

Regarding hanging, the SDK should not hang, instead currently, we do throw a ServerException with "Internal Server Error" message. Just verified this behavior using the sample in this repo.

emillundh commented 7 years ago

Well, when I run the sample, after the "No phrase response is available" message all the controls are greyed out and can't be clicked... but that's a minor thing. Now at least I understand that some locales are simply not supported in long dictation mode, thank you. :)

amrmahdi commented 7 years ago

@emillundh I think you are referring to a different library and different sample, hence the confusion.

@jasonvomsft to address the sample issue.

priyaravi20 commented 7 years ago

This has been fixed and sv-SE is now supported.

emillundh commented 7 years ago

Why, I just cloned the Windows SDK and run the Speech2Text-WPF-sample from the master branch. On changing the locale from 'en-US' to 'sv-SE', I do receive Swedish text in the short phrase mode, but in the Long dictation mode, I receive only a long sequence of "No phrase response is available". Was the Windows SDK not updated?