Jawad Shafi

Jawad Shafi

Auto-generated profile, based on publicly available information

Jawad Shafi

Department of Computer Science COMSATS University Islamabad Lahore Campus Lahore Pakistan

Research Focus & Metrics

Academic Career Length

5Years (2022-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
19 January 2022 in Natural Language Engineering
Verified
Journal Article
Open access
PDF file
JSJawad Shafi
Jawad Shafi
HIHafiz Rizwan Iqbal
Hafiz Rizwan Iqbal
RNRao Muhammad Adeel Nawab
Rao Muhammad Adeel Nawab
PRPaul Rayson
Paul Rayson
This study describes a Natural Language Processing (NLP) toolkit, as the first contribution of a larger project, for an under-resourced language—Urdu. In previous studies, standard NLP toolkits have been developed for English and many other languages. There is also a dire need for standard text processing tools and methods for Urdu, despite it being widely spoken in different parts of the world with a large amount of digital text being readily available. This study presents the first version of theUNLT (Urdu Natural Language Toolkit)which contains three key text processing tools required for an Urdu NLP pipeline; word tokenizer, sentence tokenizer, and part-of-speech (POS) tagger. The UNLT word tokenizer employs a morpheme matching algorithm coupled with a state-of-the-art stochasticn-gram language model with back-off and smoothing characteristics for the space omission problem. The space insertion problem for compound words is tackled using a dictionary look-up technique. The UNLT sentence tokenizer is a combination of various machine learning, rule-based, regular-expressions, and dictionary look-up techniques. Finally, the UNLT POS taggers are based on Hidden Markov Model and Maximum Entropy-based stochastic techniques. In addition, we have developed large gold standard training and testing data sets to improve and evaluate the performance of new techniques for Urdu word tokenization, sentence tokenization, and POS tagging. For comparison purposes, we have compared the proposed approaches with several methods. Our proposed UNLT, the training and testing data sets, and supporting resources are all free and publicly available for academic use.

17 June 2023 in ACM Transactions on Asian and Low-Resource Language Information Processing
Verified
Journal Article
Open access
JSJawad Shafi
Jawad Shafi
RNRao Muhammad Adeel Nawab
Rao Muhammad Adeel Nawab
PRPaul Rayson
Paul Rayson
Extracting and analysing meaning-related information from natural language data has attracted the attention of researchers in various fields, such as natural language processing, corpus linguistics, information retrieval, and data science. An important aspect of such automatic information extraction and analysis is the annotation of language data using semantic tagging tools. Different semantic tagging tools have been designed to carry out various levels of semantic analysis, for instance, named entity recognition and disambiguation, sentiment analysis, word sense disambiguation, content analysis, and semantic role labelling. Common to all of these tasks, in the supervised setting, is the requirement for a manually semantically annotated corpus, which acts as a knowledge base from which to train and test potential word and phrase-level sense annotations. Many benchmark corpora have been developed for various semantic tagging tasks, but most are for English and other European languages. There is a dearth of semantically annotated corpora for the Urdu language, which is widely spoken and used around the world. To fill this gap, this study presents a large benchmark corpus and methods for the semantic tagging task for the Urdu language. The proposed corpus contains 8,000 tokens in the following domains or genres: news, social media, Wikipedia, and historical text (each domain having 2K tokens). The corpus has been manually annotated with 21 major semantic fields and 232 sub-fields with the USAS (UCREL Semantic Analysis System) semantic taxonomy which provides a comprehensive set of semantic fields for coarse-grained annotation. Each word in our proposed corpus has been annotated with at least one and up to nine semantic field tags to provide a detailed semantic analysis of the language data, which allowed us to treat the problem of semantic tagging as a supervised multi-target classification task. To demonstrate how our proposed corpus can be used for the development and evaluation of Urdu semantic tagging methods, we extracted local, topical and semantic features from the proposed corpus and applied seven different supervised multi-target classifiers to them. Results show an accuracy of 94% on our proposed corpus which is free and publicly available to download.

29 April 2025 in Multimedia Tools and Applications
Verified
Journal Article
Open access
PDF file
HIHafiz Rizwan Iqbal
Hafiz Rizwan Iqbal
MSMuhammad Sharjeel
Muhammad Sharjeel
JSJawad Shafi
Jawad Shafi
UMUsama Mehmood
Usama Mehmood
SHSaeed-Ul Hassan
Saeed-Ul Hassan
ARAgha Ali Raza
Agha Ali Raza
The growing prevalence of text reuse and plagiarism in various fields has led to an urgent need for reliable computational methods for detection. However, current commercial plagiarism detection systems are ineffective in identifying paraphrased cases of text reuse, highlighting the need for improvement. Previous research on paraphrased text reuse and plagiarism detection has mainly focused on English, European, Persian, and Arabic languages, and very few studies have been reported on the under-resourced Urdu language. This study aims to overcome this research gap by using a Deep Neural Network (DNN) based architecture and pre-trained Large Language Models (LLMs) for the task of Urdu paraphrased text reuse and plagiarism detection. The architecture called Deep Text Reuse and Paraphrased Plagiarism Detection (D-TRaPPD), relies on LLMs for input and utilizes CNN and LSTM to extract essential textual features. Moreover, we have proposed and evaluated two D-TRaPPD variants, Word Embeddings-D-TRaPPD (WE-D-TRaPPD) and Sentence Embeddings-D-TRaPPD (SE-D-TRaPPD), using two gold standard document-level corpora containing both real and simulated cases of Urdu paraphrased text reuse and plagiarism. The results demonstrate the effectiveness of the D-TRaPPD architecture, with SE-D-TRaPPD achieving the highest \(F_1\) scores of 91.77 for real cases and 95.15 for simulated cases. Furthermore, the results highlight the superiority of our approaches over the state-of-the-art methods for Urdu paraphrased text reuse and plagiarism detection.

15 May 2023 in Electronics
Verified
Journal Article
Open access
PDF file
Rab Nawaz JadoonRab Nawaz Jadoon
Rab Nawaz Jadoon
ANAqsa Nadeem
Aqsa Nadeem
JSJawad Shafi
Jawad Shafi
MUMuhammad Usman
Muhammad Usman
Mohammed ELAffendiMohammed ELAffendi
Mohammed ELAffendi
gauhar aligauhar ali
gauhar ali
This research paper presents the prediction of the visual attention area on a visual display using an evolving rule-based fuzzy model: evolving Takagi–Sugeno (eTS). The evolving fuzzy model is feasible for predicting the visual attention area because of its non-iterative, recursive, online, and real-time nature. Visual attention area prediction through a web camera is a problem that requires online adaptive systems with higher accuracy and greater performance. The proposed approach using an evolving fuzzy model to predict the eye-gaze attention area on a visual display in an ambient environment (to provide further services) mimics the human cognitive process and its flexibility to generate fuzzy rules without any prior knowledge. The proposed Visual Attention Area Prediction using Evolving Neuro-Fuzzy Systems (VAAPeNFS) approach can quickly generate compact fuzzy rules from new data. Numerical experiments conducted in a simulated environment further validate the performance and accuracy of the proposed model. To validate the model, the forecasting results of the eTS model are compared with DeTS and ANFIS. The result shows high accuracy, transparency and flexibility achieved by applying the evolving online versions compared to other offline techniques. The proposed approach significantly reduces the computational overhead, which makes it suitable for any sort of AmI application. Thus, using this approach, we achieve reusability, robustness, and scalability with better performance with high accuracy.

11 July 2025 in ACM Transactions on Asian and Low-Resource Language Information Processing
Verified
Journal Article
Open access
HIHafiz Rizwan Iqbal
Hafiz Rizwan Iqbal
MSMuhammad Sharjeel
Muhammad Sharjeel
JSJawad Shafi
Jawad Shafi
UMUsama Mehmood
Usama Mehmood
ARAgha Ali Raza
Agha Ali Raza
Plagiarism, the unauthorized reuse of text, fueled by the ease of access to online content, is a pressing concern for academia, publishers, and authors. Paraphrasing, a common tactic in textual plagiarism, compounds the problem further. The automatic detection of paraphrased plagiarism in text documents is a fundamental task in Natural Language Processing (NLP), crucial for maintaining academic integrity and authenticity. This paper presents an extensive investigation into Urdu sentential paraphrased plagiarism detection leveraging advanced Deep Neural Networks (DNNs) and Large Language Models (LLMs). The study builds upon the foundational work and proposes modifications to the Deep Text Reuse and Paraphrased Plagiarism Detection (D-TRaPPD) architecture to incorporate state-of-the-art pre-trained LLMs. The proposed approach, SELLM-D-TRaPPD, integrates various language models, including contextualized sentence embedding-based LLMs, language-agnostic and multilingual transformer-based LLMs, and multilingual knowledge-distilled transformer-based LLMs. We evaluated these models against three benchmark Urdu sentential paraphrase corpora—Urdu Sentential Paraphrase Corpus, Urdu Short Text Reuse Corpus, and Semi-automatic Urdu Sentential Paraphrase Corpus. The results demonstrate the effectiveness of SELLM-D-TRaPPD with LLMs, achieving F1 scores of 92.09%, 96.70%, and 98.23%, respectively. A comparative analysis with existing state-of-the-art methods shows significant performance improvements, establishing SELLM-D-TRaPPD as the new leading approach for Urdu sentential paraphrased plagiarism detection. These findings highlight the value of leveraging advanced neural network architectures and pre-trained LLMs in improving the accuracy and effectiveness of paraphrased plagiarism detection in Urdu, addressing a crucial gap in Urdu NLP research.

21 August 2025 in Language Resources and Evaluation
Verified
Journal Article
Open access
PDF file
JSJawad Shafi
Jawad Shafi
AHAmir Hussain
Amir Hussain
RNRao M. Adeel Nawab
Rao M. Adeel Nawab
MRMadiha Rasool
Madiha Rasool
Automatically assigning various labels to language data is a core NLP task that has attracted the attention of researchers in multiple fields, for instance, medical records with diagnostic labels, products with categories, and so forth. All these tasks require an annotated multi-label corpus for supervised learning. Existing multi-label annotated corpora primarily focus on English, with a shortage in the Urdu language, which is widely spoken worldwide and whose digital text is increasing rapidly. To fill this gap, this research study presents the first large benchmark Urdu multi-label document corpus, which contains 600 documents from the field of journalism. The proposed corpus is manually annotated with 232 tags of a semantic classification scheme, with two to six tags per document to provide fine-grained categorization of the textual document. To evaluate the proposed corpus, we extracted content-based features and applied several multi-label classifiers. In addition, the results of the proposed content-based methods are compared with several deep and transfer learning-based methods. After conducting a comprehensive set of experiments, the best results are obtained using SOTA multi-label machine learning methods on word tri-gram (MicroPrecision = 0.62, MicroRecall = 0.48, MicroF1 = 0.62). To foster research in Urdu NLP, our proposed multi-label Urdu document classification corpus has been made publicly available for research and benchmarking purposes.