Page 1 of 1

Sentiment Analysis

Posted: Sun Aug 11, 2019 12:50 am
by webmaster
This is a wrapper around the Vader Sharp project, which is an easy to use sentiment analysis library. It can be used to quickly get a positive or negative score given a text or a list of texts, as shown in this video. For instance, suppose a project has a table and a query called Tweets that contains a list of already extracted tweets. The following could be used to get a score between -1 (negative) and +1 (positive) for each tweet:

Code: Select all

Query.Tweets
as (tweet)
extract
   tweet
      tweet
   sentiment
      SentimentAnalysis.CompoundScore
         ยท  tweet

The extension can be installed by downloading and double clicking it, or at File -> Extensions.