Int J Performability Eng ›› 2018, Vol. 14 ›› Issue (9): 2008-2014.

### An Improved Text Sentiment Analysis Algorithm based on TF-Gini

Songtao Shang*, Yong Gan, and Huaiguang Wu

1. School of Computer and Communication Engineering, Zhengzhou University of Light Industry, Zhengzhou, 450002, China
•  Revised on  ; Accepted on
• Contact: * E-mail address: songtao.shang@zzuli.edu.cn

Abstract: With the development of social media, more and more people prefer to express their opinions on the Internet. Therefore, developing a way to mine people’s emotional attitudes has become an important area of research. Text sentiment analysis is a method to mine people’s emotional attitudes through texts and an effective tool to grasp Internet users’ emotional tendencies. Naïve Bayes is a reliable text classification algorithm that has been approved by many researchers. Feature weighting is the most important problem for Naïve Bayes. Hence, this paper proposes an improved feature weighting algorithm, entitled TF-Gini, to enhance the performance of Naïve Bayes. The experimental results demonstrate the effectiveness of the improved algorithm.