PronunciationAssessmentConfig class

Pronunciation assessment configuration.

Constructors

PronunciationAssessmentConfig(string, PronunciationAssessmentGradingSystem, PronunciationAssessmentGranularity, boolean)

PronunciationAssessmentConfig constructor.

Properties

properties
referenceText

Gets the reference text. Gets/Sets the reference text.

Methods

applyTo(Recognizer)
fromJSON(string)
toJSON()

Constructor Details

PronunciationAssessmentConfig(string, PronunciationAssessmentGradingSystem, PronunciationAssessmentGranularity, boolean)

PronunciationAssessmentConfig constructor.

new PronunciationAssessmentConfig(referenceText: string, gradingSystem?: PronunciationAssessmentGradingSystem, granularity?: PronunciationAssessmentGranularity, enableMiscue?: boolean)

Parameters

referenceText

string

enableMiscue

boolean

Property Details

properties

PropertyCollection properties

Property Value

Properties of the config.

referenceText

Gets the reference text. Gets/Sets the reference text.

string referenceText

Property Value

string

Reference text.

Method Details

applyTo(Recognizer)

function applyTo(recognizer: Recognizer)

Parameters

recognizer
Recognizer

fromJSON(string)

static function fromJSON(json: string)

Parameters

json

string

The json string containing the pronunciation assessment parameters.

Returns

Instance of PronunciationAssessmentConfig

toJSON()

function toJSON()

Returns

string