Abstract
Abstract
Text-based sentiment analysis algorithms have now become one of the active research areas in emotional analysis which has gained much attention nowadays. Text emotion classification can be widely used in social public opinion analysis, product use feedback, harmful information filtering, etc. In this paper, we first developed a robotic crawler to gather data about comment on Huawei cellphone from Sina weibo microblog sites (Chinese twitter). Then we generate the data text to be trained according to the input requirements of the Keras module, and perform formal training and learning on the model after data preprocessing. Subsequently, the classifier was constructed based on the Bayes-LSTM model in which TF-IDF model was used for feature selection. The LSTM model can be characterized by the ability to self-evaluate the usefulness of the information obtained, which makes up for the shortcoming of naive Bayes formula that only applies to two independent events. We finally have a practical application that generates a word cloud from text, showing frequently used words in larger font sizes, effectiveness of the algorithm was also verified by experiment.
Subject
General Physics and Astronomy
Reference9 articles.
1. Adapting naive Bayes tree for text classification;Wang;Knowledge & Information Systems,2015
2. A tutorial on pfs for on-line non-linear/non-gaussian Bayesian tracking;Arulampalam;Scientific Programming,2002
3. Effective and efficient feature selection for large-scale data using Bayes theorem;Subramanian;International Journal of Automation and Computing,2009
Cited by
1 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献