Skip to main content
Have a personal or library account? Click to login
From reviews to emotions: Analysing Bragança’s tourism attractions on TripAdvisor Cover

From reviews to emotions: Analysing Bragança’s tourism attractions on TripAdvisor

Open Access
|Dec 2024

Figures & Tables

Table 1.

Sentiments’ classification.

Rating (1–5)Sentimentn
1–2Negative114
=3Neutral24
4–5Positive112
Total250

1 Source: Own elaboration.

Table 2.

Reviews classification per attraction.

AttractionNegativeNeutralPositivex̄s
Castelo de Bragança334324.230.96
Aldeia do Rio de Onor184354.420.86
Domus Municipalis11133.731.03
Cidadela de Bragança5233.880.70
Igreja de Santa Maria4303.811.17
Centro de Arte Contemporânea Graça Morais3043.920.53
Igreja da Antiga Sé4303.870.53
Museu Ibérico da Máscara e do Traje7273.950.77
Museu do Abade de Baçal3133.961.15
Parque Natural de Montesinho5034.000.51
Centro Ciência Viva2164.021.39
Centro de Interpretação da Cultura Sefardita do Nordeste Transmontano9014.030.57
Galeria Georges Dussaud0034.050.00
Museu Militar de Bragança9394.041.20

1 Note: x̄ = mean; s = standard deviation.

1 Source: Own elaboration.

Figure 1:

Word cloud in the pre-processing.

Table 3.

Stop words’ frequencies.

Wordn
De466
E361
A305
Que184
O169
É163
Um148
Uma147
Muito145
Com135

1 Source: Own elaboration.

Figure 2:

Pareto chart.

Figure 3:

Figure with three subgraphs with word cloud after processing.

Figure 4:

Figure with three subgraphs with word cloud after stemming processing.

Table 4.

Terms and their weights.

NegativeNeutralPositive
Algum0.63Fech0.50portug0.48
Atra0.50Prox0.47lind0.46
regia0.46Jardim0.45espanh0.45
nad0.45Extern0.35otim0.43
dent0.43Enriquec0.31bom0.43
igreja0.42Muit0.31pesso0.40
portugu0.42Espac0.29bem0.40
esper0.40Atenc0.29val0.39
eur0.39Garant0.28lindiss0.38
monument0.38Indicaca0.28alem0.38

1 Source: Own elaboration.

Table 5.

Metrics report.

Unigram Prediction Model
PrecisionRecallF1-scoreSupport
Negative0.480.500.49114
Neutral0.000.000.0024
Positive0.520.580.55112
Accuracy0.49250
Macro average0.330.360.35250
Weighted average0.450.490.47250
Bigrated Prediction Model
Negative0.490.400.44114
Neutral0.180.170.1724
Positive0.510.610.55112
Accuracy0.47250
Macro average0.390.390.39250
Weighted average0.470.470.47250

1 Source: Own elaboration.

Table 6.

Calculation of accuracy, precision, and recall.

Unigram Prediction Model
PredictedNegativeNeutralPositiveAll
Real
Negative57354114
Neutral170724
Positive44365112
All1180126250
Bigrated Prediction Model
PredictedNegativeNeutralPositiveAll
Real
Negative46860114
Neutral144624
Positive341068112
All9422134250

1 Source: Own elaboration.

DOI: https://doi.org/10.2478/ejthr-2024-0022 | Journal eISSN: 2182-4924 | Journal ISSN: 2182-4916
Language: English
Page range: 299 - 311
Submitted on: Jan 29, 2024
Accepted on: Apr 17, 2024
Published on: Dec 31, 2024
Published by: Polytechnic Institute of Leiria
In partnership with: Paradigm Publishing Services
Publication frequency: 2 issues per year

© 2024 Elaine Scalabrini, Jessica Ferreira, Paula Odete Fernandes, Thiago Moraes, published by Polytechnic Institute of Leiria
This work is licensed under the Creative Commons Attribution 4.0 License.