Docs menu
Question Types / English Basic

English Chapter Assessment Question Type

View Markdown
  • This document is for the development of the English chapter assessment question type.

Applicable Scenarios for This Question Type

  • Display a chapter of text to the respondent, then ask them to read out the content they see.
  • Evaluate the overall pronunciation accuracy, fluency, completeness, and word-level accuracy.
  • Real-time result return can be enabled in the evaluation parameters.

Question Type Limitations

  • The sent audio duration cannot exceed 300 seconds, and the reference text cannot exceed 10,000 characters.

Question Type Parameters

FieldTypeDefault ValueDescription
modestringRequiredchapter represents the chapter assessment question type
chapter_kids for the child model chapter evaluation
refTextstringRequiredReference text for scoring, no more than 10,000 characters
The reference text supports the English special annotation format
phonemesbooleanfalseWhether to return phoneme information
enable_fluency_dictbooleanfalseWhether to return the outermost fluency field as a dict type
realtime_fullbooleanfalseWhether to fully return real-time results
rhythmbooleanfalseWhether to return rhythm scoring
pronunciationlist<dict>Specify word pronunciationsNone
dict_typestringIPA88Sets the type of phonetic transcription returned. Options are CMU/KK/IPA88, with IPA88 as the default.
├─ ipabooleantrue for KK or DJ(15 version)/IPA(88) phoneme scheme
false for DolphinAI phoneme scheme
false
├─ textstringSpecified wordNone
├─ phonemesstringPronunciation of the specified word
If multiple pronunciations are specified, separate them with a vertical bar `
`None

Example:

{
  "mode":"chapter", 
  "refText":"I believe there is a person who brings sunshine into your life. That person may have enough to spread around."
}

Evaluation Results

FieldTypeDescription
taskIdstringTask ID
timestampintegerTask timestamp
audioUrlstringAudio URL (returned only when audioUrl=true in question type parameters)

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 parameters object
audioInfodictAudio quality information object
refTextstringReference text
hypothesisstringActual text read
overalldoubleOverall score (range determined by scoring scale)
fluencydouble/dictFluency score (range determined by scoring scale) (The type of this return field is controlled by the enable_fluency_dict parameter)
├─ overalldoubleFluency score (range determined by scoring scale)
├─ pauseintegerNumber of pauses
├─ speedintegerSpeech rate (0: slow, 1: normal, 2: fast)
accuracydoubleAccuracy (range determined by scoring scale)
integritydoubleCompleteness (range determined by scoring scale)
rhythmdictrhythm scoring object
├─ overalldoubleOverall rhythm score (range determined by scoring scale)
├─ stressdoubleStress score (range determined by scoring scale)
├─ tonedoubleTone score (range determined by scoring scale)
├─ sensedoubleSense group pause score (range determined by scoring scale)
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)
sentenceInfolist<dict>Array of sentence information objects (see below)

sentenceInfo (Sentence Information) Field

FieldTypeDescription
refTextstringReference text
hypothesisstringActual text read
scoredoubleSentence overall score (range determined by scoring scale)
startTimeintegerThe position where the start of the read in a recording (ms)
endTimeintegerThe position where the end of the read in a recording (ms)
rhythmdictrhythm scoring object
├─ overalldoubleOverall rhythm score (range determined by scoring scale)
├─ stressdoubleStress score (range determined by scoring scale)
├─ tonedoubleTone score (range determined by scoring scale)
├─ sensedoubleSense group pause score (range determined by scoring scale)
fluencydictFluency scoring object
├─ overalldoubleFluency score (range determined by scoring scale)
├─ pauseintegerNumber of pauses
├─ speedintegerSpeech rate (0: slow, 1: normal, 2: fast)
wordInfolist<dict>Array of word information objects (see below)

wordInfo (Word Information) Field

FieldTypeDescription
refTextstringReference text
hypothesisstringActual text read
scoredoubleWord overall score (range determined by scoring scale)
startTimeintegerThe position where the start of the read in a recording (ms)
endTimeintegerThe position where the end of the read in a recording (ms)
typestringPhoneme Pronunciation Types:
① Normal Reading: normal
② Skipped Reading: delete
③ Repeated Reading: repeat</a>
rhythmdictWord rhythm information object
├─ stressRefintegerWord stress label (1 means stressed, 0 means unstressed/not checked)
├─ stressScoreintegerWord stress score (1 means actual matches label, 0 means actual does not match label/not checked)
├─ toneRefintegerWord tone label (1 means rising tone, 0 means no rising tone/not checked)
├─ toneScoreintegerWord tone score (1 means actual matches label, 0 means actual does not match label/not checked)
├─ senseRefintegerWord sense group pause label (1 means pause, 0 means no pause/not checked)
├─ senseScoreintegerWord sense group pause score (1 means actual matches label, 0 means actual does not match label/not checked)
├─ liaisonRefintegerWord liaison/missed plosion label, determined by the engine based on the text of this word and the next. 0 means no liaison or missed plosion is required. 1 means liaison or missed plosion is required.
├─ liaisonScoreintegerWord liaison or missed plosion score. 0 means no liaison or missed plosion occurred. 1 means liaison or missed plosion occurred.
fakePronintegerWhether the pronunciation is automatically predicted by the system
0: Word in system library
1: Word not in system library, pronunciation predicted automatically
2: Word not in system library and cannot be predicted automatically (type==oov)
startIndexintegerIndex of the first letter of the word in refText, starting from 0
endIndexintegerIndex of the last letter of the word in refText, starting from 0
syllableslist<dict>Array of syllable information objects
(Returned only when phonemes=true in question type parameters)
├─ syllablestringAlways empty
├─ scoredoubleAlways 0
├─ stressRefintegerAlways 0
├─ stressScoreintegerAlways 0
├─ startTimeintegerAlways 0
├─ endTimeintegerAlways 0
├─├─ phonemeslist<dict>Array of phoneme information objects, phonemes represented using the DolphinAI scheme
(Returned only when phonemes=true in question type parameters)
├─├─ 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 scale)
├─├─ phidstringPosition of the letter in the word phonemes, e.g. 1_2
├─├─ ph2alphastringOriginal letter information corresponding to the phoneme
├─├─ startTimeintegerStart time (ms)
├─├─ endTimeintegerEnd time (ms)

Real-time Results

FieldTypeDescription
taskIdstringTask ID
timestampintegerTask timestamp
hypothesisstringText read so far
wordInfolistWord information object
├─ indexintegerWord index in params.refText
├─ startIndexintegerIndicates the index of the first letter of the word in refText, with indices starting from 0
├─ endIndexintegerIndicates the index of the last letter of the word in refText, with indices starting from 0
├─ refTextstringReference text
├─ scoredoubleWord score
├─ typestringWord type
├─ fakePronintegerWhether the pronunciation is automatically predicted by the system
0: Word in system library
1: Word not in system library, pronunciation predicted automatically
2: Word not in system library and cannot be predicted automatically (type==oov)