Abstract

Nowadays, Sentiment Analysis (SA) represents a big chunk of Natural Language Processing (NLP) problems. The latter makes it possible to assign feelings and polarity to portions of text, which comes handy in multiple areas of social conduct such as product reviewing in business, determining political opinions of the masses and other uses. Nevertheless, sentiment analysis can be tricky when dealing with unstructured languages due to the lack of conventional syntactic and morphological structures. In this paper, we discuss several attempts of the literature at solving the challenge of Sentiment analysis of regional dialects, and we propose an approach based on AraBERT word embedding for Moroccan dialect (MD) sentiment analysis. The method goes through a pipeline of steps starting with preprocessing, lexicon-based translation and feature extraction. Afterwards we conduct a comparative study, in 2-way classification, of machine learning algorithms as SVM, DT, LR, RF, NB and deep learning algorithms such as LSTM, BiLSTM and LSTM-CNN from state of art. On the other hand, we managed to train our model with four different outputs in 4 way classification. As a result, BiLSTM proved to be the best in both 2-way classification scoring 83% accuracy, and in 4-way classification achieving scores ranging between 62% and 92% of accuracy for each of the 4 classes.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.