Docs menu
Question Types / English Basic

English Sentence Correction Test Type

View Markdown
  • This document is for the development of the English sentence correction test type.

Applicable Scenarios

  • Display a sentence to the respondent and then ask them to read aloud the content they see.
  • Assess overall pronunciation accuracy, completeness, fluency, rhythm score, word-level accuracy, rhythm score, and type (correct/extra/omitted/misread).

Question Type Limitations

  • The audio sent must not exceed 40 seconds, and the reference text must not exceed 300 characters.

Question Type Parameters

FieldTypeDefault ValueDescription
modestringRequiredsentencecheck for the sentence correction test type
refTextstringRequiredReference text for scoring, not exceeding 300 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": "sentencecheck",
  "refText": "Hi there."
}

Evaluation Results

FieldTypeDescription
taskIdstringTask ID
timestampintegerTask timestamp
audioUrlstringAudio URL (this field is returned only when the test type parameter 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 (range determined by scoring system)
fluencydictFluency score object
├─ overalldoubleFluency score (range determined by scoring system)
├─ pauseintegerNumber of pauses
├─ speedintegerSpeed (0: slow, 1: normal, 2: fast)
accuracydoubleAccuracy (range determined by scoring system)
integritydoubleCompleteness (range determined by scoring system)
rhythmdictRhythm score object
├─ overalldoubleOverall rhythm score (range determined by scoring system)
├─ stressdoubleStress score (range determined by scoring system)
├─ tonedoubleTone score (range determined by scoring system)
├─ sensedoubleSense group pause score (range determined by scoring system)
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 word score (range determined by scoring system)
fluencydoubleWord fluency (range determined by scoring system)
accuracydoubleWord accuracy (range determined by scoring system)
integritydoubleWord completeness (range determined by scoring system)
rhythmdictWord rhythm information object (When the type is insert, this field is not returned.)
├─ stressRefintegerWord stress label (1 indicates stress should be applied, 0 indicates stress should not be applied/not checked)
├─ stressScoreintegerWord stress score (1 indicates actual matches label, 0 indicates actual does not match label/not checked)
├─ toneRefintegerWord rising tone label (1 indicates rising tone should be applied, 0 indicates it should not be/not checked)
├─ toneScoreintegerWord rising tone score (1 indicates actual matches label, 0 indicates actual does not match label/not checked)
├─ senseRefintegerWord sense group pause label (1 indicates a pause should be applied, 0 indicates it should not be/not checked)
├─ senseScoreintegerWord sense group pause score (1 indicates actual matches label, 0 indicates actual does not match label/not checked)
├─ liaisonRefintegerWord liaison label (1 indicates liaison with the next word should occur, 0 indicates it should not/not checked)
├─ liaisonScoreintegerWord liaison score (1 indicates actual matches label, 0 indicates 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: The word is in the system library
1: The word is not in the system library, pronunciation is predicted by the system
2: The word is not in the system library and cannot be automatically predicted (type==oov)
syllableslist<dict>Array of syllable information objects (When the type is insert, this field is not returned.)
├─ syllablestringAlways empty
├─ scoredoubleAlways 0
├─ phonemeslist<dict>Array of phoneme information objects, phonemes represented using DolphinAI scheme
├─├─ phonemestringPhoneme
When word type is insert/oov, this field is empty; when word type is normal/replace/delete, this field contains the standard pronunciation
├─├─ 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)
When word type is not normal, this score is 0
startTimeintegerStart time (ms)
endTimeintegerEnd time (ms)
startIndexintegerIndex of the first letter of the word in refText, starting from 0 (When the type is insert, this field is not returned.)
endIndexintegerIndex of the last letter of the word in refText, starting from 0 (When the type is insert, this field is not returned.)