Skip to content

Commit 8619faa

Browse files
authored
Update rest-speech-to-text-short.md
1 parent cb7c8be commit 8619faa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/cognitive-services/Speech-Service/rest-speech-to-text-short.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ Replace `<REGION_IDENTIFIER>` with the identifier that matches the [region](regi
3838
> [!NOTE]
3939
> For Azure Government and Azure China endpoints, see [this article about sovereign clouds](sovereign-clouds.md).
4040
41-
> [!NOTE]
42-
> You must append the language parameter to the URL to avoid receiving a 4xx HTTP error. For example, the language set to US English via the West US endpoint is: `https://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=en-US`.
43-
4441
## Audio formats
4542

4643
Audio is sent in the body of the HTTP `POST` request. It must be in one of the formats in this table:
@@ -55,7 +52,10 @@ Audio is sent in the body of the HTTP `POST` request. It must be in one of the f
5552
5653
## Query parameters
5754

58-
These parameters might be included in the query string of the REST request:
55+
These parameters might be included in the query string of the REST request.
56+
57+
> [!NOTE]
58+
> You must append the language parameter to the URL to avoid receiving a 4xx HTTP error. For example, the language set to US English via the West US endpoint is: `https://westus.stt.speech.microsoft.com/speech/recognition/conversation/cognitiveservices/v1?language=en-US`.
5959
6060
| Parameter | Description | Required or optional |
6161
|-----------|-------------|---------------------|
@@ -87,7 +87,7 @@ This table lists required and optional parameters for pronunciation assessment:
8787
| `ReferenceText` | The text that the pronunciation will be evaluated against. | Required |
8888
| `GradingSystem` | The point system for score calibration. The `FivePoint` system gives a 0-5 floating point score, and `HundredMark` gives a 0-100 floating point score. Default: `FivePoint`. | Optional |
8989
| `Granularity` | The evaluation granularity. Accepted values are:<br><br> `Phoneme`, which shows the score on the full-text, word, and phoneme levels.<br>`Word`, which shows the score on the full-text and word levels. <br>`FullText`, which shows the score on the full-text level only.<br><br> The default setting is `Phoneme`. | Optional |
90-
| `Dimension` | Defines the output criteria. Accepted values are:<br><br> `Basic`, which shows the accuracy score only. <br>`Comprehensive`, which shows scores on more dimensions (for example, fluency score and completeness score on the full-text level, and error type on the word level).<br><br> To see definitions of different score dimensions and word error types, see [Response parameters](#response-parameters). The default setting is `Basic`. | Optional |
90+
| `Dimension` | Defines the output criteria. Accepted values are:<br><br> `Basic`, which shows the accuracy score only. <br>`Comprehensive`, which shows scores on more dimensions (for example, fluency score and completeness score on the full-text level, and error type on the word level).<br><br> To see definitions of different score dimensions and word error types, see [Response properties](#response-properties). The default setting is `Basic`. | Optional |
9191
| `EnableMiscue` | Enables miscue calculation. With this parameter enabled, the pronounced words will be compared to the reference text. They'll be marked with omission or insertion based on the comparison. Accepted values are `False` and `True`. The default setting is `False`. | Optional |
9292
| `ScenarioId` | A GUID that indicates a customized point system. | Optional |
9393

0 commit comments

Comments
 (0)