Description
Describe the bug
To get ErrorType "Omission" or "Insertion" using SpeechSDK,
I set configuration parameter EnableMiscue as true.
But I can't get ErrorType both.
(even if I set the parameter as "true" or "True", same)
To Reproduce
Steps to reproduce the behavior:
1.
private static PronunciationAssessmentConfig getPronunciationAssessmentConfig(PronunciationAssessmentRequest pronunciationAssessmentRequest) { PronunciationAssessmentConfig pronunciationConfig = new PronunciationAssessmentConfig(pronunciationAssessmentRequest.getReferenceText(), PronunciationAssessmentGradingSystem.HundredMark, PronunciationAssessmentGranularity.Phoneme, true); pronunciationConfig.setPhonemeAlphabet("IPA"); pronunciationConfig.enableProsodyAssessment(); log.debug("assessment: pronunciationConfig:{}", pronunciationConfig.toJson()); return pronunciationConfig; }
Expected behavior
Word of ErrorType "Ommission" or "Insertion" must be included in result.
Version of the Cognitive Services Speech SDK
<dependency> <groupId>com.microsoft.cognitiveservices.speech</groupId> <artifactId>client-sdk</artifactId> <version>1.44.0</version> </dependency>
OS: windows
Hardware: x64,
Programming language: java
Browser: Chrome (Version 114.0.5735.198 (Official Build) (x86_64))