run these operations on terminal or console
go get github.com/open-korean-text/open-korean-text-go
You might get some errors, but don't worry! That's not problem.
package main
import (
"fmt"
processor "github.com/open-korean-text/open-korean-text-go/processor"
)
func main() {
result := processor.Normalize("만듀 먹것니? 먹겄서? 먹즤?")
fmt.Println(result)
}
'Tokenizer' and 'Phrase Extractor' will be built!
We can use features(normalize, tokenize, extractPhrase) of open-korea-text jar!
ex) processor.CallMethod("normalize", "한국어를 처리하는 예시입니닼ㅋㅋㅋ")
To use these features, you should locate processor-go.jar file(in jar folder) in
your project folder.