Skip to main content
Log in

Recursive Sentiment Detection Algorithm for Russian Sentences

  • Published:
Automatic Control and Computer Sciences Aims and scope Submit manuscript

Abstract

The article is devoted to the task of sentiment detection of Russian sentences. The sentiment is conceived as the author’s attitude to the topic of a sentence. This assay considers positive, neutral, and negative sentiment classes, i.e., the task of three-classes classification is solved. The article introduces a rule-based sentiment detection algorithm for Russian sentences. The algorithm is based on the assumption that the sentiment of a phrase can be determined by the sentiments of its parts by the recursive application of appropriate semantic rules to the sentiments of its parts organized as a constituency parse tree. The utilized set of semantic rules was constructed based on a discussion with experts in linguistics. The experiments showed that the proposed recursive algorithm performs slightly worse on the hotel reviews corpus than the adapted rule-based approach: weighted F1-measures are 0.75 and 0.78, respectively. To measure the algorithm efficiency on complex sentences, we created OpenSentimentCorpus based on OpenCorpora, an open corpus of sentences extracted from Russian news and periodicals. On OpenSentimentCorpus the recursive algorithm performs be.er than the adapted approach does: F1-measures are 0.70 and 0.63, respectively. This indicates that the proposed algorithm has an advantage in case of more complex sentences with more subtle ways of expressing the sentiment.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

