Releases: ymw0407/jamo
Releases · ymw0407/jamo
jamo v1.0.0 released
What's Changed
- README.md generated by Open-Set-Go 🚀 by @ymw0407 in #1
- Issue Template generated by Open-Set-Go 🚀 by @ymw0407 in #2
- Pull-Request Template generated by Open-Set-Go 🚀 by @ymw0407 in #3
- CONTRIBUTING.md generated by Open-Set-Go 🚀 by @ymw0407 in #4
New Contributors
Full Changelog: v0.0.2...v1.0.0
-
ClassifySyllables Function added
- ClassifySyllables for Hangeul's Consonant, Vowel, and Undefined
-
ComposeHangeul Function added
- ComposeHangeul only available with Hangeul's syllable (' ', '!','a-z'... is not available)
- e.g.
"english" -> [], JamoError.ErrImpossibleToCompose
- e.g.
"한ㅇ글" -> [], JamoError.ErrImpossibleToCompose
- e.g.
"한 글" -> [], JamoError.ErrImpossibleToCompose
- e.g.
"한글!" -> [], JamoError.ErrImpossibleToCompose
- e.g.
"ㅎㅏㄴ글" -> [], JamoError.ErrImpossibleToCompose
- e.g.
- ComposeHangeul supporting any other decomposing Hangeul options(Qwerty or Jamo option)
- e.g.
"ㅇㅔㅔㅅㅣ" -> ["예시"], nil
- e.g.
"ㅇㅕㅣㅅㅣ" -> ["예시"], nil
- e.g.
- ComposeHangeul, if it can be combined into several other characters, it returns all of them.
- e.g.
"ㄱㄱㅏㄱㄱㅣ" -> ["깍기", "까끼"], nil
- e.g.
"ㄱㄱㅏㄱㅅㅅㅣ" -> ["깏시", "깍씨"], nil
- e.g.
- ComposeHangeul only available with Hangeul's syllable (' ', '!','a-z'... is not available)
-
README.md & CONTRIBUTING.md & IssueTemplates & PullRequestTemplate added
jamo v0.0.2 released
Full Changelog: v0.0.1...v0.0.2
library name golang-jamo
changed to jamo
golang-jamo library initialized
Full Changelog: https://github.com/ymw0407/golang-jamo/commits/v0.0.1
- decomposing hangeul("한글") into syllables("음절") function added
- option for decomposing syllables more added
- Qwerty: decompose syllables more with qwerty keyboard layout
QwertyDecomposer = map[string]string{ "ㅘ": "ㅗㅏ", "ㅙ": "ㅗㅐ", "ㅚ": "ㅗㅣ", "ㅝ": "ㅜㅓ", "ㅞ": "ㅜㅔ", "ㅟ": "ㅜㅣ", "ㅢ": "ㅡㅣ", "ㄳ": "ㄱㅅ", "ㄵ": "ㄴㅈ", "ㄶ": "ㄴㅎ", "ㄺ": "ㄹㄱ", "ㄻ": "ㄹㅁ", "ㄼ": "ㄹㅂ", "ㄽ": "ㄹㅅ", "ㄾ": "ㄹㅌ", "ㄿ": "ㄹㅍ", "ㅀ": "ㄹㅎ", "ㅄ": "ㅂㅅ", }
- 2 addtional shiftOptions available
- QwertyShiftOption1
QwertyOnlyShiftDecomposer1 = map[string]string{ "ㄲ": "ㄱㄱ", "ㄸ": "ㄷㄷ", "ㅃ": "ㅂㅂ", "ㅆ": "ㅅㅅ", "ㅉ": "ㅈㅈ", "ㅒ": "ㅑㅣ", "ㅖ": "ㅕㅣ", }
- QwertyShiftOption2
QwertyOnlyShiftDecomposer2 = map[string]string{ "ㄲ": "ㄱㄱ", "ㄸ": "ㄷㄷ", "ㅃ": "ㅂㅂ", "ㅆ": "ㅅㅅ", "ㅉ": "ㅈㅈ", "ㅒ": "ㅐㅐ", "ㅖ": "ㅔㅔ", }
- QwertyShiftOption1
- 2 addtional shiftOptions available
- Jamo: decompose syllables more with jamo options(complex consonants, tense consonants, diphthong)
- TenseConsonants(된소리 자음)
TenseConsonantsDecomposer = map[string]string{ "ㄲ": "ㄱㄱ", "ㄸ": "ㄷㄷ", "ㅃ": "ㅂㅂ", "ㅆ": "ㅅㅅ", "ㅉ": "ㅈㅈ", }
- ComplexConsonants(복합 자음)
ComplexConsonantsDecomposer = map[string]string{ "ㄳ": "ㄱㅅ", "ㄵ": "ㄴㅈ", "ㄶ": "ㄴㅎ", "ㄺ": "ㄹㄱ", "ㄻ": "ㄹㅁ", "ㄼ": "ㄹㅂ", "ㄽ": "ㄹㅅ", "ㄾ": "ㄹㅌ", "ㄿ": "ㄹㅍ", "ㅀ": "ㄹㅎ", "ㅄ": "ㅂㅅ", }
- Diphthong(이중 모음)
DiphthongDecomposer = map[string]string{ "ㅐ": "ㅏㅣ", "ㅒ": "ㅑㅣ", "ㅔ": "ㅓㅣ", "ㅖ": "ㅕㅣ", "ㅘ": "ㅗㅏ", "ㅙ": "ㅗㅏㅣ", "ㅚ": "ㅗㅣ", "ㅝ": "ㅜㅓ", "ㅞ": "ㅜㅓㅣ", "ㅟ": "ㅜㅣ", "ㅢ": "ㅡㅣ", }
- TenseConsonants(된소리 자음)
- Qwerty: decompose syllables more with qwerty keyboard layout