Development of a Software Module for Sentiment Analysis of Text Reviews Based on a Naive Bayesian Classifier for a Pharmacy Information System

An effective way to increase profits and strengthen the profitability of a pharmacy is to implement the principles of automation and management of pharmacist activities using information systems. Companies use machine learning algorithms to adjust their strategy, study customer attitudes towards their organization through feedback analysis, and enhance the company's image. However, manual processing of incoming reviews requires significant time and effort from the pharmacist. The article proposes to automate this type of activity using the naive Bayesian classifier algorithm implemented using Python. To train the classifier, a custom corpus of tagged review texts with two categories was created; the total number of reviews was about 500. A parser written in Python was used to search for reviews. As part of the preliminary processing of the review text, the following were performed: lemmatization, removal of punctuation marks, the procedure for converting the text to lowercase, tokenization, and removal of stop words, and the Bag of Words method was chosen as a method of text vectorization. According to the numerical experiments, the highest accuracy of the classifier was achieved with a training and test sample ratio of 80/20, without stop words. When using the classifier, the analysis of 100 reviews will take eight times less time compared to reading them by a person. The classifier itself can be presented as a separate application or as a module of the information system. Thus, the growing number of positive reviews for a company is an indicator of its successful work and the number of satisfied customers, and the growth of the image will increase customer confidence in the company and lead to an increase in sales.

Authors

Institutions

Publication Details

Published
2024-11-13
DOI
https://doi.org/10.1109/summa64428.2024.10803709
Primary Topic
Advanced Text Analysis Techniques
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Development of a Software Module for Sentiment Analysis of Text Reviews Based on a Naive Bayesian Classifier for a Pharmacy Information System

Kirill Svyatov, И.А. Щукарев, Vadim Moshkin
Advanced Text Analysis Techniques
article

Development of a Software Module for Sentiment Analysis of Text Reviews Based on a Naive Bayesian Classifier for a Pharmacy Information System

Kirill Svyatov, И.А. Щукарев, Vadim Moshkin
article en

Abstract

An effective way to increase profits and strengthen the profitability of a pharmacy is to implement the principles of automation and management of pharmacist activities using information systems. Companies use machine learning algorithms to adjust their strategy, study customer attitudes towards their organization through feedback analysis, and enhance the company's image. However, manual processing of incoming reviews requires significant time and effort from the pharmacist. The article proposes to automate this type of activity using the naive Bayesian classifier algorithm implemented using Python. To train the classifier, a custom corpus of tagged review texts with two categories was created; the total number of reviews was about 500. A parser written in Python was used to search for reviews. As part of the preliminary processing of the review text, the following were performed: lemmatization, removal of punctuation marks, the procedure for converting the text to lowercase, tokenization, and removal of stop words, and the Bag of Words method was chosen as a method of text vectorization. According to the numerical experiments, the highest accuracy of the classifier was achieved with a training and test sample ratio of 80/20, without stop words. When using the classifier, the analysis of 100 reviews will take eight times less time compared to reading them by a person. The classifier itself can be presented as a separate application or as a module of the information system. Thus, the growing number of positive reviews for a company is an indicator of its successful work and the number of satisfied customers, and the growth of the image will increase customer confidence in the company and lead to an increase in sales.

Ulyanovsk State Technical University (RU)
Openalex Percentile: Top 78%
Advanced Text Analysis Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.