# Japanese Word Evaluation

> This document is for developing the Japanese word evaluation question type.

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

- This document is for developing the Japanese word evaluation question type.

## Applicable Scenarios

- Display a word (or phrase) to the test taker and have them read it aloud.
- Score Japanese words for accuracy, completeness, fluency, overall score, and character-level accuracy.
- Supports Hiragana, Katakana, and loanwords.

## Question Type Restrictions

- Audio submissions should not exceed 210 seconds in length.

## Question Type Parameters

| **Field** | **Type** | Required | Default | **Description** |
| - | - | - | - | - |
| mode | string | Yes | | "word" indicates the word evaluation type |
| refText | string | Yes | | Reference text for scoring, supports words, phrases, and Kana evaluation. Recommended to use 1-2 words |
| pronunciation | list\<dict> | No | None | Configuration for specifying pronunciation of characters and symbols |
| ├─ text | string | No | None | Specified character, word, or symbol for pronunciation |
| ├─ phonemes | string | No | None | Pronunciation of specified characters or words. Supports the p and t tags; see [Japanese Special Annotation Format](https://soe.dolphinvoice.ai/en/docs/public/datadict/annotation-jp). |

Example:

```json
{
  "mode": "word",
  "refText": "ぬ"
}
```

## Evaluation Results

- [Complete JSON return example](https://soe.dolphinvoice.ai/en/docs/mode/ja-basic/word-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. For permanent storage, download to your own server. |
| **params** | **dict** | **[Connection and request parameter 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/integer | Overall score (range determined by scoring system) |
| accuracy | double/integer | Accuracy score (range determined by scoring system) |
| wpm | integer | Words per minute |
| **fluency** | **dict** | **Fluency Score Object** |
| ├─ overall | double/integer | Fluency score (range determined by scoring system) |
| ├─ pause | integer | Number of pauses |
| ├─ speed | integer | Speaking speed (0: slow, 1: normal, 2: fast) |
| integrity | double/integer | Completeness score (range determined by scoring system) |
| tone \[New] | double/integer | Overall pitch accent score |
| waveTime | integer | Actual recording duration (ms) |
| startTime | integer | Start position in a recording segment (ms) |
| endTime | integer | Stop position in a recording segment (ms) |
| **characters** | **list\<dict>** | **Word Score Details (see below)** |

### characters (Word Information) Fields

| **Field** | **Type** | **Description** |
| - | - | - |
| refText | string | Reference text, Japanese word |
| hypothesis | string | Actual text read |
| overall | double/integer | Total score for the word (range determined by scoring system) |
| accuracy | double/integer | Pronunciation accuracy for the word (range determined by scoring system) |
| 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<br />④ Out-of-vocabulary: oov |
| startTime | integer | Start time (ms) |
| endTime | integer | End time (ms) |
| startIndex | integer | Index of the first character in refText, starting from 0 |
| endIndex | integer | Index of the last character in refText, starting from 0 |
| ref\_tone | string | Pitch accent from the dictionary, can be empty or ◎, ①, ②, ③, ④, ⑤, ⑥; represented by "", "0", "1", "2", "3", "4", "5", "6", or combinations like "0/1". Empty means no matching pitch accent found in the dictionary |
| tone\_score \[New] | double/integer | Word-level pitch accent score |
| **phonemes** | **list\<dict>** | **Array of phoneme information objects, returned only if phonemes are enabled (set to true). Returns an empty array when type is oov** |
| ├─ phoneme | string | Phoneme information (Hiragana display) |
| ├─ pron | string | Phoneme information (Katakana display) |
| ├─ tone | integer | Reference pitch, 0: low pitch, 1: high pitch |
| ├─hypothesis | string | Actual phoneme read |
| ├─score | double/integer | Phoneme pronunciation score (range determined by scoring system) |
| ├─ startTime | integer | Start time (ms) |
| ├─endTime | integer | End time (ms) |