The article explores fundamental techniques for converting text into numerical data for machine learning algorithms. It meticulously examines various methods, including word vector representation via neural networks like Word2Vec, and explains the principles behind linear models such as logistic regression and support vector machines. Convolutional neural networks (CNN) and long short-term memory (LSTM) methods are also discussed, covering their components, mechanisms, and training processes. The research extends to developing and testing software for spam detection, hate speech identification, and recognizing offensive language. Using two datasets—one for labeled text messages and another for Twitter posts—the study analyzes data to address challenges like imbalanced data. A comparative analysis among linear models, deep neural networks, and single-layer models, using pre-trained bidirectional encoder representations from transformers (BERT) network, reveals promising results. The convolutional neural network stands out with a remarkable accuracy of 0.95. The study also adapts neural network architectures for hate speech and offensive language classification.
Collaboration network of the authors
11 authors ·
24 co-authorship links
· 8 across different organisations
Hover or tap a name to highlight its co-authors. Double-click to open the author's page.
Rabdan Academy
Universiti Teknikal Malaysia Melaka
Khmelnytskyi National University
Lviv Polytechnic National University
National University of Malaysia
Affiliation unknown
Different organisations
Same organisation
Affiliation unknown
Thicker line = more joint articles · bigger circle = more articles
Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.