PronunciationAssessmentConfig Constructor

Definition

Creates an instance of the PronunciationAssessmentConfig.

public PronunciationAssessmentConfig (string referenceText, Microsoft.CognitiveServices.Speech.PronunciationAssessment.GradingSystem gradingSystem = Microsoft.CognitiveServices.Speech.PronunciationAssessment.GradingSystem.FivePoint, Microsoft.CognitiveServices.Speech.PronunciationAssessment.Granularity granularity = Microsoft.CognitiveServices.Speech.PronunciationAssessment.Granularity.Phoneme, bool enableMiscue = false);
new Microsoft.CognitiveServices.Speech.PronunciationAssessment.PronunciationAssessmentConfig : string * Microsoft.CognitiveServices.Speech.PronunciationAssessment.GradingSystem * Microsoft.CognitiveServices.Speech.PronunciationAssessment.Granularity * bool -> Microsoft.CognitiveServices.Speech.PronunciationAssessment.PronunciationAssessmentConfig
Public Sub New (referenceText As String, Optional gradingSystem As GradingSystem = Microsoft.CognitiveServices.Speech.PronunciationAssessment.GradingSystem.FivePoint, Optional granularity As Granularity = Microsoft.CognitiveServices.Speech.PronunciationAssessment.Granularity.Phoneme, Optional enableMiscue As Boolean = false)

Parameters

referenceText
String

The reference text to evaluate against

gradingSystem
GradingSystem

The point system for score calibration

granularity
Granularity

The evaluation granularity

enableMiscue
Boolean

Miscue option. When true, the pronounced words are compared to the reference text, and are marked with omission/insertion based on the comparison; when false, the recognized text will always be reference text.

Remarks

See also: Pronunciation assessment

Applies to