BERT-and BiLSTM-Based Sentiment Analysis of Online Chinese Buzzwords

: Sentiment analysis of online Chinese buzzwords (OCBs) is important for healthy develop‑ ment of platforms, such as games and social networking, which can avoid transmission of negative emotions through prediction of users’ sentiment tendencies. Buzzwords have the characteristics of varying text length, irregular wording, ignoring syntactic and grammatical requirements, no com‑ plete semantic structure, and no obvious sentiment features. This results in interference and chal‑ lenges to the sentiment analysis of such texts. Sentiment analysis also requires capturing effective sentiment features from deeper contextual information. To solve the above problems, we propose a deep learning model combining BERT and BiLSTM. The goal is to generate dynamic representations of OCB vectors in downstream tasks by fine‑tuning the BERT model and to capture the rich informa‑ tion of the text at the embedding layer to solve the problem of static representations of word vectors. The generated word vectors are then transferred to the BiLSTM model for feature extraction to obtain the local and global semantic features of the text while highlighting the text sentiment polarity for sentiment classification. The experimental results show that the model works well in terms of the comprehensive evaluation index F1. Our model also has important significance and research value for sentiment analysis of irregular texts, such as OCBs.


Introduction
Text sentiment analysis, which can extract the sentiment content of texts, is a common application of natural language processing (NLP) and opinion mining.Moreover, sentiment analysis of online Chinese buzzwords (OCBs) is important in the real world.Specifically, sentiment analysis of OCBs (1) helps microblogs, games, and other online platforms to shield against some improper language, (2) purifies the online environment, and (3) precisely grasps the emotional direction of users.OCBs reflect the real life of society spreading through the Internet.OCBs are also are a kind of living language form [1], which is widely used, produced, and applied to the network.OCBs are emerging and changing, and about 1000 OCBs are generated every year and used by millions of users.OCBs are synonymous with Internet language, which refers to a language generated from the Internet or applied to Internet communication, mainly from online games, chat and comments, and other online social platforms.They usually consist of a mixture of Chinese characters, numbers, English letters, and symbols, such as the harmonic word " 鸭梨山大", the superposition " 绝绝子", and the abbreviation " 高大上", etc., often expressing special meanings in specific online media communication.OCBs vary in length, ignore grammar, and have no complete semantic structure [2].Compared with ordinary text, OCBs can be spread rapidly because they are grounded, personal, creative, short, and interesting [3].
However, OCBs also generate negative effects, such as (1) minors are easily influenced by alienating language forms and develop bad expression habits [4]; (2) OCBs come in various forms, often have an emotional tendency, and even tend to present vulgarity; and (3) the process of OCBs dissemination often leads to formation of stereotypes in language patterns.It is difficult to form a good social mentality because of the homogenization of people's basic perspectives on social issues or social events and the convergence of their views.
For traditional sentiment analysis models, it is difficult to obtain accurate sentiment characteristics of OCBs.Due their irregular structure and semantics, OCBs have no obvious emotional tendency.Besides, the current main text sentiment analysis models are all based on short text [5].Furthermore, when the amount of existing datasets is large, the convergence time of the model is often too long.
To solve the above problems, in this paper, the BERT pre-training model and BiLSTM are introduced to learn deep sentiment features from the context of the irregularity and incomplete semantic structure of OCBs.Furthermore, the BERT pre-training model is finetuned to accelerate the convergence rate of the model.Motivation to above problems can be seen in Figure 1.The main contributions are summarized as follows.

•
The BERT-BiLSTM model is proposed.The model does not require word separation during sentiment analysis and is able to capture deep contextual information from the word order structure.The superiority of BERT-BiLSTM is illustrated in Section 3.

•
A fine-tuned sentiment analysis of OCBs is proposed to accelerate the model convergence speed.First, the fine-tuning process directly employs the parameters obtained from the pre-training as the initial values of the proposed model.Then, the manually labeled dataset is transferred according to the downstream tasks to balance the relationship between the data and the model.

•
From the extensive experimental results on the OCBs dataset, we can conclude that BERT-BiLSTM outperforms seven state-of-the-art models in terms of recall and F1score.In addition, the ablation experiments demonstrate the superiority of the proposed model combining BERT and BiLSTM.The proposed model has significant implications for sentiment analysis of OCBs.Although this model has many contributions and advantages, it also has some limitations:

•
The proposed model is trained on datasets with small data volume (60,000 online Chinese buzzwords texts) in this paper.We will study its application on large-scale datasets in the future.

