0.1.0 • Published 9 years ago

sentimeter v0.1.0

Weekly downloads
2
License
MIT
Repository
-
Last release
9 years ago

Sentimeter

Attempt to judge simple like / dislike sentiment from sentence, phrase, or emoji.

const Sentimeter = require('sentimeter');
Sentimeter('I love this') // true
Sentimeter('I hate this') // false
Sentimeter('this is pretty cool') // true
Sentimeter('lame') // false
Sentimeter('👍') // true
Sentimeter('💩') // false
// see test for more examples

Test

node Sentimeter.spec.js