Sentiment analysis refers to categorizing some given data as to what sentiment(s) it expresses. Usually, it refers to extracting sentiment from text, e.g. tweets or blog posts.
Questions tagged [sentiment-analysis]
2020 questions
0
votes
1 answer
Join and run calculations on Pandas DataFrame based on text matching
I have two dataframes of customer reviews data.
My first dataframe, 'df' contains thousands of raw customer reviews, processed/cleaned reviews data, and sentiment scores:
reviewBody reviewClean sentimentScore
'I like…

Sandy McAllister
- 35
- 1
- 4
0
votes
2 answers
How to extract tweets related to a particular country?
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
import tweepy
import textblob
import re
from textblob import TextBlob
import pandas as pd
import numpy as…
0
votes
1 answer
How to detect tweets posted from official account?
I am doing a research project which wants to work out Hong Kong people's attitudes toward the public transportation system. I have collected millions of tweets using Twitter API. Since my research target is local Hong Kong people, tweets posted from…

Bright Chang
- 191
- 2
- 14
0
votes
2 answers
Unsupervised Sentiment Analysis on product reviews
I would like to perform an unsupervised sentiment analysis on the reviews posted by customers on different product web-page. Most of the online resources use supervised methods and the examples/tutorials always have a labelled training data-set.
My…

Krishnendu
- 125
- 3
- 13
0
votes
0 answers
Negators and modifiers with Syuzhet vs. SentimentR for sentiment analysis in R
This question is twofold. An answer to either question would be an adequate solution. Very thankful if you could show suggestion as R-code.
1) The NRC lexicon in the Syuzhet packet yields the broadest range of emotions, but it doesn't seem to…

Anne Boysen
- 105
- 1
- 2
- 11
0
votes
1 answer
Training and evaluating accuracies come different in lstm model of keras
I am training a LSTM model for sentiment analysis using keras. Training the training set gives accuracy:80+ percentage during the epochs processing, but evaluating or predicting the model with the same training set gives accuracy:53.9% every time. I…

Mujtaba Faizi
- 284
- 1
- 7
- 21
0
votes
1 answer
Training issue in keras
I am trying to train my lstm model for sentiment analysis but the program doesnt proceed at all after displaying the following output:
F:\Softwares\Anaconda\lib\site-packages\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of…

Mujtaba Faizi
- 284
- 1
- 7
- 21
0
votes
0 answers
Reading a processed dataset for sentiment analysis in keras
I want to use the processed dataset for the sentiment analysis from here but I am not quite sure how to read it to input it in keras model.
I am used to using pandas to read the csv or json format but this one has the following…

BlueMango
- 463
- 7
- 21
0
votes
1 answer
Unable to store pandas data frame as a csv
I am following this tutorial to retrieve data from news sites.
The main function is getDailyNews. It will loop on each news source, request the api, extract the data and dump it to a pandas DataFrame and then export the result into csv file.
But…

Vignesh Sivan
- 3
- 2
0
votes
1 answer
Real Time Analysis And Sentiment Analysis
My project is to do the prediction by doing sentiment analysis of tweets(Cricket).
I will gather tweets as stream.
For this I need to do real time analysis of tweets and then sentiment analysis of tweets.
I'm using Kafka and Spark Streaming.
How to…
0
votes
0 answers
neutral label for NLTK
I have similar problem like below
Why did NLTK NaiveBayes classifier misclassify one record?
In my case, I queried positive feed and built positive_vocab and then queried negative feed and built negative_voca. I get the data from feed clean and…

Raj
- 401
- 6
- 20
0
votes
0 answers
Applying sentiment analysis to tweets
I am struggling to apply sentiment analysis to every tweet that is generated in an SQLite file. Here is the below code. I think I am not referring to the StreamListener appropriately like I should, but I really don't know how to properly implement…

AelaHuntress
- 61
- 2
- 9
0
votes
1 answer
Making Predictions on single review from input text using saved CNN model
I am making a classifier based on a CNN model in Keras.
I will use it in an application, where the user can load the application and enter input text and the model will be loaded from the weights and make predictions.
The thing is I am using GloVe…

Wisdom258
- 173
- 2
- 11
0
votes
2 answers
change the format of time and date in R
I am working on twitter data by useing R and I have column for date and time like this "10/19/2018 23:00" , "10/19/2018 23:01", "10/19/2018 23:02" ,"10/19/2018 19:45".
I want to change the format to be without date and also the time be without…

Fatima
- 497
- 5
- 21
0
votes
3 answers
Any elegant solution for finding compound noun-adjective pairs from sentence by using Spacy?
I am recently have known with Spacy and quite interested in this Python library. However, in my specification, I intend to extract compound noun-adjective pairs as a key phrase from the input sentence. I think Spacy provides a lot of utilities to…

Hamilton
- 620
- 2
- 14
- 32