-
Notifications
You must be signed in to change notification settings - Fork 66
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
[Bug]: disassembleHangul
is incorrect for double vowel and double consonant
#71
Comments
I guess this is highly related to the common Korean keyboard layout, which makes sense in some ways. I just wanted to point out that the inconsistency might add another cognitive load to users. |
Maybe some of its usage is re-assemble disassembled one. We might need options to deal with double consonant.
|
Thank you for giving me a good opinion. |
Bug description
In official docs,
disassembleHangul
works as "한글 문자열을 글자별로 초성/중성/종성 단위로 완전히 분리하여" (in English, "seperates Korean works into onset/nucleus/coda syllables"), which is not what the function actually does.Expected behavior
To Reproduce
[email protected]
Possible Solution
skipped, because i'm unsure whether this is intentional or not.
etc.
Here's full test cases below. I think every assertion should be passed.
The text was updated successfully, but these errors were encountered: