- 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
| Field | Type | Default Value | Description | |
|---|---|---|---|---|
| mode | string | Required | sentencecheck for the sentence correction test type | |
| refText | string | Required | Reference text for scoring, not exceeding 300 characters The reference text supports special English annotation formats | |
| dict_type | string | IPA88 | Sets the type of phonetic transcription returned. Options are CMU/KK/IPA88, with IPA88 as the default. | |
| pronunciation | list<dict> | Specify word pronunciations | None | |
| ├─ ipa | boolean | true for KK or DJ (15th edition) / IPA (88) phonetic schemes false for DolphinAI phonetic scheme | false | |
| ├─ text | string | Specified word | None | |
| ├─ phonemes | string | Pronunciation of specified words When specifying multiple pronunciations, use ` | ` to separate | None |
Example:
{
"mode": "sentencecheck",
"refText": "Hi there."
}Evaluation Results
| Field | Type | Description | |
|---|---|---|---|
| taskId | string | Task ID | |
| timestamp | integer | Task timestamp | |
| audioUrl | string | Audio 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 | |
| params | dict | Connection and request parameter object | |
| audioInfo | dict | Audio quality information object | |
| refText | string | Reference text | |
| hypothesis | string | Actual text content read | |
| overall | double | Total score (range determined by scoring system) | |
| fluency | dict | Fluency score object | |
| ├─ overall | double | Fluency score (range determined by scoring system) | |
| ├─ pause | integer | Number of pauses | |
| ├─ speed | integer | Speed (0: slow, 1: normal, 2: fast) | |
| accuracy | double | Accuracy (range determined by scoring system) | |
| integrity | double | Completeness (range determined by scoring system) | |
| rhythm | dict | Rhythm score object | |
| ├─ overall | double | Overall rhythm score (range determined by scoring system) | |
| ├─ stress | double | Stress score (range determined by scoring system) | |
| ├─ tone | double | Tone score (range determined by scoring system) | |
| ├─ sense | double | Sense group pause score (range determined by scoring system) | |
| waveTime | integer | Actual recording duration (ms) | |
| startTime | integer | The position where the start of the read in a recording (ms) | |
| endTime | integer | The position where the end of the read in a recording (ms) | |
| wordInfo | list<dict> | Array of word information objects (see below) |
wordInfo (Word Information) Field
| Field | Type | Description |
|---|---|---|
| refText | string | Reference text |
| hypothesis | string | Actual text content read |
| score | double | Total word score (range determined by scoring system) |
| fluency | double | Word fluency (range determined by scoring system) |
| accuracy | double | Word accuracy (range determined by scoring system) |
| integrity | double | Word completeness (range determined by scoring system) |
| rhythm | dict | Word rhythm information object (When the type is insert, this field is not returned.) |
| ├─ stressRef | integer | Word stress label (1 indicates stress should be applied, 0 indicates stress should not be applied/not checked) |
| ├─ stressScore | integer | Word stress score (1 indicates actual matches label, 0 indicates actual does not match label/not checked) |
| ├─ toneRef | integer | Word rising tone label (1 indicates rising tone should be applied, 0 indicates it should not be/not checked) |
| ├─ toneScore | integer | Word rising tone score (1 indicates actual matches label, 0 indicates actual does not match label/not checked) |
| ├─ senseRef | integer | Word sense group pause label (1 indicates a pause should be applied, 0 indicates it should not be/not checked) |
| ├─ senseScore | integer | Word sense group pause score (1 indicates actual matches label, 0 indicates actual does not match label/not checked) |
| ├─ liaisonRef | integer | Word liaison label (1 indicates liaison with the next word should occur, 0 indicates it should not/not checked) |
| ├─ liaisonScore | integer | Word liaison score (1 indicates actual matches label, 0 indicates actual does not match label/not checked) |
| type | string | Phoneme Pronunciation Types: ① Normal Reading: normal ② Skipped Reading: delete ③ Repeated Reading: repeat</a> |
| fakePron | integer | Whether 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) |
| syllables | list<dict> | Array of syllable information objects (When the type is insert, this field is not returned.) |
| ├─ syllable | string | Always empty |
| ├─ score | double | Always 0 |
| ├─ phonemes | list<dict> | Array of phoneme information objects, phonemes represented using DolphinAI scheme |
| ├─├─ phoneme | string | Phoneme When word type is insert/oov, this field is empty; when word type is normal/replace/delete, this field contains the standard pronunciation |
| ├─├─ pron | string | CMU/KK/IPA88 phonemes. By default, IPA88 phonetic symbols are returned. If KK is required, you need to set dict_type accordingly. |
| ├─├─ score | double | Phoneme score (range determined by scoring system) When word type is not normal, this score is 0 |
| startTime | integer | Start time (ms) |
| endTime | integer | End time (ms) |
| startIndex | integer | Index of the first letter of the word in refText, starting from 0 (When the type is insert, this field is not returned.) |
| endIndex | integer | Index of the last letter of the word in refText, starting from 0 (When the type is insert, this field is not returned.) |