Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/facultymatt/sentimeter

Attempt to judge simple like / dislike sentiment from sentence, phrase, or emoji.
https://github.com/facultymatt/sentimeter

Last synced: about 1 month ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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
```