Beta
294255

Sentiment Analysis Based on Bert for Amazon Reviewer

Article

Last updated: 27 Dec 2024

Subjects

-

Tags

Artificial Intelligence
Neural Networks & Fuzzy Logic

Abstract

Sentiment analysis determines if a text includes subjective information and what that information represents, i.e., whether the text's attitude is positive, negative, or neutral. Understanding user-generated content sentiments automatically help commercial and political interests. Classify the polarity of words, phrases, or entire documents. The demand for sentiment analysis is raised due to the requirement of analyzing and structuring hidden information, extracted from Amazon reviews in form of unstructured data. The sentiment analysis is being implemented through deep learning, machine learning, and lexicon techniques. In the research, multiple machine learning algorithms are evaluated, trained, and tested using Amazon product reviews randomly picked from a 4 million-review Kaggle dataset. The performance of nine different algorithms was compared: KNN, Decision Tree, Naive Bayes, Random Forest, Logistic Regression, SVM, Bidirectional LSTM, GRU, and Bert to reach the highest performance (accuracy). The Bert resulted in the highest performance with an Accuracy of 0.94. Thereafter, to evaluate the Bert model, it was applied to 502,103 reviews, split into a 90% train set to train the model and a 10% test set to evaluate the Bert mode. It has been proven that Bert networks are very suitable for the classification of sentiment in product reviews.

DOI

10.21608/asc.2023.171559.1007

Keywords

NLP, Sentiment Analysis, Deep learning, Bert

Authors

First Name

Mohamed

Last Name

Mostafa

MiddleName

-

Affiliation

Higher Institute of Computers and Information Technology, Computer Dept., El. Shorouk Academy, Cairo, Egypt

Email

dr.mohamed.mustafa@sha.edu.eg

City

-

Orcid

-

First Name

Asmaa

Last Name

AlSaeed

MiddleName

-

Affiliation

Higher Institute of Computers and Information Technology, Computer Dept., El. Shorouk Academy, Cairo, Egypt

Email

asmaa.alsaeed@sha.edu.eg

City

-

Orcid

-

Volume

13

Article Issue

1

Related Issue

39360

Issue Date

2022-06-01

Receive Date

2022-04-04

Publish Date

2022-06-01

Page Start

1

Page End

10

Print ISSN

1687-8515

Online ISSN

2682-3578

Link

https://asc.journals.ekb.eg/article_294255.html

Detail API

https://asc.journals.ekb.eg/service?article_code=294255

Order

294,255

Type

Original Article

Type Code

1,549

Publication Type

Journal

Publication Title

Journal of the ACS Advances in Computer Science

Publication Link

https://asc.journals.ekb.eg/

MainTitle

Sentiment Analysis Based on Bert for Amazon Reviewer

Details

Type

Article

Created At

27 Dec 2024