# English Extended Choice Question Evaluation Type

> This document is for the development of the English Extended Choice Question evaluation type.

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

- This document is for the development of the English Extended Choice Question evaluation type.

## Applicable Scenarios

- Show a text or play a dialogue to the respondent, pose a question with options, and ask the respondent to answer the question based on what they have heard or seen, in conjunction with the options.

- Multiple answer options are set, and points are only awarded if the correct option is read accurately and completely.

- Keywords and trap words need to be set; points are awarded for hitting keywords and deducted for hitting trap words. If the respondent's answer hits both keywords and trap words, it is considered incorrect.

- The evaluation focuses on the match degree with the reference answers and the hit rate of keywords, as well as the overall pronunciation accuracy, completeness, and fluency scoring.

- Example:

  ```
  Reading Material: <Omitted>

  Question:
  Where does Linda come from?
  A. Beijing   B. London   C. Tokyo

  Reference Answers:
  London.
  Linda is from London.
  Linda comes from London.
  She is from London.
  She comes from London.
  ```

## 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 extended choice question evaluation type. | |
| answer | list\<dict> | Required | Reference answers. | |
| ├─ text | string | Required | Answer content, with options indicated by English parentheses `()`. | |
| keyword | list\<dict> | Required | Keywords that will score points when hit. | |
| ├─ text | string | Required | Content of the keyword, hitting it will score points. | |
| distractor | list\<dict> | Required | Distractors that will deduct points when hit. | |
| ├─ text | string | Required | Content of the distractor, hitting it will deduct points. | |
| binary | boolean | false | Binary scoring of results (i.e., results are either zero or full score). | |
| 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": "extchoice",
    "answer": [
        {"text": "()." },
        {"text": "Linda is from ()." },
        {"text": "Linda comes from ()." },
        {"text": "She is from ()." },
        {"text": "She comes from ()." }
    ],
    "keyword": [
        {"text": "London"}
    ],
    "distractor": [
        {"text": "Beijing"},
        {"text": "Tokyo"}
    ]
}
```

## Evaluation Results

- [Complete JSON return example](https://soe.dolphinvoice.ai/en/docs/mode/en-advanced/extchoice-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) |
| fluency | double | Fluency (range determined by scoring system) |
| accuracy | double | Accuracy (range determined by scoring system) |
| integrity | double | Completeness (range determined by scoring system) |
| wpm | integer | Speed rate, unit: "words per minute" |
| grammar | double/integer | Grammar score (range determined by scoring system)  Evaluation of the grammatical structure of the user's actual pronunciation |
| 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) |