Docs menu
Question Types / English Basic

English Word Evaluation Test Type

View Markdown
  • This document is for the development of the English word evaluation test type.

Applicable Scenarios

  • Display a word (or phrase) to the respondent and then ask them to read aloud the content they see.
  • Evaluate overall pronunciation accuracy, fluency, completeness, as well as word and phoneme-level accuracy.
  • Provides two evaluation models: general and for children.

Question Type Limitations

  • The audio sent must not exceed 20 seconds, and the reference text must not exceed 100 characters.

Question Type Parameters

FieldTypeDefault ValueDescription
modestringRequiredword for the general model word evaluation
word_kids for the child model word evaluation
refTextstringRequiredScoring reference text, supports words/phrases, not exceeding 100 characters
The reference text supports special English annotation formats
dict_typestringIPA88Sets the type of phonetic transcription returned. Options are CMU/KK/IPA88, with IPA88 as the default.
pronunciationlist<dict>Specify word pronunciationsNone
├─ ipabooleantrue for KK or DJ (15th edition)/IPA (88) phonetic schemes
false for DolphinAI phonetic scheme
false
├─ textstringSpecified wordNone
├─ phonemesstringPronunciation of specified words
When specifying multiple pronunciations, use `
` to separateNone

Example:

{
  "mode": "word",
  "refText": "good morning"
}

Evaluation Results

FieldTypeDescription
taskIdstringTask ID
timestampintegerTask timestamp
audioUrlstringAudio URL (returned only when audioUrl=true is set)

Note:
Audio is retained for 30 days by default, it is recommended to download it to your server for long-term preservation
paramsdictConnection and request parameter object
audioInfodictAudio quality information object
refTextstringReference text
hypothesisstringActual text content read
overalldoubleTotal score
accuracydoubleAccuracy
fluencydictFluency score object
├─ overalldouble/integerFluency score (range depends on the scoring system)
├─ pauseintegerNumber of pauses
├─ speedintegerSpeech speed (0: slow, 1: normal, 2: fast)
stressdoublethe pronunciation of stressed syllables. 100 indicates correct stressed syllables, 0 indicates incorrect stressed syllables. If there are multiple words, take the average value.
waveTimeintegerActual recording duration (ms)
startTimeintegerThe position where the start of the read in a recording (ms)
endTimeintegerThe position where the end of the read in a recording (ms)
wordInfolist<dict>Array of word information objects (see below)

wordInfo (Word Information) Field

FieldTypeDescription
refTextstringReference text
hypothesisstringActual text content read
scoredoubleTotal score for the word (range determined by scoring system)
accuracydoubleWord accuracy (range determined by scoring system)
rhythmdictWord rhythm information object
├─ stressRefintegerStress label for the word (1 means stress should be applied, 0 means no stress should be applied/not checked)
├─ stressScoreintegerStress score for the word (1 means actual matches label, 0 means actual does not match label/not checked)
typestringPhoneme Pronunciation Types:
① Normal Reading: normal
② Skipped Reading: delete
③ Repeated Reading: repeat</a>
fakePronintegerWhether it is an automatically predicted pronunciation by the system
0: Word is in the system's library
1: Word is not in the system's library, pronunciation is predicted automatically by the system
2: Word is not in the system's library and cannot be automatically predicted (type==oov)
startTimeintegerStart time (ms)
endTimeintegerEnd time (ms)
startIndexintegerIndicates the index of the first letter of the word in refText, starting from 0
endIndexintegerIndicates the index of the last letter of the word in refText, starting from 0
syllableslist<dict>Array of syllable information objects, phonetic symbols are represented using the DolphinAI scheme
├─ syllablestringThe phonetic composition of the syllable. Phonemes are separated by underscores, e.g., g_uh_d
├─ scoredoubleSyllable score (range determined by scoring system)
├─ stressRefintegerSyllable stress label (1 means stress should be applied, 0 means no stress should be applied)
├─ stressScoreintegerSyllable stress score (1 means actual matches label, 0 means actual does not match label)
├─ startTimeintegerStart time (ms)
├─ endTimeintegerEnd time (ms)
├─ phonemeslist<dict>Array of phoneme information objects, phonetic symbols are represented using the DolphinAI scheme
├─├─ phonemestringPhoneme
├─├─ hypothesisstringActual phoneme read
├─├─ pronstringCMU/KK/IPA88 phonemes. By default, IPA88 phonetic symbols are returned. If KK is required, you need to set dict_type accordingly.
├─├─ scoredoublePhoneme score (range determined by scoring system)
├─├─ phidstringPosition of the letter in the word's phonemes, e.g.1_2
├─├─ ph2alphastringOriginal letter information corresponding to the phoneme
├─├─ startTimeintegerStart time (ms)
├─├─ endTimeintegerEnd time (ms)