onst speechConfig = getSpeechConfig(SpeechSDK.SpeechConfig);

            const speechRecognizer = new SpeechSDK.SpeechRecognizer(speechConfig, audioConfig);

            // Create pronunciation assessment config, set grading system, granularity and if enable miscue based on your requirement.
            const pronunciationConfig = new SpeechSDK.PronunciationAssessmentConfig(
                referenceText,
                SpeechSDK.PronunciationAssessmentGradingSystem.HundredMark,
                SpeechSDK.