Docs menu
Question Types / English Advanced

English Recitation Evaluation Type

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

Applicable Scenarios

  • Ask respondents to recite specified content from memory.
  • The evaluation focuses on the degree of match with the reference answer and fluency.
  • The option to enable real-time result return can be set in the evaluation parameters.

Question Type Limitations

  • The maximum length of the audio sent should not exceed 600 seconds, and there is no character limit for the reference text.

Question Type Parameters

FieldTypeDefault ValueDescription
modestringRequiredIndicates the recitation evaluation type.
refTextstringRequiredReference answer.
realtime_fullbooleanfalseWhether to return real-time results in full.
phonemesbooleanfalseWhether to return phoneme information
accentint3Specifies British and American pronunciation, the values ​​are 1, 2, 3, the default is 3;
1: British pronunciation
2: American pronunciation
3: No distinction
pronunciationlist<dict>Specify word pronunciationsNone
├─ ipabooleanSpecifies the KK or DJ(15th edition)/IPA(88) phonetic scheme if true; if false, the DolphinAI phonetic scheme is used.false
├─ textstringSpecified wordNone
├─ phonemesstringPronunciation of specified words. Separate multiple pronunciations with a vertical line ``.None

Example:

{
    "mode": "recite",
    "refText": "You may not be able to control the times, but you can compose your response. You can turn your pain into provanity or into poetry. The choice is up to you.",
}

Evaluation Results

FieldTypeDescription
taskIdstringTask ID
timestampintegerTask timestamp
audioUrlstringAudio address (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 parameters object
audioInfodictAudio quality information object
refTextstringReference text
hypothesisstringActual text content read
overalldoubleTotal score (range determined by scoring system)
fluencydoubleFluency score object
├─ overalldoubleFluency score (range determined by scoring system)
├─ pauseintegerNumber of pauses
├─ speedintegerSpeaking speed (0: slow, 1: normal, 2: fast)
accuracydoubleAccuracy (range determined by scoring system)
integritydoubleIntegrity (range determined by scoring system)
rhythmdictRhythm score object
├─ overalldoubleRhythm overall score (range determined by scoring system)
├─ stressdoubleStress score (range determined by scoring system)
├─ tonedoubleTone score (range determined by scoring system)
├─ sensedoubleSense 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>Word information object array

wordInfo (Word Information) Fields

FieldTypeDescription
refTextstringReference text
hypothesisstringActual text content read
scoredoubleWord score (range determined by scoring system)
fluencydoubleWord fluency (range determined by scoring system)
accuracydoubleWord accuracy (range determined by scoring system)
integritydoubleWord integrity (range determined by scoring system)
rhythmdictWord rhythm information object
├─ stressRefintegerWord stress label (1: should be stressed, 0: should not be stressed/not checked)
├─ stressScoreintegerWord stress score (1: actual matches label, 0: actual does not match label/not checked)
├─ toneRefintegerWord rising tone label (1: should rise, 0: should not rise/not checked)
├─ toneScoreintegerWord rising tone score (1: actual matches label, 0: actual does not match label/not checked)
├─ senseRefintegerWord sense pause label (1: should pause, 0: should not pause/not checked)
├─ senseScoreintegerWord sense pause score (1: actual matches label, 0: actual does not match label/not checked)
├─ liaisonRefintegerWord liaison label (1: should link with next word, 0: should not link/not checked)
├─ liaisonScoreintegerWord liaison score (1: actual matches label, 0: actual does not match label/not checked)
typestringPhoneme Pronunciation Types:
① Normal Reading: normal
② Skipped Reading: delete
③ Repeated Reading: repeat</a>
fakePronintegerWhether it's an automatically predicted pronunciation
0: word is in the system library
1: word is not in the system library, predicted by the system
2: word is not in the system library and cannot be predicted (type==oov)
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
startTimeintegerStart time (ms)
endTimeintegerEnd time (ms)

Real-Time Results

FieldTypeDescription
taskIdstringTask ID
timestampintegerTask timestamp
hypothesisstringText content read so far
wordInfolist<dict>Array of word information objects
├─ 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 it's an automatically predicted pronunciation
0: word is in the system library
1: word is not in the system library, predicted by the system
2: word is not in the system library and cannot be predicted (type==oov)