Skip to content

sucream/koreanutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang 한글 자모 분리

  • 입력된 문장에서 한글을 자모로 분리해줍니다.

Example

package main

import (
	"fmt"

	"github.com/sucream/koreanutil"
)

func main() {
    fmt.Println(koreanutil.GetJamo("안hi녕하세世界요"))
    // [[ㅇ ㅏ ㄴ] [h] [i] [ㄴ ㅕ ㅇ] [ㅎ ㅏ ] [ㅅ ㅔ ] [世] [界] [ㅇ ㅛ ]]
}

Install

  • go get github.com/sucream/koreanutil

License

  • MIT License

About

한글 자모 분리

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages