Skip to content

Commit

Permalink
Update src/consts.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Sêkai Zhou <syimyuzya@gmail.com>
  • Loading branch information
307587 and syimyuzya authored Dec 15, 2024
1 parent adeb4c7 commit c717ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ let 聲母 = 聲母規則();
let 韻母 = 韻母規則();
let 聲調 = 聲調規則();
//if (is`入聲`) { //入聲承陽的方言可以用這段
//if (is`入聲`) {
//if (韻母.endsWith('m')) 韻母 = 韻母.slice(0, -1) + 'p';
//else if (韻母.endsWith('n')) 韻母 = 韻母.slice(0, -1) + 't';
//else if (韻母.endsWith('ŋ')) 韻母 = 韻母.slice(0, -1) + 'k';
//}
return 聲母 + 韻母 + 聲調; //想只要音韻地位的話可以改成「return 音韻地位」
return 聲母 + 韻母 + 聲調;
`.trimStart();

export const defaultArticle =
Expand Down

0 comments on commit c717ad7

Please sign in to comment.