# English Sentence Correction Test Type

> This document is for the development of the English sentence correction test type.

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

- 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<br />The reference text supports **[special English annotation formats](https://soe.dolphinvoice.ai/en/docs/public/datadict/annotation-en)** | |
| 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<br />false for **[DolphinAI phonetic scheme](https://soe.dolphinvoice.ai/en/docs/public/datadict/phoneme)** | false | |
| ├─ text | string | Specified word | None | |
| ├─ phonemes | string | Pronunciation of specified words<br />When specifying multiple pronunciations, use \` | \` to separate | None |

Example:

```json
{
  "mode": "sentencecheck",
  "refText": "Hi there."
}
```

## Evaluation Results

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

| **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)<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 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:](https://soe.dolphinvoice.ai/en/docs/public/datadict/other#characterwordphoneme-types)<br />① Normal Reading: normal<br />② Skipped Reading: delete<br />③ Repeated Reading: repeat\</a> |
| fakePron | integer | Whether it is an automatically predicted pronunciation by the system<br />0: The word is in the system library<br />1: The word is not in the system library, pronunciation is predicted by the system<br />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](https://soe.dolphinvoice.ai/en/docs/public/datadict/phoneme) |
| ├─├─ phoneme | string | Phoneme<br />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)<br />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.) |