Pinheiro, Flávio Luís PortasMelo, Dinis Cortilho2025-02-172025-02-172025-02-12http://hdl.handle.net/10362/179155Dissertation presented as the partial requirement for obtaining a Master's degree in Data Science and Advanced Analytics, specialization in Data ScienceOnline reviews play a significant role in shaping consumer decisions, influencing perceptions, and serving as key reference points for various choices. The Anna Karenina Principle, derived from Leo Tolstoy's classic novel, provides valuable insights into success and failure in complex systems. Recent studies have explored the application of this principle to online reviews in the tourism and restaurant sectors, focusing on challenges in identifying areas of dissatisfaction within predominantly positive feedback. By employing state-of-the-art methodologies, such as BERTopic for topic modeling, this research provides a more transparent view of the relevance of the Anna Karenina Principle in the context of Portuguese restaurant online reviews. Building on these insights, this research delves deeper into the success and failure factors specific to the Portuguese restaurant sector, providing a nuanced understanding of consumer sentiment and its alignment with the Anna Karenina Principle, particularly in identifying key factors that contribute to the success and failure of Portuguese restaurants.engAnna Karenina PrinciplePortuguese RestaurantsTopic ModellingSentiment AnalysisBERTopicThe application of Anna Karenina Principle on Portuguese Restaurants Online Reviews: A BERTopic Approachmaster thesis203921526