syntax_v2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| syntax_v2 [2026/08/29 19:09] – [Traditional and simplified characters] kbaiko | syntax_v2 [2026/08/29 19:10] (current) – [Technical details, and the use of {}] kbaiko | ||
|---|---|---|---|
| Line 289: | Line 289: | ||
| 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.txt · Last modified: by kbaiko
