Posts

Showing posts with the label Twitter

Sentiment Analysis-Are we there???

Image
This one took long due to the Analysis work I was doing for this post.There is a lot of work going on in the subject of Sentiment analysis so I decided to compare the accuracy of the products. Let's start with some basics... NLP: Natural Language Processing Natural Language Processing is a very interesting topic and a subject of debate when it comes to accuracy of the NLP. Natural Language is very ambiguous as same sentences can have different meanings like "I saw a man on a hill with a telescope. " It seems like a simple statement until you begin to unpack the many alternate meanings: There’s a man on a hill, and I’m watching him with my telescope. There’s a man on a hill, who I’m seeing, and he has a telescope. There’s a man, and he’s on a hill that also has a telescope on it. I’m on a hill, and I saw a man using a telescope. There’s a man on a hill, and I’m seeing him with a telescope. Sarcasm is that component of the language that is diffi

Writing a Twitter Reply Bot

Image
Hi, This will be an introduction to writing a Twitter Bot to reply to conversations for Beginners. I will be using  Python for coding the Bot. Twitter Bot are a common these days and are used for different purposes, one may use bot for his/her personal account to reply for the tweets  mentioning them  or one may use them to follow some user and retweet their tweets . Twitter provides  huge set of functionality through its APIs .You can nearly perform all the tasks that can be performed on the twitter site through these APIs. And good part is that they provide it for free. Getting API keys from twitter Create a Twitter app to get the credentials which can be done at  https://apps.twitter.com/  . On successful creation of an app select your app and you will be redirected to app page: You will be provided with following credentials  which can accessed through keys and access tokens tab: Consumer Key (API Key) Consumer Secret (API Secret) Access Token Acce