z-logo
open-access-imgOpen Access
Crime prediction using a hybrid sentiment analysis approach based on the bidirectional encoder representations from transformers
Author(s) -
Mohammed Boukabous,
Mostafa Azizi
Publication year - 2022
Publication title -
indonesian journal of electrical engineering and computer science
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.241
H-Index - 17
eISSN - 2502-4760
pISSN - 2502-4752
DOI - 10.11591/ijeecs.v25.i2.pp1131-1139
Subject(s) - lexicon , computer science , artificial intelligence , encoder , transformer , sentiment analysis , deep learning , machine learning , social media , natural language processing , field (mathematics) , random forest , hybrid learning , engineering , mathematics , voltage , world wide web , pure mathematics , electrical engineering , operating system
Sentiment analysis (SA) is widely used today in many areas such as crime detection (security intelligence) to detect potential security threats in realtime using social media platforms such as Twitter. The most promising techniques in sentiment analysis are those of deep learning (DL), particularly bidirectional encoder representations from transformers (BERT) in the field of natural language processing (NLP). However, employing the BERT algorithm to detect crimes requires a crime dataset labeled by the lexiconbased approach. In this paper, we used a hybrid approach that combines both lexicon-based and deep learning, with BERT as the DL model. We employed the lexicon-based approach to label our Twitter dataset with a set of normal and crime-related lexicons; then, we used the obtained labeled dataset to train our BERT model. The experimental results show that our hybrid technique outperforms existing approaches in several metrics, with 94.91% and 94.92% in accuracy and F1-score respectively.

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