Nitish Ranjan Bhowmik1, Mohammad Arifuzzaman2, *, , M. Rubaiyat Hossain Mondal1, , M. S. Islam1
Institute of Information and Communication Technology (IICT), Bangladesh University of Engineering and Technology (BUET), Dhaka, Banglaadesh
Department of Electronics and Communications Engineering, East West University, Dhaka, Banglaadesh
Received 19 September 2020, Accepted 9 March 2021, Available Online 22 March 2021.
- Sentiment analysis; Bangla NLP; Tf-Idf; SVM; BTSC; N-grams; Bi-grams
With the proliferation of the Internet's social digital content, sentiment analysis (SA) has gained a wide research interest in natural language processing (NLP). A few significant research has been done in Bangla language domain because of having intricate grammatical structure on text. This paper focuses on SA in the context of Bangla language. Firstly, a specific domain-based categorical weighted lexicon data dictionary (LDD) is developed for analyzing sentiments in Bangla. This LDD is developed by applying the concepts of normalization, tokenization, and stemming to two Bangla datasets available in GitHub repository. Secondly, a novel rule–based algorithm termed as Bangla Text Sentiment Score (BTSC) is developed for detecting sentence polarity. This algorithm considers parts of speech tagger words and special characters to generate a score of a word and thus that of a sentence and a blog. The BTSC algorithm along with the LDD is applied to extract sentiments by generating scores of the two Bangla datasets. Thirdly, two feature matrices are developed by applying term frequency-inverse document frequency (tf-idf) to the two datasets, and by using the corresponding BTSC scores. Next, supervised machine learning classifiers are applied to the feature matrices. Results show that for the case of BiGram feature, support vector machine (SVM) achieves the best classification accuracy of 82.21% indicating the effectiveness of BTSC algorithm in Bangla SA.
- © 2021 The Authors. Published by Atlantis Press B.V.
- This is an open access article under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/).