Beruflich Dokumente
Kultur Dokumente
Project Guide
Ms.N. SWATHI R. UPENDAR RAO
Faculty Head of the Department
Department of Computer Science Department of Computer Science
Engineering Engineering
DECLARATION
We certify that
A. The work contained in the project report is original and has been done by ourselves under the
general supervision of our supervisor.
B. The work has not been submitted to any other institute for any degree or diploma.
C. We have followed the guidelines provided by the institute in writing the thesis.
D. We have conformed to the norms and guidelines gives in the Ethical Code of Conduct of the
Institute.
E. Whenever we have used material (data, theoretical analysis and text) from other sources, we
have given due credit to them by citing in the text of the thesis and giving their details in the
reference.
F. Whenever we have quoted written material from other sources, we have put them under
quotations marks and given due credit to them by citing them and giving their details in the
references.
KOTHPALLI RAJA SEKHAR N140695
SHEIK BASHEERUDDIN N140945
KAMBALA BHANU PRASAD N140991
Table of Contents
1. Abstract………………………………………………………5
2. Introduction…………………………………………………6
2.1 Purpose
2.2 Scope
3. Problem Definition ……………………………………….7
3.1 Existing System
3.2 Proposed System
4. System Analysis…………………………………………….8
4.1 Data Flow Diagrams
4.2 UML Diagrams
5. Software Requirement Specification…………………12
5.1 Definition of SRS
5.2 Requirement Analysis
5.3 Requirement Specification
6. Document Design……………………………………………14
6.1 System Design
7. About Software………………………………………………15
7.1 Over View of R
8. About Algorithms………………………………………………16
8.1 Over View of Natural Language Processing (NLP)
9. Coding………………………………………………………….17
10. Testing………………………………………………………..29
11. Screens……………………………………………………….20
Fig 1: Input-1
Fig 2: Output-1
Fig 3: Input-2
Fig 4: Output-2
12. Conclusion…………………………………………………..22
13. Bibliography………………………………………………..23
1. ABSTRACT
By randomly taking some number of tweets and its respective retweets using a keyword, we
analyse whether it is positive or negative. As everyone spend hours daily on social medias and sharing
their opinion in the form of tweets, we can easily gather those and run sentiment analysis on each word
in different topics. We run experiments on different queries from politics to humanity and show the
interesting results in the form of a bar graph. Analysing the public sentiment is important for many
applications such as firms trying to find out the response of their products in the market and predicting
political elections.
2. INTRODUCTION
2.1 Purpose:
Twitter Feed Sentiment Analysis is a tweet analyzing system, in this we use Natural Language
Processing (NLP) to decide whether the tweet is positive or negative or neutral.
2.2 Scope:
Open source and freely available
TTA is a good approach to give result on a survey by analyzing all tweets and retweets on
that survey topic.
TTA use some certain and specified keywords to decide whether the tweet is positive or
negative or neutral.
3. PROBLEM DEFINITION
3.1Existing System:
In this system, we don’t know whether a tweet is positive or negative without reading it. In
twitter they conduct polls to get the results of either survey or to know opinion of people on a certain
problem. It is difficult to analyse each and every tweet in a poll, it takes lot of time to declare result of
the poll. Since twitter contains so much data of tweets, it’s somewhat difficult to analyse a group of
tweets manually. To overcome this problem we proposed Twitter Feed Sentiment Analysis.
4. SYSTEM ANALYSIS
System Analysis is first stage according to System Development Life Cycle model. This System
Analysis is a process that starts with the analyst.
Analysis is a detailed study of the various operations performed by a system and their
relationships within and outside the system. One aspect of analysis is defining the boundaries of the
system and determining whether or not a candidate should consider other related systems.
Process:
People, procedures, or devices that use or produce (Transform) Data. The physical component is
not identified.
Source:
External sources or destination of data, which may be People , programs, organizations or other
entities.
Data Store:
Here data are stored or referenced by a process in the System
Dataflow diagrams:
4.2 UML DIAGRAMS:
We prepare UML diagrams to understand the system in a better and simple way. A single
diagram is not enough to cover all the aspects of the system. UML defines various kinds of diagrams to
cover most of the aspects of a system.
Class Diagrams:
Class diagrams are one of the most useful types of diagrams in UML as they clearly map out the
structure of a particular system by modeling its classes, attributes, operations, and relationships between
objects. With our UML diagramming software, creating these diagrams is not as overwhelming as it
might appear. This guide will show you how to understand, plan, and create your own class diagrams.
Fig: Class diagram
Hardware Interfaces:
Since the application import the libraries and packages through the internet, all the hardware
require to connect internet will be hardware interface for the system.
Software Interfaces:
We use R x64 3.4.4 and some packages for NLP. We use “twitteR” library to retrieve
tweets form twitter, “tidyverse” library to load the core tidyverse libraries and “dplyr” library to
manipulate the data.
Security Requirements:
We are planning to design Sentiment analyzer and that is made to analyze user’s tweets. It
will analyze all tweets and retweets. We implements Natural Language Processing to give result by
analyzing all tweets.
setwd("C:/Users/Bhanu Prasad/Desktop/mp")
## Tokenization:
Atokens <- data_frame(text = tweets_list) %>% unnest_tokens(word,text)
Fig 1: Input-1
Output:
Fig 2: Output-1
Input:
Fig 3: Input-2
Output:
Fig 4: Output-2
12. CONCLUSION
Twitter Feed Sentiment Analysis (TFSA) is an approach to analyze the tweets in twitter and
categories them into positive or negative or neutral using sentiment analysis. We focused on Twitter as
and have implemented the R program to implement sentiment analysis. Natural Language Processing
technique have been used for sentiment analysis on Twitter. It is very useful in getting feedbacks on
surveys or policies.
13. BIBLIOGRAPHY
1. https://www.google.com/amp/s/www/r-bloggers.com/twitter-sentiment-analysis-with-r/amp/
2. https://link.medium.com/RLVd1kh0XV
3. https://link.medium.com/rVqSgqt0XV
4. http://dataaspirant.com/2018/03/22/twitter-sentiment-analysis-using-r/