Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 白讀 to gwongzau.js #31

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Add 白讀 to gwongzau.js #31

wants to merge 4 commits into from

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
@@ -241,6 +273,11 @@ let 聲調 = 聲調規則();
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.

None yet

3 participants