• Home
  • Courses
    • Paid
      • Data Analytics Accelerator Certification
      • Machine Learning With Python
      • Advanced Tableau Certification
      • Microsoft Power BI Certification
      • HR Analytics Certification
    • Free
      • Introduction to R Programming
      • Introduction to Python Data Science
  • Solutions
    • Corporate Trainings
    • University courses
    • Analytics Consulting
  • Products
    • Image Recognition Systems
    • Document Recognition and eKYC Systems
    • Cloud LMS Platform
    • Vehicle recognition API’s
  • About Us
    • Our Team
    • Blog
    • Events
  • Jobs
  • Contact Us
Have any question?
+91-97316 57840
contact@equiskill.com
RegisterLoginOld Users Login
Equiskill.comEquiskill.com
  • Home
  • Courses
    • Paid
      • Data Analytics Accelerator Certification
      • Machine Learning With Python
      • Advanced Tableau Certification
      • Microsoft Power BI Certification
      • HR Analytics Certification
    • Free
      • Introduction to R Programming
      • Introduction to Python Data Science
  • Solutions
    • Corporate Trainings
    • University courses
    • Analytics Consulting
  • Products
    • Image Recognition Systems
    • Document Recognition and eKYC Systems
    • Cloud LMS Platform
    • Vehicle recognition API’s
  • About Us
    • Our Team
    • Blog
    • Events
  • Jobs
  • Contact Us

Text Mining

  • Home
  • Blog
  • Text Mining
  • Twitter Sentiment Analysis

Twitter Sentiment Analysis

  • Posted by admin
  • Categories Text Mining
  • Date July 6, 2018

Text Mining

Have you ever wondered if the feedbacks, comments provided by people to various companies are worth it or they just take your feedbacks as they are obliged to do it?

Actually you are mistaken these feedbacks play a very crucial role for the services provided to you. They make use of your reviews and opinions to provide better facilities to you. This is the place where Sentiment Analysis comes into play which is an application of Text Mining.

Text mining is about obtaining meaningful insights from huge amount of text. These insights actually help the companies to grow their business and provide satisfactory services to the customer.

Sentiment analysis is an information extraction task which checks whether the writer’s feelings expressed in a text is Positive or Negative.

There are many other examples where your reviews and opinions do matter. Many companies such as Credit Vidya, Hello Soda determine risk profile for the applicant and predict if they are eligible for loan or not. They create risk profile on the basis of words the applicant has used on various social sites.

We get this text from various sources such as

  • Social media like your Facebook account, Twitter account or Quora.
  • Government sources (You can visit the link)
  • Company database and many others

We will now look at an example of Twitter Sentiment Analysis

Step1:-To perform Twitter Sentiment Analysis you need to install all the required libraries. If anyone of them is missing install it using Install.packages (“package name”).

Note: – I have used 3.4 version of Rstudio and I suggest you to use that version as it will be more compatible with the above mentioned libraries.

Step2:- Next you need to have twitter API access and you can do it using developer.twitter.com if you have a twitter account already setup with them.

Step3:- Now you need to perform authorization using the OAuth (it is the industry-standard protocol for authorization). You need copy the exact same command.

Step4:- You can now extract the tweets for any topic about which you want to perform sentiment analysis. I have taken for “bit coin” which is a very trending topic now.

Here we are having following arguments:-

n- It specifies the number of tweets you want to extract.

Lang- It denotes the language in which you want to extract the tweets.

Since- It mentions the starting date for the tweets.

Step5:- Now we have our tweets and now we will convert them to vectors.

Step6:- We can further clean the data if we want and remove other unnecessary things. Now we will make the wordcloud by the following command:-

This is how our word cloud will look like:-

Step7:- Now we will perform the Sentiment Analysis and you will be using the following commands to do it.

Step8:-   Now we will plot our graph.

This is how our plot looks like:-

You can watch the video to understand it better.

  • Share:
author avatar
admin

Previous post

How can we be a data scientist from scratch?
July 6, 2018

Next post

Sentiment analysis for new Moto G6
July 7, 2018

You may also like

7fd7f399-25fc-49dd-950b-c089b1977702
Word Cloud for new Moto G6
8 July, 2018
WhatsApp Image 2020-02-11 at 6.03.24 PM
Sentiment analysis for new Moto G6
7 July, 2018

Search

Categories

  • Data Science Queries
  • Regression
  • Text Mining
  • Uncategorized

Latest Courses

Data Analytics Accelerator Certification

Data Analytics Accelerator Certification

₹21,899.95
Machine Learning With Python

Machine Learning With Python

₹21,900.00
Data Science Using R

Data Science Using R

₹17,900.00 ₹14,900.00

Follow Us

Company

  • Our team
  • Alumni Speak
  • Contact Us

Trending Courses

  • Advanced Tableau Certification
  • Data Analytics Accelerator Certification
  • HR Analytics Certification
  • Machine Learning With Python

For Companies

  • Cloud LMS platform
  • Corporate Training
  • Hire skilled talent
  • New Hire Training

For Universities

  • Cloud LMS platform
  • Credit Courses
  • Credit Courses
  • Credit Courses

Copyrights © 2022 | Equiskill Insights, All Rights Reserved.

  • Privacy
  • Terms

Login with your site account

Lost your password?

Not a member yet? Register now

Register a new account

Are you a member? Login now