0% found this document useful (0 votes)
37 views19 pages

Twitter Sentiment Analysis For Product Review

Sentiment analysis is the process of classifying text as positive, negative, or neutral. It can help businesses determine if products will be in demand by analyzing reviews. Research shows human raters typically agree 80% on sentiment, so a program that is 70% accurate is nearly as good as humans. Sentiment analysis has practical applications like brand reputation management, customer feedback analysis, and competitive market research. This document describes collecting Twitter data, cleaning it, analyzing sentiment polarity, and plotting the results in a pie chart to understand public opinions.

Uploaded by

Raju's Shaadi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
37 views19 pages

Twitter Sentiment Analysis For Product Review

Sentiment analysis is the process of classifying text as positive, negative, or neutral. It can help businesses determine if products will be in demand by analyzing reviews. Research shows human raters typically agree 80% on sentiment, so a program that is 70% accurate is nearly as good as humans. Sentiment analysis has practical applications like brand reputation management, customer feedback analysis, and competitive market research. This document describes collecting Twitter data, cleaning it, analyzing sentiment polarity, and plotting the results in a pie chart to understand public opinions.

Uploaded by

Raju's Shaadi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19

Twitter

Sentiment
Analysis for
Product Review
What is Sentiment Analysis

● Sentiment Analysis is the process of classifying


whether a block of text is positive, negative, or
neutral.
● Sentiment analysis is contextual mining of words
which indicates the social sentiment of a brand
and also helps the business to determine whether
the product which they are manufacturing is
going to make a demand in the market or not.
Background study :
● The accuracy of a sentiment analysis system is, in
principle, how well it agrees with human judgments.
● According to research human raters typically only
agree about 80% of the time . Thus, a program which
achieves 70% accuracy in classifying sentiment is
doing nearly as well as humans, even though such
accuracy may not sound impressive.
● On the other hand, computer systems will make very
different errors than human assessors, and thus the
figures are not entirely comparable.
Practical application of Sentiment Analysis:

Market
Reputation Customer Research &
Brand Product
Management Feedback Competitive
Monitoring Analysis
Research
Our approach
● Collection of Dataset:

For which we need


some keys and we
need to authenticate
it:

Now, collecting
the data:
● Making a dataframe and saving it:
Now, making a dataframe using pandas and then saving it using numPy.
● Cleaning the data
Now, cleaning the data
using re.sub() function
which comes under
regular expression.

Clean data
● Subjectivity and Polarity
Getting subjectivity and
polarity of the tweets to
calculate negativity,
positivity and neutral
nature of the tweets.

Polarity and Subjectivity


● Computing the negativity, positivity and neutral nature of the tweets:

Nature
● Getting percentage of the tweets’ nature:

Output
● Plotting the pie chart:
Technology Used:

● Python
○ Tweepy
○ Matplotlib.pyplot
○ Flask
○ Pandas
○ Numpy
○ Textblob
● CSS
● HTML
Result & Discussion
Page 1:
Page 2:
Future Scope:

we can improve In future we will Moreover the


the models by work on it’s system has to
adding extra accuracy as well as be reliable and
information like the attractiveness secure and
closeness of the of the user easily accessible
word with a interface. by any device.
negation word.
Reference:
● https://en.wikipedia.org/wiki/Natural_language_processing
● https://youtu.be/RLfUyn3HoaE
● Capriello, A., Mason, P.R., Davis, B., Crotts, J.C., 2011. Farm tourism experiences
in travel reviews: a cross-comparison of three alternative methods for data analysis.
J. Bus. Res. 66, 778–785.
● Chiu, C., Chiu, N.H., Sung, R.J., Hsieh, P.Y., 2015. Opinion mining of hotel
customer-generated contents in Chinese weblogs. Curr. Issues Tourism 18 (5), 477–
495.
● https://www.geeksforgeeks.org/twitter-sentiment-analysis-using-python/

● https://textblob.readthedocs.io/en/dev/
● https://developer.twitter.com/en/docs/authentication/oauth-1-0a/obtaining-user-
access-tokens
ThankYou

You might also like