Module talk:zh/data

From Wiktionary, the free dictionary
Latest comment: 8 years ago by Octahedron80 in topic Code size
Jump to navigation Jump to search

Re: Simplified character of 著 is 着

[edit]

@Kc kennylau is it always? Or it doesn't matter? BTW, the reading "jìzhuò" for 記著/记着 I got from the Chinese Wiktionary and found on the web. My dictionary doesn't have this word. --Anatoli (обсудить/вклад) 07:28, 4 June 2014 (UTC)Reply

@Wyang You are more trustworthy on the Simplified Chinese matter. @Atitarev AFAIK, the Chinese Wiktionary article is generated by a bot, and I have a link of a singer pronouncing it as ji4zhe. --kc_kennylau (talk) 07:34, 4 June 2014 (UTC)Reply
I trust your knowledge on this one more than the Chinese Wiktionary and I saw your edit summary with the link. That's why I made my recent edits using [zhe]. --Anatoli (обсудить/вклад) 07:36, 4 June 2014 (UTC)Reply
Yes, traditional 著 corresponds to both simplified 著 (famous) and 着 (grammatical particle). We probably should make a separate small conversion table in Module:zh-usex (like the pronunciation conversion table), and make 著 -> 着 unless restricted, since the particle is much more common. Wyang (talk) 23:56, 4 June 2014 (UTC)Reply

[edit]

Guys, could you add - pinyin and simplified? See 嚮往, it didn't work as expected. --Anatoli (обсудить/вклад) 00:23, 14 June 2014 (UTC)Reply

Taiwanese 俄, Cantonese alternative pronunications

[edit]

@Wyang, @Kc kennylau apparently is (or can be) pronounced with the fourth tone in Taiwan - "è" not "é". Could you confirm, pls? If correct, please add alternative readings.

Also, should alternative Cantonese pronunciations be included for 俄 - ngo4, o4, same as has ngo5 and o5? What about initial "n" as "l", e.g. nei5, lei5? --Anatoli (обсудить/вклад) 00:20, 23 June 2014 (UTC)Reply

No, ngo5 and o5 are not Cantonese readings of the aforementioned character. The pronunciation "lei5" is considered non-standard in Hong Kong. --kc_kennylau (talk) 08:50, 23 June 2014 (UTC)Reply
Well, these are lazy pronunciations in Cantonese. Some of these lazy pronunciations or hypercorrections have become so commonplace that not using them in Hong Kong would sound wrong. eg. Wyang (talk) 23:57, 23 June 2014 (UTC)Reply

Error on 崖 Mainland/Taiwan

[edit]

@Wyang Frank, could you help, please? 懸崖 and 悬崖 have errors. They should produce xuányá (Mainland) and xuán'ái (Taiwan) [1] has ㄒㄩㄢˊ |ㄞˊ Is "|" a vertical bar or Zhuyin ?--Anatoli (обсудить/вклад) 09:07, 26 June 2014 (UTC)Reply

If it's "yái", not "ái", then Zhuyin generation needs to be fixed as well, please. --Anatoli (обсудить/вклад) 09:12, 26 June 2014 (UTC)Reply
@AtitarevIt is caused by the fact that it converts the Taiwanese spelling to xuanai instead of xuan'ai. --kc_kennylau (talk) 09:58, 26 June 2014 (UTC)Reply
@Kc kennylau Thank you. It was failing when it was "yái" originally, which is actually correct. dict.revised.moe.edu.tw uses vertical bar "|" instead of "ㄧ", that's why I was confused. So the Taiwanese reading is "yái" (ㄧㄞˊ). And "xuányái" shouldn't cause any problem, should it? I really don't know how to fix it. I guess I can put "yái" back but it was failing before. --Anatoli (обсудить/вклад) 11:01, 26 June 2014 (UTC)Reply
@Atitarev
Apparently "yai" must be made a valid pinyin syllable (used in Taiwanese Mandarin) but I don't know how. must be the only character that uses it. --Anatoli (обсудить/вклад) 11:12, 26 June 2014 (UTC)Reply
@Atitarev Better now? --kc_kennylau (talk) 11:20, 26 June 2014 (UTC)Reply
Yes, thank you, Kenny! --Anatoli (обсудить/вклад) 11:22, 26 June 2014 (UTC)Reply

