Розробка Telegram-бота для виявлення фейкових новин із використанням NLP і моделей штучного інтелекту
Вантажиться...
Файли
Дата
Автори
Назва журналу
Номер ISSN
Назва тому
Видавець
Анотація
This article presents the development of a Telegram bot for detecting
fake news using NLP and artificial intelligence models. The aim of the development
is to expand the functional capabilities of the Telegram bot by combining machine
learning-based classification of news text, headline analysis, contextual analysis of
results, processing of articles by URL, verification of open sources, and an
educational module on media literacy. The developed bot operates on a client-server
architecture: interaction with the user takes place via the Telegram interface, whilst
the server-side component performs text pre-processing, language detection,
translation where necessary, classification and response generation. Python, the
aiogram framework, TF-IDF and Bag-of-Words methods, as well as Logistic
Regression and Multinomial Naive Bayes models were used for implementation. The
Fake and Real News Dataset from the Kaggle platform, containing over 40,000
English-language records, was used to train the models. The Logistic Regression +
TF-IDF news classification model with an n-gram range of (1,2) achieved an F1 score
of 0.9804, whilst the Multinomial Naive Bayes + Bag-of-Words headline analysis
model with an n-gram range of (1,1) achieved an F1 score of 0.9382. A comparison
with similar tools has shown that the developed bot extends existing solutions in
seven key areas: it supports separate analysis of headlines, processes articles by URL,
generates a results profile with indicators of emotionality, risk of manipulation,
factual accuracy and the presence of sources, performs a search for similar materials
in open sources with a fallback to Google, and includes an educational module,
interactive user testing and bilingual interaction with language adaptation. The
classification speed is approximately 1.08 ms for news texts and 0.03÷0.04 ms for headlines. The development does not replace professional fact-checking, but serves
as a tool for rapid preliminary verification of news content within the Telegram
environment, helping users navigate the media landscape and draw attention to
potentially dubious reports.
Опис
Ключові слова
fake news , Telegram bot , NLP , machine learning , TF-IDF , Bagof-Words , clickbait , media literacy
Тип документа
Мова
ISSN
Бібліографічний опис
Крилик Л. В., Романець К. В. Розробка Telegram-бота для виявлення фейкових новин із використанням NLP і моделей штучного інтелекту // Наука і техніка сьогодні. Серія: «Техніка». 2026. № 5 (59). С. 4926-4940. DOI: https://doi.org/10.52058/2786-6025-2026-5(59)-4926-4940.