Skip to content

Conversation

@iwsfutcmd
Copy link

Currently, gwongzau.js only generates 文讀. Gwongzau 白讀 readings are also generally predictable from Middle Chinese readings, and so can be added as an option.

@ayaka14732
Copy link
Member

Thank you! But this seems incomplete?

@iwsfutcmd
Copy link
Author

Ah, you are right, I apologize! I forgot to push a few changes before I made this PR. I'll do so soon.

@iwsfutcmd iwsfutcmd marked this pull request as draft March 10, 2022 22:11
const is細音 = ['eo', 'i', 'oe', 'u', 'yu'].some((x) => 韻母.startsWith(x));
if (聲母 === 'ng' && is細音) 聲母 = 'j';

if (選項.文白讀 === '白讀') {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

爾度有少少問題,佢哋毋適用喺曾攝,曾攝無咁樣白讀法,白讀咁推會將曾攝推錯音。

@307587
Copy link

307587 commented May 10, 2024

第276行有少少問題,白讀咁推會推埋落曾攝,但曾攝無咁樣白讀法,咁寫會將曾攝推錯音。
粵語音變合流爲主,建議推白讀音先,再用異讀規則推文讀。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants