We use a few cookies

Essential cookies keep the library working. With your permission, we'd also like to use analytics to see what's useful and improve the experience. Read our Privacy Policy or Cookie Policy.

Skip to main content
Home/e-Resources/Mathematics/Text Classification Software System Based on Machine Learning and Recurrent Neural Network
PeriodicalsMathematics

Text Classification Software System Based on Machine Learning and Recurrent Neural Network

Checking your access to this record.

Abstract & Overview

In the context of rapid advancements in information technology and the exponential growth of accessible data, efficient data analysis management has become increasingly critical. One of the key challenges in this domain is automatic text classification — the process of assigning texts to specific categories. This task is complicated by the diversity of formats, structural variability, and the inherent semantic complexity of natural language. Addressing these challenges requires robust algorithms and effective natural language processing (NLP) techniques.This paper describes the development and testing of a software system for automatic text classification, which involves categorizing texts into predefined classes, including texts written in Ukrainian. Our application is based on the use of three models: Naive Bayes, Support Vector Machine, and the LSTM-based architecture of Recurrent Neural Networks (RNN), as well as their combinations. It allows for fast and accurate text classification and provides users with a convenient way to train the system on their own datasets and easily configure parameters for optimal results.To efficiently process input data and implement the classification algorithm, we chose the Python programming language. The core libraries used for the application’s functionality include TensorFlow, scikitlearn (for a simple and intuitive interface), Natural Language Toolkit (nltk), NumPy, and Pandas. Matplotlib and Seaborn were used for data visualization and plotting. The developed graphical application is capable of recognizing texts (in English or Ukrainian) in four categories (“World”, “Sports”, “Science/Technology”, “Business”) with an accuracy of approximately 92%. For model training, we used the “AG News Classification Dataset” from Kaggle.com.Testing confirmed the hypothesis that specialized models, in addition to being significantly more resource-efficient, can also outperform large language models (LLMs) in text classification tasks. The system can also be quickly adapted for spam filtering tasks. Within seconds, it is possible to obtain an SVM model capable of identifying typical spam messages with about 99 % accuracy. We also tested the system’s capabilities in detecting emotional tone in texts, achieving an accuracy of 87.75 %.This work was supported by a grant from the Simons Foundation (SFI-PD-Ukraine-00014577; T.S.).

Cite this record

Andrii Glybovets, Andrii Dubovyk, Andrii Afonin (2025). Text Classification Software System Based on Machine Learning and Recurrent Neural Network. NaUKMA Research Papers Computer Science, 8, 15–27. https://doi.org/10.18523/2617-3808.2025.8.15-27

Copy in another style

Glybovets, A., Dubovyk, A., & Afonin, A. (2025). Text Classification Software System Based on Machine Learning and Recurrent Neural Network. NaUKMA Research Papers Computer Science, 8, 15–27. https://doi.org/10.18523/2617-3808.2025.8.15-27
Author names are used as deposited, so check their order before you submit.

Metadata is harvested from open-access indexes and can be incomplete. Check a citation against the published version before relying on it — see our open access & attribution policy.