Skip to content

Commit d35e66a

Browse files
authored
Merge pull request #106659 from IEvangelist/fixRenderingBug
Added hard stops to fix localization bug.
2 parents eaa28c6 + 2d1a021 commit d35e66a

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

articles/cognitive-services/Speech-Service/includes/quickstarts/from-blob/java/jre.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ The first step is to make sure that you have your project open in Eclipse.
2727
## Add a reference to Gson
2828
We'll be using an external JSON serializer / deserializer in this quickstart. For Java we've chosen [Gson](https://github.com/google/gson).
2929

30-
Open your pom.xml and add the following reference:
30+
Open your pom.xml and add the following reference.
31+
3132
[!code-xml[](~/samples-cognitive-services-speech-sdk/quickstart/java/jre/from-blob/pom.xml?range=19-25)]
3233

3334
## Start with some boilerplate code

articles/cognitive-services/Speech-Service/includes/quickstarts/from-microphone/csharp/dotnet.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,19 +51,22 @@ Now, let's create a `SpeechRecognizer`. This object is created inside of a using
5151

5252
From the `SpeechRecognizer` object, you're going to call the `RecognizeOnceAsync()` method. This method lets the Speech service know that you're sending a single phrase for recognition, and that once the phrase is identified to stop recognizing speech.
5353

54-
Inside the using statement, add this code:
54+
Inside the using statement, add this code.
55+
5556
[!code-csharp[](~/samples-cognitive-services-speech-sdk/quickstart/csharp/dotnet/from-microphone/helloworld/Program.cs?range=20)]
5657

5758
## Display the recognition results (or errors)
5859

5960
When the recognition result is returned by the Speech service, you'll want to do something with it. We're going to keep it simple and print the result to console.
6061

61-
Inside the using statement, below `RecognizeOnceAsync()`, add this code:
62+
Inside the using statement, below `RecognizeOnceAsync()`, add this code.
63+
6264
[!code-csharp[](~/samples-cognitive-services-speech-sdk/quickstart/csharp/dotnet/from-microphone/helloworld/Program.cs?range=22-41)]
6365

6466
## Check your code
6567

66-
At this point, your code should look like this:
68+
At this point, your code should look like this.
69+
6770
[!code-csharp[](~/samples-cognitive-services-speech-sdk/quickstart/csharp/dotnet/from-microphone/helloworld/Program.cs)]
6871

6972
## Build and run your app

articles/cognitive-services/Speech-Service/includes/quickstarts/from-microphone/csharp/uwp.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ Now, let's create a `SpeechRecognizer`. This object is created inside of a using
6060

6161
From the `SpeechRecognizer` object, you're going to call the `RecognizeOnceAsync()` method. This method lets the Speech service know that you're sending a single phrase for recognition, and that once the phrase is identified to stop recognizing speech.
6262

63-
Inside the using statement, add this code:
63+
Inside the using statement, add this code.
64+
6465
[!code-csharp[](~/samples-cognitive-services-speech-sdk/quickstart/csharp/uwp/from-microphone/helloworld/MainPage.xaml.cs?range=66)]
6566

6667
## Display the recognition results (or errors)

articles/cognitive-services/Speech-Service/includes/quickstarts/intent-recognition/csharp/dotnet.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ You need to associate a `LanguageUnderstandingModel` with the intent recognizer,
7171

7272
From the `IntentRecognizer` object, you're going to call the `RecognizeOnceAsync()` method. This method lets the Speech service know that you're sending a single phrase for recognition, and that once the phrase is identified to stop recognizing speech.
7373

74-
Inside the using statement, add this code below your model:
74+
Inside the using statement, add this code below your model.
75+
7576
[!code-csharp[](~/samples-cognitive-services-speech-sdk/quickstart/csharp/dotnet/intent-recognition/helloworld/Program.cs?range=46)]
7677

7778
## Display recognition results (or errors)

articles/cognitive-services/Speech-Service/includes/quickstarts/intent-recognition/java/jre.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ Insert this code below your model:
7777

7878
When the recognition result is returned by the Speech service, you'll want to do something with it. We're going to keep it simple and print the result to console.
7979

80-
Insert this code below your call to `recognizeOnceAsync()`:
80+
Insert this code below your call to `recognizeOnceAsync()`.
81+
8182
[!code-java[](~/samples-cognitive-services-speech-sdk/quickstart/java/jre/intent-recognition/src/speechsdk/quickstart/Main.java?range=43-64)]
8283

8384
## Release Resources

articles/cognitive-services/Speech-Service/includes/quickstarts/intent-recognition/python/python.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,20 +69,21 @@ Insert this code below your `IntentRecognizer`. Make sure that you replace `"You
6969

7070
From the `IntentRecognizer` object, you're going to call the `recognize_once()` method. This method lets the Speech service know that you're sending a single phrase for recognition, and that once the phrase is identified to stop recognizing speech.
7171

72-
Insert this code below your model:
72+
Insert this code below your model.
7373

7474
[!code-python[](~/samples-cognitive-services-speech-sdk/quickstart/python/intent-recognition/quickstart.py?range=35)]
7575

7676
## Display the recognition results (or errors)
7777

7878
When the recognition result is returned by the Speech service, you'll want to do something with it. We're going to keep it simple and print the result to console.
7979

80-
Below your call to `recognize_once()`, add this code:
80+
Below your call to `recognize_once()`, add this code.
81+
8182
[!code-python[](~/samples-cognitive-services-speech-sdk/quickstart/python/intent-recognition/quickstart.py?range=38-47)]
8283

8384
## Check your code
8485

85-
At this point, your code should look like this:
86+
At this point, your code should look like this.
8687

8788
> [!NOTE]
8889
> We've added some comments to this version.

0 commit comments

Comments
 (0)