REFERENCES

  1. Paramonov, I. and Poletaev, A., Adaptation of semantic rule-based sentiment analysis approach for russian language, 2021 30th Conf. of Open Innovations Association FRUCT, Oulu, Finland, 2021, IEEE, 2021, pp. 155–164. https://doi.org/10.23919/fruct53335.2021.9599992

  2. Wilson, T., Wiebe, J., and Hoffmann, P., Recognizing contextual polarity in phrase-level sentiment analysis, Proc. Conf. on Human Language Technology and Empirical Methods in Natural Language Processing, Vancouver, 2005, Stroudsburg, Pa.: Association for Computational Linguistics, 2005, pp. 347–354. https://doi.org/10.3115/1220575.1220619

  3. Kien-Weng Tan, L., Na, J.-Ch., Theng, Yi.-L., and Chang, K., Sentence-level sentiment polarity classification using a linguistic approach, Digital Libraries: For Cultural Heritage, Knowledge Dissemination, and Future Creation. ICADL 2011, Lecture Notes in Computer Sciences, vol. 7008, Berlin: Springer, 2011, pp. 77–87. https://doi.org/10.1007/978-3-642-24826-9_13

    Book  Google Scholar 

  4. Xie, Yu., Chen, Z., Zhang, K., Cheng, Yu., Honbo, D., Agrawal, A., and Choudhary, A., MuSES: Multilingual sentiment elicitation system for social media data, IEEE Intell. Syst., 2013, vol. 29, no. 4, pp. 34–42. https://doi.org/10.1109/mis.2013.52

    Article  Google Scholar 

  5. Smetanin, S. and Komarov, M., Deep transfer learning baselines for sentiment analysis in Russian, Inf. Process. Manage., 2021, vol. 58, no. 3, p. 102484. https://doi.org/10.1016/j.ipm.2020.102484

    Article  Google Scholar 

  6. Shaikh, M.A.M., Prendinger, H., and Ishizuka, M., Sentiment assessment of text by analyzing linguistic features and contextual valence assignment, Appl. Artif. Intell., 2008, vol. 22, no. 6, pp. 558–601. https://doi.org/10.1080/08839510802226801

    Article  Google Scholar 

  7. Appel, O., Chiclana, F., Carter, J., and Fujita, H., A hybrid approach to the sentiment analysis problem at the sentence level, Knowl.-Based Syst., 2016, vol. 108, pp. 110–124. https://doi.org/10.1016/j.knosys.2016.05.040

    Article  Google Scholar 

  8. Kahane, S. and Mazziotta, N., Syntactic polygraphs. A formalism extending both constituency and dependency, Proc. 14th Meeting on the Mathematics of Language (MoL 2015), Kuhlmann, M., Kanazawa, M., and Kobele, G.M., Eds., Chicago: Association for Computational Linguistics, 2015, pp. 152–164. https://doi.org/10.3115/v1/w15-2313

  9. Gao, Y., Lou, J.-G., and Zhang, D., A hybrid semantic parsing approach for tabular data analysis,, 2019. https://doi.org/10.48550/arXiv.1910.10363

  10. Li, J., Tan, H., and Bansal, M., Improving cross-modal alignment in vision language navigation via syntactic information, Proc. 2021 Conf. of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Toutanova, K., Rumshisky, A., Zettlemoyer, L., et al., Eds., Association for Computational Linguistics, 2021, pp. 1041–1050. https://doi.org/10.18653/v1/2021.naacl-main.82

  11. Marji, Z., Nighojkar, A., and Licato, J., Probing the natural language inference task with automated reasoning tools, The Thirty-Third Int. Flairs Conf., 2020. https://doi.org/10.48550/arXiv.2005.02573

  12. Socher, R., Perelygin, A., Wu, J., Chuang, J., Manning, Ch.D., Ng, A., and Potts, Ch., Recursive deep models for semantic compositionality over a sentiment treebank, Proc. 2013 Conf. on Empirical Methods in Natural Language Processing, Yarowsky, D., Baldwin, T., Korhonen, A., Livescu, K., and Bethard, S., Eds., Seattle, Wash.: Association for Computational Linguistics, 2013, pp. 1631–1642.

  13. Tai, K., Socher, R., and Manning, C., Improved semantic representations from tree-structured long short-term memory networks, Proc. 53rd Annu. Meeting of the Association for Computational Linguistics and the 7th Int. Joint Conf. on Natural Language Processing, Zong, Ch. and Strube, M., Eds., Beijing: Association for Computational Linguistics, 2015, vol. 1, pp. 1556–1566. https://doi.org/10.3115/v1/p15-1150

  14. Zhang, Yu. and Zhang, Yu., Tree communication models for sentiment analysis, Proc. 57th Annu. Meeting of the Association for Computational Linguistics, Korhonen, A., Traum, D., and Màrquez, L., Eds., Florence: Association for Computational Linguistics, 2019, pp. 3518–3527. https://doi.org/10.18653/v1/p19-1342

  15. Yin, D., Meng, T., and Chang, K.-W., SentiBERT: A transferable transformer-based architecture for compositional sentiment semantics, Proc. 58th Annu. Meeting of the Association for Computational Linguistics, Jurafsky, D., Chai, J., Schluter, N., and Tetreault, J., Eds., Association for Computational Linguistics, 2020, pp. 3695–3706. https://doi.org/10.18653/v1/2020.acl-main.341

  16. Loukachevitch, N.V. and Levchick, A.V., Creating a general Russian sentiment lexicon, Proc. Tenth Int. Conf. on Language Resources and Evaluation (LREC’16), Calzolari, N., Choukri, Kh., Declerck, Th., , Eds., Portorož, Slovenia: European Language Resource Association, 2016, pp. 1171–1176. https://aclanthology.org/L16-1186.

    Google Scholar 

Download references

Funding

This work was supported by ongoing institutional funding. No additional grants to carry out or direct this particular research were obtained.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to A. Y. Poletaev or I. V. Paramonov.

Ethics declarations

The authors of this work declare that they have no conflicts of interest.

Additional information

Publisher’s Note.

Allerton Press remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Poletaev, A.Y., Paramonov, I.V. Recursive Sentiment Detection Algorithm for Russian Sentences. Aut. Control Comp. Sci. 57, 740–749 (2023). https://doi.org/10.3103/S0146411623070118

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.3103/S0146411623070118

Keywords:

Navigation