All Projects → heartexlabs → brand-sentiment-analysis

heartexlabs / brand-sentiment-analysis

Licence: Apache-2.0 license
Scripts utilizing Heartex platform to build brand sentiment analysis from the news

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language
python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to brand-sentiment-analysis

empythy
Automated NLP sentiment predictions- batteries included, or use your own data
Stars: ✭ 17 (-19.05%)
Mutual labels:  sentiment, nlp-machine-learning, sentiment-classification, nlp-sentiment-classifier
NTUA-slp-nlp
💻Speech and Natural Language Processing (SLP & NLP) Lab Assignments for ECE NTUA
Stars: ✭ 19 (-9.52%)
Mutual labels:  sentiment-analysis, transfer-learning, nlp-machine-learning, sentiment-classification
Senti4SD
An emotion-polarity classifier specifically trained on developers' communication channels
Stars: ✭ 41 (+95.24%)
Mutual labels:  sentiment-analysis, sentiment, sentiment-analyser, sentiment-classification
Text tone analyzer
Система, анализирующая тональность текстов и высказываний.
Stars: ✭ 15 (-28.57%)
Mutual labels:  sentiment-analysis, sentiment-analyser, sentiment-classification
Sentiment-analysis-amazon-Products-Reviews
NLP with NLTK for Sentiment analysis amazon Products Reviews
Stars: ✭ 37 (+76.19%)
Mutual labels:  sentiment-analysis, sentiment-classification, lstm-sentiment-analysis
Awesome Sentiment Analysis
Repository with all what is necessary for sentiment analysis and related areas
Stars: ✭ 459 (+2085.71%)
Mutual labels:  sentiment-analysis, nlp-machine-learning, sentiment-classification
Dan Jurafsky Chris Manning Nlp
My solution to the Natural Language Processing course made by Dan Jurafsky, Chris Manning in Winter 2012.
Stars: ✭ 124 (+490.48%)
Mutual labels:  sentiment-analysis, nlp-machine-learning, sentiment-classification
wink-sentiment
Accurate and fast sentiment scoring of phrases with #hashtags, emoticons :) & emojis 🎉
Stars: ✭ 51 (+142.86%)
Mutual labels:  sentiment-analysis, sentiment, sentiment-classification
billboard
🎤 Lyrics/associated NLP data for Billboard's Top 100, 1950-2015.
Stars: ✭ 53 (+152.38%)
Mutual labels:  sentiment-analysis, sentiment, sentiment-classification
SentimentAnalysis
Sentiment Analysis: Deep Bi-LSTM+attention model
Stars: ✭ 32 (+52.38%)
Mutual labels:  sentiment-analysis, nlp-machine-learning, sentiment-classification
Pytorch Sentiment Analysis
Tutorials on getting started with PyTorch and TorchText for sentiment analysis.
Stars: ✭ 3,209 (+15180.95%)
Mutual labels:  sentiment-analysis, sentiment-classification, lstm-sentiment-analysis
Onnxt5
Summarization, translation, sentiment-analysis, text-generation and more at blazing speed using a T5 version implemented in ONNX.
Stars: ✭ 143 (+580.95%)
Mutual labels:  sentiment-analysis, nlp-machine-learning
sentiment analysis dict
sentiment analysis、情感分析、文本分类、基于字典、python、classification
Stars: ✭ 111 (+428.57%)
Mutual labels:  sentiment-analysis, sentiment-classification
Multimodal Sentiment Analysis
Attention-based multimodal fusion for sentiment analysis
Stars: ✭ 172 (+719.05%)
Mutual labels:  sentiment-analysis, sentiment-classification
Datastories Semeval2017 Task4
Deep-learning model presented in "DataStories at SemEval-2017 Task 4: Deep LSTM with Attention for Message-level and Topic-based Sentiment Analysis".
Stars: ✭ 184 (+776.19%)
Mutual labels:  sentiment-analysis, nlp-machine-learning
Absa keras
Keras Implementation of Aspect based Sentiment Analysis
Stars: ✭ 126 (+500%)
Mutual labels:  sentiment-analysis, sentiment-classification
Pytorch Sentiment Neuron
Stars: ✭ 178 (+747.62%)
Mutual labels:  sentiment-analysis, nlp-machine-learning
Chinese ulmfit
中文ULMFiT 情感分析 文本分类
Stars: ✭ 208 (+890.48%)
Mutual labels:  sentiment-analysis, transfer-learning
Context
ConText v4: Neural networks for text categorization
Stars: ✭ 120 (+471.43%)
Mutual labels:  sentiment-analysis, sentiment-classification
Sentiment
AFINN-based sentiment analysis for Node.js.
Stars: ✭ 2,469 (+11657.14%)
Mutual labels:  sentiment-analysis, sentiment

Brand Sentiment

A set of scripts that makes sentiment analysis of your brand based on Google News and Twitter news streams. It utilizes Heartex platform to create a custom neural network to do the study specifically for your brand

Tutorial

Installation

Important. To make it work you need to obtain Heartex token, to do so signup here. We give you a free account with 10k API requests (with above link only!).

# install
python3 -m venv bsa-env
source bsa-env/bin/active
pip install -r requirements
# configure
export TOKEN=""
export BRAND=""

Create Sentiment Model

# first we need to grab news data
python src/get_google_news.py --pages=10 --query=$BRAND --output=news.csv
#  create project on heartex
python src/create_sentiment_project.py --token=$TOKEN --input=news.csv

# you will get project id, save it here
export SENTIMENT_PROJECT_ID=""

Open up src/config.json and put $TOKEN and $SENTIMENT_PROJECT_ID there

Run

Execute python3 service.py config.json

Add your own data

[TBD]

Advanced: Filter Results

In case your brand may appear in different contexts, for example, with the name of one of your products (ex: Apple Watch), you may want to filter those occurrences first.

To do that we will use another type of model which is called a tagger model. It learns when you tag relevant occurrences.

PRODUCTS="Apple,iOS,iPadOS,watchOS,macOS,MacPro,Pro Display"
# create Heartex project to filter news that are only relevent to your brand name

# you will get back a link where you need to train a neural network a little bit to make it understand what is relevent to you
python src/create_filter_project.py --token=$TOKEN --input=news.csv --labels=$PRODUCTS

# set project here
export FILTER_PROJECT=""

Now you have what is called a smart filter, edit config.json and include it there. You will see smart filter buttons on the index page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].