Dela via


Class SPXPronunciationAssessmentResult

Declaration

@class SPXPronunciationAssessmentResult : NSObject;

Description

Represents pronunciation assessment result Added in version 1.14.0

Methods

init:

Initializes an SPXPronunciationAssessmentResult object using SPXSpeechRecognitionResult.

- (instancetype _Nullable)init:(SPXSpeechRecognitionResult * _Nonnull)speechRecognitionResult

Parameters

  • speechRecognitionResult - the speech recognition result

Returns

an instance of auto detection source language result.

Properties

accuracyScore

@property (readonly, atomic) double accuracyScore;

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

pronunciationScore

@property (readonly, atomic) double pronunciationScore;

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

completenessScore

@property (readonly, atomic) double completenessScore;

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

fluencyScore

@property (readonly, atomic) double fluencyScore;

The score indicating the fluency of the given speech.

prosodyScore

@property (readonly, atomic) double prosodyScore;

The prosody score.

contentAssessmentResult

@property (readwrite, retain, nonatomic) SPXContentAssessmentResult * _Nullable contentAssessmentResult;

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

words

@property (readwrite, retain, nonatomic) NSArray<SPXWordLevelTimingResult *> * _Nullable words;

Word level pronunciation assessment results.

Added in version 1.21.0