Multiple Alternate Pronunciations in Taiwan and Mainland

[edit]

What do I do if the pronunciations aren't as simple as alternating pronunciations between Taiwan and Mainland? Take for example, the character 揣, which is read as either chuai3, chuai4, chuai1 in Mainland, and just chuai3 in Taiwan.

In the word 揣測 (揣测), both sides read this as chuai3 ce4.

In the word 掙揣 (挣揣) however, Mainland reads this as zheng4 chuai4, but Taiwan reads this as zheng4 chuai3.

In the word 揣與 (揣与), Mainland reads this as chuai1 yu3, but Taiwan reads this as chuai3 yu3.

So, how do I represent this in the module? Thanks. --Mar vin kaiser (talk) 14:39, 8 February 2015 (UTC)Reply

This probably can't be done in the module but in individual entry's pronunciation, by providing variants and notes. --Anatoli T. (обсудить/вклад) 03:49, 9 February 2015 (UTC)Reply

Code size

[edit]

The module's code is extremely long and makes it difficult to edit. Wouldn't it be better to host this information in separate modules? —suzukaze (tc) 22:49, 31 July 2015 (UTC)Reply

Agreed. It is easy to do so. --Octahedron80 (talk) 04:26, 17 April 2016 (UTC)Reply

duplicated keys

[edit]

I checked 'st' table and found that there are 40 pairs of duplicated keys. (I didn't check 'ts' table yet.) What can we do with these? Data won't come out both.

{
['仑']='侖',
['仑']='崙',
['侥']='僥',
['侥']='儌',
['冲']='沖',
['冲']='衝',
['凄']='悽',
['凄']='淒',
['勋']='勛',
['勋']='勳',
['历']='曆',
['历']='歷',
['叹']='嘆',
['叹']='歎',
['坛']='壇',
['坛']='罈',
['复']='復',
['复']='複',
['妆']='妝',
['妆']='粧',

['尝']='嘗',
['尝']='嚐',
['干']='乾',
['干']='乾',
['并']='並',
['并']='併',
['弥']='彌',
['弥']='瀰',
['攒']='攢',
['攒']='欑',
['暂']='暫',
['暂']='蹔',
['构']='搆',
['构']='構',
['汇']='匯',
['汇']='彙',
['炼']='煉',
['炼']='鍊',
['烟']='煙',
['烟']='菸',

['盏']='琖',
['盏']='盞',
['签']='簽',
['签']='籤',
['纤']='縴',
['纤']='纖',
['苏']='蘇',
['苏']='蘇',
['荡']='盪',
['荡']='蕩',
['获']='獲',
['获']='穫',
['衔']='啣',
['衔']='銜',
['袅']='裊',
['袅']='褭',
['诉']='愬',
['诉']='訴',
['赞']='讚',
['赞']='贊',

['辉']='煇',
['辉']='輝',
['迹']='跡',
['迹']='蹟',
['采']='寀',
['采']='採',
['里']='裏',
['里']='裡',
['钟']='鍾',
['钟']='鐘',
['铲']='剷',
['铲']='鏟',
['铺']='舖',
['铺']='鋪',
['锄']='鉏',
['锄']='鋤',
['镰']='鎌',
['镰']='鐮',
['颓']='穨',
['颓']='頹',
}

--Octahedron80 (talk) 02:10, 17 April 2016 (UTC)Reply

I think we should keep the more common ones, for example, ['仑']='侖' instead of ['仑']='崙'. — justin(r)leung (t...) | c=› } 03:33, 17 April 2016 (UTC)Reply