IJCCS (Indonesian Journal of Computing and Cybernetics Systems) (Oct 2020)

Attention-Based BiLSTM for Negation Handling in Sentimen Analysis

  • Riszki Wijayatun Pratiwi,
  • Yunita Sari,
  • Yohanes Suyanto

DOI
https://doi.org/10.22146/ijccs.60733
Journal volume & issue
Vol. 14, no. 4
pp. 397 – 406

Abstract

Read online

Research on sentiment analysis in recent years has increased. However, in sentiment analysis research there are still few ideas about the handling of negation, one of which is in the Indonesian sentence. This results in sentences that contain elements of the word negation have not found the exact polarity. The purpose of this research is to analyze the effect of the negation word in Indonesian. Based on positive, neutral and negative classes, using attention-based Long Short Term Memory and word2vec feature extraction method with continuous bag-of-word (CBOW) architecture. The dataset used is data from Twitter. Model performance is seen in the accuracy value. The use of word2vec with CBOW architecture and the addition of layer attention to the Long Short Term Memory (LSTM) and Bidirectional Long Short Term Memory (BiLSTM) methods obtained an accuracy of 78.16% and for BiLSTM resulted in an accuracy of 79.68%. whereas in the FSW algorithm is 73.50% and FWL 73.79%. It can be concluded that attention based BiLSTM has the highest accuracy, but the addition of layer attention in the Long Short Term Memory method is not too significant for negation handling. because the addition of the attention layer cannot determine the words that you want to pay attention to.

Keywords