attention combining SE layer is more precise than
other methods, it has the accuracy and F-measure
being more than 91%. Moreover, the inference time
of the combining method is also better than others.
Hence, the proposed method can be useful in practice,
especially in business intelligence.
5 CONCLUSIONS
In this paper, a method for sentiment analysis in
Vietnamese is proposed. This method is studied based
on the combination between the structure of a
Vietnamese sentence and the technique of NLP, the
self-attention with Transformer. The structures of a
declarative sentence are studied and applied in the
analysing of their meaning. Based on those structures
of the sentences, the Self-attention network with the
Transformer is used to analysis the sentiment of the
sentence. The Self-attention network is improved by
two steps:
(1) Adding the layer to determine the word
positions by using the formulas (7)(8).
(2) Adding the layer of Squeeze and Excitation
between Multi-head Attention and Feed
forward layer to recalibrate features.
The experimental results of our method for
Vietnamese sentiment analysis has the accuracy more
than 91%, it is more effective than other methods.
Besides, the inference time of the proposed method is
also better than others. The process of this method can
be applied in business for analysing the information
on social network which serves in the influencer
marketing.
In practice, the vast amount of training examples
necessary to get satisfactory results is an obstacle to
develop the natural language processing. In the
future, we will use the method to transform this paper
proposes a method for transforming the sentiment of
a sentence to the opposite sentiment (Leeftink and
Spanakis, 2019). This method can reduce by half the
work required in the generation of training examples.
In the real-word, people can show their views in a
sarcastic way that is difficult to determine. In the
future work, the method need to be developed to
classify the sentiment in those cases. That
improvement has to analysis deeper in the sentence’s
structure and the technique of self-attention network.
Moreover, for applying in business intelligence, such
as the influencer marketing, the sentiment analysis in
Vietnamese will be used to design the method for
detecting the influencer on the social network, which
were presented by the relational model (Do et al.,
2018, Nguyen et al., 2015).
ACKNOWLEDGEMENTS
This research is supported by VinTech Fund, a grant
for applied research managed by VinTech City, under
grant number DA132-15062019.
REFERENCES
Aggarwal, C., Wang, H. 2011. Text Mining in Social
Networks. In Social Network Data Analytics,
Springer, 353-378.
Beigi, G., Hu, X., Maciejewski, R., Liu, H. 2016. An
Overview of Sentiment Analysis in Social Media and
Its Applications in Disaster Relief. In Sentiment
Analysis and Ontology Engineering: An Environment
of Computational Intelligence. Springer, 313-340.
Cao, H. 2017. Vietnamese: Review of Functional Grammar,
Publisher of Social Science, 2
nd
edition. (Vietnamese)
Cheng, J., Dong, L., Lapata, M. 2016. Long short-term
memory-networks for machine reading. In EMNLP
2016, Conference on Empirical Methods in Natural
Language Processing, Nov. 2016.
Chung, J., Gulcehre, C., Cho, K., Bengio, Y.
2014. Empirical evaluation of gated recurrent neural
networks on sequence modeling. In NIPS 2014
Workshop on Deep Learning, Dec. 2014.
Clark, M. 1974. Passive ane Ergative in Vietnamese. In:
Nguyen Dang Liem (ed.), South-East Asian Linguistic
Studies, 75-80.
Do, N., Nguyen, H., Selamat, A. 2018. Knowledge-Based
model of Expert Systems using Rela-model.
International Journal of Software Engineering and
Knowledge Engineering (IJSEKE) 28(8), 1047 – 1090.
fastText. 2019. https://fasttext.cc/
Gamal, D., Alfonse, M., El-Horbaty, E.M., Salem, A.M.,
2019. Implementation of Machine Learning Algorithms
in Arabic Sentiment Analysis Using N-gram Features.
Procedia Computer Science 154(2019), 332-340.
Hoang, S., Nguyen, L., Huynh, T., Pham, V. 2019. An
Efficient Model for Sentiment Analysis of Electronic
Product Reviews in Vietnamese. In FDSE 2019, 6
th
International Conference on Future Data and Security
Engineering. Springer. LNCS 11814, 132–142.
Hochreiter, S., Schmidhuber, J. 1997. Long short-term
memory. In Neural Computing 9(8), 1735–1780.
Hu, J., Shen, L., Sun, G. 2018. Squeeze-and-Excitation
Networks. In CVPR 2018, Conference on Computer
Vision and Pattern Recognition, June 2018.
Huynh, T., Zelinka, I., Pham, Nguyen, H. 2019. Some
measures to Detect the Influencer on Social Network
Based on Information Propagation. In WIMS 2019, 9
th
International Conference on Web Intelligence, Mining
and Semantics, June 2019.
Irfan, R., et al. 2015. A survey on text mining in social
networks. In The Knowledge Engineering Review
30(2), 157-170.