Pinyin input today
What the current engine accepts (November 2026):
- Characters only (recommended): every syllable is scored, and the response names each one by its pinyin.
- Characters and
pinyin(one syllable per character): a character with several readings (还 hai2 / huan2) is scored with your reading when it is one of its dictionary readings (warningpinyin_reading_used); a sandhi spelling (ni2 hao3) keeps the dictionary reading, which already accepts sandhi. - Pinyin only, in
pinyinor typed intotext(ni3 hao3,nǐ hǎo,xie4xie5): scored, up to 100 syllables and 30 s. Each syllable is scored on a common character with that reading, andwords[].wordshows the pinyin. - Pinyin without tones (
ni hao) or other Latin text without characters: refused with 422invalid_assessment, not charged.
The free POST /v1/lint check reports each of these cases before you record.
What comes back per syllable
| Field | Per syllable, for the initial, the final and the tone |
|---|---|
expected | What the reference requires: an initial such as sh, a final such as ang, or a tone number 1–5 (5 = neutral). |
heard | The engine’s estimate of what was said, in the same units. |
score | 0–100 display grade against native-speaker references. |
decision | review, uncertain or no_correction: whether your app should correct this component. |
agrees_with_prompt, confidence, alternatives | In syllables[].components: whether heard equals expected, a confidence label, and the ranked candidates with probabilities. |
start_ms, end_ms | The syllable’s position in the recording, for replaying exactly that slice. |
Initials and finals use pinyin spelling (zh, ü, iang), tones are numbers, and heard.syllables[] lists what the engine estimates was said for every syllable, so you can render the learner’s own pinyin next to the target.
Common input errors
- Pinyin without tone numbers or marks (
ni hao): add the tones, or send the characters. - Pinyin with a different number of syllables than the characters next to it: the pinyin is ignored (warning
pinyin_ignored_count_mismatch) and the characters are scored with their dictionary readings. - Latin words in Chinese text: they are left out of the score (warning
foreign_words_unassessed); write them in characters to score them.
Known weak spots of the current Mandarin model: the neutral tone is not reliably told apart from a 1st tone, ü / i is the least sensitive final, and a retroflex said where a dental was expected (sh for s) is caught far less often than the reverse. The pack is labelled experimental in /v1/capabilities, and every response names the model_version that scored it. More on the Mandarin pack page and the methodology.