SlideShare a Scribd company logo
1 of 13
Sentiment Analysis in Twitter
Contributed by:
ANAND KUMAR MISHRA(141321300X)
ABHIJEET PANDEY(141321300X)
SURENDRA PRATAP(__________)
Instructor: Mr. Sudhanshu Saurabh
What is Sentiment Analysis?
• It is classification of the polarity of a
given text in the document, sentence
or phrase
• The goal is to determine whether the
expressed opinion in the text is
positive, negative or neutral.
Positive
Negative
Neutral
Why is Sentiment Analysis Important?
• Microblogging has become popular communication tool
• Opinion of the mass is important
• Political party may want to know whether people support their program or
not.
• Before investing into a company, one can leverage the sentiment of the
people for the company to find out where it stands.
• A company might want find out the reviews of its products
Using Twitter for Sentiment Analysis
• Popular microblogging site
• Short Text Messages of 140 characters
• 240+ million active users
• 500 million tweets are generated everyday
• Twitter audience varies from common man to celebrities
• Users often discuss current affairs and share personal views on
various subjects
• Tweets are small in length and hence unambiguous
Problem Statement
The problem at hand consists of two subtasks:
• Phrase Level Sentiment Analysis in Twitter :
Given a message containing a marked instance of a word or a phrase,
determine whether that instance is positive, negative or neutral in that
context.
• Sentence Level Sentiment Analysis in Twitter:
Given a message, decide whether the message is of positive, negative, or
neutral sentiment. For messages conveying both a positive and negative
sentiment, whichever is the stronger sentiment should be chosen.
Challenges
• Tweets are highly unstructured and also non-grammatical
• Out of Vocabulary Words
• Lexical Variation
• Extensive usage of acronyms like asap, lol, afaik
Approach
SVM Classifier and Prediction
Feature Extractor
Preprocessing
Tokeniser
Tweet Downloader
• Tweet Downloader
• Download the tweets using Twitter API
• Tokenisation
• Twitter specific POS Tagger developed by ARK Social Media Search
• Preprocessing
• Removing non-English Tweets
• Replacing Emoticons by their polarity
• Remove URL, Target Mentions, Hashtags, Numbers.
• Replace Negative Mentions
• Replace Sequence of Repeated Characters eg. ‘coooooooool’ by ‘coool’
• Remove Nouns and Prepositions
Approach
• Feature Extractor
• Polarity Score of the Tweet
• Percentage of Capitalised Words
• Number of Positive/Negative Capitalised Words
• Number of Positive/Negative Hashtags
• Number of Positive/Negative/Extremely Positive/Extremely Negative Emoticons
• Number of Negation
• Positive/Negative special POS Tags Polarity Score
• Number of special characters : ?,!,*
• Number of special POS
• Classifier and Prediction
• The features extracted are next passed on to SVM classifier.
• The model built is used to predict the sentiment of the new tweets.
Approach
Results
A baseline model by taking the unigrams, bigrams and trigrams and
compare it with the feature based model for both the sub-tasks
Sub-Task Baseline Model Feature Based
Model
Baseline + Feature Based
Model
Phrase Based 62.24 % 77.33% 79.90%
Sentence Based 52.54% 57.57% 58.36%
Accuracy
F1 Score
Sub-Task Baseline Model Feature Based
Model
Baseline + Feature Based
Model
Phrase Based 76.27* 75.23 75.98
Sentence Based 55.70 59.86 60.55
*Classifies in positive classes only, hence high recall.
Conclusion
• We investigated two kinds of models: Baseline and Feature Based
Models and demonstrate that combination of both these models
perform the best.
• For our feature-based approach, feature analysis reveals that the
most important features are those that combine the prior polarity of
words and their parts-of-speech tags.
Thank You

More Related Content

What's hot

Sentiment Analysis on Twitter
Sentiment Analysis on TwitterSentiment Analysis on Twitter
Sentiment Analysis on TwitterSmritiAgarwal26
 
Twitter sentiment analysis ppt
Twitter sentiment analysis pptTwitter sentiment analysis ppt
Twitter sentiment analysis pptSonuCreation
 
Sentiment Analysis using Twitter Data
Sentiment Analysis using Twitter DataSentiment Analysis using Twitter Data
Sentiment Analysis using Twitter DataHari Prasad
 
sentiment analysis text extraction from social media
sentiment  analysis text extraction from social media sentiment  analysis text extraction from social media
sentiment analysis text extraction from social media Ravindra Chaudhary
 
Twitter Sentiment Analysis
Twitter Sentiment AnalysisTwitter Sentiment Analysis
Twitter Sentiment AnalysisAyush Khandelwal
 
Twitter sentiment-analysis Jiit2013-14
Twitter sentiment-analysis Jiit2013-14Twitter sentiment-analysis Jiit2013-14
Twitter sentiment-analysis Jiit2013-14Rachit Goel
 
Sentiment analysis of twitter data
Sentiment analysis of twitter dataSentiment analysis of twitter data
Sentiment analysis of twitter dataBhagyashree Deokar
 
Twitter sentiment analysis
Twitter sentiment analysisTwitter sentiment analysis
Twitter sentiment analysisRahul Jha
 
Sentiment analysis - Our approach and use cases
Sentiment analysis - Our approach and use casesSentiment analysis - Our approach and use cases
Sentiment analysis - Our approach and use casesKarol Chlasta
 
Sentiment Analysis
Sentiment Analysis Sentiment Analysis
Sentiment Analysis prnk08
 
Sentiment analysis using ml
Sentiment analysis using mlSentiment analysis using ml
Sentiment analysis using mlPravin Katiyar
 
New sentiment analysis of tweets using python by Ravi kumar
New sentiment analysis of tweets using python by Ravi kumarNew sentiment analysis of tweets using python by Ravi kumar
New sentiment analysis of tweets using python by Ravi kumarRavi Kumar
 
Twitter sentiment analysis project report
Twitter sentiment analysis project reportTwitter sentiment analysis project report
Twitter sentiment analysis project reportBharat Khanna
 
Sentiment analysis in Twitter on Big Data
Sentiment analysis in Twitter on Big DataSentiment analysis in Twitter on Big Data
Sentiment analysis in Twitter on Big DataIswarya M
 
Sentiment Analysis in Twitter
Sentiment Analysis in TwitterSentiment Analysis in Twitter
Sentiment Analysis in Twitterprnk08
 
Sentiment analysis of Twitter data using python
Sentiment analysis of Twitter data using pythonSentiment analysis of Twitter data using python
Sentiment analysis of Twitter data using pythonHetu Bhavsar
 
Sentiment analysis of Twitter Data
Sentiment analysis of Twitter DataSentiment analysis of Twitter Data
Sentiment analysis of Twitter DataNurendra Choudhary
 
Sentiment analysis of tweets
Sentiment analysis of tweetsSentiment analysis of tweets
Sentiment analysis of tweetsVasu Jain
 
Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment Analysisprnk08
 

What's hot (20)

Sentiment Analysis on Twitter
Sentiment Analysis on TwitterSentiment Analysis on Twitter
Sentiment Analysis on Twitter
 
Twitter sentiment analysis ppt
Twitter sentiment analysis pptTwitter sentiment analysis ppt
Twitter sentiment analysis ppt
 
Sentiment Analysis using Twitter Data
Sentiment Analysis using Twitter DataSentiment Analysis using Twitter Data
Sentiment Analysis using Twitter Data
 
sentiment analysis text extraction from social media
sentiment  analysis text extraction from social media sentiment  analysis text extraction from social media
sentiment analysis text extraction from social media
 
Twitter Sentiment Analysis
Twitter Sentiment AnalysisTwitter Sentiment Analysis
Twitter Sentiment Analysis
 
Twitter sentiment analysis ppt
Twitter sentiment analysis pptTwitter sentiment analysis ppt
Twitter sentiment analysis ppt
 
Twitter sentiment-analysis Jiit2013-14
Twitter sentiment-analysis Jiit2013-14Twitter sentiment-analysis Jiit2013-14
Twitter sentiment-analysis Jiit2013-14
 
Sentiment analysis of twitter data
Sentiment analysis of twitter dataSentiment analysis of twitter data
Sentiment analysis of twitter data
 
Twitter sentiment analysis
Twitter sentiment analysisTwitter sentiment analysis
Twitter sentiment analysis
 
Sentiment analysis - Our approach and use cases
Sentiment analysis - Our approach and use casesSentiment analysis - Our approach and use cases
Sentiment analysis - Our approach and use cases
 
Sentiment Analysis
Sentiment Analysis Sentiment Analysis
Sentiment Analysis
 
Sentiment analysis using ml
Sentiment analysis using mlSentiment analysis using ml
Sentiment analysis using ml
 
New sentiment analysis of tweets using python by Ravi kumar
New sentiment analysis of tweets using python by Ravi kumarNew sentiment analysis of tweets using python by Ravi kumar
New sentiment analysis of tweets using python by Ravi kumar
 
Twitter sentiment analysis project report
Twitter sentiment analysis project reportTwitter sentiment analysis project report
Twitter sentiment analysis project report
 
Sentiment analysis in Twitter on Big Data
Sentiment analysis in Twitter on Big DataSentiment analysis in Twitter on Big Data
Sentiment analysis in Twitter on Big Data
 
Sentiment Analysis in Twitter
Sentiment Analysis in TwitterSentiment Analysis in Twitter
Sentiment Analysis in Twitter
 
Sentiment analysis of Twitter data using python
Sentiment analysis of Twitter data using pythonSentiment analysis of Twitter data using python
Sentiment analysis of Twitter data using python
 
Sentiment analysis of Twitter Data
Sentiment analysis of Twitter DataSentiment analysis of Twitter Data
Sentiment analysis of Twitter Data
 
Sentiment analysis of tweets
Sentiment analysis of tweetsSentiment analysis of tweets
Sentiment analysis of tweets
 
Sentiment Analysis
Sentiment AnalysisSentiment Analysis
Sentiment Analysis
 

Similar to Sentimental Analysis of twitter data .

Twitter_presentation.pptx
Twitter_presentation.pptxTwitter_presentation.pptx
Twitter_presentation.pptxdelowar34
 
Twitter Sentimental Analysis
Twitter Sentimental Analysis Twitter Sentimental Analysis
Twitter Sentimental Analysis TickTube
 
Twitter & Instagram 101
Twitter & Instagram 101 Twitter & Instagram 101
Twitter & Instagram 101 Hilary Kemptner
 
Twitter Sentiment Analysis.pdf
Twitter Sentiment Analysis.pdfTwitter Sentiment Analysis.pdf
Twitter Sentiment Analysis.pdfRachanasamal3
 
Sentiment analysis on demonetisation
Sentiment analysis on demonetisationSentiment analysis on demonetisation
Sentiment analysis on demonetisationAbrarMohamed5
 
ASC Marketing Workshop - Mar 2012
ASC Marketing Workshop - Mar 2012ASC Marketing Workshop - Mar 2012
ASC Marketing Workshop - Mar 2012TRG Arts
 
Recruitcamp Twitter
Recruitcamp   TwitterRecruitcamp   Twitter
Recruitcamp Twittermarywood123
 
Recruitcamp Twitter
Recruitcamp   TwitterRecruitcamp   Twitter
Recruitcamp Twittermarywood123
 
Tech Tips & Tools for Career Practitioners
Tech Tips & Tools for Career PractitionersTech Tips & Tools for Career Practitioners
Tech Tips & Tools for Career PractitionersDeb Osborn
 
IDEAinstitute - How to #makenews and Lead Your Industry
IDEAinstitute - How to #makenews and Lead Your IndustryIDEAinstitute - How to #makenews and Lead Your Industry
IDEAinstitute - How to #makenews and Lead Your IndustryAnna Ruth Williams
 
analyzing public sentiments using twitter feeds
 analyzing public sentiments using twitter feeds analyzing public sentiments using twitter feeds
analyzing public sentiments using twitter feedsOrakzay
 
Social Media Preso 5.2.12
Social Media Preso 5.2.12Social Media Preso 5.2.12
Social Media Preso 5.2.12bloggerchica
 
Support Optimization
Support OptimizationSupport Optimization
Support OptimizationLymba
 
How to Master Twitter
How to Master TwitterHow to Master Twitter
How to Master TwitterAdvisorDeck
 

Similar to Sentimental Analysis of twitter data . (20)

Twitter_presentation.pptx
Twitter_presentation.pptxTwitter_presentation.pptx
Twitter_presentation.pptx
 
Twitter Sentimental Analysis
Twitter Sentimental Analysis Twitter Sentimental Analysis
Twitter Sentimental Analysis
 
Twitter & Instagram 101
Twitter & Instagram 101 Twitter & Instagram 101
Twitter & Instagram 101
 
Twitter Sentiment Analysis.pdf
Twitter Sentiment Analysis.pdfTwitter Sentiment Analysis.pdf
Twitter Sentiment Analysis.pdf
 
Sentiment analysis on demonetisation
Sentiment analysis on demonetisationSentiment analysis on demonetisation
Sentiment analysis on demonetisation
 
Social Media Training
Social Media TrainingSocial Media Training
Social Media Training
 
How to work in social media
How to work in social mediaHow to work in social media
How to work in social media
 
ASC Marketing Workshop - Mar 2012
ASC Marketing Workshop - Mar 2012ASC Marketing Workshop - Mar 2012
ASC Marketing Workshop - Mar 2012
 
Recruitcamp Twitter
Recruitcamp   TwitterRecruitcamp   Twitter
Recruitcamp Twitter
 
Recruitcamp Twitter
Recruitcamp   TwitterRecruitcamp   Twitter
Recruitcamp Twitter
 
Tech Tips & Tools for Career Practitioners
Tech Tips & Tools for Career PractitionersTech Tips & Tools for Career Practitioners
Tech Tips & Tools for Career Practitioners
 
Hype presentation
Hype presentationHype presentation
Hype presentation
 
IDEAinstitute - How to #makenews and Lead Your Industry
IDEAinstitute - How to #makenews and Lead Your IndustryIDEAinstitute - How to #makenews and Lead Your Industry
IDEAinstitute - How to #makenews and Lead Your Industry
 
analyzing public sentiments using twitter feeds
 analyzing public sentiments using twitter feeds analyzing public sentiments using twitter feeds
analyzing public sentiments using twitter feeds
 
Social Media Preso 5.2.12
Social Media Preso 5.2.12Social Media Preso 5.2.12
Social Media Preso 5.2.12
 
Support Optimization
Support OptimizationSupport Optimization
Support Optimization
 
How to Master Twitter
How to Master TwitterHow to Master Twitter
How to Master Twitter
 
How to Do Better Market Research
How to Do Better Market ResearchHow to Do Better Market Research
How to Do Better Market Research
 
Twitter Basics
Twitter BasicsTwitter Basics
Twitter Basics
 
Twitter Basics
Twitter BasicsTwitter Basics
Twitter Basics
 

More from Greater Noida Institute Of Technology

More from Greater Noida Institute Of Technology (20)

Airline Analysis of Data Using Hadoop
Airline Analysis of Data Using HadoopAirline Analysis of Data Using Hadoop
Airline Analysis of Data Using Hadoop
 
College Administration Management System
College Administration Management System College Administration Management System
College Administration Management System
 
Web security
Web securityWeb security
Web security
 
Virtual Private Network
Virtual Private NetworkVirtual Private Network
Virtual Private Network
 
Viruses worms
Viruses wormsViruses worms
Viruses worms
 
Spoofing
SpoofingSpoofing
Spoofing
 
Hacking Question and Answer
Hacking Question and Answer Hacking Question and Answer
Hacking Question and Answer
 
Security tools
Security toolsSecurity tools
Security tools
 
Computer Security
Computer SecurityComputer Security
Computer Security
 
Hacking and its Defence
Hacking and its DefenceHacking and its Defence
Hacking and its Defence
 
BroadBand Over powerline .
BroadBand Over powerline .BroadBand Over powerline .
BroadBand Over powerline .
 
Modern Networking Hacking
Modern Networking HackingModern Networking Hacking
Modern Networking Hacking
 
Network security
Network securityNetwork security
Network security
 
Lifi Technology
Lifi TechnologyLifi Technology
Lifi Technology
 
Hack wireless internet connections or wifi
Hack wireless internet connections or wifiHack wireless internet connections or wifi
Hack wireless internet connections or wifi
 
Hacking step (Methodology)
Hacking step (Methodology)Hacking step (Methodology)
Hacking step (Methodology)
 
Hacking In Detail
Hacking In DetailHacking In Detail
Hacking In Detail
 
Computer Security
Computer SecurityComputer Security
Computer Security
 
How to become Hackers .
How to become Hackers .How to become Hackers .
How to become Hackers .
 
Ethical hacking
Ethical hackingEthical hacking
Ethical hacking
 

Recently uploaded

"Mastering the Digital Landscape: Navigating the World of Digital Marketing"
"Mastering the Digital Landscape: Navigating the World of Digital Marketing""Mastering the Digital Landscape: Navigating the World of Digital Marketing"
"Mastering the Digital Landscape: Navigating the World of Digital Marketing"yashushinde13
 
Marketing Plan - Social Media. The Sparks Foundation
Marketing Plan -  Social Media. The Sparks FoundationMarketing Plan -  Social Media. The Sparks Foundation
Marketing Plan - Social Media. The Sparks Foundationsolidgbemi
 
Unlock the power of Instagram with SocioCosmos. Start your journey towards so...
Unlock the power of Instagram with SocioCosmos. Start your journey towards so...Unlock the power of Instagram with SocioCosmos. Start your journey towards so...
Unlock the power of Instagram with SocioCosmos. Start your journey towards so...SocioCosmos
 
Film the city investagation powerpoint :)
Film the city investagation powerpoint :)Film the city investagation powerpoint :)
Film the city investagation powerpoint :)AshtonCains
 
Film show post-production powerpoint for site
Film show post-production powerpoint for siteFilm show post-production powerpoint for site
Film show post-production powerpoint for siteAshtonCains
 
Karol Bagh, Delhi Call girls :8448380779 Model Escorts | 100% verified
Karol Bagh, Delhi Call girls :8448380779 Model Escorts | 100% verifiedKarol Bagh, Delhi Call girls :8448380779 Model Escorts | 100% verified
Karol Bagh, Delhi Call girls :8448380779 Model Escorts | 100% verifiedDelhi Call girls
 
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...ZurliaSoop
 
Capstone slidedeck for my capstone final edition.pdf
Capstone slidedeck for my capstone final edition.pdfCapstone slidedeck for my capstone final edition.pdf
Capstone slidedeck for my capstone final edition.pdfeliklein8
 
SEO Expert in USA - 5 Ways to Improve Your Local Ranking - Macaw Digital.pdf
SEO Expert in USA - 5 Ways to Improve Your Local Ranking - Macaw Digital.pdfSEO Expert in USA - 5 Ways to Improve Your Local Ranking - Macaw Digital.pdf
SEO Expert in USA - 5 Ways to Improve Your Local Ranking - Macaw Digital.pdfmacawdigitalseo2023
 
BVG BEACH CLEANING PROJECTS- ORISSA , ANDAMAN, PORT BLAIR
BVG BEACH CLEANING PROJECTS- ORISSA , ANDAMAN, PORT BLAIRBVG BEACH CLEANING PROJECTS- ORISSA , ANDAMAN, PORT BLAIR
BVG BEACH CLEANING PROJECTS- ORISSA , ANDAMAN, PORT BLAIRNeha Kajulkar
 
Film show investigation powerpoint for the site
Film show investigation powerpoint for the siteFilm show investigation powerpoint for the site
Film show investigation powerpoint for the siteAshtonCains
 
Film show pre-production powerpoint for site
Film show pre-production powerpoint for siteFilm show pre-production powerpoint for site
Film show pre-production powerpoint for siteAshtonCains
 
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANGCara Menggugurkan Kandungan 087776558899
 
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort ServiceDelhi Call girls
 
Capstone slide deck on the TikTok revolution
Capstone slide deck on the TikTok revolutionCapstone slide deck on the TikTok revolution
Capstone slide deck on the TikTok revolutioneliklein8
 
Sociocosmos empowers you to go trendy on social media with a few clicks..pdf
Sociocosmos empowers you to go trendy on social media with a few clicks..pdfSociocosmos empowers you to go trendy on social media with a few clicks..pdf
Sociocosmos empowers you to go trendy on social media with a few clicks..pdfSocioCosmos
 
Capstone slidedeck for my capstone project part 2.pdf
Capstone slidedeck for my capstone project part 2.pdfCapstone slidedeck for my capstone project part 2.pdf
Capstone slidedeck for my capstone project part 2.pdfeliklein8
 
Ignite Your Online Influence: Sociocosmos - Where Social Media Magic Happens
Ignite Your Online Influence: Sociocosmos - Where Social Media Magic HappensIgnite Your Online Influence: Sociocosmos - Where Social Media Magic Happens
Ignite Your Online Influence: Sociocosmos - Where Social Media Magic HappensSocioCosmos
 

Recently uploaded (20)

"Mastering the Digital Landscape: Navigating the World of Digital Marketing"
"Mastering the Digital Landscape: Navigating the World of Digital Marketing""Mastering the Digital Landscape: Navigating the World of Digital Marketing"
"Mastering the Digital Landscape: Navigating the World of Digital Marketing"
 
Marketing Plan - Social Media. The Sparks Foundation
Marketing Plan -  Social Media. The Sparks FoundationMarketing Plan -  Social Media. The Sparks Foundation
Marketing Plan - Social Media. The Sparks Foundation
 
The Butterfly Effect
The Butterfly EffectThe Butterfly Effect
The Butterfly Effect
 
Unlock the power of Instagram with SocioCosmos. Start your journey towards so...
Unlock the power of Instagram with SocioCosmos. Start your journey towards so...Unlock the power of Instagram with SocioCosmos. Start your journey towards so...
Unlock the power of Instagram with SocioCosmos. Start your journey towards so...
 
Film the city investagation powerpoint :)
Film the city investagation powerpoint :)Film the city investagation powerpoint :)
Film the city investagation powerpoint :)
 
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
Call Girls in Chattarpur (delhi) call me [9953056974] escort service 24X7
 
Film show post-production powerpoint for site
Film show post-production powerpoint for siteFilm show post-production powerpoint for site
Film show post-production powerpoint for site
 
Karol Bagh, Delhi Call girls :8448380779 Model Escorts | 100% verified
Karol Bagh, Delhi Call girls :8448380779 Model Escorts | 100% verifiedKarol Bagh, Delhi Call girls :8448380779 Model Escorts | 100% verified
Karol Bagh, Delhi Call girls :8448380779 Model Escorts | 100% verified
 
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
Jual Obat Aborsi Palu ( Taiwan No.1 ) 085657271886 Obat Penggugur Kandungan C...
 
Capstone slidedeck for my capstone final edition.pdf
Capstone slidedeck for my capstone final edition.pdfCapstone slidedeck for my capstone final edition.pdf
Capstone slidedeck for my capstone final edition.pdf
 
SEO Expert in USA - 5 Ways to Improve Your Local Ranking - Macaw Digital.pdf
SEO Expert in USA - 5 Ways to Improve Your Local Ranking - Macaw Digital.pdfSEO Expert in USA - 5 Ways to Improve Your Local Ranking - Macaw Digital.pdf
SEO Expert in USA - 5 Ways to Improve Your Local Ranking - Macaw Digital.pdf
 
BVG BEACH CLEANING PROJECTS- ORISSA , ANDAMAN, PORT BLAIR
BVG BEACH CLEANING PROJECTS- ORISSA , ANDAMAN, PORT BLAIRBVG BEACH CLEANING PROJECTS- ORISSA , ANDAMAN, PORT BLAIR
BVG BEACH CLEANING PROJECTS- ORISSA , ANDAMAN, PORT BLAIR
 
Film show investigation powerpoint for the site
Film show investigation powerpoint for the siteFilm show investigation powerpoint for the site
Film show investigation powerpoint for the site
 
Film show pre-production powerpoint for site
Film show pre-production powerpoint for siteFilm show pre-production powerpoint for site
Film show pre-production powerpoint for site
 
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
💊💊 OBAT PENGGUGUR KANDUNGAN SEMARANG 087776-558899 ABORSI KLINIK SEMARANG
 
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort ServiceBusty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort Service
Busty Desi⚡Call Girls in Sector 49 Noida Escorts >༒8448380779 Escort Service
 
Capstone slide deck on the TikTok revolution
Capstone slide deck on the TikTok revolutionCapstone slide deck on the TikTok revolution
Capstone slide deck on the TikTok revolution
 
Sociocosmos empowers you to go trendy on social media with a few clicks..pdf
Sociocosmos empowers you to go trendy on social media with a few clicks..pdfSociocosmos empowers you to go trendy on social media with a few clicks..pdf
Sociocosmos empowers you to go trendy on social media with a few clicks..pdf
 
