syntax_v2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| syntax_v2 [2026/08/29 19:09] – [Traditional and simplified characters] kbaiko | syntax_v2 [2026/09/29 02:22] (current) – [Pinyin] kbaiko | ||
|---|---|---|---|
| Line 80: | Line 80: | ||
| The pinyin should be in accordance with standard pinyin orthography. For a comprehensive reference, we recommend //Chinese Romanization: | The pinyin should be in accordance with standard pinyin orthography. For a comprehensive reference, we recommend //Chinese Romanization: | ||
| - | For the majority of entries, an entry can be converted from v1 to v2 by simply removing the spaces within words (see 二次方程 above). | + | For the majority of entries, an entry can be converted from v1 to v2 by simply removing the spaces within words (see 二次方程 above). |
| - | + | ||
| - | < | + | |
| - | 師生 师生 [[shi1-sheng1]] /teachers and students/ | + | |
| - | 柴米油鹽醬醋茶 柴米油盐酱醋茶 [[chai2-mi3-you2-yan2-jiang4-cu4-cha2]] /lit. firewood, rice, oil, salt, soy sauce, vinegar and tea/fig. life's daily necessities/ | + | |
| - | </ | + | |
| Rules about our pinyin format: | Rules about our pinyin format: | ||
| Line 103: | Line 98: | ||
| </ | </ | ||
| + | |||
| + | A hyphen can be included in the pinyin when appropriate. Here are some cases where we have elected to use a hyphen: | ||
| + | |||
| + | 1. In lists | ||
| + | |||
| + | < | ||
| + | 英法 英法 [[Ying1-Fa3]] /UK-France/ | ||
| + | 色香味俱全 色香味俱全 [[se4-xiang1-wei4 ju4quan2]] /to smell, look and taste great/ | ||
| + | 柴米油鹽醬醋茶 柴米油盐酱醋茶 [[chai2-mi3-you2-yan2-jiang4-cu4-cha2]] /(lit.) firewood, rice, oil, salt, soy sauce, vinegar and tea/(fig.) life's daily necessities/ | ||
| + | </ | ||
| + | |||
| + | 2. In two-character words where the characters have a contrasting relationship | ||
| + | |||
| + | < | ||
| + | 成敗 成败 [[cheng2-bai4]] /success or failure/ | ||
| + | 接送 接送 [[jie1-song4]] /to pick up and drop off; to ferry back and forth/ | ||
| + | 領屬 领属 [[ling3-shu3]] /to have a hierarchical (possessive or supervisory) relationship/ | ||
| + | </ | ||
| + | |||
| + | 3. To separate non-Chinese and Chinese text | ||
| + | |||
| + | < | ||
| + | e人 e人 [[e-ren2]] /(slang) extroverted person/ | ||
| + | U盤 U盘 [[U-pan2]] /USB flash drive; thumb drive/ | ||
| + | X光 X光 [[X-guang1]] /X-ray/ | ||
| + | </ | ||
| + | |||
| + | 4. In expressions that can be split in two related halves (usually in 4-character 成语) | ||
| + | |||
| + | < | ||
| + | 人山人海 人山人海 [[ren2shan1-ren2hai3]] /(idiom) multitude; vast crowd/ | ||
| + | 子子孫孫 子子孙孙 [[zi3zi3-sun1sun1]] /(idiom) one's posterity/ | ||
| + | 半信半疑 半信半疑 [[ban4xin4-ban4yi2]] /(idiom) half believing, half doubting; not quite convinced; skeptical/ | ||
| + | 顛倒是非 颠倒是非 [[dian1dao3-shi4fei1]] /(idiom) to distort right and wrong; to deliberately mislead/ | ||
| + | 三更半夜 三更半夜 [[san1geng1-ban4ye4]] /(idiom) in the depth of the night; very late at night/ | ||
| + | </ | ||
| + | |||
| + | 5. Between 第 and a number N, meaning " | ||
| + | |||
| + | < | ||
| + | 第一次 第一次 [[di4-yi1 ci4]] /the first time; for the first time/ | ||
| + | 第二次世界大戰 第二次世界大战 [[Di4-er4 Ci4 Shi4jie4 Da4zhan4]] /World War II/ | ||
| + | </ | ||
| ==== Definition ==== | ==== Definition ==== | ||
| Line 289: | Line 327: | ||
| When parsing the traditional and simplified fields, Hanzi and numbers are treated as individual sections, while consecutive English letters are grouped together into a single section. For example a hypothetical headword " | When parsing the traditional and simplified fields, Hanzi and numbers are treated as individual sections, while consecutive English letters are grouped together into a single section. For example a hypothetical headword " | ||
| - | The pinyin is first split by spaces and punctuation, | + | The pinyin is first split by spaces and punctuation, |
| It is a requirement that the number of parsed sections in the Hanzi matches the number of parsed sections in the pinyin. For the vast majority of entries, this does not pose a problem. Almost all Chinese characters are one syllable in length, and due to how the parsing logic works, numbers and English letters will be parsed correctly as long as the pinyin is segmented correctly. Problems arise in rare situations such as | It is a requirement that the number of parsed sections in the Hanzi matches the number of parsed sections in the pinyin. For the vast majority of entries, this does not pose a problem. Almost all Chinese characters are one syllable in length, and due to how the parsing logic works, numbers and English letters will be parsed correctly as long as the pinyin is segmented correctly. Problems arise in rare situations such as | ||
syntax_v2.1788030582.txt.gz · Last modified: by kbaiko
