Skip to content

configuration parameter EnableMiscue not working #2867

Open
@gl894761214

Description

@gl894761214

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions