SlideShare a Scribd company logo
1 of 2
SUMMARY:
We have builttwoservices:
1) The firstservice pullsdatafora specifickeywordfromTwitterusingTwitter'sRESTAPIs(Search).
These tweetsare thenanalyzedforsentimentsusingthe sentimentanalyzer.Thereafterthe resultof
the analysis isstoredina database.
2) The secondservice providesaREST interface thatallowsuserstoquerythe analyzeddata. This
service givesaggregatedvalue of respectivesentiments. A Twitterapplicationwascreatedtogetthe
ConsumerKey,ConsumerSecret,AccessTokenandAccessTokenSecretfromthe site apps.twitter.com.
A particularnumberof tweetswere extractedandstoredinSqlite3database.The tweetswere collected
throughthe Twitterwebsite byusingthe individual Consumerkey,ConsumerSecret (APISecret).
REFERENCES:
To acknowledge use of the conceptsandlogicsinthisproject,please gothroughthe followingwebsites:
1) http://stackoverflow.com/questions/24214189/how-can-i-get-tweets-older-than-a-week-using-
tweepy-or-other-python-libraries
2) http://stackoverflow.com/questions/15628535/how-can-i-retrieve-all-tweets-and-attributes-for-a-
given-user-using-python
3) http://stackoverflow.com/questions/31164610/connect-to-sqlite3-server-using-pyodbc-python
4) https://dev.twitter.com/rest/public/search
5) http://stackoverflow.com/questions/14209868/how-to-work-with-sqlite3-and-python
6) textblob.readthedocs.org/en/dev/quickstart.html
7) https://impythonist.wordpress.com/2015/07/12/build-an-api-under-30-lines-of-code-with-python-
and-flask/
8) http://textblob.readthedocs.org/en/dev/quickstart.html
FURTHER INFORMATIONABOUT THE PROJECT:
The Mini Projectisa projectbasedon TwitterData AnalysiswhichinvolvesExtractingTwitterdatabased
on the "Keyword"the userwants,StoringTwitterDataandanalyzingthe TwitterData.
The projectis completedbySumitSumanandManishPujapanda.
The technologiesusedinthisprojectare Pythonforcode executionandSqlite3forstoringtweets.
DETAILED DESCRIPTIONS OFDATA-FILES:
Here are brief descriptionsof the data.
1) Project_Twitter.py
The tweetsare fetchedbasedona particularkeyword,andthe database iscreatedto store the tweets.
SentimentAnalysisisdone onthe retrievedtweets.
Informationaddedintothe table:
1. Serial Number
2. Tweetscreatedat (Time atwhichthe tweetwascreated)
3. Descriptionof the tweet
4. Sentiment
5. Polarity
Thenthe table isprinted.
2) Sentiment_Analyser.py
The tweetsare analyzedforpositive,negative andneutral tweets.
3) Application.py
The URL structure is giventoweb.pyandthena classis createdto getthe functionforqueryand setthe
sqlite3database connection.Afterthisaqueryiswrittentofetchall the data from the table andthe
lengthof the numberof rows isreturned.Thereafterwe write aquerytofetchthe numberof all the
positive andnegativesentimentsandprintitalongwithtakingoutthe aggregate.

More Related Content

What's hot

Core Insight Enterprise 2min
Core Insight Enterprise 2minCore Insight Enterprise 2min
Core Insight Enterprise 2min
Nsolera
 
Core Insight Enterprise Overview
Core Insight Enterprise Overview Core Insight Enterprise Overview
Core Insight Enterprise Overview
Nsolera
 
Presentation Week10
Presentation Week10Presentation Week10
Presentation Week10
guest052692
 
Pngine deck 2013
Pngine deck 2013Pngine deck 2013
Pngine deck 2013
balkini
 

What's hot (10)

Tweet at the right time
Tweet at the right timeTweet at the right time
Tweet at the right time
 
Core Insight Enterprise 2min
Core Insight Enterprise 2minCore Insight Enterprise 2min
Core Insight Enterprise 2min
 
Core Insight Enterprise Overview
Core Insight Enterprise Overview Core Insight Enterprise Overview
Core Insight Enterprise Overview
 
Computing Social Score of Web Artifacts - IRE Major Project Spring 2015
Computing Social Score of Web Artifacts - IRE Major Project Spring 2015Computing Social Score of Web Artifacts - IRE Major Project Spring 2015
Computing Social Score of Web Artifacts - IRE Major Project Spring 2015
 
A credibility analysis system for assessing information on twitter
A credibility analysis system for assessing information on twitterA credibility analysis system for assessing information on twitter
A credibility analysis system for assessing information on twitter
 
Analyze twitter trends & track clicks
Analyze twitter trends &  track clicksAnalyze twitter trends &  track clicks
Analyze twitter trends & track clicks
 
Presentation Week10
Presentation Week10Presentation Week10
Presentation Week10
 
Email Marketing Live Project
Email Marketing Live ProjectEmail Marketing Live Project
Email Marketing Live Project
 
Twitsper tweeting privately
Twitsper tweeting privatelyTwitsper tweeting privately
Twitsper tweeting privately
 
Pngine deck 2013
Pngine deck 2013Pngine deck 2013
Pngine deck 2013
 

Viewers also liked (9)

Homework help
Homework helpHomework help
Homework help
 
10a
10a10a
10a
 
Oodles team event @ Underdoggs!
Oodles team event @ Underdoggs!Oodles team event @ Underdoggs!
Oodles team event @ Underdoggs!
 
Creativity in Danish Businesses - CINC - Web
Creativity in Danish Businesses - CINC - WebCreativity in Danish Businesses - CINC - Web
Creativity in Danish Businesses - CINC - Web
 
Cover letter LinkedIn
Cover letter LinkedInCover letter LinkedIn
Cover letter LinkedIn
 
Trevor CV 2016
Trevor CV 2016Trevor CV 2016
Trevor CV 2016
 
Boletim (2)
Boletim (2)Boletim (2)
Boletim (2)
 
C_Briney_Resume (003)
C_Briney_Resume (003)C_Briney_Resume (003)
C_Briney_Resume (003)
 
certificate bank balance course
certificate bank balance coursecertificate bank balance course
certificate bank balance course
 

Similar to README

sentimentanaly 2.pdf
sentimentanaly 2.pdfsentimentanaly 2.pdf
sentimentanaly 2.pdf
visheshs4
 
Social Sensor for Real Time Event Detection
Social Sensor for Real Time Event DetectionSocial Sensor for Real Time Event Detection
Social Sensor for Real Time Event Detection
IJERA Editor
 
iPhoneアプリのTwitter連携
iPhoneアプリのTwitter連携iPhoneアプリのTwitter連携
iPhoneアプリのTwitter連携
So Matsuda
 
Building TweetEngine
Building TweetEngineBuilding TweetEngine
Building TweetEngine
ikailan
 

Similar to README (20)

sentimentanaly 2.pdf
sentimentanaly 2.pdfsentimentanaly 2.pdf
sentimentanaly 2.pdf
 
Sentiment Analysis using Twitter Data
Sentiment Analysis using Twitter DataSentiment Analysis using Twitter Data
Sentiment Analysis using Twitter Data
 
Social Sensor for Real Time Event Detection
Social Sensor for Real Time Event DetectionSocial Sensor for Real Time Event Detection
Social Sensor for Real Time Event Detection
 
Extract Tweets From Multiple Twitter Accounts Simultaneously.pdf
Extract Tweets From Multiple Twitter Accounts Simultaneously.pdfExtract Tweets From Multiple Twitter Accounts Simultaneously.pdf
Extract Tweets From Multiple Twitter Accounts Simultaneously.pdf
 
Twitter sentiment analysis ppt
Twitter sentiment analysis pptTwitter sentiment analysis ppt
Twitter sentiment analysis ppt
 
iPhoneアプリのTwitter連携
iPhoneアプリのTwitter連携iPhoneアプリのTwitter連携
iPhoneアプリのTwitter連携
 
Social media analysis in R using twitter API
Social media analysis in R using twitter API Social media analysis in R using twitter API
Social media analysis in R using twitter API
 
Ijciet 08 02_024
Ijciet 08 02_024Ijciet 08 02_024
Ijciet 08 02_024
 
MINING OPINIONS ABOUT TRAFFIC STATUS USING TWITTER MESSAGES
MINING OPINIONS ABOUT TRAFFIC STATUS USING TWITTER MESSAGESMINING OPINIONS ABOUT TRAFFIC STATUS USING TWITTER MESSAGES
MINING OPINIONS ABOUT TRAFFIC STATUS USING TWITTER MESSAGES
 
MOVIE RATING PREDICTION BASED ON TWITTER SENTIMENT ANALYSIS
MOVIE RATING PREDICTION BASED ON TWITTER SENTIMENT ANALYSISMOVIE RATING PREDICTION BASED ON TWITTER SENTIMENT ANALYSIS
MOVIE RATING PREDICTION BASED ON TWITTER SENTIMENT ANALYSIS
 
IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag
 IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag
IRJET - Implementation of Twitter Sentimental Analysis According to Hash Tag
 
Sentiment analysis and classification of tweets using rapid miner tool
Sentiment analysis and classification of tweets using rapid miner toolSentiment analysis and classification of tweets using rapid miner tool
Sentiment analysis and classification of tweets using rapid miner tool
 
Twitter analysis by Kaify Rais
Twitter analysis by Kaify RaisTwitter analysis by Kaify Rais
Twitter analysis by Kaify Rais
 
IRJET - Twitter Sentimental Analysis
IRJET -  	  Twitter Sentimental AnalysisIRJET -  	  Twitter Sentimental Analysis
IRJET - Twitter Sentimental Analysis
 
Twet
TwetTwet
Twet
 
Twitter System Design
Twitter System DesignTwitter System Design
Twitter System Design
 
Social Developers London update for Twitter Developers
Social Developers London update for Twitter Developers Social Developers London update for Twitter Developers
Social Developers London update for Twitter Developers
 
Social Aggregator Paper
Social Aggregator PaperSocial Aggregator Paper
Social Aggregator Paper
 
Topic Evolutionary Tweet Stream Clustering Algorithm and TCV Rank Summarization
Topic Evolutionary Tweet Stream Clustering Algorithm and TCV Rank SummarizationTopic Evolutionary Tweet Stream Clustering Algorithm and TCV Rank Summarization
Topic Evolutionary Tweet Stream Clustering Algorithm and TCV Rank Summarization
 
Building TweetEngine
Building TweetEngineBuilding TweetEngine
Building TweetEngine
 

README

  • 1. SUMMARY: We have builttwoservices: 1) The firstservice pullsdatafora specifickeywordfromTwitterusingTwitter'sRESTAPIs(Search). These tweetsare thenanalyzedforsentimentsusingthe sentimentanalyzer.Thereafterthe resultof the analysis isstoredina database. 2) The secondservice providesaREST interface thatallowsuserstoquerythe analyzeddata. This service givesaggregatedvalue of respectivesentiments. A Twitterapplicationwascreatedtogetthe ConsumerKey,ConsumerSecret,AccessTokenandAccessTokenSecretfromthe site apps.twitter.com. A particularnumberof tweetswere extractedandstoredinSqlite3database.The tweetswere collected throughthe Twitterwebsite byusingthe individual Consumerkey,ConsumerSecret (APISecret). REFERENCES: To acknowledge use of the conceptsandlogicsinthisproject,please gothroughthe followingwebsites: 1) http://stackoverflow.com/questions/24214189/how-can-i-get-tweets-older-than-a-week-using- tweepy-or-other-python-libraries 2) http://stackoverflow.com/questions/15628535/how-can-i-retrieve-all-tweets-and-attributes-for-a- given-user-using-python 3) http://stackoverflow.com/questions/31164610/connect-to-sqlite3-server-using-pyodbc-python 4) https://dev.twitter.com/rest/public/search 5) http://stackoverflow.com/questions/14209868/how-to-work-with-sqlite3-and-python 6) textblob.readthedocs.org/en/dev/quickstart.html 7) https://impythonist.wordpress.com/2015/07/12/build-an-api-under-30-lines-of-code-with-python- and-flask/ 8) http://textblob.readthedocs.org/en/dev/quickstart.html FURTHER INFORMATIONABOUT THE PROJECT: The Mini Projectisa projectbasedon TwitterData AnalysiswhichinvolvesExtractingTwitterdatabased on the "Keyword"the userwants,StoringTwitterDataandanalyzingthe TwitterData. The projectis completedbySumitSumanandManishPujapanda. The technologiesusedinthisprojectare Pythonforcode executionandSqlite3forstoringtweets.
  • 2. DETAILED DESCRIPTIONS OFDATA-FILES: Here are brief descriptionsof the data. 1) Project_Twitter.py The tweetsare fetchedbasedona particularkeyword,andthe database iscreatedto store the tweets. SentimentAnalysisisdone onthe retrievedtweets. Informationaddedintothe table: 1. Serial Number 2. Tweetscreatedat (Time atwhichthe tweetwascreated) 3. Descriptionof the tweet 4. Sentiment 5. Polarity Thenthe table isprinted. 2) Sentiment_Analyser.py The tweetsare analyzedforpositive,negative andneutral tweets. 3) Application.py The URL structure is giventoweb.pyandthena classis createdto getthe functionforqueryand setthe sqlite3database connection.Afterthisaqueryiswrittentofetchall the data from the table andthe lengthof the numberof rows isreturned.Thereafterwe write aquerytofetchthe numberof all the positive andnegativesentimentsandprintitalongwithtakingoutthe aggregate.