•
The proposed model is applied to static data in this paper.However, emotional analysis of dynamic data is also of great significance.For example, DTSCM tracks the change trend of theme emotion in different time segments by capturing the theme of microblog messages in different time segments [6].

•
This model divides the emotions of online Chinese buzzwords into two categories (i.e., positive and negative), but the classification of multiple categories of emotions needs further research (e.g., sadness, anger, tension, happiness).
The rest of this paper is structured as follows.Section 2 describes the current research in this study.In Section 3, the BERT and BiLSTM models and the proposed hybrid model (BERT-BiLSTM) are described.In Section 4, the performance of the proposed algorithm is analyzed and compared with the performance of several state-of-the-art text classification algorithms.Finally, Section 5 provides a summary and outlook.

Related Work
Currently, researchers are focused on studying text sentiment analysis based on sentiment lexicons [7], traditional machine learning [8], and deep learning [9,10].The sentimentlexicon-based approach constructs the sentiment lexicon manually and sets the matching rules manually to finally achieve the sentiment analysis of the text.For example, the Sen-tiWordNet [11] sentiment lexicon first combines synonyms based on WordNet and then assigns a positive or negative polarity score to a set of synonyms, which can represent the user's sentiment tendency.Unlike English sentiment lexica, Chinese sentiment lexica are mainly composed of NTUSD [12], the Zhiwang knowledge base, and sentiment vocabulary ontology databases.Wang et al. [13] improved the semantic similarity algorithm based on the knowledge network words, thus improving the semantic similarity accuracy.Hao et al. [14] merged a lexicon of microblog data based on Hownet word similarity and subsequently used pointwise mutual information (PMI) to classify the sentiment of web words.Ye et al. [15] combined the CBOW model and syntactic rules to extract candidate sentiment words from the corpus.They then used the improved SOPMI algorithm to determine the sentiment polarity to form a domain positive-and negative-sentiment lexicon.Collecting and summarizing words with sentiment tendency requires a great deal of time and reading many related materials as well as marking the sentiment polarity and intensity of these words in different degrees.Therefore, the cost of building sentiment dictionaries is large, and sentiment-dictionary-based methods do not consider the relationships between words in the text and lack word sense information.
Machine learning methods show advantages in sentiment analysis tasks compared to sentiment polarity dictionaries.Yang [16] used the TF-IDF algorithm to convert text data into vector data for describing the sentiment of different movie reviews.Three machine learning models were trained by these feature vectors, L1 logistic regression, L2 logistic regression, and a CatBoost model.The results showed that the accuracy and precision of the L1 logistic regression was close to 80%.Tiwari [17] used plain Bayesian (NB) and maximum entropy (ME) methods with a support vector machine (SVM) to perform a review sentiment analysis of tendencies.Since feature selection affects the performance of machine learning methods, Tripathy [18] analyzed online review comments by combining N-gram models with machine learning methods.Their experiments showed that SVM combined with unigram, bigram, and trigram to extract features achieved the best classification results.
With the research and development of deep learning in natural language processing, deep neural networks have achieved outstanding performance in sentiment analysis.Kim [19] solved the sentiment classification problem using convolutional neural networks (CNNs).Cho [20] proposed gated recurrent units (GRUs) to analyze contexts with long dependency problems, which showed significant improvements in various tasks of natural language processing.Qu and Wang [21] proposed a model for sentiment analysis based on hierarchical attention networks with a 5% improvement in accuracy compared to recurrent neural networks.To address the inability of traditional neural networks to fully capture the entire context of a sentence or comment, some studies have used variants of recurrent neural networks (RNN) [22], such as LSTM or GRU, to solve sentiment analysis problems [23].LSTM models enable phrase-level sentiment classification to include linguistic regularizations, such as negativity, intensity, and polarity [24].Nio [25] used bidirectional LSTM to train the labeled text in order to process the syntax and semantics of Japanese.For polarity classification of phrase-level words, Zhang [26] proposed a BiGRU model with multiple inputs and multiple outputs.Thakur [27] studied Twitter sentiments about Omicron variants and analyzed various emotional features, such as "bad", "good", "terrible", and "great."Most tweets are published in multiple languages, which provides some ideas for our next research.Basiri [28] proposed a bidirectional CNN-RNN emotion analysis model based on attention.By taking into account the time information flow to capture the corresponding emotional features, they carried out experiments based on five reviews and three Twitter datasets, with good results.
Considering that a great deal of sentiment analysis is carried out on social media communication, text often ignores grammar and spelling rules, so preprocessing technology is needed to clean up data.Palomino [29] evaluated the effectiveness of different combinations of preprocessing components to obtain the overall accuracy of some existing tools and algorithms.
In the above studies, the sample data basically belong to regular and formal written text data.However, most of the OCBs text data studied in this paper are presented in an irregular form.Since their text does not have an obvious semantic structure, the above CNN and RNN models cannot handle such text well.It is difficult to solve complex emotions in the context of online buzzwords.At the same time, most of the above methods use Word2Vector or GloVe and other static word vector methods.Yet, there are many multiple meanings in OCBs that require richer dynamic word vector expression capability.To address these problems, this paper proposes a BERT pre-training model [30] combined with BiLSTM bi-directional long-and short-term memory networks for OCB sentiment analysis.In this paper, we first generate dynamic word vectors based on the pre-trained BERT model, then transfer the dynamic word vectors into the BiLSTM networks to extract the sentiment features of the text by combining the contextual semantics contained in the word vectors, and finally use the Softmax layer to obtain the sentiment polarity of the current text.

