Book chapter

Decomposing tourists’ sentiment from raw NL text to assess customer satisfaction

Maurizio Romano
University of Cagliari, Italy - ORCID: 0000-0001-8947-2220

Francesco Mola
University of Cagliari, Italy - ORCID: 0000-0001-6076-1600

Claudio Conversano
University of Cagliari, Italy - ORCID: 0000-0003-2020-5129


The importance of the Word of Mouth is growing day by day in many topics. This phenomenon is evident in everyday life, e.g., the rise of influencers and social media managers. If more people positively debate specific products, then even more people are encouraged to buy them and vice versa. This effect is directly affected by the relationship between the potential customer and the reviewer. Moreover, considering the negative reporting bias is evident in how the Word of Mouth analysis is of absolute interest in many fields. We propose an algorithm to extract the sentiment from a natural language text corpus. The combined approach of Neural Networks, with high predictive power but more challenging interpretation, with more simple but informative models, allows us to quantify a sentiment with a numeric value and to predict if a sentence has a positive (negative) sentiment. The assessment of an objective quantity improves the interpretation of the results in many fields. For example, it is possible to identify crucial specific sectors that require intervention, improving the company's services whilst finding the strengths of the company himself (useful for advertising campaigns). Moreover, considering that the time information is usually available in textual data with a web origin, to analyze trends on macro/micro topics. After showing how to properly reduce the dimensionality of the textual data with a data-cleaning phase, we show how to combine: WordEmbedding, K-Means clustering, SentiWordNet, and the Threshold-based Naïve Bayes classifier. We apply this method to and data, analyzing the sentiment of people who discuss a particular issue, providing an example of customer satisfaction.
Read more

Keywords: GSD, WoM, Threshold-based Naïve, Bayes, NLP, Sentiment Analysis, Customer Satisfaction



Pages: 147-151

Published by: Firenze University Press

Publication year: 2021

DOI: 10.36253/978-88-5518-304-8.29

Download PDF

© 2021 Author(s)
Content licence CC BY 4.0
Metadata licence CC0 1.0


Publication year: 2021

DOI: 10.36253/978-88-5518-304-8.29

Download XML

© 2021 Author(s)
Content licence CC BY 4.0
Metadata licence CC0 1.0


  1. Conversano, C., Romano, M., Mola, F. (2019). Hotel search engine architecture based on online reviews’ content, in Smart Statistics for Smart Applications. Book of Short Papers SIS2019, eds. G. Arbia, S. Peluso, A. Pini, and G. Rivellini, Pearson, Milan, (IT), pp. 213–218.
  2. Esuli, A., Sebastiani, F. (2006). SENTIWORDNET: A publicly available lexical resource for opinion mining, in Proceedings of the Fifth International Conference on Language Resources and Evaluation (LREC’06), eds. N. Calzolari, K. Choukri, A. Gangemi, B. Maegaard, J. Mariani, J. Odijkn, and D. Tapias, European Language Resources Association (ELRA), Genoa, (IT), pp. 417–422.
  3. Goldberg, Y. (2017). Neural Network Methods in Natural Language Processing. Synthesis Lectures on Human Language Technologies, 10(1), pp. 1–309.
  4. Mikolov, T., Sutskever, I., Chen, K., Corrado, G. S., Dean, J. (2013). Distributed Representa- tions of Words and Phrases and their Compositionality, in Proceedings of the 26th Interna- tional Conference on Neural Information Processing Systems - Volume 2, eds. C.J.C. Burges, L. Bottou, M. Welling, Z. Ghahramani, and K.Q. Weinberger, Curran Associates Inc., Lake Tahoe, Nevada, (USA), pp. 3111–3119.
  5. Miller, G.A. (1995). Wordnet: A lexical database for English. Communications of the ACM, 38(11), pp. 39–41.
  6. Romano, M., Frigau, L., Contu, G., Mola, F., Conversano, C. (2018). Customer Satisfaction from Booking, in Selected papers Conferenza GARR 18 Data (R)evolution, eds. M. Mieli, and C. Volpe, Associazione Consortium GARR, Cagliari, (IT), pp. 111–118.

Export citation

Selected format

Usage statistics policy

  • 13Chapter Downloads

Cita come:
Romano, M.; Mola, F.; Conversano, C.; 2021; Decomposing tourists’ sentiment from raw NL text to assess customer satisfaction. Firenze, Firenze University Press.


Indici e aggregatori bibliometrici