Comments (1)
解决了。gojiebad的bleve测试代码,使用LiteIDE菜单内自带的go build都可以了。在这之前,需要做一下准备:
先git clone 出gojieba到GOROOT内,并在LiteIDE内对其做go build和go install。
LiteIDE环境必须设置有CGO_ENABLED=1
例如我的 ( LiteIDE 自动处理环境参数的 ):
set GOARCH=386
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=你的完整GOPATH路径内容
set GORACE=
set GOROOT=d:\install\go
set GOTOOLDIR=d:\install\go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m32 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\myname\AppData\Local\Temp\go-build198692226=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1
from gojieba.
Related Issues (20)
- 这个和fxsjy/jieba的结果是一致的吗 HOT 2
- [已解决] 我尝试了最新master代码,依旧内存泄露 HOT 1
- cgo 奔溃
- cc1.exe: sorry, unimplemented: 64-bit mode not compiled in HOT 1
- 容器化报错 HOT 1
- 报错,看不懂 HOT 4
- RemoveWord方法无效,而且AddWord针对英文词组无效
- 日期切分的问题
- 请问下,支持基于 TF-IDF 算法的关键词抽取么
- 编译时遇到Warming HOT 1
- 内存泄漏问题 HOT 1
- 1.3.0 版本在编译的时候有warning HOT 6
- undefined: gojieba.NewJieba HOT 5
- 加载自己的词库报错是什么原因??? HOT 1
- 跨平台编译问题
- 支持打包为arm 和arm64架构吗 HOT 1
- 如何动态删除一个词 HOT 1
- Extract 和Cut的区别 HOT 1
- 集成到bleve的时候,stop words无效 HOT 1
- x.AddWord之后,希望增加x.RemoveWord的功能 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gojieba.