Class PronunciationAssessmentResult


  • public final class PronunciationAssessmentResult
    extends Object
    Represents the result of pronunciation assessment. Added in version 1.14.0
    • Method Detail

      • fromResult

        public static PronunciationAssessmentResult fromResult​(SpeechRecognitionResult speechRecognitionResult)
        Creates an instance of the PronunciationAssessmentResult from a speech recognition result
        Parameters:
        speechRecognitionResult - Specifies the speech recognition result
        Returns:
        The PronunciationAssessmentResult being created.
      • getAccuracyScore

        public Double getAccuracyScore()
        Gets the pronunciation accuracy of the given speech, which indicates how closely the phonemes match a native speaker's pronunciation
        Returns:
        The accuracy score
      • getPronunciationScore

        public Double getPronunciationScore()
        Gets the overall score indicating the pronunciation quality of the given speech. This is calculated from AccuracyScore, FluencyScore and CompletenessScore with weight.
        Returns:
        The pronunciation score.
      • getCompletenessScore

        public Double getCompletenessScore()
        Gets the score indicating the completeness of the given speech by calculating the ratio of pronounced words towards entire input.
        Returns:
        The completeness score.
      • getFluencyScore

        public Double getFluencyScore()
        Gets the score indicating the fluency of the given speech.
        Returns:
        The fluency score.
      • getProsodyScore

        public Double getProsodyScore()
        Gets the score indicating the prosody quality of the given speech. Only available when prosody assessment is enabled.
        Returns:
        The prosody score.
      • getContentAssessmentResult

        public ContentAssessmentResult getContentAssessmentResult()
        Gets the content assessment result. Only available when content assessment is enabled.
        Returns:
        The content assessment result.