Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComposeHangeul ¶ added in v1.0.0
Compose Syllables into hangeul word(not words)
// example fmt.Println(ComposeHangeul("ㅎㅏㄴㄱㅡㄹ")) // "한글"
* TODO: Flexible to better suit user intent
func DecomposeHangeul ¶
Decompose Hangeul words into Syllables
// example fmt.Println(DecomposeHangeul("한글 is hangeul!")) // "ㅎㅏㄴㄱㅡㄹ is hangeul!"
* TODO: Allow to apply serveral option (now only first option can apply)
Types ¶
type SyllableType ¶ added in v1.0.0
type SyllableType int
classify hangeul's syllable into consonant, vowel and undefined
const ( Undefined SyllableType = iota Consonant Vowel )
func ClassifySyllables ¶ added in v1.0.0
func ClassifySyllables(syllable rune) SyllableType
Classify Syllables into hangeul's consonant, vowel and undefined
// example fmt.Println(ClassifySyllables("ㅎ")) // jamo.Consonant
* TODO: Flexible to better suit user intent
Click to show internal directories.
Click to hide internal directories.