Preprint Article Version 1 Preserved in Portico This version is not peer-reviewed

A Method to Classify Texts Based on Sentiment Analysis and Machine Learning

Version 1 : Received: 4 March 2024 / Approved: 4 March 2024 / Online: 5 March 2024 (05:10:29 CET)

How to cite: Corona López, C.; Urias Piña, J.; Lahoz-Beltra, R. A Method to Classify Texts Based on Sentiment Analysis and Machine Learning. Preprints 2024, 2024030147. https://doi.org/10.20944/preprints202403.0147.v1 Corona López, C.; Urias Piña, J.; Lahoz-Beltra, R. A Method to Classify Texts Based on Sentiment Analysis and Machine Learning. Preprints 2024, 2024030147. https://doi.org/10.20944/preprints202403.0147.v1

Abstract

In this paper we describe a method which combines sentiment analysis with machine learning techniques and/or multivariate statistical analysis. By applying this methodology it is possible to classify a collection of texts into two or more groups or clusters. On the basis of a number of previously defined clusters, the novelty of the outlined approach is the use of the sentiment analysis results as input to the machine learning model or multivariate statistical analysis. Once the classifier has been obtained, we can assign a given text into one of the pre-established clusters. The groups or clusters can represent different time periods, classes of texts transcribed from different conversations, etc. The method is illustrated through an example taken from one of the two studies in which we have applied this methodology. In one of the studies, the method was used to classify press news of a volcanic eruption, while in the other study it was used to classify the conversations recorded between a chatbot with different kinds of speakers (humans or chatbots). This last study was the seminal work in which we introduced this methodology.

Keywords

Sentiment analysis; text classification; machine learning

Subject

Computer Science and Mathematics, Artificial Intelligence and Machine Learning

Comments (0)

We encourage comments and feedback from a broad range of readers. See criteria for comments and our Diversity statement.

Leave a public comment
Send a private comment to the author(s)
* All users must log in before leaving a comment
Views 0
Downloads 0
Comments 0
Metrics 0


×
Alerts
Notify me about updates to this article or when a peer-reviewed version is published.
We use cookies on our website to ensure you get the best experience.
Read more about our cookies here.