From a3d17d2ace5d5cb5cb04b00f54c9bf5e6dc35740 Mon Sep 17 00:00:00 2001 From: BrianMouncer <48774897+BrianMouncer@users.noreply.github.com> Date: Wed, 1 Apr 2020 00:17:40 -0700 Subject: [PATCH] make v1.11.0 sample updates public. (#569) --- README.md | 5 + .../from-file/helloworld/helloworld.vcxproj | 4 +- .../from-file/helloworld/packages.config | 2 +- .../helloworld/helloworld.vcxproj | 4 +- .../helloworld/packages.config | 2 +- .../helloworld/helloworld.vcxproj | 4 +- .../helloworld/packages.config | 2 +- .../helloworld/helloworld.vcxproj | 4 +- .../helloworld/packages.config | 2 +- .../helloworld/helloworld.vcxproj | 4 +- .../text-to-speech/helloworld/packages.config | 2 +- .../helloworld/helloworld.vcxproj | 4 +- .../helloworld/packages.config | 2 +- .../from-file/helloworld/helloworld.csproj | 8 +- .../from-file/helloworld/packages.config | 2 +- .../helloworld/helloworld.csproj | 8 +- .../helloworld/packages.config | 2 +- .../helloworld/helloworld.csproj | 8 +- .../helloworld/packages.config | 2 +- .../helloworld/helloworld.csproj | 8 +- .../helloworld/packages.config | 2 +- .../helloworld/helloworld.csproj | 8 +- .../text-to-speech/helloworld/packages.config | 2 +- .../helloworld/helloworld.csproj | 8 +- .../helloworld/packages.config | 2 +- .../helloworld/helloworld.csproj | 2 +- .../helloworld/helloworld.csproj | 2 +- .../helloworld/helloworld.csproj | 2 +- .../helloworld/helloworld.csproj | 2 +- .../helloworld/helloworld.csproj | 2 +- .../helloworld/helloworld.csproj | 2 +- .../uwp/virtual-assistant/helloworld.csproj | 2 +- .../helloworld.Android.csproj | 2 +- .../helloworld.UWP/helloworld.UWP.csproj | 2 +- .../helloworld.iOS/helloworld.iOS.csproj | 2 +- .../helloworld/helloworld/helloworld.csproj | 2 +- .../android/from-microphone/app/build.gradle | 2 +- .../android/text-to-speech/app/build.gradle | 2 +- quickstart/java/jre/from-microphone/pom.xml | 2 +- .../java/jre/intent-recognition/pom.xml | 2 +- quickstart/java/jre/text-to-speech/pom.xml | 2 +- .../java/jre/translate-speech-to-text/pom.xml | 2 +- quickstart/java/jre/virtual-assistant/pom.xml | 2 +- quickstart/javascript/node/package-lock.json | 61 +-- quickstart/javascript/node/package.json | 2 +- .../ios/text-to-speech/helloworld/Podfile | 2 +- .../macos/from-microphone/helloworld/Podfile | 2 +- .../macos/text-to-speech/helloworld/Podfile | 2 +- .../ios/text-to-speech/helloworld/Podfile | 2 +- .../windows/console/samples/packages.config | 2 +- .../windows/console/samples/samples.vcxproj | 4 +- .../console/samples/packages.config | 2 +- .../console/samples/samples.csproj | 12 +- .../console/samples/whatstheweatherlike.mp3 | Bin 0 -> 12276 bytes .../speechtotext-wpf/packages.config | 2 +- .../speechtotext-wpf/speechtotext-wpf.csproj | 8 +- .../translation-wpf/packages.config | 2 +- .../translation-wpf/translation-wpf.csproj | 8 +- .../dotnetcore/console/samples/samples.csproj | 2 +- .../csharp/sharedcontent/console/Program.cs | 4 + .../console/speech_recognition_samples.cs | 76 ++++ .../console/whatstheweatherlike.mp3 | Bin 0 -> 12276 bytes .../speechtotext-uwp/speechtotext-uwp.csproj | 2 +- .../texttospeech-uwp/texttospeech-uwp.csproj | 2 +- .../VirtualAssistantPreview.csproj | 2 +- .../kws-xamarin.Android.csproj | 2 +- .../kws-xamarin.UWP/kws-xamarin.UWP.csproj | 2 +- .../kws-xamarin.iOS/kws-xamarin.iOS.csproj | 2 +- .../kws-xamarin/kws-xamarin.csproj | 2 +- .../android/compressed-input/app/build.gradle | 2 +- samples/java/android/sdkdemo/app/build.gradle | 2 +- samples/java/jre/console/pom.xml | 2 +- .../speech/samples/console/Main.java | 1 + samples/js/node/package-lock.json | 61 +-- samples/js/node/package.json | 2 +- samples/python/console/speech_sample.py | 75 +++- .../LUIS-App-Export-Unity-FunWithShapes.json | 397 ++++++++++++++++-- 77 files changed, 695 insertions(+), 191 deletions(-) create mode 100644 samples/csharp/dotnet-windows/console/samples/whatstheweatherlike.mp3 create mode 100644 samples/csharp/sharedcontent/console/whatstheweatherlike.mp3 diff --git a/README.md b/README.md index e1665643f..f3cbe8d3c 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,11 @@ This project hosts the **samples** for the Microsoft Cognitive Services Speech S ## News Please check [here](https://aka.ms/csspeech/whatsnew) for release notes and older releases. + +* Speech SDK Release 1.11.0 + + March 2020 we released version 1.11.0 of the Speech SDK + * Speech SDK Release 1.10.0 February 2020 we released version 1.10.0 of the Speech SDK diff --git a/quickstart/cpp/windows/from-file/helloworld/helloworld.vcxproj b/quickstart/cpp/windows/from-file/helloworld/helloworld.vcxproj index 76ea5f426..ac5333069 100644 --- a/quickstart/cpp/windows/from-file/helloworld/helloworld.vcxproj +++ b/quickstart/cpp/windows/from-file/helloworld/helloworld.vcxproj @@ -170,12 +170,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/cpp/windows/from-file/helloworld/packages.config b/quickstart/cpp/windows/from-file/helloworld/packages.config index a46cf4c24..88ad9f2c0 100644 --- a/quickstart/cpp/windows/from-file/helloworld/packages.config +++ b/quickstart/cpp/windows/from-file/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/cpp/windows/from-microphone/helloworld/helloworld.vcxproj b/quickstart/cpp/windows/from-microphone/helloworld/helloworld.vcxproj index 2e32c3cfc..427dfcb68 100644 --- a/quickstart/cpp/windows/from-microphone/helloworld/helloworld.vcxproj +++ b/quickstart/cpp/windows/from-microphone/helloworld/helloworld.vcxproj @@ -166,12 +166,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/cpp/windows/from-microphone/helloworld/packages.config b/quickstart/cpp/windows/from-microphone/helloworld/packages.config index a46cf4c24..88ad9f2c0 100644 --- a/quickstart/cpp/windows/from-microphone/helloworld/packages.config +++ b/quickstart/cpp/windows/from-microphone/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/cpp/windows/intent-recognition/helloworld/helloworld.vcxproj b/quickstart/cpp/windows/intent-recognition/helloworld/helloworld.vcxproj index 2e32c3cfc..427dfcb68 100644 --- a/quickstart/cpp/windows/intent-recognition/helloworld/helloworld.vcxproj +++ b/quickstart/cpp/windows/intent-recognition/helloworld/helloworld.vcxproj @@ -166,12 +166,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/cpp/windows/intent-recognition/helloworld/packages.config b/quickstart/cpp/windows/intent-recognition/helloworld/packages.config index a46cf4c24..88ad9f2c0 100644 --- a/quickstart/cpp/windows/intent-recognition/helloworld/packages.config +++ b/quickstart/cpp/windows/intent-recognition/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/cpp/windows/multi-device-conversation/helloworld/helloworld.vcxproj b/quickstart/cpp/windows/multi-device-conversation/helloworld/helloworld.vcxproj index 7f487b3f3..d1e522a96 100644 --- a/quickstart/cpp/windows/multi-device-conversation/helloworld/helloworld.vcxproj +++ b/quickstart/cpp/windows/multi-device-conversation/helloworld/helloworld.vcxproj @@ -158,12 +158,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/cpp/windows/multi-device-conversation/helloworld/packages.config b/quickstart/cpp/windows/multi-device-conversation/helloworld/packages.config index a46cf4c24..88ad9f2c0 100644 --- a/quickstart/cpp/windows/multi-device-conversation/helloworld/packages.config +++ b/quickstart/cpp/windows/multi-device-conversation/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/cpp/windows/text-to-speech/helloworld/helloworld.vcxproj b/quickstart/cpp/windows/text-to-speech/helloworld/helloworld.vcxproj index 93edecb19..63d0623b1 100644 --- a/quickstart/cpp/windows/text-to-speech/helloworld/helloworld.vcxproj +++ b/quickstart/cpp/windows/text-to-speech/helloworld/helloworld.vcxproj @@ -166,12 +166,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/cpp/windows/text-to-speech/helloworld/packages.config b/quickstart/cpp/windows/text-to-speech/helloworld/packages.config index a46cf4c24..88ad9f2c0 100644 --- a/quickstart/cpp/windows/text-to-speech/helloworld/packages.config +++ b/quickstart/cpp/windows/text-to-speech/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/cpp/windows/translate-speech-to-text/helloworld/helloworld.vcxproj b/quickstart/cpp/windows/translate-speech-to-text/helloworld/helloworld.vcxproj index 78c47f83e..332950e9c 100644 --- a/quickstart/cpp/windows/translate-speech-to-text/helloworld/helloworld.vcxproj +++ b/quickstart/cpp/windows/translate-speech-to-text/helloworld/helloworld.vcxproj @@ -167,12 +167,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/cpp/windows/translate-speech-to-text/helloworld/packages.config b/quickstart/cpp/windows/translate-speech-to-text/helloworld/packages.config index 4b9805f25..f85bd064c 100644 --- a/quickstart/cpp/windows/translate-speech-to-text/helloworld/packages.config +++ b/quickstart/cpp/windows/translate-speech-to-text/helloworld/packages.config @@ -1,4 +1,4 @@ - + diff --git a/quickstart/csharp/dotnet/from-file/helloworld/helloworld.csproj b/quickstart/csharp/dotnet/from-file/helloworld/helloworld.csproj index 180319483..d513b8087 100644 --- a/quickstart/csharp/dotnet/from-file/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnet/from-file/helloworld/helloworld.csproj @@ -75,8 +75,8 @@ true - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll @@ -96,12 +96,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/from-file/helloworld/packages.config b/quickstart/csharp/dotnet/from-file/helloworld/packages.config index 74b905e14..84d65f50c 100644 --- a/quickstart/csharp/dotnet/from-file/helloworld/packages.config +++ b/quickstart/csharp/dotnet/from-file/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/from-microphone/helloworld/helloworld.csproj b/quickstart/csharp/dotnet/from-microphone/helloworld/helloworld.csproj index 180319483..d513b8087 100644 --- a/quickstart/csharp/dotnet/from-microphone/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnet/from-microphone/helloworld/helloworld.csproj @@ -75,8 +75,8 @@ true - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll @@ -96,12 +96,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/from-microphone/helloworld/packages.config b/quickstart/csharp/dotnet/from-microphone/helloworld/packages.config index 74b905e14..84d65f50c 100644 --- a/quickstart/csharp/dotnet/from-microphone/helloworld/packages.config +++ b/quickstart/csharp/dotnet/from-microphone/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/intent-recognition/helloworld/helloworld.csproj b/quickstart/csharp/dotnet/intent-recognition/helloworld/helloworld.csproj index f8bdb23e8..fcd3f5a68 100644 --- a/quickstart/csharp/dotnet/intent-recognition/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnet/intent-recognition/helloworld/helloworld.csproj @@ -77,8 +77,8 @@ true - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll @@ -98,12 +98,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/intent-recognition/helloworld/packages.config b/quickstart/csharp/dotnet/intent-recognition/helloworld/packages.config index 74b905e14..84d65f50c 100644 --- a/quickstart/csharp/dotnet/intent-recognition/helloworld/packages.config +++ b/quickstart/csharp/dotnet/intent-recognition/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/multi-device-conversation/helloworld/helloworld.csproj b/quickstart/csharp/dotnet/multi-device-conversation/helloworld/helloworld.csproj index dd017da52..93c1aa978 100644 --- a/quickstart/csharp/dotnet/multi-device-conversation/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnet/multi-device-conversation/helloworld/helloworld.csproj @@ -55,8 +55,8 @@ true - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll @@ -76,11 +76,11 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/multi-device-conversation/helloworld/packages.config b/quickstart/csharp/dotnet/multi-device-conversation/helloworld/packages.config index 904bb44bb..40d8a2a99 100644 --- a/quickstart/csharp/dotnet/multi-device-conversation/helloworld/packages.config +++ b/quickstart/csharp/dotnet/multi-device-conversation/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/text-to-speech/helloworld/helloworld.csproj b/quickstart/csharp/dotnet/text-to-speech/helloworld/helloworld.csproj index 84bd3369b..07241bf07 100644 --- a/quickstart/csharp/dotnet/text-to-speech/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnet/text-to-speech/helloworld/helloworld.csproj @@ -74,8 +74,8 @@ true - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll @@ -95,12 +95,12 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + diff --git a/quickstart/csharp/dotnet/text-to-speech/helloworld/packages.config b/quickstart/csharp/dotnet/text-to-speech/helloworld/packages.config index 74b905e14..84d65f50c 100644 --- a/quickstart/csharp/dotnet/text-to-speech/helloworld/packages.config +++ b/quickstart/csharp/dotnet/text-to-speech/helloworld/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/quickstart/csharp/dotnet/translate-speech-to-text/helloworld/helloworld.csproj b/quickstart/csharp/dotnet/translate-speech-to-text/helloworld/helloworld.csproj index b9ac4a87f..e23bb861e 100644 --- a/quickstart/csharp/dotnet/translate-speech-to-text/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnet/translate-speech-to-text/helloworld/helloworld.csproj @@ -56,8 +56,8 @@ true - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll @@ -77,11 +77,11 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + diff --git a/quickstart/csharp/dotnet/translate-speech-to-text/helloworld/packages.config b/quickstart/csharp/dotnet/translate-speech-to-text/helloworld/packages.config index d5ee66db6..0bc466c34 100644 --- a/quickstart/csharp/dotnet/translate-speech-to-text/helloworld/packages.config +++ b/quickstart/csharp/dotnet/translate-speech-to-text/helloworld/packages.config @@ -1,4 +1,4 @@ - + diff --git a/quickstart/csharp/dotnetcore/from-microphone/helloworld/helloworld.csproj b/quickstart/csharp/dotnetcore/from-microphone/helloworld/helloworld.csproj index e0f38058c..efce49bbe 100644 --- a/quickstart/csharp/dotnetcore/from-microphone/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnetcore/from-microphone/helloworld/helloworld.csproj @@ -6,7 +6,7 @@ - + diff --git a/quickstart/csharp/dotnetcore/text-to-speech/helloworld/helloworld.csproj b/quickstart/csharp/dotnetcore/text-to-speech/helloworld/helloworld.csproj index e0f38058c..efce49bbe 100644 --- a/quickstart/csharp/dotnetcore/text-to-speech/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnetcore/text-to-speech/helloworld/helloworld.csproj @@ -6,7 +6,7 @@ - + diff --git a/quickstart/csharp/dotnetcore/translate-speech-to-text/helloworld/helloworld.csproj b/quickstart/csharp/dotnetcore/translate-speech-to-text/helloworld/helloworld.csproj index e0f38058c..efce49bbe 100644 --- a/quickstart/csharp/dotnetcore/translate-speech-to-text/helloworld/helloworld.csproj +++ b/quickstart/csharp/dotnetcore/translate-speech-to-text/helloworld/helloworld.csproj @@ -6,7 +6,7 @@ - + diff --git a/quickstart/csharp/uwp/from-microphone/helloworld/helloworld.csproj b/quickstart/csharp/uwp/from-microphone/helloworld/helloworld.csproj index d58255f02..b29188247 100644 --- a/quickstart/csharp/uwp/from-microphone/helloworld/helloworld.csproj +++ b/quickstart/csharp/uwp/from-microphone/helloworld/helloworld.csproj @@ -106,7 +106,7 @@ - 1.10.0 + 1.11.0 6.2.8 diff --git a/quickstart/csharp/uwp/text-to-speech/helloworld/helloworld.csproj b/quickstart/csharp/uwp/text-to-speech/helloworld/helloworld.csproj index 4d7dd8048..37c53d387 100644 --- a/quickstart/csharp/uwp/text-to-speech/helloworld/helloworld.csproj +++ b/quickstart/csharp/uwp/text-to-speech/helloworld/helloworld.csproj @@ -106,7 +106,7 @@ - 1.10.0 + 1.11.0 6.2.8 diff --git a/quickstart/csharp/uwp/translate-speech-to-text/helloworld/helloworld.csproj b/quickstart/csharp/uwp/translate-speech-to-text/helloworld/helloworld.csproj index 36c647942..ebf7243bd 100644 --- a/quickstart/csharp/uwp/translate-speech-to-text/helloworld/helloworld.csproj +++ b/quickstart/csharp/uwp/translate-speech-to-text/helloworld/helloworld.csproj @@ -106,7 +106,7 @@ - 1.10.0 + 1.11.0 6.2.8 diff --git a/quickstart/csharp/uwp/virtual-assistant/helloworld.csproj b/quickstart/csharp/uwp/virtual-assistant/helloworld.csproj index 16ed0e6e1..a2901a53f 100644 --- a/quickstart/csharp/uwp/virtual-assistant/helloworld.csproj +++ b/quickstart/csharp/uwp/virtual-assistant/helloworld.csproj @@ -153,7 +153,7 @@ - 1.10.0 + 1.11.0 6.2.9 diff --git a/quickstart/csharp/xamarin/helloworld/helloworld.Android/helloworld.Android.csproj b/quickstart/csharp/xamarin/helloworld/helloworld.Android/helloworld.Android.csproj index 01990c48d..d689c9801 100644 --- a/quickstart/csharp/xamarin/helloworld/helloworld.Android/helloworld.Android.csproj +++ b/quickstart/csharp/xamarin/helloworld/helloworld.Android/helloworld.Android.csproj @@ -50,7 +50,7 @@ - 1.10.0 + 1.11.0 diff --git a/quickstart/csharp/xamarin/helloworld/helloworld.UWP/helloworld.UWP.csproj b/quickstart/csharp/xamarin/helloworld/helloworld.UWP/helloworld.UWP.csproj index fb846d9ce..ae8c76a74 100644 --- a/quickstart/csharp/xamarin/helloworld/helloworld.UWP/helloworld.UWP.csproj +++ b/quickstart/csharp/xamarin/helloworld/helloworld.UWP/helloworld.UWP.csproj @@ -146,7 +146,7 @@ - 1.10.0 + 1.11.0 diff --git a/quickstart/csharp/xamarin/helloworld/helloworld.iOS/helloworld.iOS.csproj b/quickstart/csharp/xamarin/helloworld/helloworld.iOS/helloworld.iOS.csproj index f30523f5d..de82e1c1c 100644 --- a/quickstart/csharp/xamarin/helloworld/helloworld.iOS/helloworld.iOS.csproj +++ b/quickstart/csharp/xamarin/helloworld/helloworld.iOS/helloworld.iOS.csproj @@ -150,7 +150,7 @@ - 1.10.0 + 1.11.0 diff --git a/quickstart/csharp/xamarin/helloworld/helloworld/helloworld.csproj b/quickstart/csharp/xamarin/helloworld/helloworld/helloworld.csproj index b06124851..8b9178be3 100644 --- a/quickstart/csharp/xamarin/helloworld/helloworld/helloworld.csproj +++ b/quickstart/csharp/xamarin/helloworld/helloworld/helloworld.csproj @@ -10,7 +10,7 @@ - + \ No newline at end of file diff --git a/quickstart/java/android/from-microphone/app/build.gradle b/quickstart/java/android/from-microphone/app/build.gradle index d8f4dd102..6c0ff293e 100644 --- a/quickstart/java/android/from-microphone/app/build.gradle +++ b/quickstart/java/android/from-microphone/app/build.gradle @@ -25,7 +25,7 @@ dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') // Speech SDK - implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.10.0' + implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.11.0' implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.2' diff --git a/quickstart/java/android/text-to-speech/app/build.gradle b/quickstart/java/android/text-to-speech/app/build.gradle index d2fd97def..830695de7 100644 --- a/quickstart/java/android/text-to-speech/app/build.gradle +++ b/quickstart/java/android/text-to-speech/app/build.gradle @@ -25,7 +25,7 @@ dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') // Speech SDK - implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.10.0' + implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.11.0' implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.3' diff --git a/quickstart/java/jre/from-microphone/pom.xml b/quickstart/java/jre/from-microphone/pom.xml index ee61c1404..97d046e52 100644 --- a/quickstart/java/jre/from-microphone/pom.xml +++ b/quickstart/java/jre/from-microphone/pom.xml @@ -30,7 +30,7 @@ com.microsoft.cognitiveservices.speech client-sdk - 1.10.0 + 1.11.0 diff --git a/quickstart/java/jre/intent-recognition/pom.xml b/quickstart/java/jre/intent-recognition/pom.xml index ee61c1404..97d046e52 100644 --- a/quickstart/java/jre/intent-recognition/pom.xml +++ b/quickstart/java/jre/intent-recognition/pom.xml @@ -30,7 +30,7 @@ com.microsoft.cognitiveservices.speech client-sdk - 1.10.0 + 1.11.0 diff --git a/quickstart/java/jre/text-to-speech/pom.xml b/quickstart/java/jre/text-to-speech/pom.xml index 2268b1949..dbf514e40 100644 --- a/quickstart/java/jre/text-to-speech/pom.xml +++ b/quickstart/java/jre/text-to-speech/pom.xml @@ -30,7 +30,7 @@ com.microsoft.cognitiveservices.speech client-sdk - 1.10.0 + 1.11.0 diff --git a/quickstart/java/jre/translate-speech-to-text/pom.xml b/quickstart/java/jre/translate-speech-to-text/pom.xml index 0a124fd8a..fa6f0c258 100644 --- a/quickstart/java/jre/translate-speech-to-text/pom.xml +++ b/quickstart/java/jre/translate-speech-to-text/pom.xml @@ -20,7 +20,7 @@ com.microsoft.cognitiveservices.speech client-sdk - 1.10.0 + 1.11.0 diff --git a/quickstart/java/jre/virtual-assistant/pom.xml b/quickstart/java/jre/virtual-assistant/pom.xml index 3b743eb5c..f7c9d47c1 100644 --- a/quickstart/java/jre/virtual-assistant/pom.xml +++ b/quickstart/java/jre/virtual-assistant/pom.xml @@ -17,7 +17,7 @@ com.microsoft.cognitiveservices.speech client-sdk - 1.10.0 + 1.11.0 org.slf4j diff --git a/quickstart/javascript/node/package-lock.json b/quickstart/javascript/node/package-lock.json index 32b3faee0..cb48e6f73 100644 --- a/quickstart/javascript/node/package-lock.json +++ b/quickstart/javascript/node/package-lock.json @@ -13,20 +13,19 @@ } }, "asn1.js": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.3.0.tgz", - "integrity": "sha512-WHnQJFcOrIWT1RLOkFFBQkFVvyt9BPOOrH+Dp152Zk4R993rSzXUGPmkybIcUFhHE2d/iHH+nCaOWVCDbO8fgA==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.2.0.tgz", + "integrity": "sha512-Q7hnYGGNYbcmGrCPulXfkEw7oW7qjWeM4ZTALmgpuIcZLxyqqKYWxCZg2UBm8bklrnB4m2mGyJPWfoktdORD8A==", "requires": { "bn.js": "^4.0.0", "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" + "minimalistic-assert": "^1.0.0" } }, "asn1.js-rfc2560": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/asn1.js-rfc2560/-/asn1.js-rfc2560-5.0.1.tgz", - "integrity": "sha512-1PrVg6kuBziDN3PGFmRk3QrjpKvP9h/Hv5yMrFZvC1kpzP6dQRzf5BpKstANqHBkaOUmTpakJWhicTATOA/SbA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/asn1.js-rfc2560/-/asn1.js-rfc2560-5.0.0.tgz", + "integrity": "sha512-I3bOj/If4sMFmV6Oru93DIDvdENVKVretVpVIp5fe3MACM2HasbnMvTW1fdzbUiHcmMYI+5WfBiboHkIa4j4ew==", "requires": { "asn1.js-rfc5280": "^3.0.0" } @@ -39,6 +38,11 @@ "asn1.js": "^5.0.0" } }, + "async-limiter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", + "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==" + }, "bn.js": { "version": "4.11.8", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", @@ -66,9 +70,9 @@ } }, "https-proxy-agent": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.1.tgz", - "integrity": "sha512-+ML2Rbh6DAuee7d07tYGEKOEi2voWPUGan+ExdPbPW6Z3svq+JCqr0v8WmKPOkz1vOVykPCBSuobe7G8GJUtVg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.0.tgz", + "integrity": "sha512-y4jAxNEihqvBI5F3SaO2rtsjIOnnNA8sEbuiP+UhJZJHeM2NRm6c09ax2tgqme+SgUUvjao2fJXF4h3D6Cb2HQ==", "requires": { "agent-base": "^4.3.0", "debug": "^3.1.0" @@ -80,15 +84,26 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "microsoft-cognitiveservices-speech-sdk": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/microsoft-cognitiveservices-speech-sdk/-/microsoft-cognitiveservices-speech-sdk-1.10.0.tgz", - "integrity": "sha512-bKaT2r95xE1AW08c/U8gi8PWnPkr4VYLxVoBT/T1M8Nq3xkkYkn2wIy7d/SuN/0xoX6rvx1hIOff5RHPw4yrtw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/microsoft-cognitiveservices-speech-sdk/-/microsoft-cognitiveservices-speech-sdk-1.11.0.tgz", + "integrity": "sha512-03nPTggWCjkvVvJ6Y795UUKkFhdVn32yYqIpI/vEvAQAssffbcP5syU8JfUzN9TF4UfYvUFKlnyNgGj7y1DyAw==", "requires": { - "asn1.js-rfc2560": "^5.0.1", + "asn1.js-rfc2560": "^5.0.0", "asn1.js-rfc5280": "^3.0.0", "https-proxy-agent": "^3.0.1", "simple-lru-cache": "0.0.2", - "ws": "^7.2.1" + "ws": "^7.2.0" + }, + "dependencies": { + "https-proxy-agent": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.3.tgz", + "integrity": "sha512-Ytgnz23gm2DVftnzqRRz2dOXZbGd2uiajSw/95bPp6v53zPRspQjLm/AfBgqbJ2qfeRXWIOMVLpp86+/5yX39Q==", + "requires": { + "agent-base": "^4.3.0", + "debug": "^3.1.0" + } + } } }, "minimalistic-assert": { @@ -101,20 +116,18 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, "simple-lru-cache": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/simple-lru-cache/-/simple-lru-cache-0.0.2.tgz", "integrity": "sha1-1ZzDoZPBpdAyD4Tucy9uRxPlEd0=" }, "ws": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.1.tgz", - "integrity": "sha512-sucePNSafamSKoOqoNfBd8V0StlkzJKL2ZAhGQinCfNQ+oacw+Pk7lcdAElecBF2VkLNZRiIb5Oi1Q5lVUVt2A==" + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", + "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "requires": { + "async-limiter": "~1.0.0" + } } } } diff --git a/quickstart/javascript/node/package.json b/quickstart/javascript/node/package.json index 25a2c1402..b88458491 100644 --- a/quickstart/javascript/node/package.json +++ b/quickstart/javascript/node/package.json @@ -11,6 +11,6 @@ "license": "MIT", "dependencies": { "https-proxy-agent": "^3.0.0", - "microsoft-cognitiveservices-speech-sdk": "^1.10.0" + "microsoft-cognitiveservices-speech-sdk": "^1.11.0" } } diff --git a/quickstart/objectivec/ios/text-to-speech/helloworld/Podfile b/quickstart/objectivec/ios/text-to-speech/helloworld/Podfile index 20d91d96e..b6ac7a0e1 100644 --- a/quickstart/objectivec/ios/text-to-speech/helloworld/Podfile +++ b/quickstart/objectivec/ios/text-to-speech/helloworld/Podfile @@ -1,5 +1,5 @@ target 'helloworld' do platform :ios, '9.3' - pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.7' + pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.9' use_frameworks! end diff --git a/quickstart/objectivec/macos/from-microphone/helloworld/Podfile b/quickstart/objectivec/macos/from-microphone/helloworld/Podfile index dd68631ec..64a3589ad 100644 --- a/quickstart/objectivec/macos/from-microphone/helloworld/Podfile +++ b/quickstart/objectivec/macos/from-microphone/helloworld/Podfile @@ -1,4 +1,4 @@ target 'helloworld' do platform :osx, '10.13' - pod 'MicrosoftCognitiveServicesSpeech-macOS', '~> 1.10.0' + pod 'MicrosoftCognitiveServicesSpeech-macOS', '~> 1.11.0' end diff --git a/quickstart/objectivec/macos/text-to-speech/helloworld/Podfile b/quickstart/objectivec/macos/text-to-speech/helloworld/Podfile index dd68631ec..64a3589ad 100644 --- a/quickstart/objectivec/macos/text-to-speech/helloworld/Podfile +++ b/quickstart/objectivec/macos/text-to-speech/helloworld/Podfile @@ -1,4 +1,4 @@ target 'helloworld' do platform :osx, '10.13' - pod 'MicrosoftCognitiveServicesSpeech-macOS', '~> 1.10.0' + pod 'MicrosoftCognitiveServicesSpeech-macOS', '~> 1.11.0' end diff --git a/quickstart/swift/ios/text-to-speech/helloworld/Podfile b/quickstart/swift/ios/text-to-speech/helloworld/Podfile index 20d91d96e..b6ac7a0e1 100644 --- a/quickstart/swift/ios/text-to-speech/helloworld/Podfile +++ b/quickstart/swift/ios/text-to-speech/helloworld/Podfile @@ -1,5 +1,5 @@ target 'helloworld' do platform :ios, '9.3' - pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.7' + pod 'MicrosoftCognitiveServicesSpeech-iOS', '~> 1.9' use_frameworks! end diff --git a/samples/cpp/windows/console/samples/packages.config b/samples/cpp/windows/console/samples/packages.config index a46cf4c24..88ad9f2c0 100644 --- a/samples/cpp/windows/console/samples/packages.config +++ b/samples/cpp/windows/console/samples/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/samples/cpp/windows/console/samples/samples.vcxproj b/samples/cpp/windows/console/samples/samples.vcxproj index 726ff7b8b..3d57232ee 100644 --- a/samples/cpp/windows/console/samples/samples.vcxproj +++ b/samples/cpp/windows/console/samples/samples.vcxproj @@ -56,7 +56,7 @@ - + @@ -190,6 +190,6 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/samples/csharp/dotnet-windows/console/samples/packages.config b/samples/csharp/dotnet-windows/console/samples/packages.config index 74b905e14..84d65f50c 100644 --- a/samples/csharp/dotnet-windows/console/samples/packages.config +++ b/samples/csharp/dotnet-windows/console/samples/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/samples/csharp/dotnet-windows/console/samples/samples.csproj b/samples/csharp/dotnet-windows/console/samples/samples.csproj index 6434d5260..956cad9a3 100644 --- a/samples/csharp/dotnet-windows/console/samples/samples.csproj +++ b/samples/csharp/dotnet-windows/console/samples/samples.csproj @@ -59,8 +59,8 @@ win-x64 - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll @@ -114,13 +114,17 @@ wreck-a-nice-beach.wav PreserveNewest + + whatstheweatherlike.mp3 + PreserveNewest + - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/samples/csharp/dotnet-windows/console/samples/whatstheweatherlike.mp3 b/samples/csharp/dotnet-windows/console/samples/whatstheweatherlike.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e342abca6fb89dbf8cbc16b19b82f543a2ff05fc GIT binary patch literal 12276 zcmeIYcQl;Q_b)u7jKN^^(UMUk2!qi{M(>Ooy%Q~>MG#>|A1%5egy=nbP4wPdgdm7s zBBDf!aO1ar?{}@c)_w1~|Gn=YcdzxVb)NI=wVrc6=j^jT`|N#v8r=u@f5gPakat+4=d8A3rWGe*XOR>(}q!e=h&Y->a+Z z>+662GSiaRRu&Z$Mj(jLH$xF*008L0T!eY-0O0=3IIam)6>dKKe<0VVup4{`FM%ik zK(=lKTo4Jfi@59{&CA4n+Z|Hqs=ngCKE?MjB2pRH(_WeYBrA|1Vt2ZBZ5FTHKcCVN zv0d*($>-cgP;03=J6^A^1?2%KD2BHc-`!^gQe96xs8@^{h+zfRE<5F3UtQE$tLN6K zj~W`fk^=Pqp>vU~^=m-n?hfIi{H#;CG91vRu`_M4*YKRO|MT*H64C z@Q)f3DiS^#Kc@QZpT_l{$rQ5Tt(RdwK3~~3Px&2~S)n5{#d6XzVCb2?HZt&$c3QO* zXYD`|=2@C(yfvxe$%Dqsy;swB?!L<~8#G<8of-DC{=gfY?0c|~Ue@L?PA2wcC?(#~ z#_{(|0ikvU46BUoQJ6V3r%YBbs z{rm8~t66)~`?u#+AD5Wk4m940zdrTvdy61E;xS+F2WGi-S3iC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#m)4tQ1t3gm3>ySNNTS9Ust?~ytFU(d$1@M7pO_}Cl#g31WgS9_l&AB`kOXau z6H2I{xDes`Ogw$HYC zQGiV5E5O#emX}V?S?bjPSUs(LZ^06z!5#Nt&+gsMZ}E-jSC#b)ebBUJ=x{m3c)}=E zvL^pvayOT{?0pTow78fa0~C&3gkw!@7-;}GjUJMx7P-kmAKnZ5?0VmR8hiKg6Lp$V zvaA%tIV0|V3>2^AOiXLx%{SMSwO<~Q%v$oMZ$HyFXMm0!Ro7+Ms}mzN_*cL9WuuWn;)!-QN?&K9~#LaXI!;fgZh< zhWx$J_TZ>gR-;?1Z_BG{c3-{yRZhcXik0-c_0WdfT@K>cpl+ zb&{X9RP&Ijl(m3Mj;*ldyM||HEHtW#?tV31v^V=_Mj(h%B{)!Pkz{-BkbGV|)t4pR zl&?y^Ww>yUzE{mOAuvnWX^oy*uhz~;D}&~Z`JF;DUvzwo+lX$QqrRpiQ(cTU$HhaB zWHn=5e%snVG3nW+#`A3#Y8e(A(_o7zva$M)l>-&M93puf#v<2jhOxV8`^QY4yByN* zAgt~nCzT>f(>c0h7@mS^eOJp1 zYxE!aUv%B9#R32G&mtCfs)jd;{|lY}zjfc#0B;iGL3A}>0N}qXmH#ux|7vK-|Ci3c vI$^b&8s-0u&hG!!`G3L3$mj;c|KRgK1N@)2|Eu%gd+a}m{LhX56MX&$wq&_} literal 0 HcmV?d00001 diff --git a/samples/csharp/dotnet-windows/speechtotext-wpf/speechtotext-wpf/packages.config b/samples/csharp/dotnet-windows/speechtotext-wpf/speechtotext-wpf/packages.config index 74b905e14..84d65f50c 100644 --- a/samples/csharp/dotnet-windows/speechtotext-wpf/speechtotext-wpf/packages.config +++ b/samples/csharp/dotnet-windows/speechtotext-wpf/speechtotext-wpf/packages.config @@ -1,4 +1,4 @@ - + \ No newline at end of file diff --git a/samples/csharp/dotnet-windows/speechtotext-wpf/speechtotext-wpf/speechtotext-wpf.csproj b/samples/csharp/dotnet-windows/speechtotext-wpf/speechtotext-wpf/speechtotext-wpf.csproj index 68787d3fb..948465b3c 100644 --- a/samples/csharp/dotnet-windows/speechtotext-wpf/speechtotext-wpf/speechtotext-wpf.csproj +++ b/samples/csharp/dotnet-windows/speechtotext-wpf/speechtotext-wpf/speechtotext-wpf.csproj @@ -62,8 +62,8 @@ - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll True @@ -86,11 +86,11 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + \ No newline at end of file diff --git a/samples/csharp/dotnet-windows/translation-wpf/translation-wpf/packages.config b/samples/csharp/dotnet-windows/translation-wpf/translation-wpf/packages.config index d5ee66db6..0bc466c34 100644 --- a/samples/csharp/dotnet-windows/translation-wpf/translation-wpf/packages.config +++ b/samples/csharp/dotnet-windows/translation-wpf/translation-wpf/packages.config @@ -1,4 +1,4 @@ - + diff --git a/samples/csharp/dotnet-windows/translation-wpf/translation-wpf/translation-wpf.csproj b/samples/csharp/dotnet-windows/translation-wpf/translation-wpf/translation-wpf.csproj index 5296fa0c8..8eb0de989 100644 --- a/samples/csharp/dotnet-windows/translation-wpf/translation-wpf/translation-wpf.csproj +++ b/samples/csharp/dotnet-windows/translation-wpf/translation-wpf/translation-wpf.csproj @@ -78,8 +78,8 @@ - - ..\packages\Microsoft.CognitiveServices.Speech.1.10.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll + + ..\packages\Microsoft.CognitiveServices.Speech.1.11.0\lib\net461\Microsoft.CognitiveServices.Speech.csharp.dll @@ -99,11 +99,11 @@ - + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - + diff --git a/samples/csharp/dotnetcore/console/samples/samples.csproj b/samples/csharp/dotnetcore/console/samples/samples.csproj index 4c252d027..ba533b246 100644 --- a/samples/csharp/dotnetcore/console/samples/samples.csproj +++ b/samples/csharp/dotnetcore/console/samples/samples.csproj @@ -28,7 +28,7 @@ - + diff --git a/samples/csharp/sharedcontent/console/Program.cs b/samples/csharp/sharedcontent/console/Program.cs index 553d2c4fc..d9b34acd2 100644 --- a/samples/csharp/sharedcontent/console/Program.cs +++ b/samples/csharp/sharedcontent/console/Program.cs @@ -44,6 +44,7 @@ static void Main(string[] args) Console.WriteLine("Q. Speech synthesis word boundary event."); Console.WriteLine("R. Speech synthesis using authorization token."); Console.WriteLine("S. Speech synthesis in server scenario."); + Console.WriteLine("T. Speech recognition with compressed input pull audio stream."); Console.Write(prompt); @@ -138,6 +139,9 @@ static void Main(string[] args) case ConsoleKey.S: SpeechSynthesisServerScenarioSample.SpeechSynthesizeWithPool(); break; + case ConsoleKey.T: + SpeechRecognitionSamples.SpeechRecognitionWithCompressedInputPullStreamAudio().Wait(); + break; case ConsoleKey.D0: Console.WriteLine("Exiting..."); break; diff --git a/samples/csharp/sharedcontent/console/speech_recognition_samples.cs b/samples/csharp/sharedcontent/console/speech_recognition_samples.cs index 1541db566..24068c355 100644 --- a/samples/csharp/sharedcontent/console/speech_recognition_samples.cs +++ b/samples/csharp/sharedcontent/console/speech_recognition_samples.cs @@ -5,6 +5,7 @@ // using System; +using System.IO; using System.Threading.Tasks; using Microsoft.CognitiveServices.Speech; using Microsoft.CognitiveServices.Speech.Audio; @@ -241,6 +242,81 @@ public static async Task ContinuousRecognitionWithFileAsync() // } + public static async Task SpeechRecognitionWithCompressedInputPullStreamAudio() + { + // Creates an instance of a speech config with specified subscription key and service region. + // Replace with your own subscription key and service region (e.g., "westus"). + var config = SpeechConfig.FromSubscription("YourSubscriptionKey", "YourServiceRegion"); + + var stopRecognition = new TaskCompletionSource(); + + // Create an audio stream from a wav file. + // Replace with your own audio file name. + + using (var audioInput = AudioConfig.FromStreamInput(new PullAudioInputStream(new BinaryAudioStreamReader( + new BinaryReader(File.OpenRead(@"whatstheweatherlike.mp3"))), + AudioStreamFormat.GetCompressedFormat(AudioStreamContainerFormat.MP3)))) + { + // Creates a speech recognizer using audio stream input. + using (var recognizer = new SpeechRecognizer(config, audioInput)) + { + // Subscribes to events. + recognizer.Recognizing += (s, e) => + { + Console.WriteLine($"RECOGNIZING: Text={e.Result.Text}"); + }; + + recognizer.Recognized += (s, e) => + { + if (e.Result.Reason == ResultReason.RecognizedSpeech) + { + Console.WriteLine($"RECOGNIZED: Text={e.Result.Text}"); + } + else if (e.Result.Reason == ResultReason.NoMatch) + { + Console.WriteLine($"NOMATCH: Speech could not be recognized."); + } + }; + + recognizer.Canceled += (s, e) => + { + Console.WriteLine($"CANCELED: Reason={e.Reason}"); + + if (e.Reason == CancellationReason.Error) + { + Console.WriteLine($"CANCELED: ErrorCode={e.ErrorCode}"); + Console.WriteLine($"CANCELED: ErrorDetails={e.ErrorDetails}"); + Console.WriteLine($"CANCELED: Did you update the subscription info?"); + } + + stopRecognition.TrySetResult(0); + }; + + recognizer.SessionStarted += (s, e) => + { + Console.WriteLine("\nSession started event."); + }; + + recognizer.SessionStopped += (s, e) => + { + Console.WriteLine("\nSession stopped event."); + Console.WriteLine("\nStop recognition."); + stopRecognition.TrySetResult(0); + }; + + // Starts continuous recognition. Uses StopContinuousRecognitionAsync() to stop recognition. + await recognizer.StartContinuousRecognitionAsync().ConfigureAwait(false); + + // Waits for completion. + // Use Task.WaitAny to keep the task rooted. + Task.WaitAny(new[] { stopRecognition.Task }); + + // Stops recognition. + await recognizer.StopContinuousRecognitionAsync().ConfigureAwait(false); + } + } + } + // Speech recognition with audio stream public static async Task RecognitionWithPullAudioStreamAsync() { diff --git a/samples/csharp/sharedcontent/console/whatstheweatherlike.mp3 b/samples/csharp/sharedcontent/console/whatstheweatherlike.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..e342abca6fb89dbf8cbc16b19b82f543a2ff05fc GIT binary patch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_Mj(h%B{)!Pkz{-BkbGV|)t4pR zl&?y^Ww>yUzE{mOAuvnWX^oy*uhz~;D}&~Z`JF;DUvzwo+lX$QqrRpiQ(cTU$HhaB zWHn=5e%snVG3nW+#`A3#Y8e(A(_o7zva$M)l>-&M93puf#v<2jhOxV8`^QY4yByN* zAgt~nCzT>f(>c0h7@mS^eOJp1 zYxE!aUv%B9#R32G&mtCfs)jd;{|lY}zjfc#0B;iGL3A}>0N}qXmH#ux|7vK-|Ci3c vI$^b&8s-0u&hG!!`G3L3$mj;c|KRgK1N@)2|Eu%gd+a}m{LhX56MX&$wq&_} literal 0 HcmV?d00001 diff --git a/samples/csharp/uwp/speechtotext-uwp/speechtotext-uwp/speechtotext-uwp.csproj b/samples/csharp/uwp/speechtotext-uwp/speechtotext-uwp/speechtotext-uwp.csproj index f88184d65..ecc477400 100644 --- a/samples/csharp/uwp/speechtotext-uwp/speechtotext-uwp/speechtotext-uwp.csproj +++ b/samples/csharp/uwp/speechtotext-uwp/speechtotext-uwp/speechtotext-uwp.csproj @@ -108,7 +108,7 @@ - 1.10.0 + 1.11.0 6.2.8 diff --git a/samples/csharp/uwp/texttospeech-uwp/texttospeech-uwp/texttospeech-uwp.csproj b/samples/csharp/uwp/texttospeech-uwp/texttospeech-uwp/texttospeech-uwp.csproj index 6446cfc9b..70cf201a2 100644 --- a/samples/csharp/uwp/texttospeech-uwp/texttospeech-uwp/texttospeech-uwp.csproj +++ b/samples/csharp/uwp/texttospeech-uwp/texttospeech-uwp/texttospeech-uwp.csproj @@ -107,7 +107,7 @@ - 1.10.0 + 1.11.0 6.2.8 diff --git a/samples/csharp/uwp/virtualassistant-uwp/VirtualAssistantPreview.csproj b/samples/csharp/uwp/virtualassistant-uwp/VirtualAssistantPreview.csproj index fb664239c..31abd42c3 100644 --- a/samples/csharp/uwp/virtualassistant-uwp/VirtualAssistantPreview.csproj +++ b/samples/csharp/uwp/virtualassistant-uwp/VirtualAssistantPreview.csproj @@ -165,7 +165,7 @@ 4.3.2 - 1.10.0 + 1.11.0 6.2.8 diff --git a/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.Android/kws-xamarin.Android.csproj b/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.Android/kws-xamarin.Android.csproj index f1bcebd76..f60e1828c 100644 --- a/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.Android/kws-xamarin.Android.csproj +++ b/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.Android/kws-xamarin.Android.csproj @@ -52,7 +52,7 @@ - 1.10.0 + 1.11.0 diff --git a/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.UWP/kws-xamarin.UWP.csproj b/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.UWP/kws-xamarin.UWP.csproj index 902341328..e600f3710 100644 --- a/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.UWP/kws-xamarin.UWP.csproj +++ b/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.UWP/kws-xamarin.UWP.csproj @@ -147,7 +147,7 @@ - 1.10.0 + 1.11.0 diff --git a/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.iOS/kws-xamarin.iOS.csproj b/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.iOS/kws-xamarin.iOS.csproj index ea78401cd..eb1feb9a0 100644 --- a/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.iOS/kws-xamarin.iOS.csproj +++ b/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin.iOS/kws-xamarin.iOS.csproj @@ -124,7 +124,7 @@ - 1.10.0 + 1.11.0 diff --git a/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin/kws-xamarin.csproj b/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin/kws-xamarin.csproj index d295efd48..902a5fb54 100644 --- a/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin/kws-xamarin.csproj +++ b/samples/csharp/xamarin/kws-xamarin/kws-xamarin/kws-xamarin/kws-xamarin.csproj @@ -10,7 +10,7 @@ - + diff --git a/samples/java/android/compressed-input/app/build.gradle b/samples/java/android/compressed-input/app/build.gradle index ab69aff75..2d8ea0a31 100644 --- a/samples/java/android/compressed-input/app/build.gradle +++ b/samples/java/android/compressed-input/app/build.gradle @@ -25,7 +25,7 @@ dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') // Speech SDK - implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.10.0' + implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.11.0' implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.2' diff --git a/samples/java/android/sdkdemo/app/build.gradle b/samples/java/android/sdkdemo/app/build.gradle index 8d05af919..332e6a4b8 100644 --- a/samples/java/android/sdkdemo/app/build.gradle +++ b/samples/java/android/sdkdemo/app/build.gradle @@ -25,7 +25,7 @@ dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') // Speech SDK - implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.10.0' + implementation 'com.microsoft.cognitiveservices.speech:client-sdk:1.11.0' implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support.constraint:constraint-layout:1.1.2' diff --git a/samples/java/jre/console/pom.xml b/samples/java/jre/console/pom.xml index cdff73dc0..2964bae2f 100644 --- a/samples/java/jre/console/pom.xml +++ b/samples/java/jre/console/pom.xml @@ -27,7 +27,7 @@ com.microsoft.cognitiveservices.speech client-sdk - 1.10.0 + 1.11.0 org.apache.commons diff --git a/samples/java/jre/console/src/com/microsoft/cognitiveservices/speech/samples/console/Main.java b/samples/java/jre/console/src/com/microsoft/cognitiveservices/speech/samples/console/Main.java index 415e2cf4d..c44465656 100644 --- a/samples/java/jre/console/src/com/microsoft/cognitiveservices/speech/samples/console/Main.java +++ b/samples/java/jre/console/src/com/microsoft/cognitiveservices/speech/samples/console/Main.java @@ -125,6 +125,7 @@ public static void main(String[] args) { break; case "q": SpeechSynthesisScenarioSamples.synthesisServerScenarioAsync(); + break; case "0": System.out.println("Exiting..."); break; diff --git a/samples/js/node/package-lock.json b/samples/js/node/package-lock.json index ab361a17a..112853e95 100644 --- a/samples/js/node/package-lock.json +++ b/samples/js/node/package-lock.json @@ -13,20 +13,19 @@ } }, "asn1.js": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.3.0.tgz", - "integrity": "sha512-WHnQJFcOrIWT1RLOkFFBQkFVvyt9BPOOrH+Dp152Zk4R993rSzXUGPmkybIcUFhHE2d/iHH+nCaOWVCDbO8fgA==", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.2.0.tgz", + "integrity": "sha512-Q7hnYGGNYbcmGrCPulXfkEw7oW7qjWeM4ZTALmgpuIcZLxyqqKYWxCZg2UBm8bklrnB4m2mGyJPWfoktdORD8A==", "requires": { "bn.js": "^4.0.0", "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "safer-buffer": "^2.1.0" + "minimalistic-assert": "^1.0.0" } }, "asn1.js-rfc2560": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/asn1.js-rfc2560/-/asn1.js-rfc2560-5.0.1.tgz", - "integrity": "sha512-1PrVg6kuBziDN3PGFmRk3QrjpKvP9h/Hv5yMrFZvC1kpzP6dQRzf5BpKstANqHBkaOUmTpakJWhicTATOA/SbA==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/asn1.js-rfc2560/-/asn1.js-rfc2560-5.0.0.tgz", + "integrity": "sha512-I3bOj/If4sMFmV6Oru93DIDvdENVKVretVpVIp5fe3MACM2HasbnMvTW1fdzbUiHcmMYI+5WfBiboHkIa4j4ew==", "requires": { "asn1.js-rfc5280": "^3.0.0" } @@ -39,6 +38,11 @@ "asn1.js": "^5.0.0" } }, + "async-limiter": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.0.tgz", + "integrity": "sha512-jp/uFnooOiO+L211eZOoSyzpOITMXx1rBITauYykG3BRYPu8h0UcxsPNB04RR5vo4Tyz3+ay17tR6JVf9qzYWg==" + }, "bn.js": { "version": "4.11.8", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", @@ -66,9 +70,9 @@ } }, "https-proxy-agent": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.1.tgz", - "integrity": "sha512-+ML2Rbh6DAuee7d07tYGEKOEi2voWPUGan+ExdPbPW6Z3svq+JCqr0v8WmKPOkz1vOVykPCBSuobe7G8GJUtVg==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-3.0.0.tgz", + "integrity": "sha512-y4jAxNEihqvBI5F3SaO2rtsjIOnnNA8sEbuiP+UhJZJHeM2NRm6c09ax2tgqme+SgUUvjao2fJXF4h3D6Cb2HQ==", "requires": { "agent-base": "^4.3.0", "debug": "^3.1.0" @@ -80,15 +84,26 @@ "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==" }, "microsoft-cognitiveservices-speech-sdk": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/microsoft-cognitiveservices-speech-sdk/-/microsoft-cognitiveservices-speech-sdk-1.10.0.tgz", - "integrity": "sha512-bKaT2r95xE1AW08c/U8gi8PWnPkr4VYLxVoBT/T1M8Nq3xkkYkn2wIy7d/SuN/0xoX6rvx1hIOff5RHPw4yrtw==", + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/microsoft-cognitiveservices-speech-sdk/-/microsoft-cognitiveservices-speech-sdk-1.11.0.tgz", + "integrity": "sha512-03nPTggWCjkvVvJ6Y795UUKkFhdVn32yYqIpI/vEvAQAssffbcP5syU8JfUzN9TF4UfYvUFKlnyNgGj7y1DyAw==", "requires": { - "asn1.js-rfc2560": "^5.0.1", + "asn1.js-rfc2560": "^5.0.0", "asn1.js-rfc5280": "^3.0.0", "https-proxy-agent": "^3.0.1", "simple-lru-cache": "0.0.2", - "ws": "^7.2.1" + "ws": "^7.2.0" + }, + "dependencies": { + "https-proxy-agent": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/https-proxy-agent/-/https-proxy-agent-2.2.3.tgz", + "integrity": "sha512-Ytgnz23gm2DVftnzqRRz2dOXZbGd2uiajSw/95bPp6v53zPRspQjLm/AfBgqbJ2qfeRXWIOMVLpp86+/5yX39Q==", + "requires": { + "agent-base": "^4.3.0", + "debug": "^3.1.0" + } + } } }, "minimalistic-assert": { @@ -101,20 +116,18 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, - "safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, "simple-lru-cache": { "version": "0.0.2", "resolved": "https://registry.npmjs.org/simple-lru-cache/-/simple-lru-cache-0.0.2.tgz", "integrity": "sha1-1ZzDoZPBpdAyD4Tucy9uRxPlEd0=" }, "ws": { - "version": "7.2.1", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.2.1.tgz", - "integrity": "sha512-sucePNSafamSKoOqoNfBd8V0StlkzJKL2ZAhGQinCfNQ+oacw+Pk7lcdAElecBF2VkLNZRiIb5Oi1Q5lVUVt2A==" + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/ws/-/ws-6.2.1.tgz", + "integrity": "sha512-GIyAXC2cB7LjvpgMt9EKS2ldqr0MTrORaleiOno6TweZ6r3TKtoFQWay/2PceJ3RuBasOHzXNn5Lrw1X0bEjqA==", + "requires": { + "async-limiter": "~1.0.0" + } } } } diff --git a/samples/js/node/package.json b/samples/js/node/package.json index ef3997a2b..859c2ab9d 100644 --- a/samples/js/node/package.json +++ b/samples/js/node/package.json @@ -11,6 +11,6 @@ "license": "MIT", "dependencies": { "https-proxy-agent": "^3.0.0", - "microsoft-cognitiveservices-speech-sdk": "^1.10.0" + "microsoft-cognitiveservices-speech-sdk": "^1.11.0" } } diff --git a/samples/python/console/speech_sample.py b/samples/python/console/speech_sample.py index fb504e096..e61283f52 100644 --- a/samples/python/console/speech_sample.py +++ b/samples/python/console/speech_sample.py @@ -66,9 +66,9 @@ def speech_recognize_once_from_file(): # speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region) audio_config = speechsdk.audio.AudioConfig(filename=weatherfilename) - # Creates a speech recognizer using a file as audio input. - # The default language is "en-us". - speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config) + # Creates a speech recognizer using a file as audio input, also specify the speech language + speech_recognizer = speechsdk.SpeechRecognizer( + speech_config=speech_config, language="de-DE", audio_config=audio_config) # Starts speech recognition, and returns after a single utterance is recognized. The end of a # single utterance is determined by listening for silence at the end or until a maximum of 15 @@ -97,14 +97,14 @@ def speech_recognize_once_from_file_with_customized_model(): # speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region) - # Set the endpoint ID of your customized model - # Replace with your own CRIS endpoint ID. - speech_config.endpoint_id = "YourEndpointId" + # Create source language configuration with the speech language and the endpoint ID of your customized model + # Replace with your speech language and CRIS endpoint ID. + source_language_config = speechsdk.languageconfig.SourceLanguageConfig("zh-CN", "YourEndpointId") audio_config = speechsdk.audio.AudioConfig(filename=weatherfilename) - # Creates a speech recognizer using a file as audio input. - # The default language is "en-us". - speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_config) + # Creates a speech recognizer using a file as audio input and specify the source language config + speech_recognizer = speechsdk.SpeechRecognizer( + speech_config=speech_config, source_language_config=source_language_config, audio_config=audio_config) # Starts speech recognition, and returns after a single utterance is recognized. The end of a # single utterance is determined by listening for silence at the end or until a maximum of 15 @@ -395,3 +395,60 @@ def speech_recognition_with_push_stream(): stream.close() speech_recognizer.stop_continuous_recognition() +def speech_recognize_once_with_auto_language_detection_from_mic(): + """performs one-shot speech recognition from the default microphone with auto language detection""" + speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region) + + # create the auto detection language configuration with the potential source language candidates + auto_detect_source_language_config = \ + speechsdk.languageconfig.AutoDetectSourceLanguageConfig(languages=["de-DE", "en-US"]) + speech_recognizer = speechsdk.SpeechRecognizer( + speech_config=speech_config, auto_detect_source_language_config=auto_detect_source_language_config) + result = speech_recognizer.recognize_once() + + # Check the result + if result.reason == speechsdk.ResultReason.RecognizedSpeech: + auto_detect_source_language_result = speechsdk.AutoDetectSourceLanguageResult(result) + print("Recognized: {} in language {}".format(result.text, auto_detect_source_language_result.language)) + elif result.reason == speechsdk.ResultReason.NoMatch: + print("No speech could be recognized") + elif result.reason == speechsdk.ResultReason.Canceled: + cancellation_details = result.cancellation_details + print("Speech Recognition canceled: {}".format(cancellation_details.reason)) + if cancellation_details.reason == speechsdk.CancellationReason.Error: + print("Error details: {}".format(cancellation_details.error_details)) + +def speech_recognize_with_auto_language_detection_UsingCustomizedModel(): + """performs speech recognition from the audio file with auto language detection, using customized model""" + speech_config = speechsdk.SpeechConfig(subscription=speech_key, region=service_region) + audio_config = speechsdk.audio.AudioConfig(filename=weatherfilename) + + # Replace the languages with your languages in BCP-47 format, e.g. fr-FR. + # Please see https://docs.microsoft.com/azure/cognitive-services/speech-service/language-support + # for all supported languages + en_language_config = speechsdk.languageconfig.SourceLanguageConfig("en-US") + # Replace the languages with your languages in BCP-47 format, e.g. zh-CN. + # Set the endpoint ID of your customized mode that will be used for fr-FR. + # Replace with your own CRIS endpoint ID. + fr_language_config = speechsdk.languageconfig.SourceLanguageConfig("fr-FR", "myendpointId") + # create the auto detection language configuration with the source language configurations + auto_detect_source_language_config = speechsdk.languageconfig.AutoDetectSourceLanguageConfig( + sourceLanguageConfigs=[en_language_config, fr_language_config]) + + speech_recognizer = speechsdk.SpeechRecognizer( + speech_config=speech_config, + auto_detect_source_language_config=auto_detect_source_language_config, + audio_config=audio_config) + result = speech_recognizer.recognize_once() + + # Check the result + if result.reason == speechsdk.ResultReason.RecognizedSpeech: + auto_detect_source_language_result = speechsdk.AutoDetectSourceLanguageResult(result) + print("Recognized: {} in language {}".format(result.text, auto_detect_source_language_result.language)) + elif result.reason == speechsdk.ResultReason.NoMatch: + print("No speech could be recognized") + elif result.reason == speechsdk.ResultReason.Canceled: + cancellation_details = result.cancellation_details + print("Speech Recognition canceled: {}".format(cancellation_details.reason)) + if cancellation_details.reason == speechsdk.CancellationReason.Error: + print("Error details: {}".format(cancellation_details.error_details)) \ No newline at end of file diff --git a/samples/unity/speechrecognizer/LUIS-App-Export-Unity-FunWithShapes.json b/samples/unity/speechrecognizer/LUIS-App-Export-Unity-FunWithShapes.json index 5fba4aa52..d64d25d73 100644 --- a/samples/unity/speechrecognizer/LUIS-App-Export-Unity-FunWithShapes.json +++ b/samples/unity/speechrecognizer/LUIS-App-Export-Unity-FunWithShapes.json @@ -1,5 +1,5 @@ { - "luis_schema_version": "3.2.0", + "luis_schema_version": "4.0.0", "versionId": "0.1", "name": "Unity-FunWithShapes", "desc": "Sample Unity app showcasing how to manipulate 3D shapes with speech.", @@ -37,7 +37,6 @@ { "canonicalForm": "Increase", "list": [ - "Increase", "Enlarge", "Larger", "Bigger", @@ -45,10 +44,9 @@ "boost", "bigly", "bigger", - "bigger", "larger", - "bigger", - "bigger" + "huge", + "huger" ] }, { @@ -118,11 +116,80 @@ } ] }, + { + "text": "after well with green i have to go re program that actually i notice a green has an issue for some reason i don't think i've trained enough for round green", + "intent": "None", + "entities": [ + { + "entity": "Color", + "startPos": 16, + "endPos": 20 + }, + { + "entity": "Color", + "startPos": 71, + "endPos": 75 + }, + { + "entity": "Color", + "startPos": 150, + "endPos": 154 + } + ] + }, { "text": "amazing how fast is considering this is doing a round trip to a cloud server", "intent": "None", "entities": [] }, + { + "text": "and finally please change the ball color to yellow", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 30, + "endPos": 33 + }, + { + "entity": "Color", + "startPos": 44, + "endPos": 49 + } + ] + }, + { + "text": "and i can just keep talking and then say please make the box blue", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 57, + "endPos": 59 + }, + { + "entity": "Color", + "startPos": 61, + "endPos": 64 + } + ] + }, + { + "text": "and now the ball i would like it in a red", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 12, + "endPos": 15 + }, + { + "entity": "Color", + "startPos": 38, + "endPos": 40 + } + ] + }, { "text": "and now the ball should be yellow", "intent": "ChangeColor", @@ -144,6 +211,22 @@ "intent": "None", "entities": [] }, + { + "text": "and then i would like the cylindered to be read", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 26, + "endPos": 35 + }, + { + "entity": "Color", + "startPos": 43, + "endPos": 46 + } + ] + }, { "text": "are you done", "intent": "None", @@ -207,6 +290,22 @@ "intent": "None", "entities": [] }, + { + "text": "can you dear pretty please make the cube green", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 36, + "endPos": 39 + }, + { + "entity": "Color", + "startPos": 41, + "endPos": 45 + } + ] + }, { "text": "can you help me?", "intent": "Help", @@ -463,11 +562,6 @@ } ] }, - { - "text": "dungeons and dragons", - "intent": "None", - "entities": [] - }, { "text": "everything we don't have to", "intent": "None", @@ -478,6 +572,17 @@ "intent": "None", "entities": [] }, + { + "text": "excellent and finally please make the cylinder a little smaller", + "intent": "Transform", + "entities": [ + { + "entity": "Target", + "startPos": 38, + "endPos": 45 + } + ] + }, { "text": "great now is it", "intent": "None", @@ -493,16 +598,6 @@ "intent": "None", "entities": [] }, - { - "text": "help children health lonely", - "intent": "None", - "entities": [] - }, - { - "text": "help children help ok", - "intent": "None", - "entities": [] - }, { "text": "help please", "intent": "Help", @@ -530,7 +625,7 @@ "entities": [] }, { - "text": "hi now make this sphere yellow", + "text": "hi now make this fear yellow", "intent": "ChangeColor", "entities": [ { @@ -650,9 +745,20 @@ ] }, { - "text": "i was sorry i was flipping intense no it's fine", - "intent": "None", - "entities": [] + "text": "i would like the box to be yellow", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 17, + "endPos": 19 + }, + { + "entity": "Color", + "startPos": 27, + "endPos": 32 + } + ] }, { "text": "i'd like the cylinder to be smaller", @@ -670,6 +776,22 @@ "intent": "None", "entities": [] }, + { + "text": "in change the cylinder color to blue", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 14, + "endPos": 21 + }, + { + "entity": "Color", + "startPos": 32, + "endPos": 35 + } + ] + }, { "text": "in reduce the size of the box", "intent": "Transform", @@ -817,6 +939,11 @@ "intent": "None", "entities": [] }, + { + "text": "make", + "intent": "None", + "entities": [] + }, { "text": "make the cube bigger", "intent": "Transform", @@ -828,6 +955,39 @@ } ] }, + { + "text": "make the cube wrapped", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 9, + "endPos": 12 + } + ] + }, + { + "text": "make the cube wreck", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 9, + "endPos": 12 + } + ] + }, + { + "text": "make the screen bigger", + "intent": "Transform", + "entities": [ + { + "entity": "Target", + "startPos": 9, + "endPos": 14 + } + ] + }, { "text": "make the sphere orange", "intent": "ChangeColor", @@ -896,6 +1056,22 @@ } ] }, + { + "text": "no you didn't pick up the color there please change the box color to blue", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 56, + "endPos": 58 + }, + { + "entity": "Color", + "startPos": 69, + "endPos": 72 + } + ] + }, { "text": "now change the color to purple", "intent": "ChangeColor", @@ -937,6 +1113,17 @@ "intent": "None", "entities": [] }, + { + "text": "ok and now it like this cylinder to be a little bigger", + "intent": "Transform", + "entities": [ + { + "entity": "Target", + "startPos": 24, + "endPos": 31 + } + ] + }, { "text": "ok can i please have the box in blue", "intent": "ChangeColor", @@ -974,6 +1161,22 @@ } ] }, + { + "text": "ok i would like the box to be yellow", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 20, + "endPos": 22 + }, + { + "entity": "Color", + "startPos": 30, + "endPos": 35 + } + ] + }, { "text": "ok i'll go really fast this time", "intent": "None", @@ -1096,7 +1299,7 @@ { "entity": "Target", "startPos": 17, - "endPos": 20 + "endPos": 22 } ] }, @@ -1105,11 +1308,6 @@ "intent": "None", "entities": [] }, - { - "text": "say again this spirit disfear is this sphere", - "intent": "None", - "entities": [] - }, { "text": "school in mystic", "intent": "None", @@ -1152,16 +1350,69 @@ "intent": "Help", "entities": [] }, + { + "text": "siri where now", + "intent": "None", + "entities": [] + }, { "text": "so", "intent": "None", "entities": [] }, + { + "text": "so ok now i would like the box to be turned green", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 27, + "endPos": 29 + }, + { + "entity": "Color", + "startPos": 44, + "endPos": 48 + } + ] + }, + { + "text": "so please make the box red", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 19, + "endPos": 21 + }, + { + "entity": "Color", + "startPos": 23, + "endPos": 25 + } + ] + }, { "text": "so you basically check to see what type of entity you got back and then you look at the value so it's more like this is the key in the value", "intent": "None", "entities": [] }, + { + "text": "so you better switch recognize the word you said make the q blue", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 58, + "endPos": 58 + }, + { + "entity": "Color", + "startPos": 60, + "endPos": 63 + } + ] + }, { "text": "start", "intent": "None", @@ -1225,6 +1476,22 @@ "intent": "None", "entities": [] }, + { + "text": "that's fine but now i can just ask can you please make the box blue", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 59, + "endPos": 61 + }, + { + "entity": "Color", + "startPos": 63, + "endPos": 66 + } + ] + }, { "text": "that's good", "intent": "None", @@ -1285,17 +1552,33 @@ ] }, { - "text": "the fact that it's a stronger cpu yeah probably his helping yeah so will have to test it to see how it goes on hollins yeah", + "text": "the stars are yes", "intent": "None", "entities": [] }, { - "text": "the stars are yes", + "text": "there you go and finally the spear should be read", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 29, + "endPos": 33 + }, + { + "entity": "Color", + "startPos": 45, + "endPos": 48 + } + ] + }, + { + "text": "this is so what", "intent": "None", "entities": [] }, { - "text": "this is so what", + "text": "this is you get recognize other things", "intent": "None", "entities": [] }, @@ -1331,6 +1614,11 @@ "intent": "None", "entities": [] }, + { + "text": "very impressive oh yeah", + "intent": "None", + "entities": [] + }, { "text": "what are the commands?", "intent": "Help", @@ -1382,6 +1670,17 @@ "intent": "None", "entities": [] }, + { + "text": "yeah but i think the box should actually be bigger", + "intent": "Transform", + "entities": [ + { + "entity": "Target", + "startPos": 21, + "endPos": 23 + } + ] + }, { "text": "yeah but then again", "intent": "None", @@ -1434,6 +1733,38 @@ "intent": "None", "entities": [] }, + { + "text": "yes so please make the ball red", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 23, + "endPos": 26 + }, + { + "entity": "Color", + "startPos": 28, + "endPos": 30 + } + ] + }, + { + "text": "yo software can you change the color of the box to pink", + "intent": "ChangeColor", + "entities": [ + { + "entity": "Target", + "startPos": 44, + "endPos": 46 + }, + { + "entity": "Color", + "startPos": 51, + "endPos": 54 + } + ] + }, { "text": "you know what i think the box would be better in green", "intent": "ChangeColor",