Gse v0.50.0 发布, Go 高性能分词,大幅度更新

栏目: 软件资讯 · 发布时间: 6年前

内容简介:Go 语言高效分词,支持英文、中文、日文等。 该版本主要增加:AlphaNum 拉丁字母和数字分词设置,RemoveToken,gse.New(),分词 ToLower 设置;Tirm 清除标点符号和空格,TextFreq 设置默认加载 frenquency,cut...

Go 语言高效分词,支持英文、中文、日文等。

该版本主要增加:AlphaNum 拉丁字母和数字分词设置,RemoveToken,gse.New(),分词 ToLower 设置;Tirm 清除标点符号和空格,TextFreq 设置默认加载 frenquency,cutDAGNoHMM 和最短路径加动态规划配置,支持 ", " 分割字典文件等功能。

增加更多示例、测试和 benchmark 代码, 修复 bug。

项目地址:https://github.com/go-ego/gse

Nisqually Glacier

Add

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

 

Updtae

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


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Linux命令行大全

Linux命令行大全

绍茨 (William E.Shotts) / 郭光伟、郝记生 / 人民邮电出版社 / 2013-3-1 / 69.00元

《Linux命令行大全》主要介绍Linux命令行的使用,循序渐进,深入浅出,引导读者全面掌握命令行的使用方法。 《Linux命令行大全》分为四部分。第一部分开始了对命令行基本语言的学习之旅,包括命令结构、文件系统的导引、命令行的编辑以及关于命令的帮助系统和使用手册。第二部分主要讲述配置文件的编辑,用于计算机操作的命令行控制。第三部分讲述了从命令行开始执行的常规任务。类UNIX操作系统,比如L......一起来看看 《Linux命令行大全》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码

Base64 编码/解码
Base64 编码/解码

Base64 编码/解码