Go 语言高效分词, 支持英文、中文、日文等
该版本主要增加: AlphaNum 拉丁字母和数字分词设置, RemoveToken, gse.New(), 分词 ToLower 设置; Tirm 清除标点符号和空格, TextFreq 设置默认加载 frenquency, cutDAGNoHMM 和最短路径加动态规划配置, 支持 ", " 分割字典文件等功能.
增加更多示例、测试和 benchmark 代码, 修复 bug.
项目地址: https://github.com/go-ego/gse
add alphanum split words support use variable to control default frequency
add gse.New() function and update test code, add New() function AlphaNum set support
add ToLower set support and update code
add remove token support and test code, add addToken and removeToken benchmark test, update benchmark, example.go and godoc add more test code
add English example code, Add English token test code and Update README.md
update segment test code update segment test code, add more test and remove unless code
add Trim punct and space function support, add Trim test code, add Trim benchmark test code, add Trim example code
update Trim function not exclude "include other char string"
update DictPaths() allow use ", " to separated dictionary files
add cutDAGNoHMM support and test code, add Cut() cutDAGNoHMM option support, add test and benchmark code
add python and node binding
update gse code export splitTextToWords function export lookupTokens function
update example code update data re base code
add Find token example code update English example code
update example code use mixed text update dictionary example code
update code fixed example print update hmm test and example code
update gse server code update server code add hmm support, update jquery.min.js to v3.5.0 update server.go listen log print
update code and README.md Update README.md, add binding...
update godoc update load model godoc update godoc and var name
update go mod pkg and version remove unless go.sum hash update go mod and remove vendor
add github workflow support update go.yml update and fmt circle.yml, travis.yml add CI go1.13x support remove go1.11.x
rename utils.go to seg_utils.go
add more benchmark support add hmm benchmark test support add segmenter benchmark test code
add idf and pos files update issue and pull request template
update segment test code use expect update alpha num test code
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.