Proposed Model
In this section, the proposed BERT-BiLSTM model for sentiment analysis of OCBs is detailed.

BERT Pretraining Language Model
The BERT model has shown strong advantages in tasks such as text classification and sentiment analysis [30].Therefore, the BERT model is most likely very suitable for OCBs with strong semantic pertinence and polysemy.BERT is a transfer learning pre-trained neural network model [30].The Transformer-based bidirectional encoder of this model can take into account the information before and after the word when processing a word so as to obtain the semantics of the context of the word.The basic model of BERT has 12 stacked encoding layers, each encoding layer has 12 self-attention heads, and each feedforward layer has 768 hidden units, and the output of the final model, which is the input of the downstream task, provides high-quality word vectors [30].As shown in Figure 2, BERT is pre-trained through a large-scale corpus, which leads to model network parameters suitable for general NLP tasks.It then is fine-tuned to adapt the model to specific downstream tasks.[ ] Since traditional models need input vectors when dealing with natural language, this usually means that the vocabulary and parts of speech need to be converted into sequence features.BERT has advantages over the traditional models, Word2Vec or GloVe [31].In contrast, BERT can learn word representations based on contextual information and adjusts them according to the meaning of words when fusing contextual information, but words represented by Word2Vec cannot contain context.
The input of the BERT model is represented by the vector superposition of token embedding, segment embedding, and position embedding, and the word vector representation is generated as shown in Figure 3. Token embedding is used as the first word vector marked, and its initial value can be randomly generated, which is the segmentation mark between sentences.Segment embedding is a vector that distinguishes whether different buzzword texts are semantically similar.Position embedding represents location information of each word in the buzzword text.The input vector of the BERT model not only contains short text semantics but also contains the distinction information between different sentences and the position information between words.BERT is pre-trained by using the Masked Language Model (MLM), which randomly hides the input words and then predicts the original vocabulary size of the hidden part according to the context.Next Sentence Prediction (NSP) allows one to insert and label the beginning and end of each sentence, respectively, and predict whether the positions of two sentences are adjacent by learning the relationship between sentences.This bidirectional training model enables BERT to have deeper language context awareness and the ability to learn the context of words through the surrounding environment.The BERT fine-tuning process directly uses the parameters obtained from pre-training as the initial value of the model, transfers the manually labeled dataset according to the downstream tasks, balances the relationship between the data and the model (hence, the BERT model can be further fitted and converged), and, finally, a model that can be used downstream is obtained.

BiLSTM Network
A BiLSTM model is a model composed of a forward LSTM and a backward LSTM, and the LSTM in this model is a variant of the recurrent neural network (RNN).In order to solve the problem of gradient disappearance of traditional RNN, a gating unit is introduced into the LSTM, which provides the LSTM with a stronger ability to capture long-term dependencies and enables the RNN to better discover and utilize the dependencies existing in long-distance data.
Each cell unit in LSTM adopts a new structure, which mainly consists of four parts: input gate i t , output gate o t , forget gate f t , and storage unit c t .The internal structure of a single cell of the LSTM module is shown in Figure 4.The LSTM update formula is as follows: 1.
Forget gate mechanism: The forget gate f t is a reset memory cell.σ represents the Sigmoid activation function, W ( f ) is a weight matrix, x t represents the input at time t.U is the weight matrix of the hidden layer output, h t−1 is the hidden state, represents the short-term memory.b ( f ) is the offset vector.

