PronunciationAssessmentResult class

Pronunciation assessment results.

Properties

accuracyScore

The score indicating the pronunciation accuracy of the given speech, which indicates how closely the phonemes match a native speaker's pronunciation.

completenessScore

The score indicating the completeness of the given speech by calculating the ratio of pronounced words towards entire input.

contentAssessmentResult

The concent assessment result. Only available when content assessment is enabled.

detailResult

Gets the detail result of pronunciation assessment.

fluencyScore

The score indicating the fluency of the given speech.

pronunciationScore

The overall score indicating the pronunciation quality of the given speech. This is calculated from AccuracyScore, FluencyScore and CompletenessScore with weight.

prosodyScore

The prosody score, which indicates how nature of the given speech, including stress, intonation, speaking speed and rhythm.

Methods

fromResult(RecognitionResult)

Property Details

accuracyScore

The score indicating the pronunciation accuracy of the given speech, which indicates how closely the phonemes match a native speaker's pronunciation.

number accuracyScore

Property Value

number

Accuracy score.

completenessScore

The score indicating the completeness of the given speech by calculating the ratio of pronounced words towards entire input.

number completenessScore

Property Value

number

Completeness score.

contentAssessmentResult

The concent assessment result. Only available when content assessment is enabled.

ContentAssessmentResult contentAssessmentResult

Property Value

ContentAssessmentResult

Content assessment result.

detailResult

Gets the detail result of pronunciation assessment.

DetailResult detailResult

Property Value

DetailResult

detail result.

fluencyScore

The score indicating the fluency of the given speech.

number fluencyScore

Property Value

number

Fluency score.

pronunciationScore

The overall score indicating the pronunciation quality of the given speech. This is calculated from AccuracyScore, FluencyScore and CompletenessScore with weight.

number pronunciationScore

Property Value

number

Pronunciation score.

prosodyScore

The prosody score, which indicates how nature of the given speech, including stress, intonation, speaking speed and rhythm.

number prosodyScore

Property Value

number

Prosody score.

Method Details

fromResult(RecognitionResult)

static function fromResult(result: RecognitionResult): PronunciationAssessmentResult

Parameters

result
RecognitionResult

The recognition result.

Returns

Instance of PronunciationAssessmentConfig