-
Notifications
You must be signed in to change notification settings - Fork 132
fix: '자음군 단순화' 음운규칙을 적용하여 standardizePronunciation 오류 해결 #341
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
Merged
Merged
Changes from 5 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
1761407
fix: 힘듦 -> 힘뜸 오류 수정
po4tion f666715
fix: 불필요한 log 제거
po4tion 06d19d4
fix: 힘듦이 있다를 변환할 시 오류 수정
po4tion 7671f3f
fix: 전역은 단일어 예외사항으로 추가한다
po4tion b67737b
chore: 주석 추가
po4tion 9e2d8fe
fix: 단일어 예외사항 상수가 추가된 맥락을 문서에 작성합니다
po4tion 583e995
docs: 표준발음법 영문 문서 추가
po4tion 1d59a08
fix: 예외사항 상수 파일 분리, 테스트 파일 수정
po4tion 1ee1419
Merge branch 'main' into fix-263
po4tion 714bd9e
#351과 충돌 해결
po4tion 8b1b2ee
Create light-trainers-enjoy.md
okinawaa File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,6 +14,5 @@ | |
| }, | ||
| "devDependencies": { | ||
| "@types/josa": "^3" | ||
| }, | ||
| "version": null | ||
| } | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -103,3 +103,39 @@ export const 된소리_받침 = [ | |
|
|
||
| // 24항, 25항 | ||
| export const 어간_받침 = ['ㄴ', 'ㄴㅈ', 'ㅁ', 'ㄹㅁ', 'ㄹㅂ', 'ㄹㅌ'] as const; | ||
|
|
||
| /** | ||
| * @description 'ㄹㅁ'과 같은 복합 받침은 발음 과정에서 단순화될 수 있다. | ||
| * @see {@link https://encykorea.aks.ac.kr/Article/E0074523 자음군 단순화 설명 링크} | ||
| */ | ||
| export const 자음군_단순화 = [ | ||
| 'ㄹㅁ', | ||
| 'ㄱㅅ', | ||
| 'ㄹㄱ', | ||
| 'ㄹㅂ', | ||
| 'ㄹㅅ', | ||
| 'ㅂㅅ', | ||
| 'ㄴㅈ', | ||
| 'ㄴㅎ', | ||
| 'ㄹㅌ', | ||
| 'ㄹㅍ', | ||
| 'ㄹㅎ', | ||
| ] as const; | ||
|
|
||
| export const 자음군_단순화_결과 = { | ||
| ㄱㅅ: 'ㄱ', | ||
| ㄴㅈ: 'ㄴ', | ||
| ㄴㅎ: 'ㄴ', | ||
| ㄹㄱ: 'ㄱ', | ||
| ㄹㅁ: 'ㅁ', | ||
| ㄹㅂ: 'ㄹ', // 상황에 따라 'ㅂ'이 남기도 하지만, 기본은 'ㄹ'로 정리 | ||
| ㄹㅅ: 'ㄹ', | ||
| ㄹㅌ: 'ㄹ', | ||
| ㄹㅍ: 'ㄹ', | ||
| ㄹㅎ: 'ㄹ', | ||
| ㅂㅅ: 'ㅂ', | ||
| } as const; | ||
|
|
||
| export const 단일어_예외사항_단어모음: Record<string, string> = { | ||
|
||
| 전역: '저녁', | ||
| }; | ||
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
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
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
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
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
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
Oops, something went wrong.
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.
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.
요 상수가 추가된 맥락을 문서에 정리할 수 있을까요?
이러한 예외사항은 타입스크립트로 판별이 불가능해서 예외로 뺐고, 추가가 필요하면 기여를 해달라고 하면 될 것 같습니다!
이미 PR Description에 잘 작성해주신 내용을 잘 녹여내면 될 것 같아요,.
Uh oh!
There was an error while loading. Please reload this page.
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.
fix: 단일어 예외사항 상수가 추가된 맥락을 문서에 작성합니다
docs: 표준발음법 영문 문서 추가
예외사항을 문서에 정리해봤습니다. 혹시 문서에 적힌 어투나 개선되어야 할 표현이 있다면 말씀 부탁드립니다!