2.
Input gate mechanism: The input gate i t represents the input gates that control the input of the memory cell.
σ represents the Sigmoid activation function, W (i) is a weight matrix, x t represents the input at time t.U is the weight matrix of the hidden layer output, h t−1 is the hidden state, represents the short-term memory.b (i) is the offset vector.

3.
Current unit status: c is candidate memory cell.The forget gate f t is a reset memory cell.c t−1 is the cell state of t − 1, represents the long-term memory.

4.
Update unit status: c t is the cell state, represents the long-term memory, c is candidate memory cell.i t represents the input gates that control the input of the memory cell.W (c) is a weight matrix, x t represents the input at time t.U is the weight matrix of the hidden layer output, h t−1 is the hidden state, represents the short-term memory.b (c) is the offset vector.

5.
Output gate mechanism: The output gate o t represents the output gates that control the output of the memory cell.σ represents the Sigmoid activation function, W (o) is a weight matrix, x t represents the input at time t.U is the weight matrix of the hidden layer output, h t−1 is the hidden state, represents the short-term memory.b (o) is the offset vector.

6.
The current state of the hidden layer: h t is the hidden state.tanh is the Sigmoid activate function.c t is the cell state, represents the long-term memory.o t represents the output gates that control the output of the memory cell.
To acquire backward and forward features in a given time, Xu [32] proposed the BiL-STM network.Therefore, in order to solve the problem of feature irregularity in the OCBs, this paper uses the BiLSTM model to capture more features hidden in the contextual deep semantic dependencies.The structure of BiLSTM is shown in Figure 5. Here, BiLSTM is used to learn the output of the BERT layer to enhance the fitting effect of network features and generalization to new datasets.
The formulas for the state at each moment of the model are shown in Equations ( 7) and ( 8).The final state is jointly determined by the state of the BiLSTM, as shown in Formula (9) later. ← where x i represents the input vector at time i, → h i−1 represents the forward hidden layer vector at time i − 1, and ← h i−1 represents the reverse hidden layer vector at time i − 1.

Network Buzzwords Sentiment Analysis Model
This paper adopts a combined prediction model, namely Bidirectional Encoder Representation of Bidirectional Long Short-Term Memory Transition (BERT-BiLSTM), to con-struct a sentiment analysis model for OCBs.It is worth noting that the BERT-BiLSTM proposed in this paper uses BERT as the upstream module and BiLSTM as the downstream module to fine-tune the BERT pre-trained model and then transfer it into BiLSTM for training.The BERT-BiLSTM OCBs structure is shown in Figure 6.As mentioned above, OCBs have some problems, such as language fragmentation, incomplete semantic structure, and irregular features, while BERT has a strong ability to learn the features of nearby words.In Figure 6, E 1 , E 2 , • • • , E N is the word input vector of the BERT layer, E [CLS] is the buzzword start bit indicator, T 0 is the output vector of the OCBs start symbol after BERT training, and T 1 , T 2 , • • • , T N is the word output vector of the BERT layer.Subsequently, a BiLSTM model is used to extract contextual features in the input sequence data, where h n is the state of the reverse LSTM hidden layer of the BiLSTM layer, respectively.Finally, the feature vector output by BiLSTM is analyzed by a Softmax classifier to achieve the sentiment polarity classification of OCBs.
The proposed BERT-BiLSTM model multiplies the output ) of the hidden layer training of BERT by the learnable weight W a ∈ R d a ×n as the input of the BiLSTM model.The formula is as follows: where 1 ≤ i ≤ n, n denotes the dimension of the feature vector output after fine-tuning of the BERT model, a i ∈ R da is the input vector of the BiLSTM layer, b a is the offset vector of dimension d a .Here, we adopt Sigmoid as the activation function g 1 .
The ordinary LSTM model calculates the one-way hidden layer sequence h, while BiLSTM calculates the forward hidden layer vector as → h and the backward hidden layer vector as ← h and finally combines the two for output vector v i , as shown in Figure 7.The calculation formula is as follows: where In addition, we define the hidden layer of the model as follows: where g 2 is the Tanh function, W d h a i ∈ R d h ×d a is the weight matrix of a i , d ∈ {0, 1} repre- sents two different directions in the hidden layer, U is the weight matrix of the hidden layer output sequence h d at moment i. h d i−1 corresponds hidden layer output sequence of the previous moment i − 1; b h represents offset vector of d direction.Then, the output sequences h d of all hidden layers are combined to obtain the feature vector H at the end of the sentence.Then, the feature vector H is transferred to the fully connected layer with the Relu function and the Softmax function to classify the emotional tendencies.The probability calculation formula of sentiment tendency classification is as follows: where W s ∈ R |s|×|l| (|l| is the number of classes) and b s ∈ R |l| are the learnable parameters of the output layer.

