/hope_word

基于sego的屏蔽词过滤器

Primary LanguageGo

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