# English Chapter Assessment Question Type

> This document is for the development of the English chapter assessment question type.

Source: https://soe.dolphinvoice.ai/en/docs/mode/en-basic/chapter

- 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](https://soe.dolphinvoice.ai/en/docs/mode/common#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

| **Field** | **Type** | **Default Value** | **Description** | |
| - | - | - | - | - |
| mode | string | Required | chapter represents the chapter assessment question type<br />chapter\_kids for the child model chapter evaluation | |
| refText | string | Required | Reference text for scoring, no more than 10,000 characters<br />The reference text supports the [English special annotation format](https://soe.dolphinvoice.ai/en/docs/public/datadict/annotation-en) | |
| phonemes | boolean | false | Whether to return phoneme information | |
| enable\_fluency\_dict | boolean | false | Whether to return the outermost fluency field as a dict type | |
| realtime\_full | boolean | false | Whether to fully return real-time results | |
| rhythm | boolean | false | Whether to return rhythm scoring | |
| pronunciation | list\<dict> | Specify word pronunciations | None | |
| dict\_type | string | IPA88 | Sets the type of phonetic transcription returned. Options are CMU/KK/IPA88, with IPA88 as the default. | |
| ├─ ipa | boolean | true for KK or DJ(15 version)/IPA(88) phoneme scheme<br />false for [DolphinAI phoneme scheme](https://soe.dolphinvoice.ai/en/docs/public/datadict/phoneme) | false | |
| ├─ text | string | Specified word | None | |
| ├─ phonemes | string | Pronunciation of the specified word<br />If multiple pronunciations are specified, separate them with a vertical bar \` | \` | None |

Example:

```json
{
  "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

- [Complete JSON example](https://soe.dolphinvoice.ai/en/docs/mode/en-basic/chapter-result)

| **Field** | **Type** | **Description** |
| - | - | - |
| taskId | string | Task ID |
| timestamp | integer | Task timestamp |
| audioUrl | string | Audio URL (returned only when `audioUrl=true` in question type parameters)<br /><br />Note:<br />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 parameters object](https://soe.dolphinvoice.ai/en/docs/mode/common#params-connection-and-request-parameters-field)** |
| **audioInfo** | **dict** | **[Audio quality information object](https://soe.dolphinvoice.ai/en/docs/mode/common#audioinfo-audio-quality-information-field)** |
| refText | string | Reference text |
| hypothesis | string | Actual text read |
| overall | double | Overall score (range determined by scoring scale) |
| fluency | double/**dict** | Fluency score (range determined by scoring scale) (The type of this return field is controlled by the `enable_fluency_dict` parameter) |
| ├─ overall | double | Fluency score (range determined by scoring scale) |
| ├─ pause | integer | Number of pauses |
| ├─ speed | integer | Speech rate (0: slow, 1: normal, 2: fast) |
| accuracy | double | Accuracy (range determined by scoring scale) |
| integrity | double | Completeness (range determined by scoring scale) |
| rhythm | dict | rhythm scoring object |
| ├─ overall | double | Overall rhythm score (range determined by scoring scale) |
| ├─ stress | double | Stress score (range determined by scoring scale) |
| ├─ tone | double | Tone score (range determined by scoring scale) |
| ├─ sense | double | Sense group pause score (range determined by scoring scale) |
| 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) |
| **sentenceInfo** | **list\<dict>** | **Array of sentence information objects (see below)** |

### sentenceInfo (Sentence Information) Field

| **Field** | **Type** | **Description** |
| - | - | - |
| refText | string | Reference text |
| hypothesis | string | Actual text read |
| score | double | Sentence overall score (range determined by scoring scale) |
| 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) |
| rhythm | dict | rhythm scoring object |
| ├─ overall | double | Overall rhythm score (range determined by scoring scale) |
| ├─ stress | double | Stress score (range determined by scoring scale) |
| ├─ tone | double | Tone score (range determined by scoring scale) |
| ├─ sense | double | Sense group pause score (range determined by scoring scale) |
| **fluency** | **dict** | **Fluency scoring object** |
| ├─ overall | double | Fluency score (range determined by scoring scale) |
| ├─ pause | integer | Number of pauses |
| ├─ speed | integer | Speech rate (0: slow, 1: normal, 2: fast) |
| **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 read |
| score | double | Word overall score (range determined by scoring scale) |
| 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) |
| type | string | [Phoneme Pronunciation Types:](https://soe.dolphinvoice.ai/en/docs/public/datadict/other#characterwordphoneme-types)<br />① Normal Reading: normal<br />② Skipped Reading: delete<br />③ Repeated Reading: repeat\</a> |
| rhythm | dict | Word rhythm information object |
| ├─ stressRef | integer | Word stress label (1 means stressed, 0 means unstressed/not checked) |
| ├─ stressScore | integer | Word stress score (1 means actual matches label, 0 means actual does not match label/not checked) |
| ├─ toneRef | integer | Word tone label (1 means rising tone, 0 means no rising tone/not checked) |
| ├─ toneScore | integer | Word tone score (1 means actual matches label, 0 means actual does not match label/not checked) |
| ├─ senseRef | integer | Word sense group pause label (1 means pause, 0 means no pause/not checked) |
| ├─ senseScore | integer | Word sense group pause score (1 means actual matches label, 0 means actual does not match label/not checked) |
| ├─ liaisonRef | integer | Word 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. |
| ├─ liaisonScore | integer | Word liaison or missed plosion score. 0 means no liaison or missed plosion occurred. 1 means liaison or missed plosion occurred. |
| fakePron | integer | Whether the pronunciation is automatically predicted by the system<br />0: Word in system library<br />1: Word not in system library, pronunciation predicted automatically<br />2: Word not in system library and cannot be predicted automatically (type==oov) |
| startIndex | integer | Index of the first letter of the word in refText, starting from 0 |
| endIndex | integer | Index of the last letter of the word in refText, starting from 0 |
| **syllables** | **list\<dict>** | **Array of syllable information objects**<br />(Returned only when `phonemes=true` in question type parameters) |
| ├─ syllable | string | Always empty |
| ├─ score | double | Always 0 |
| ├─ stressRef | integer | Always 0 |
| ├─ stressScore | integer | Always 0 |
| ├─ startTime | integer | Always 0 |
| ├─ endTime | integer | Always 0 |
| ├─├─ **phonemes** | **list\<dict>** | **Array of phoneme information objects**, phonemes represented using the [DolphinAI scheme](https://soe.dolphinvoice.ai/en/docs/public/datadict/phoneme)<br />(Returned only when `phonemes=true` in question type parameters) |
| ├─├─ 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 scale) |
| ├─├─ phid | string | Position of the letter in the word phonemes, e.g. 1\_2 |
| ├─├─ ph2alpha | string | Original letter information corresponding to the phoneme |
| ├─├─ startTime | integer | Start time (ms) |
| ├─├─ endTime | integer | End time (ms) |

## Real-time Results

| **Field** | **Type** | **Description** |
| - | - | - |
| taskId | string | Task ID |
| timestamp | integer | Task timestamp |
| hypothesis | string | Text read so far |
| **wordInfo** | **list** | **Word information object** |
| ├─ index | integer | Word index in params.refText |
| ├─ startIndex | integer | Indicates the index of the first letter of the word in refText, with indices starting from 0 |
| ├─ endIndex | integer | Indicates the index of the last letter of the word in refText, with indices starting from 0 |
| ├─ refText | string | Reference text |
| ├─ score | double | Word score |
| ├─ type | string | [Word type](https://soe.dolphinvoice.ai/en/docs/public/datadict/other#characterwordphoneme-types) |
| ├─ fakePron | integer | Whether the pronunciation is automatically predicted by the system<br />0: Word in system library<br />1: Word not in system library, pronunciation predicted automatically<br />2: Word not in system library and cannot be predicted automatically (type==oov) |