I want to use mmseg in Go as in other languages, for example, in python you can use pymmseg
So, is there is a similar Go package?
Or, how can I call the C functions from Go? Or, how can I call shared library (*.so) from Go like in python?
I want to use mmseg in Go as in other languages, for example, in python you can use pymmseg
So, is there is a similar Go package?
Or, how can I call the C functions from Go? Or, how can I call shared library (*.so) from Go like in python?
you can call use C Libs as described in this tutorial:
http://cheesesun.blogspot.de/2009/12/basic-cgo.html
and:
http://siganakis.com/linking-c-libraries-with-go-lang-and-stdc99
or you may have a look at this library:
https://github.com/awsong/MMSEGO
its for chinese, but you may could use it to put your own algorithm there.