Polarity Identification Through Emoticon Using Context Based Sentiment Analysis - 1605073640
Polarity Identification Through Emoticon Using Context Based Sentiment Analysis - 1605073640
396
International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)
ISSN: 0976-1353 Volume 22 Issue 2 – MAY 2016.
• Removes retweets
• Removes emoticons
• Removes punctuations and URL
That is it will make the unstructured data in to the
structured format so the machine will read only the original
text and provide the result and also it reduces the time of
extracting the context from the emoticons. because it first
finds the opinion of the context in the feedback or review and
the emotion that which is inside the context is analyzed easily
and later only it will recognize the emoticon and then compare
them and provide the result. This preprocessing does not give
any confusion and controversy in finding the opinion
B. Subjectivity Lexicon analysis:
Lexicon based techniques use a dictionary to perform
entity-level sentiment analysis. This technique uses
dictionaries of words annotated with their semantic orientation
(polarity and strength) and calculates a score for the polarity
of the document .It Uses r packages this r packages uses two
handy functions they are classify emotion and polarity. This
lexicon analysis is the analysis process of training the natural
language process into the machine learning process and the
meaning are oriented in the dictionary that which is said as the
trained. And it is compared and analyzed exactly whether the
particular context comes in under which emotion.
1. Classify emotions:
The emotions are classified into five categories such
as happy, unhappy, fear, disgust and joy. The each context in
the word are compared and analyzed with the trained dataset
and then the emotions are classified into the above five
categories. By using the naïve bays classifier trained on the
Carlo Straparva.
Class_emo=classify
emotion(some_txt,algorithm=“Bayes”,prior=1.0)
2. Classify polarity:
Classifying the polarity is the based on the context’s
emotion. The opinion is categorized into positive or negative
or neutral. And the percentage of the positivity or negativity or
neutrality will be provided from the live tweets for eg: if the
twitter dataset is of 5000 tweets the polarity of tweets would
be mentioned in the percentage level and the three colors are
used to differentiate.
Class_pol=classify_polarity(some_txt,algorithm=bayes)
If the above two process has to be done properly
mean the twitter authentication is important as developer of
Fig 2.1 Sentiment Analysis this project I got the twitter authentication and got the
A. Data Preprocessing and cleanup: authorization from the twitter to extract the live data that is
This module is responsible for preprocessing, clearing and live tweets from the many of the web users As the
tokenizing the original texts and converting them into authorization is provided the twitter package is installed in the
Document objects. r_console then the twitter access from the direct authentication
397
International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)
ISSN: 0976-1353 Volume 22 Issue 2 – MAY 2016.
is and then the subjectivity analysis is processed and opinion other is the word cloud graph and the last one is aggregation
is extracted into three forms one is the polarity graph and the of the emotion and the context in the vertical line graph.
emoticons Notes
NO.
#6 :P Tongue out
#7 =) Happy face
#8 (: Happy face
Wink (with
#9 ;-)
nose)
Uneasy,
#10 :/
undecided,
#11 XD Big grin
#12 =D Laugh
#13 :o Shock, Yawn
#14 =] Happy face
#15 D: Grin (mirror)
#16 ;D Wink and grin
#17 :] Happy face
Fig 3.1 Polarity Graph
#18 :-( Unhappy Polarity graph shows from overall tweets how many
Uneasy, were in positive and negative and neutral form.
#19 =/
undecided,
#20 =( unhappy
399
International Journal of Emerging Technology in Computer Science & Electronics (IJETCSE)
ISSN: 0976-1353 Volume 22 Issue 2 – MAY 2016.