sentiment-multitool
cli to scan piped text streams or start a web service for sentimint analysis. uses 'sentiment' by diy/@thisandagain
example
$> sentiment "hi i am super nice text"{"text":"hi i am super nice text","error":null,"data":{"score":6,"comparative":1,"tokens":["hi","i","am","super","nice","text"],"words":["super","nice"],"positive":["super","nice"],"negative":[]}}$>$> sentimentHELP: this is a program that exposes the node module 'sentiment' by diy as a command line tool and an http service. you may pass any text as any series of unlabeld arguments example> sentiment i am text that will be scored --dict path/to/dictionary.json use this to override word scores or add new words --port portnumber
install
sudo npm install -g sentiment-multitool