Sentiment Analysis Simplified

node v8.11.4
version: 1.0.0
Just give any phrase and checkout the sentiment score. A positive score means a positive sentiment, whereas a negative score indicates a negative sentiment. Neutral sentiment is signalled by a near zero score.
// Load wink-sentiment package. var sentiment = require( 'wink-sentiment' ); // Analyze sentiment. var result = sentiment( 'Excited to be part of the @imascientist team:-)!' ); console.log( result );

no comments

    sign in to comment