A TBLC-rAttention deep neural network model was designed for the problem of Chinese medical text sentiment recognition using deep learning technology. This model makes full use of the advantages of Bi-LSTM, Attention mechanism, and CNN. First, the Bi-LSTM is used to extract the context semantic features of the text, and the rAttention mechanism is introduced in the process; second, the CNN is used to extract the local semantic features of the text, and the text information is further mined to obtain the final semantic feature vector. Third, when calculating weighted global semantic features, r attention schemes replace traditional single attention schemes. Different attention schemes can learn sentence representations with different focuses, which can extract more valuable feature information. Finally, use the obtained semantic feature vectors to complete the text emotion recognition task of TCM reviews. The model is implemented and trained with Google ’s TensorFlow framework. The experiments show that the model has good convergence speed and accuracy, can maximize the semantic feature information, and effectively solve the problems of high dimensionality, high sparseness, The feature expression ability is weak, and it is not suitable for problems such as large data sets.
forked from xingyu068/TBLC-rAttention
-
Notifications
You must be signed in to change notification settings - Fork 0
s1790947473/TBLC-rAttention
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
冯论文模仿的model 原论文:202003 TBLC-rAttention: A Deep Neural Network Model for Recognizing the Emotional Tendency of Chinese Medical Comment
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%