Threatening language detection from Urdu data with deep sequential model.

Journal: PloS one
Published Date:

Abstract

The Urdu language is spoken and written on different social media platforms like Twitter, WhatsApp, Facebook, and YouTube. However, due to the lack of Urdu Language Processing (ULP) libraries, it is quite challenging to identify threats from textual and sequential data on the social media provided in Urdu. Therefore, it is required to preprocess the Urdu data as efficiently as English by creating different stemming and data cleaning libraries for Urdu data. Different lexical and machine learning-based techniques are introduced in the literature, but all of these are limited to the unavailability of online Urdu vocabulary. This research has introduced Urdu language vocabulary, including a stop words list and a stemming dictionary to preprocess Urdu data as efficiently as English. This reduced the input size of the Urdu language sentences and removed redundant and noisy information. Finally, a deep sequential model based on Long Short-Term Memory (LSTM) units is trained on the efficiently preprocessed, evaluated, and tested. Our proposed methodology resulted in good prediction performance, i.e., an accuracy of 82%, which is greater than the existing methods.

Authors

  • Ashraf Ullah
    Department of Computer Science, University of Science & Technology Bannu, Bannu, Khyber Pakhtunkhwa, Pakistan.
  • Khair Ullah Khan
    Department of Computer Science, University of Science & Technology Bannu, Bannu, Khyber Pakhtunkhwa, Pakistan.
  • Aurangzeb Khan
    Department of Computer Science, University of Science and Technology, Bannu, Pakistan.
  • Sheikh Tahir Bakhsh
    Cardiff School of Technologies, Cardiff Metropolitan University, Cardiff, United Kingdom.
  • Atta Ur Rahman
    Riphah institute of system engineering (RISE), Riphah International University, Islamabad, Pakistan.
  • Sajida Akbar
    Department of Computer Science, University of Science & Technology Bannu, Bannu, Khyber Pakhtunkhwa, Pakistan.
  • Bibi Saqia
    Department of Computer Science, University of Science & Technology Bannu, Bannu, Khyber Pakhtunkhwa, Pakistan.