首页 /研究 /A Practical Application for Text-Based Sentiment Analysis Based on Bayes-LSTM Model
OTHER

A Practical Application for Text-Based Sentiment Analysis Based on Bayes-LSTM Model

Jiawen Li, Huaping Zhu

发表年份
2020
引用次数
3

摘要

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.

关键词

Computer scienceNaive Bayes classifierArtificial intelligencePreprocessorMicrobloggingSentiment analysisClassifier (UML)Data pre-processingSocial mediaWord (group theory)

相关论文

查看 OTHER 分类全部论文