1.1.8 • Published 4 years ago
simple-sentiment-lib v1.1.8
simple-sentiment-lib
Ultra simple NodeJS Sentiment text analyzer based on afinn.
Usage:
const analyse = require("simple-sentiment-lib");
const exampleData = "Lorem Ipsum dolor sit amet, consectetur adipiscing elit good great bad ";
var result = analyse(exampleData);
console.dir(result);
Result:
{
score: 3,
comparative: 0.2727272727272727,
positive: {
score: 6,
comparative: 0.5454545454545454,
words: [ 'good', 'great' ]
},
negative: { score: 3, comparative: 0.2727272727272727, words: [ 'bad' ] }
}
##Github: https://github.com/voidzero-development/simple-sentiment-lib
More usage examples:
https://github.com/voidzero-development/NodeJS-Sentiment
Credits
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago