Sriwijaya Journal of Informatics and Applications
Vol 2, No 2 (2021)

Classification of Emotions on Twitter using Emotion Lexicon and Naïve Bayes

Dhiya Fairuz (Sriwijaya University)
Novi Yusliani (Sriwijaya University)
Kanda Januar Miraswan (Sriwijaya University)



Article Info

Publish Date
01 Jul 2021

Abstract

Social media is a means of interaction and communication. One of the social media that is often used is Twitter. Twitter allows its users to express many things, one of which is being a personal media to provide various kinds of expressions from its users such as emotions. Users can express their emotions and sentiments through writing on the status of their social media posts. One method to find out the emotion in the sentence is using the Emotion Lexicon. However, the lexicon-based method is not good at classifying data because not every word contains emotion. So, there's a need to combine it with other classification method such as Naive Bayes. Naïve Bayes relies on independent assumptions to obtain a classification through the probability hypothesis that each class has. The results of the classification test with Emotion Lexicon alone have 46% accuracy, 45% precision, 51% recall and 36% f-measure. While the results of the classification test with Emotion Lexicon and Naïve Bayes resulted in an accuracy of 65%, precision of 77%, recall of 55%, and f- measure of 59%.

Copyrights © 2021






Journal Info

Abbrev

Publisher

Subject

Description

Sriwijaya Journal of Informatics and Applcations (SJIA) is a scientific periodical researchs articles of the Informatics Departement Universitas Sriwijaya. This Journal is an open access journal for scientists and engineers in informatics and Applcations area that provides online publication (two ...