简体   繁体   中英

Issue in setting up Microsoft Bing speech recognition

I am trying to use Microsoft's Bing Speech Recognition service library. The following command has to be given in the cmd with arguments. But I have no idea in which format I should enter this command. I could not find it anywhere. Can someone help me? Should I specify an existing audio WAV file? Should the path be given? What is "audio locale"?

Run SpeechClientSample.exe with the following arguments:

  • Arg[0] : Specify an input audio WAV file.
  • Arg[1] : Specify the audio locale.
  • Arg[2] : Specify the recognition modes: Short for the ShortPhrase mode and Long for the LongDictation mode.
  • Arg[3] : Specify the subscription key to access the speech recognition service.

See Get started with the speech recognition service library in C# for .NET Windows .

if you run it from Visual Studio, open the properties of the SpeechClientSample project and on the Debug tab - you can add the command line arguments in there. Here's a sample: batman.wav en-US long 1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a. You don't need any quotes or anything - just a space between each argument.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM