- 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
| Field | Type | Default Value | Description | |
|---|---|---|---|---|
| mode | string | Required | word for the general model word evaluation word_kids for the child model word evaluation | |
| refText | string | Required | Scoring reference text, supports words/phrases, not exceeding 100 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": "word",
"refText": "good morning"
}Evaluation Results
| Field | Type | Description |
|---|---|---|
| taskId | string | Task ID |
| timestamp | integer | Task timestamp |
| audioUrl | string | Audio 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 |
| 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 |
| accuracy | double | Accuracy |
| fluency | dict | Fluency score object |
| ├─ overall | double/integer | Fluency score (range depends on the scoring system) |
| ├─ pause | integer | Number of pauses |
| ├─ speed | integer | Speech speed (0: slow, 1: normal, 2: fast) |
| stress | double | the pronunciation of stressed syllables. 100 indicates correct stressed syllables, 0 indicates incorrect stressed syllables. If there are multiple words, take the average value. |
| 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 score for the word (range determined by scoring system) |
| accuracy | double | Word accuracy (range determined by scoring system) |
| rhythm | dict | Word rhythm information object |
| ├─ stressRef | integer | Stress label for the word (1 means stress should be applied, 0 means no stress should be applied/not checked) |
| ├─ stressScore | integer | Stress score for the word (1 means actual matches label, 0 means 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: 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) |
| startTime | integer | Start time (ms) |
| endTime | integer | End time (ms) |
| startIndex | integer | Indicates the index of the first letter of the word in refText, starting from 0 |
| endIndex | integer | Indicates the index of the last letter of the word in refText, starting from 0 |
| syllables | list<dict> | Array of syllable information objects, phonetic symbols are represented using the DolphinAI scheme |
| ├─ syllable | string | The phonetic composition of the syllable. Phonemes are separated by underscores, e.g., g_uh_d |
| ├─ score | double | Syllable score (range determined by scoring system) |
| ├─ stressRef | integer | Syllable stress label (1 means stress should be applied, 0 means no stress should be applied) |
| ├─ stressScore | integer | Syllable stress score (1 means actual matches label, 0 means actual does not match label) |
| ├─ startTime | integer | Start time (ms) |
| ├─ endTime | integer | End time (ms) |
| ├─ phonemes | list<dict> | Array of phoneme information objects, phonetic symbols are represented using the DolphinAI scheme |
| ├─├─ phoneme | string | Phoneme |
| ├─├─ hypothesis | string | Actual phoneme read |
| ├─├─ 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) |
| ├─├─ phid | string | Position of the letter in the word's phonemes, e.g.1_2 |
| ├─├─ ph2alpha | string | Original letter information corresponding to the phoneme |
| ├─├─ startTime | integer | Start time (ms) |
| ├─├─ endTime | integer | End time (ms) |