Capstone slidedeck for my capstone project part 2.pdf
Capstone slidedeck for my capstone project part 2.pdfCapstone slidedeck for my capstone project part 2.pdf
Capstone slidedeck for my capstone project part 2.pdf
 
Ignite Your Online Influence: Sociocosmos - Where Social Media Magic Happens
Ignite Your Online Influence: Sociocosmos - Where Social Media Magic HappensIgnite Your Online Influence: Sociocosmos - Where Social Media Magic Happens
Ignite Your Online Influence: Sociocosmos - Where Social Media Magic Happens
 

Sentimental Analysis of twitter data .

  • 1. Sentiment Analysis in Twitter Contributed by: ANAND KUMAR MISHRA(141321300X) ABHIJEET PANDEY(141321300X) SURENDRA PRATAP(__________) Instructor: Mr. Sudhanshu Saurabh
  • 2. What is Sentiment Analysis? • It is classification of the polarity of a given text in the document, sentence or phrase • The goal is to determine whether the expressed opinion in the text is positive, negative or neutral.
  • 4. Why is Sentiment Analysis Important? • Microblogging has become popular communication tool • Opinion of the mass is important • Political party may want to know whether people support their program or not. • Before investing into a company, one can leverage the sentiment of the people for the company to find out where it stands. • A company might want find out the reviews of its products
  • 5. Using Twitter for Sentiment Analysis • Popular microblogging site • Short Text Messages of 140 characters • 240+ million active users • 500 million tweets are generated everyday • Twitter audience varies from common man to celebrities • Users often discuss current affairs and share personal views on various subjects • Tweets are small in length and hence unambiguous
  • 6. Problem Statement The problem at hand consists of two subtasks: • Phrase Level Sentiment Analysis in Twitter : Given a message containing a marked instance of a word or a phrase, determine whether that instance is positive, negative or neutral in that context. • Sentence Level Sentiment Analysis in Twitter: Given a message, decide whether the message is of positive, negative, or neutral sentiment. For messages conveying both a positive and negative sentiment, whichever is the stronger sentiment should be chosen.
  • 7. Challenges • Tweets are highly unstructured and also non-grammatical • Out of Vocabulary Words • Lexical Variation • Extensive usage of acronyms like asap, lol, afaik
  • 8. Approach SVM Classifier and Prediction Feature Extractor Preprocessing Tokeniser Tweet Downloader
  • 9. • Tweet Downloader • Download the tweets using Twitter API • Tokenisation • Twitter specific POS Tagger developed by ARK Social Media Search • Preprocessing • Removing non-English Tweets • Replacing Emoticons by their polarity • Remove URL, Target Mentions, Hashtags, Numbers. • Replace Negative Mentions • Replace Sequence of Repeated Characters eg. ‘coooooooool’ by ‘coool’ • Remove Nouns and Prepositions Approach
  • 10. • Feature Extractor • Polarity Score of the Tweet • Percentage of Capitalised Words • Number of Positive/Negative Capitalised Words • Number of Positive/Negative Hashtags • Number of Positive/Negative/Extremely Positive/Extremely Negative Emoticons • Number of Negation • Positive/Negative special POS Tags Polarity Score • Number of special characters : ?,!,* • Number of special POS • Classifier and Prediction • The features extracted are next passed on to SVM classifier. • The model built is used to predict the sentiment of the new tweets. Approach
  • 11. Results A baseline model by taking the unigrams, bigrams and trigrams and compare it with the feature based model for both the sub-tasks Sub-Task Baseline Model Feature Based Model Baseline + Feature Based Model Phrase Based 62.24 % 77.33% 79.90% Sentence Based 52.54% 57.57% 58.36% Accuracy F1 Score Sub-Task Baseline Model Feature Based Model Baseline + Feature Based Model Phrase Based 76.27* 75.23 75.98 Sentence Based 55.70 59.86 60.55 *Classifies in positive classes only, hence high recall.
  • 12. Conclusion • We investigated two kinds of models: Baseline and Feature Based Models and demonstrate that combination of both these models perform the best. • For our feature-based approach, feature analysis reveals that the most important features are those that combine the prior polarity of words and their parts-of-speech tags.