class PronunciationAssessmentResult

Class for pronunciation assessment results.

Members

AccuracyScore

Syntax: public const double AccuracyScore;

The score indicating the pronunciation accuracy of the given speech, which indicates how closely the phonemes match a native speaker's pronunciation. If this is less 0, it means the pronunciation assessment failed.

PronunciationScore

Syntax: public const double PronunciationScore;

The overall score indicating the pronunciation quality of the given speech. This is calculated from AccuracyScore, FluencyScore and CompletenessScore with weight. If this is less 0, it means the pronunciation assessment failed.

CompletenessScore

Syntax: public const double CompletenessScore;

The score indicating the completeness of the given speech by calculating the ratio of pronounced words towards entire input. If this is less 0, it means the pronunciation assessment failed.

FluencyScore

Syntax: public const double FluencyScore;

The score indicating the fluency of the given speech. If this is less 0, it means the pronunciation assessment failed.

ProsodyScore

Syntax: public const double ProsodyScore;

The score indicating the prosody of the given speech. If this is less 0, it means the prosody assessment is not enabled.

ContentAssessmentResult

Syntax: public std::shared_ptr< PronunciationContentAssessmentResult > ContentAssessmentResult;

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

FromResult

Syntax: public inline static std::shared_ptr< PronunciationAssessmentResult > FromResult ( std::shared_ptr< RecognitionResult > result );

Creates a pronunciation assessment result object from recognition result If nullptr is returned, it means the assessment is failed.

Parameters

  • result recognition result

Returns

A shared pointer to the created PronunciationAssessmentResult instance.