【文件属性】:
文件名称:HumorChecker:[镜像]将感伤库移植到Go中
文件大小:22KB
文件格式:ZIP
更新时间:2021-05-09 23:28:44
analyzer negativity-ranking positivity Go
HumorChecker-SentiMental进入Go的端口。
应归功于应:请考虑担任此基础的回购主演。
基于情感分析工具。
安装
$ go get cirello.io/HumorChecker
特征
阳性排名
负性排名
分析-将积极性和否定性排名合并为总体情感得分
例子
package main
import (
"fmt"
hc "cirello.io/HumorChecker"
)
func main ( ) {
fmt . Printf ( "%#v\n" , hc . Analyze ( "Hey you worthless scumbag" ) )
fmt . Printf ( "%#v\n" , hc . Positivity ( "This is so cool" ) )
fmt . Printf ( "%#v\n" , hc . Negativity (
【文件预览】:
HumorChecker-master
----.travis.yml(115B)
----checker.go(4KB)
----afinn.go(65KB)
----checker_test.go(7KB)
----LICENSE(11KB)
----.gitignore(266B)
----README.md(1KB)
----go.mod(31B)