-
Notifications
You must be signed in to change notification settings - Fork 14
Add 白讀 to gwongzau.js #31
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
Draft
iwsfutcmd
wants to merge
4
commits into
nk2028:main
Choose a base branch
from
iwsfutcmd:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thank you! But this seems incomplete? |
Ah, you are right, I apologize! I forgot to push a few changes before I made this PR. I'll do so soon. |
a50f6d6
to
1769033
Compare
939681c
to
fc24966
Compare
6b51961
to
62b1074
Compare
07d7fdd
to
b4b5a19
Compare
307587
reviewed
May 10, 2024
@@ -241,6 +273,11 @@ let 聲調 = 聲調規則(); | |||
const is細音 = ['eo', 'i', 'oe', 'u', 'yu'].some((x) => 韻母.startsWith(x)); | |||
if (聲母 === 'ng' && is細音) 聲母 = 'j'; | |||
|
|||
if (選項.文白讀 === '白讀') { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
爾度有少少問題,佢哋毋適用喺曾攝,曾攝無咁樣白讀法,白讀咁推會將曾攝推錯音。
第276行有少少問題,白讀咁推會推埋落曾攝,但曾攝無咁樣白讀法,咁寫會將曾攝推錯音。 |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Currently,
gwongzau.js
only generates 文讀. Gwongzau 白讀 readings are also generally predictable from Middle Chinese readings, and so can be added as an option.