Skip to content

walkershow/hope_word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hope_word

travis

基于sego的屏蔽字过滤器

用法

go get -u github.com/repong/hope_word
hope_word -port 8000

例子

curl -XPOST http://localhost:8000/validate -d "message=测试看看"
{"result":"false"}

curl -XPOST http://localhost:8000/filter -d "message=测试看看"
{"result":"**看看"}

更新字典

make update_dict

About

基于sego的屏蔽词过滤器

Resources

Stars

Watchers

Forks

Packages

No packages published