Sentiment Analysis

Extensions can be downloaded and installed to add functionality to Helium Scraper 3
Post Reply
webmaster
Site Admin
Posts: 521
Joined: Mon Dec 06, 2010 8:39 am
Contact:

Sentiment Analysis

Post by webmaster » Sun Aug 11, 2019 12:50 am

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.
Attachments
Sentiment Analysis.hsxt
(205 Bytes) Downloaded 871 times
Juan Soldi
The Helium Scraper Team

Post Reply