gse-bind

command module
v0.0.0-...-3ebaecb Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

README

gse-bind

Go efficient text segmentation, binding other language.

简体中文

Install gse

npm install gse

example

var gse = require('gse');

gse.loadDict();
console.log(gse.cut("我在大雨刚停的夜晚", true));

Build from source code:

Install gse
go get -u github.com/go-ego/gse
git clone https://github.com/vcaesar/gse-bind
Build-tools
go get -v github.com/vcaesar/gocs
Building
cd gse-bind
gocs -n gse
Install npm modules
npm install
python
pip install cffi
import sys

sys.path.append("..")
import gse

# load
gse.loadDict()
print(gse.cut('我在大雨刚停的夜晚', True))

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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