You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/Speech-Service/rest-speech-to-text-short.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,6 @@ Replace `<REGION_IDENTIFIER>` with the identifier that matches the [region](regi
38
38
> [!NOTE]
39
39
> For Azure Government and Azure China endpoints, see [this article about sovereign clouds](sovereign-clouds.md).
40
40
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
-
44
41
## Audio formats
45
42
46
43
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
55
52
56
53
## Query parameters
57
54
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`.
59
59
60
60
| Parameter | Description | Required or optional |
61
61
|-----------|-------------|---------------------|
@@ -87,7 +87,7 @@ This table lists required and optional parameters for pronunciation assessment:
87
87
|`ReferenceText`| The text that the pronunciation will be evaluated against. | Required |
88
88
|`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 |
89
89
|`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 |
91
91
|`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 |
92
92
|`ScenarioId`| A GUID that indicates a customized point system. | Optional |
0 commit comments