Datasets
The dataset in the experiments is based on the Internet corpus of Sogou Labs [33] and Weibo popular events [34].A total of 100,000 OCBs are collected.About 10,000 texts are not appropriate for the experiments, such as being either too long, having complex emotional tendencies, or too many special symbols.Therefore, the original text data are preprocessed and filtered.Finally, there are 90,000 OCBs that meet the criteria of the input model, half of the positive data and half of the negative data.The code and dataset (https://github.com/Rachel-loo/BERT-BiLSTM, accessed on 7 November 2022) have been published to facilitate follow-up research by other researchers.Most of the special texts, such as OCBs, do not carry the labeling of emotionally inclined words.In order to ensure the validity of the data, the text content is first manually labeled and classified (the labeling is divided into two categories: negative and positive).In view of the dichotomy of sentiment research in this paper, negative OCBs are represented by 0 and positive OCBs are represented by 1.We selected 80% of the dataset as the training set, 10% as the test set, and 10% as the validation set (see Table 1).

Text of Online Chinese Buzzwords Label
坐沙发，赏灯会。 Sit on the couch, enjoy the lights. 1 这是什么神仙操作。 What kind of celestial manipulation is this. 1 悲催！隐形眼镜配戴时间过长，眼睛又发炎了。 Grief!Time of contacting lenses is too long.The eyes are inflamed.again.0 亲爱滴，有点像手表广告，不过脸很美。 Dear drip, it's a bit like a watch advertisement, but the face is beautiful.1 我的hotmail 邮箱被黑了，莫名其妙自动给所有人发了个链接。 My hotmail email was hacked and somehow automatically sent a link.to everyone 0 头晕晕，眼花花，早上醒不来，各种状态不佳，我不能再这样下去了。 Dizziness, dizziness, not waking up in the morning, all kinds of poor state, I can ′ t go on like this.0
The dynamic learning rate and early stopping in the BERT model can determine the parameters, e.g., num_epochs and learning_rate.This study sets num_epochs = 9 to indicate that the model has been trained 9 times because, after testing multiple epochs, the results of each metric set to 9 are the best.If the current accuracy is not improved compared to the previous epoch, reduce the current learning rate.If no improvement happens during 9 epochs, the training is stopped, and the learning rate of the model is 5 × 10 −5 .Batch_size is the number of training samples in each batch.When Batch_size = 16, 32, 64, as the number of iterations increases, the training speed becomes slower.The larger the Batch_size, the better the characteristics of the entire data can be displayed and the more accurate the gradient descent direction can be ensured.When set to 256, the number of iterations is reduced, but the parameter correction is slow.Finally, the value of Batch_size is set to 128.Pad_size indicates the length of each text processing; short text is filled and long text is divided.Set the value of Pad_size to 64 because the Internet catchphrase text is short text.In the BERT model [35], Hidden_size is set to 768, indicating the number of neurons in the hidden layer of the model, which is not changed in the combined model, and Hidden_size is still set to 768 (see Table 2).

Metrics
In this paper, precision, recall, and the F1-score are used as evaluation metrics.The precision represents the proportion of positive samples that are correctly predicted.The recall rate stands for the ability of recognizing the positive samples.If the positive and negative datasets are irregular text, there will be gaps in the calculation of precision and recall.The F1-score combines with the two metrics of precision and recall to more comprehensively reflect the classification performance.The better the performance of the classifier, the closer the F1-score is to 1.The specific form is detailed as follows: Precision is defined as: Precision = TP TP + FP (13) Recall is defined as: The F1-score is defined as:

Experiment Analysis
To further evaluate the proposed BERT-BiLSTM OCBs sentiment analysis model, we set up eight sets of experiments.The values of precision, recall, and F1 are obtained on the test set, respectively.The comparison results of the constructed OCBs dataset are shown in Table 3.According to Table 4, the results of the proposed BERT-BiLSTM model on the OCBs dataset are better than those of the other models.First, the F1-score of the BERT-BiLSTM model is the highest, which means that the model has strong comprehensive ability and good generalization performance.Second, the recall value of the BERT-BiLSTM model is also the highest compared to other models.This also shows that the number of positive samples identified by the model is the best, and the coverage of training samples is wide.It reflects the sensitivity of the model.Third, in terms of precision, BERT-BiLSTM performs well.Its value is close to BERT, slightly (only 0.54%) worse than BERT-CNN and BERT-RNN.This is due to the high recall rate of the model, which indirectly leads to a decrease in the accuracy rate.Notably, the ability of the BiLSTM model to learn text context features is more prominent, so the results of the three models, BERT-BiLSTM, BiLSTM, and BiLSTM-Attention, are better in terms of recall and F1-score values.The BERT-BiLSTM model has the best training results.This proves that the word vector obtained by using the BERT pre-training model contains more complete context information, which is conducive to extraction of text information by the subsequent model.

Ablation Experiment
The proposed model uses BERT pre-training model and BiLSTM model.Because the experimental results show that the BERT-BiLSTM combined model has a better effect on emotion analysis than the above two models, it is compared with these two models in the ablation experiment [39] to prove the superiority.In this study, the following three models for emotional polarity classification were benchmark-tested because they achieved good results.In order to maintain fairness, the parameters are consistent with the previous experiments.The three models are as follows: • BERT: The word vector output from BERT pre-training model is used to calculate the emotional polarity through Softmax (a traditional classifier).
• BiLSTM: The OCBs vector is generated through word2vec (a typical method of word embedding), then the generated word vector is input into the BiLSTM model for feature extraction, and then emotional classification is conducted through Softmax (a traditional classifier).
• BERT-BiLSTM: By fine-tuning the BERT model, the dynamic representation of the OCBs vector is generated in the downstream task, then the generated word vector is input to the BiLSTM model for feature extraction, and then the emotional classification is conducted through Softmax (a traditional classifier).
In order to prove the superiority of proposed BERT-BiLSTM model, ablation experiments are conducted on the OCBs dataset (as Table 5).First, the results show that the model has a more obvious boosting effect in terms of recall and F1 values.Second, in terms of precision value, the training effect of single BERT model is slightly better, which indicates that, for such irregular texts as OCBs, it is more necessary to consider the semantic relationship between contexts to obtain more accurate sentiment tendency.BERT model and BERT-BiLSTM model fine-tune downstream tasks by pre-training model.According to the downstream task, the dataset was input manually to balance the relationship between the data and the model so that the model could be further fitted and converged so as to improve the convergence speed of the model.In general, BERT and BERT-BiLSTM converge faster than BiLSTM.As shown in Figure 11, after the fourth iteration, a relatively stable value is obtained, which is due to the advantages of BERT pretraining model.According to the results of F1 and recall values, BERT-BiLSTM model has the best comprehensive ability and superiority.

Conclusions
The widespread use of social media platforms has brought about an endless stream of new expressions.A large number of OCBs without complete semantic structure and obvious emotional characteristics have emerged.We collected popular OCBs that have been widely used in the past ten years as the research object.We introduced suitable BERT and BiLSTM models and proposed a new method for feature extraction and sentiment orientation classification of OCBs.We solved the problem that the model word vector cannot cover the contextual semantic information.It is difficult to deal with irregular and informally written texts.We used the BERT model to pre-train on OCBs, obtained the feature representation of the input text, and then used it as a bidirectional LSTM.The input of the model is used for sentiment classification training.The model has achieved excellent results in the experiments on the network catchphrase text dataset.
In the future, we will expand the scope of data for in-depth research.We will analyze a positive and negative emotion index so as to provide better methods and suggestions for improving the popularity of Internet sentiment language analysis.This is because the amount of data collected is not yet large enough to mine more emotional features for analysis, so the degree of negative words cannot yet be refined.

1 :Figure 1 .
Figure 1.Motivation of sentiment analysis of online Chinese buzzwords.

Figure 8
Figure 8 demonstrates the comparison of F1 score in the eight sets of experiments.The F1-score of the BERT-BiLSTM model is the highest among the eight sets of comparative experiments.It also shows the improvement in the overall classification performance of the model and the improvement in the ability to distinguish different categories, which proves that the model is performing strong emotional analytical skills.

-
's accuracy (Acc) and loss in the training set and verification set at different itera-

Figure 8 .
Figure 8. F1-score comparison chart for each experiment.In order to verify the stability of the model, we compared the performance of the model's accuracy (Acc) and loss in the training set and verification set at different iterations.Comparing Figures 9 and 10 shows that the model has strong stability and good training effect.The final validation (Val) Loss and Val Acc on the test set are 0.15 and 93.74%, respectively.

Table 1 .
Collection of online Chinese buzzwords.