PronunciationAssessmentConfig class

Konfigurasi penilaian pengucapan.

Konstruktor

PronunciationAssessmentConfig(string, PronunciationAssessmentGradingSystem, PronunciationAssessmentGranularity, boolean)

Konstruktor PronunciationAssessmentConfig.

Properti

enableMiscue

Mendapatkan properti boolean enableMiscue. Ditambahkan dalam versi 1.26.0

enableProsodyAssessment

Mengaktifkan penilaian prosody. Ditambahkan dalam versi 1.34.0

nbestPhonemeCount

Mengatur jumlah fonem nbest Ditambahkan dalam versi 1.20.0

phonemeAlphabet

Mengatur alfabet fonem. Nilai yang valid adalah "SAPI" (default) dan "IPA". Ditambahkan dalam versi 1.20.0

properties
referenceText

Mendapatkan teks referensi.

Metode

applyTo(Recognizer)
enableContentAssessmentWithTopic(string)

Mengaktifkan penilaian konten dan mengatur topik. Ditambahkan dalam versi 1.34.0

fromJSON(string)
toJSON()

Detail Konstruktor

PronunciationAssessmentConfig(string, PronunciationAssessmentGradingSystem, PronunciationAssessmentGranularity, boolean)

Konstruktor PronunciationAssessmentConfig.

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

Parameter

referenceText

string

enableMiscue

boolean

Detail Properti

enableMiscue

Mendapatkan properti boolean enableMiscue. Ditambahkan dalam versi 1.26.0

boolean enableMiscue

Nilai Properti

boolean

enableMiscue - aktifkan kesalahan.

enableProsodyAssessment

Mengaktifkan penilaian prosody. Ditambahkan dalam versi 1.34.0

void enableProsodyAssessment

Nilai Properti

void

nbestPhonemeCount

Mengatur jumlah fonem nbest Ditambahkan dalam versi 1.20.0

void nbestPhonemeCount

Nilai Properti

void

phonemeAlphabet

Mengatur alfabet fonem. Nilai yang valid adalah "SAPI" (default) dan "IPA". Ditambahkan dalam versi 1.20.0

void phonemeAlphabet

Nilai Properti

void

properties

PropertyCollection properties

Nilai Properti

Properti konfigurasi.

referenceText

Mendapatkan teks referensi.

string referenceText

Nilai Properti

string

Teks referensi.

Detail Metode

applyTo(Recognizer)

function applyTo(recognizer: Recognizer)

Parameter

recognizer
Recognizer

enableContentAssessmentWithTopic(string)

Mengaktifkan penilaian konten dan mengatur topik. Ditambahkan dalam versi 1.34.0

function enableContentAssessmentWithTopic(topic: string)

Parameter

topic

string

Topik untuk penilaian konten.

fromJSON(string)

static function fromJSON(json: string): PronunciationAssessmentConfig

Parameter

json

string

String json yang berisi parameter penilaian pengucapan.

Mengembalikan

Contoh PronunciationAssessmentConfig

toJSON()

function toJSON(): string

Mengembalikan

string