Thank you @traviswilson @Ramr-msft !
Yes, can you help me change the configuration of "RecognizeOnce" with a larger duration? We were successfully able to implement the "StartContinuous" method, but it gave us the pronunciation assessment for each individual chunk. And we are looking to have the score for the entire file at once, instead of us having additional logic (which would be a non-standard weighted average of the individual chunks.
Hope that makes sense.
Audio File: https://drive.google.com/file/d/18JUyjgPxyzV6yyan3Ahz49s80ktoG4iK/view?usp=sharing
Below is my Python code:
audio_input = speechsdk.AudioConfig(filename=folder + file_name)
pronunciation_assessment_config = speechsdk.PronunciationAssessmentConfig(reference_text="Actual Text spoken in the audio file",
grading_system=speechsdk.PronunciationAssessmentGradingSystem.HundredMark,
granularity=speechsdk.PronunciationAssessmentGranularity.Phoneme)
speech_recognizer = speechsdk.SpeechRecognizer(speech_config=speech_config, audio_config=audio_input)
pronunciation_assessment_config.apply_to(speech_recognizer)
result = speech_recognizer.recognize_once()
Best,
Sarthak