Sentiment Analysis Simplified

node v8.14.0
version: 1.0.0
endpointsharetweet
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 );
Loading…

no comments

    sign in to comment