Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/facultymatt/sentimeter
- Owner: facultymatt
- Created: 2016-05-14T12:16:59.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-09-26T14:41:53.000Z (over 8 years ago)
- Last Synced: 2024-10-28T14:06:32.376Z (3 months ago)
- Language: JavaScript
- Size: 1.95 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```