Skip to content

Commit 3d41197

Browse files
Update how-to-pronunciation-assessment.md
1 parent 577cafd commit 3d41197

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed

articles/ai-services/speech-service/how-to-pronunciation-assessment.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1047,8 +1047,54 @@ pronunciationAssessmentConfig?.nbestPhonemeCount = 5
10471047
This formula provides a weighted calculation based on the importance of each score, ensuring a comprehensive evaluation of pronunciation.
10481048

10491049
- Currently, only `en-US` is supported for topics in pronunciation assessment. There is no length limit for the topic parameter.
1050+
1051+
::: zone pivot="programming-language-csharp"
1052+
1053+
- If your audio file exceeds 30 seconds, use continuous mode for processing. The sample code for continuous mode can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/csharp/sharedcontent/console/speech_recognition_samples.cs) under the function `PronunciationAssessmentContinuousWithFile`.
1054+
1055+
::: zone-end
1056+
1057+
::: zone pivot="programming-language-cpp"
1058+
10501059
- If your audio file exceeds 30 seconds, use continuous mode for processing.
10511060

1061+
::: zone-end
1062+
1063+
::: zone pivot="programming-language-java"
1064+
1065+
- If your audio file exceeds 30 seconds, use continuous mode for processing. The sample code for continuous mode can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/java/jre/console/src/com/microsoft/cognitiveservices/speech/samples/console/SpeechRecognitionSamples.java) under the function `pronunciationAssessmentContinuousWithFile`.
1066+
1067+
::: zone-end
1068+
1069+
::: zone pivot="programming-language-python"
1070+
1071+
- If your audio file exceeds 30 seconds, use continuous mode for processing. The sample code for continuous mode can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/261160e26dfcae4c3aee93308d58d74e36739b6f/samples/python/console/speech_sample.py) under the function `pronunciation_assessment_continuous_from_file`.
1072+
1073+
::: zone-end
1074+
1075+
::: zone pivot="programming-language-javascript"
1076+
1077+
- If your audio file exceeds 30 seconds, use continuous mode for processing. The sample code for continuous mode can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/261160e26dfcae4c3aee93308d58d74e36739b6f/samples/js/node/pronunciationAssessmentContinue.js).
1078+
1079+
::: zone-end
1080+
1081+
::: zone pivot="programming-language-objectivec"
1082+
1083+
- If your audio file exceeds 30 seconds, use continuous mode for processing. The sample code for continuous mode can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/objective-c/ios/speech-samples/speech-samples/ViewController.m) under the function `pronunciationAssessFromFile`.
1084+
1085+
::: zone-end
1086+
1087+
::: zone pivot="programming-language-swift"
1088+
1089+
- If your audio file exceeds 30 seconds, use continuous mode for processing. The sample code for continuous mode can be found on [GitHub](https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/swift/ios/speech-samples/speech-samples/ViewController.swift) under the function `continuousPronunciationAssessment`.
1090+
1091+
::: zone-end
1092+
1093+
::: zone pivot="programming-language-go"
1094+
1095+
::: zone-end
1096+
1097+
10521098
## Related content
10531099

10541100
- Learn about quality [benchmark](https://aka.ms/pronunciationassessment/techblog).

0 commit comments

Comments
 (0)