z-logo
open-access-imgOpen Access
Performance Study of N-grams in the Analysis of Sentiments
Author(s) -
Olumide Ebenezer Ojo,
Alexander Gelbukh,
Hiram Calvo,
Olaronke Oluwayemisi Adebanji
Publication year - 2021
Publication title -
journal of the nigerian society of physical sciences
Language(s) - English
Resource type - Journals
ISSN - 2714-4704
DOI - 10.46481/jnsps.2021.201
Subject(s) - trigram , bigram , computer science , artificial intelligence , sentiment analysis , machine learning , recall , natural language processing , function (biology) , precision and recall , domain (mathematical analysis) , data mining , mathematics , mathematical analysis , philosophy , linguistics , evolutionary biology , biology
In this work, a study investigation was carried out using n-grams to classify sentiments with different machine learning and deep learning methods. We used this approach, which combines existing techniques, with the problem of predicting sequence tags to understand the advantages and problems confronted with using unigrams, bigrams and trigrams to analyse economic texts. Our study aims to fill the gap by evaluating the performance of these n-grams features on different texts in the economic domain using nine sentiment analysis techniques and found more insights. We show that by comparing the performance of these features on different datasets and using multiple learning techniques, we extracted useful intelligence. The evaluation involves assessing the precision, recall, f1-score and accuracy of the function output of the several machine learning algorithms proposed. The methods were tested using Amazon, IMDB, Reuters, and Yelp economic review datasets and our comprehensive experiment shows the effectiveness of n-grams in the analysis of sentiments.

The content you want is available to Zendy users.

Already have an account? Click here to sign in.
Having issues? You can contact us here