# English Elective Reading Evaluation Type

> This document is for the development of the English Elective Reading evaluation type.

Source: https://soe.dolphinvoice.ai/en/docs/mode/en-advanced/elective

- This document is for the development of the English Elective Reading evaluation type.

## Applicable Scenarios

- Show multiple sentences to the respondent, then have them choose one to read aloud, and return a score based on the reading result.

- If multiple sentences are read, the sentence with the highest match degree will be chosen for evaluation.

- The evaluation focuses on the match degree with the reference answers and the overall pronunciation accuracy.

- Example:

  ```
  Sentences:
  Good morning.
  Good afternoon.
  Good night.

  Reference Answers:
  Any of the above three sentences.
  ```

## Question Type Limitations

- The maximum length of the audio sent should not exceed 60 seconds. There is no character limit for the reference text.

## Question Type Parameters

| Field | Type | Default Value | Description | |
| - | - | - | - | - |
| mode | string | Required | Indicates the elective reading evaluation type. | |
| answer | list\<dict> | Required | Reference answers. | |
| ├─ text | string | Required | Answer content. | |
| phonemes | boolean | false | Whether to return phoneme information | |
| pronunciation | list\<dict> | None | Specify word pronunciation. | |
| ├─ ipa | boolean | false | True for KK or DJ(15th edition)/IPA(88) phonetic schemes; false for the [DolphinAI phonetic scheme](https://soe.dolphinvoice.ai/en/docs/public/datadict/phoneme) | |
| ├─ text | string | None | Specified word. | |
| ├─ phonemes | string | None | Pronunciation of specified words; separate multiple pronunciations with a vertical line \` | \`. |

Example:

```json
{
    "mode": "elective",
    "answer": [
        {"text": "Good morning."},
        {"text": "Good afternoon."},
        {"text": "Good night."}
    ]
}
```

## Evaluation Results

- [Complete JSON return example](https://soe.dolphinvoice.ai/en/docs/mode/en-advanced/elective-result)

| **Field** | **Type** | **Description** |
| - | - | - |
| taskId | string | Task ID |
| timestamp | integer | Task timestamp |
| audioUrl | string | Audio address (returned only when `audioUrl=true` is set). <br /><br />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 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)** |
| overall | double | Total score (range determined by scoring system) |
| accuracy | double | Accuracy (range determined by scoring system) |
| integrity | double | Integrity (range determined by scoring system) |
| fluency | double | Fluency score (range determined by scoring system) |
| index | integer | Indicates the index of the sentence chosen for reading (index starts from 0, negative numbers indicate no match) |
| **wordInfo** | **list\<dict>** | **Word information object array** (when no answer is matched, this field corresponds to the first candidate's content) |
| ├─ refText | string | Reference text |
| ├─ score | double | Word total score (range determined by scoring system) |
| ├─ startTime | integer | Start time (ms) |
| ├─ endTime | integer | End time (ms) |
| ├─ fakePron | integer | Whether it's an automatically predicted pronunciation<br />0: word is in the system library<br />1: word is not in the system library, predicted by the system<br />2: word is not in the system library and cannot be predicted (type==oov) |
| 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) |