syllables consist of either an initial sound (声母), or a final sound (韵母), or both, and a tone
initials: b c ch d f g h j k l m n p q r s sh t x z zh
finals: a ai an ang ao e ei en eng i ia ian iang iao ie in ing iong iu o ong ou u ü ua uai uan üan uang üe ueng ui un ün uo
4 tones and neutral
exceptions not reflected in pinyin
third tones followed by a third tone become second tone. 33 -> 23, 333 -> 223
不 bu4 is second tone when followed by a fourth tone. 44 -> 24
一 yi1 is pronounced like 不 except it is pronounced as first tone when it stands alone. 13/12/11 -> 43/42/41, 14 -> 24
繁体字, traditional characters: in common use in hong kong, macau and taiwan, as well as in south korea and japan to a certain extent
tones are marked with numbers
tones are alternatively marked with diacritics
frequency lists
frequency list 1 50000 entries
frequency list 2 9933 entries
frequency list 3 10000 entries
名词 noun, 代词 pronoun, 动词 verb, 形容词 adjective, 副词 adverb, 数词 numeral, 量词 measure word, 连词 conjunction, 介词 preposition, 助词 particle, 叹词 interjection, 拟声词 onomatopoeia
主语 subject, 谓语 predicate, 宾语 object, 定语 attributive, 状语 adverbial, 补语 complement, 短语 phrase, 分句 clause, 句子 sentence
max(1, 10 * (unique_chars_length / all_possible_chars_length + median(last_10(unique_chars_frequency_indices)) / all_possible_chars_length))
/[\u{30A0}-\u{30FF}\u{2E80}-\u{2EFF}\u{31C0}-\u{31EF}\u{4E00}-\u{9FFF}\u{3400}-\u{4DBF}\u{20000}-\u{2A6DF}\u{2A700}-\u{2B73F}\u{2B740}-\u{2B81F}\u{2B820}-\u{2CEAF}\u{2CEB0}-\u{2EBEF}\u{30000}-\u{3134F}\u{31350}-\u{323AF}\u{2EBF0}-\u{2EE5F}]/gu
programming
patterns:
a ai an ang ao ba bai ban bang bao bei ben beng bi bian biang biao bie bin bing bo bu ca cai can cang cao ce cei cen ceng cha chai chan chang chao che chen cheng chi chong chou chu chua chuai chuan chuang chui chun chuo ci cong cou cu cuan cui cun cuo da dai dan dang dao de dei den deng di dian diao die ding diu dong dou du duan dui dun duo e ei en eng er fa fan fang fei fen feng fo fou fu ga gai gan gang gao ge gei gen geng gong gou gu gua guai guan guang gui gun guo ha hai han hang hao he hei hen heng hong hou hu hua huai huan huang hui hun huo ji jia jian jiang jiao jie jin jing jiong jiu ju juan jue jun ka kai kan kang kao ke kei ken keng kong kou ku kua kuai kuan kuang kui kun kuo la lai lan lang lao le lei leng li lia lian liang liao lie lin ling liu lo long lou lu luan lun luo lü lüe ma mai man mang mao me mei men meng mi mian miao mie min ming miu mo mou mu na nai nan nang nao ne nei nen neng ni nian niang niao nie nin ning niu nong nou nu nuan nuo nü nüe o ou pa pai pan pang pao pei pen peng pi pian piao pie pin ping po pou pu qi qia qian qiang qiao qie qin qing qiong qiu qu quan que qun ran rang rao re ren reng ri rong rou ru rua ruan rui run ruo sa sai san sang sao se sen seng sha shai shan shang shao she shei shen sheng shi shou shu shua shuai shuan shuang shui shun shuo si song sou su suan sui sun suo ta tai tan tang tao te teng ti tian tiao tie ting tong tou tu tuan tui tun tuo wa wai wan wang wei wen weng wo wu xi xia xian xiang xiao xie xin xing xiong xiu xu xuan xue xun ya yan yang yao ye yi yin ying yong you yu yuan yue yun za zai zan zang zao ze zei zen zeng zha zhai zhan zhang zhao zhe zhei zhen zheng zhi zhong zhou zhu zhua zhuai zhuan zhuang zhui zhun zhuo zi zong zou zu zuan zui zun zuo