Skip to main navigation Skip to search Skip to main content

Crime Detection and Analysis from Social Media Messages Using Machine Learning and Natural Language Processing Technique

  • Xolani Lombo
  • , Olaide N. Oyelade
  • , Absalom E. Ezugwu

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Social media has dramatically influenced and changed the rate and the nature of crime in our society. The perpetrators cut across different age groups, social standing, and beliefs. The ability to be anonymous on social media and the lack of adequate resources to fight cybercrime are catalysts for the rise in criminal activities, especially in South Africa. We proposed a system that will analyse and detect crime in social media posts or messages. The new system can detect attacks and drug-related crime messages, hate speech, and offensive messages. Natural language processing algorithms were used for text tokenisation, stemming, and lemmatisation. Machine learning models such as support vector machines and random forest classifiers were used to classify texts. Using the support vector machine to detect crime in texts, we achieved 86% accuracy and using the random forest for crime analysis, 72% accuracy was achieved.
Original languageEnglish
Title of host publicationUnknown book
PublisherSpringer Science and Business Media Deutschland GmbH
DOIs
StatePublished - 2022

UN SDGs

This output contributes to the following UN Sustainable Development Goals (SDGs)

  1. SDG 16 - Peace, Justice and Strong Institutions
    SDG 16 Peace, Justice and Strong Institutions

Fingerprint

Dive into the research topics of 'Crime Detection and Analysis from Social Media Messages Using Machine Learning and Natural Language Processing Technique'. Together they form a unique fingerprint.

Cite this