- 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. |
Example:
{
"mode": "word",
"refText": "ぬ"
}Evaluation Results
| Field | Type | Description |
|---|---|---|
| taskId | string | Task ID |
| timestamp | integer | Task timestamp |
| audioUrl | string | Audio URL (returned only when audioUrl=true in question type parameters)Note: Audio is retained for 30 days by default. For permanent storage, download to your own server. |
| params | dict | Connection and request parameter object |
| audioInfo | dict | Audio quality information object |
| 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: ① Normal Reading: normal ② Skipped Reading: delete ③ Repeated Reading: repeat ④ 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) |