文件名称:sentiment-analyser:可以提取德语和英语情感的ML
文件大小:24KB
文件格式:ZIP
更新时间:2024-06-15 09:30:42
nodejs nlp sentiment-analysis german english
笏 简单的文本情感分析器。 安装 npm install --save ml-sentiment 用法 const ml = require ( 'ml-sentiment' ) ( ) ; ml . classify ( 'Rainy day but still in a good mood' ) ; //=> 2 ... (overall positive sentiment) 如何 对于正面情绪关联,返回一个正数;对于负面情绪关联,返回一个负数。 基本 var longSentence = `Transform json to csv data. The difference to my other module json2csv is json2csv-stream uses streams for transforming the incoming data. The mo
【文件预览】:
sentiment-analyser-master
----.gitignore(606B)
----AFINN-README.txt(2KB)
----package.json(1KB)
----src()
--------index.js(2KB)
----.travis.yml(99B)
----AFINN-111.json(32KB)
----SentiWS.txt(3KB)
----README.md(3KB)
----test()
--------testGerman.js(3KB)
--------testEnglish.js(3KB)
----german.json(17KB)