Skip to content

torden/go-mecab

Repository files navigation

go-mecab

Go(golang) Binding to the mecab-ko


Build Status Go Report Card GoDoc codecov Coverage Status CodeQL GitHub version License: MIT

Install

You need to tell Go where MeCab has been installed.

Install from Pre-build Packages

CGO_CFLAGS=-I/path/to/include -I./ CGO_LDFLAGS=-L/path/to/lib -lmecab -lstdc++ -Wl,-rpath,/path/to/lib -lmecab go get github.com/torden/go-mecab

If you installed mecab-config, execute following comands.

CGO_CFLAGS="`mecab-config --cflags` -I./" CGO_LDFLAGS="`mecab-config --libs` -Wl,-rpath,`mecab-config --libs-only-L`" go get github.com/torden/go-mecab

If you installed mecab pkg in this repository, execute following comands.

go get github.com/torden/go-mecab

Links

Please feel free. I hope it is helpful for you

Releases

No releases published

Packages