@@ -114,9 +114,9 @@ pronunciationConfig->EnableContentAssessmentWithTopic("greeting");
114
114
115
115
```Java
116
116
PronunciationAssessmentConfig pronunciationConfig = new PronunciationAssessmentConfig("",
117
- PronunciationAssessmentGradingSystem.HundredMark, PronunciationAssessmentGranularity.Phoneme, false);
117
+ PronunciationAssessmentGradingSystem.HundredMark, PronunciationAssessmentGranularity.Phoneme, false);
118
118
pronunciationConfig.enableProsodyAssessment();
119
- pronunciationConfig.enableContentAssessmentWithTopic("greeting");
119
+ pronunciationConfig.enableContentAssessmentWithTopic("greeting");
120
120
```
121
121
122
122
::: zone-end
@@ -125,12 +125,12 @@ pronunciationConfig.enableContentAssessmentWithTopic("greeting");
125
125
126
126
``` Python
127
127
pronunciation_config = speechsdk.PronunciationAssessmentConfig(
128
- reference_text = " " ,
129
- grading_system = speechsdk.PronunciationAssessmentGradingSystem.HundredMark,
130
- granularity = speechsdk.PronunciationAssessmentGranularity.Phoneme,
131
- enable_miscue = False )
128
+ reference_text = " " ,
129
+ grading_system = speechsdk.PronunciationAssessmentGradingSystem.HundredMark,
130
+ granularity = speechsdk.PronunciationAssessmentGranularity.Phoneme,
131
+ enable_miscue = False )
132
132
pronunciation_config.enable_prosody_assessment()
133
- pronunciation_config.enable_content_assessment_with_topic(" greeting" )
133
+ pronunciation_config.enable_content_assessment_with_topic(" greeting" )
134
134
```
135
135
136
136
::: zone-end
@@ -139,12 +139,12 @@ pronunciation_config.enable_content_assessment_with_topic("greeting")
139
139
140
140
``` JavaScript
141
141
var pronunciationAssessmentConfig = new sdk.PronunciationAssessmentConfig (
142
- referenceText: " " ,
143
- gradingSystem: sdk .PronunciationAssessmentGradingSystem .HundredMark ,
144
- granularity: sdk .PronunciationAssessmentGranularity .Phoneme ,
145
- enableMiscue: false );
142
+ referenceText: " " ,
143
+ gradingSystem: sdk .PronunciationAssessmentGradingSystem .HundredMark ,
144
+ granularity: sdk .PronunciationAssessmentGranularity .Phoneme ,
145
+ enableMiscue: false );
146
146
pronunciationAssessmentConfig .EnableProsodyAssessment ();
147
- pronunciationAssessmentConfig .EnableContentAssessmentWithTopic (" greeting" );
147
+ pronunciationAssessmentConfig .EnableContentAssessmentWithTopic (" greeting" );
148
148
```
149
149
150
150
::: zone-end
@@ -153,10 +153,7 @@ pronunciationAssessmentConfig.EnableContentAssessmentWithTopic("greeting");
153
153
154
154
``` ObjectiveC
155
155
SPXPronunciationAssessmentConfiguration *pronunicationConfig =
156
- [[SPXPronunciationAssessmentConfiguration alloc ] init: @""
157
- gradingSystem: SPXPronunciationAssessmentGradingSystem_HundredMark
158
- granularity: SPXPronunciationAssessmentGranularity_Phoneme
159
- enableMiscue: false ] ;
156
+ [[SPXPronunciationAssessmentConfiguration alloc ] init: @"" gradingSystem: SPXPronunciationAssessmentGradingSystem_HundredMark granularity: SPXPronunciationAssessmentGranularity_Phoneme enableMiscue: false ] ;
160
157
[ pronunicationConfig enableProsodyAssessment] ;
161
158
[ pronunicationConfig enableContentAssessmentWithTopic:@"greeting"] ;
162
159
```
@@ -168,11 +165,11 @@ SPXPronunciationAssessmentConfiguration *pronunicationConfig =
168
165
169
166
```swift
170
167
let pronAssessmentConfig = try! SPXPronunciationAssessmentConfiguration("",
171
- gradingSystem: .hundredMark,
172
- granularity: .phoneme,
173
- enableMiscue: false)
168
+ gradingSystem: .hundredMark,
169
+ granularity: .phoneme,
170
+ enableMiscue: false)
174
171
pronAssessmentConfig.enableProsodyAssessment()
175
- pronAssessmentConfig.enableContentAssessment(withTopic: "greeting")
172
+ pronAssessmentConfig.enableContentAssessment(withTopic: "greeting")
176
173
```
177
174
178
175
::: zone-end
@@ -944,6 +941,6 @@ pronunciationAssessmentConfig?.nbestPhonemeCount = 5
944
941
945
942
## Next steps
946
943
947
- - Learn our quality [ benchmark] ( https://techcommunity.microsoft.com/t5/ai-cognitive-services-blog/speech-service-update-hierarchical-transformer-for-pronunciation/ba-p/3740866 )
944
+ - Learn our quality [ benchmark] ( https://aka.ms/pronunciationassessment/techblog )
948
945
- Try out [ pronunciation assessment in Speech Studio] ( pronunciation-assessment-tool.md )
949
- - Check out easy-to-deploy Pronunciation Assessment [ demo] ( https://github.com/Azure-Samples/Cognitive-Speech-TTS/tree/master/PronunciationAssessment/BrowserJS ) and watch the [ video tutorial ] ( https://www.youtube.com/watch?v=zFlwm7N4Awc ) of pronunciation assessment.
946
+ - Check out easy-to-deploy Pronunciation Assessment [ demo] ( https://github.com/Azure-Samples/Cognitive-Speech-TTS/tree/master/PronunciationAssessment/BrowserJS ) and watch the [ video demo ] ( https://www.youtube.com/watch?v=NQi4mBiNNTE ) of pronunciation assessment.
0 commit comments