User Tools

Site Tools


syntax_v2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
syntax_v2 [2026/05/03 12:42] – Update section about non-Chinese characters kbaikosyntax_v2 [2026/05/16 09:39] (current) – Handling numbers with multiple digits kbaiko
Line 279: Line 279:
 which indicates "bai3ke4" is a single pinyin section, matching the single Hanzi section of 兡. which indicates "bai3ke4" is a single pinyin section, matching the single Hanzi section of 兡.
  
-Another problem arises when an entry has a number with multiple digitssuch as+Another problem arises for entries with a number with multiple digits. Consider a hypothetical entry such as
  
 <code> <code>
-21三體綜合症 21三体综合症 [[er4shi2yi1 san1ti3 zong1he2zheng4]] /trisomy; Down's syndrome/+11 11 [[shi2yi1]] /eleven/
 </code> </code>
  
-as there are seven Hanzi sections but eight pinyin sections. In this case, {}'s are necessary in both the pinyin and Hanzi to delineate sections+which implies that the first 1 is pronounced "shi2" and the second 1 is pronounced "yi1". Or the entry
  
 <code> <code>
-{21}三體綜合症 {21}三体综合症 [[{er4shi2yi1} san1ti3 zong1he2zheng4]] /trisomy; Down's syndrome/+21 21 [[er4shi2yi1]] /twenty one/ 
 +</code> 
 + 
 +which poses a different problem - we have two Hanzi sections but three pinyin sections due to the extra "shi2" that is not present in the hanzi. To solve these issues, we have decided to group the number in {}'s and write the number out in the pinyin field: 
 + 
 +<code> 
 +{21}三體綜合症 {21}三体综合症 [[{21} san1ti3 zong1he2zheng4]] /trisomy; Down's syndrome/
 </code> </code>
  
syntax_v2.1777812159.txt.gz · Last modified: by kbaiko

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki