jamo

package
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package jamo implements a Hangul composer. It converts decomposed Jamo phonemes to composed Hangul syllables.

fmt.Println(jamo.ComposeHangul("ㅈㅏㅁㅗ"))
// Output: 자모

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComposeHangul

func ComposeHangul(word string) string

ComposeHangul converts decomposed Jamo phonemes to composed Hangul syllables.

Decomposed Jamo phonemes look like "ㅎㅏ-ㄴㄱㅡ-ㄹㄹㅏㅇㅣㅈㅡ". A Jaeum after a hyphen ("-ㄴ") means that it is a Jongseong (tail).

Example (Interpolation)
fmt.Println(ComposeHangul("ㅗㅈ"))
Output:

오즈
Example (Perfect)
fmt.Println(ComposeHangul("ㅎㅏ-ㄴㄱㅡ-ㄹㄹㅏㅇㅣㅈㅡ"))
Output:

한글라이즈

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL