M.Phil / MS
Permanent URI for this collectionhttps://repository.cuilahore.edu.pk/handle/123456789/36
This collection archives the complete set of theses produced by students of the COMSATS University Islamabad, Lahore Campus.
Browse
9 results
Search Results
Item A Benchmark Corpus and Methods for the Urdu Qur’anic Question-Answering System(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2025) Abida Ashraf; SP23-RCS-002; Dr. Rao Muhammad Adeel Nawab; LHR TP 9497Question Answering System aims to provide answers to a question posed in natural language. A question can be factoid and non-factoid. With the rapid increase in technologies, the QA task become one of the most challenging and important tasks of Natural Language Processing (NLP). In previous studies, the problem of the QA system for the Holy Quran has been explored for Arabic, English, and Indonesian languages. Urdu has more than 170 million speakers worldwide yet considered low low-resource language. However, the problem of the QA system for the Holy Quran has not been explored for the Urdu language due to the unavailability of the dataset. To overcome this research gap, this study developed a benchmark corpus of the Holy Quran in the Urdu language. We developed the corpus by carefully mapping the QRCD corpus which was originally in Arabic language into Urdu. For the mapping of answers, we take the expertise of data annotators who have a deep knowledge of the Holy Quran in both Arabic and Urdu language. We conducted experiments in a state-of-the-art BERT based LLMs. We evaluate the proposed techniques using Exact Match, partial Reciprocal Rank, and F1 score, and expert judgment.Item Developing a Gold Standard Benchmark Corpus and Methods for Multi-label Emotion Classification for Urdu Language(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2023) Azqa Abdul Ghani; SP22-RCS-025; LHR TP 8685; Dr. Rao Muhammad Adeel NawabEmotion Classification (EC) involves detecting the emotional tone conveyed by text, while Multi-Label Emotion Classification (MLEC) aims to assign relevant emotion labels that accurately reflect the author's state of mind. This research focuses on MLEC in Urdu text. In previous studies, only one work has been done for the problem of MLEC, including the development of a dataset based on Urdu Tweets using six emotions [5]. However, the problem of MLEC has not been explored for 12 emotions and diverse genres. To fulfill this research gap, this research study has developed a large benchmark corpus of 16,011 Urdu reviews, manually annotated with 12 emotions and gathered from 9 different genres. Furthermore, this research study has Developed, Applied, Evaluated, and Compared Classical Machine Learning, Deep Learning and Transfer Learning based methods. Whereas in Transfer Learning methods, we have implied 6 distinct sentence transformers (xlm-r-100langs-bert-base-nli-stsb-mean-tokens, xlm-r-100langs-bert-base nli-mean-tokens, gtr-t5-large, all-mpnet-base-v2, distiluse-base-multilingual-cased-v2, and LaBSE), Also the Combined Feature-based approach is applied which averages the features of all the columns of the sentence transformer model and then the Machine Learning models are applied. The proposed transformers-based approach outperforms with an F1 score of 0.4562 using the ‘xlm-r-100langs-bert-base-nli-stsb-mean-tokens’ sentence transformerItem Urdu Text Reuse Detection (UTRD) at Phrasal Level using Transformer-Based Approached(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2022) Gull Mehak; SP21-RCS-006; LHR TP 8058; Dr. Rao Muhammad Adeel NawabText reuse is a process of creating new text(s) from pre-existing text(s). In recent years, Urdu Text Reuse Detection (UTRD) has gained the attention of researchers because the text is readily available in digital format all over the internet and can be copied or paraphrased from another source without proper attribution, which makes it easier to reuse but hard to detect. In previous studies, the problem of UTRD has been explored at the sentence level [1], sentence/passage level [2], and document level [3], along with benchmark corpora and methods. However, the problem of UTRD has not been explored at the Phrasal level with respect to corpora and methods. To fulfill this research gap, this research study has developed a large benchmark manually annotated corpus of 25,001 text pairs at two levels of rewrite: 1) Derived = 15,105 and 2) Non Derived = 9,896. Secondly, this research study has developed, applied, evaluated, and compared baseline approaches (N-gram Overlap and Word Embedding-based approaches) with proposed transformer based approaches on the proposed UTRD-Phr-22 corpus. The proposed transformers-based approach (using a combination of 8 different Sentence Transformers including: paraphrase- multilingual-mpnet-base-v2, distiluse-base-multilingual-cased-v, paraphrase multilingual-MiniLM-L12-v2, LaBSE, xlm-r-distilroberta-base-paraphrase-v1, xlm-r 100langs-bert-base-nli-mean-tokens, xlm-r-bert- base-nli-stsb-mean-tokens, and xlm-r 100langs-bert-base-nli-stsb-mean-tokens) outperforms with an F1 score of 0.63 compared to the best results obtained uisng N-gram Overlap approach (F1 = 0.53)Item Image Caption Generation for Urdu Language – Data and Methods(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2021) Nimra Shafiq; SP20-RCS-010; LHR TP 7602; Dr. Rao Muhammad Adeel NawabImage Captioning (IC) generates a suitable caption for the given query image. The focus of IC is understanding the contextual meaning of visual contents in an image and then describing them in semantically and syntactically correct description in the natural language. The most salient part of an image is described in a sentence to increase the visual understanding of people. It has many applications like navigation guidance for blind persons, image-based optimized search engines, visual context understanding, early babyhood education, image description in an e-commerce site, and image indexing. Previously most of the work done on Image Captioning was in English and other high resource languages like Chinese, Arabic, and Hindi, etc. To the best of our knowledge, the Urdu language has not been explored previously for Urdu Image Captioning (UIC). The primary reason for this is the unavailability of benchmark corpora for UIC. So, the foremost aim of this research is to develop a benchmark Image Captioning corpus for the Urdu language (known as UIC-21 corpus). The proposed corpus is based on the Fliker-8k English corpus. It is developed by translating the English image caption into Urdu image captions using a semi-automatic translation approach. In this approach, automated translation tools are used to automatically translate the image captions in Urdu language and then a manual inspection and correction approach is used to improve the quality of the captions. To demonstrate how UIC systems can be developed and evaluated on our proposed UIC-21 corpus, we applied deep learning techniques (CNN for images and RNN, LSTM, and GRU for Urdu textual data) and state-of-the-art transfer learning techniques (InceptionV3 with ImageNet weights and VGG16 with ImageNet weights for images, and pre-trained word2vec urduvec and W2V models for textual data) for UIC systems, which are further evaluated using BELU-1, BLEU-2, BLEU-3, and BLEU-4. Their experimental results show that the transfer learning InceptionV3-GRU with the pretrained word embedding method achieved the highest BLEU-1 score of 0.60 on our proposed UIC-21 corpusItem Cross-Lingual Paraphrase Detection for English Urdu Language Pa(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2021) Nida Waheed; SP19-RCS-025; LHR TP 7598; Dr. Rao Muhammad Adeel NawabThe main aim of the Cross-Lingual Paraphrase Detection (CLPD) task is to identify whether a text pair (text 01 in language A and text 02 in language B) are paraphrased of one another or not. With the massive increase in technological advancements in digital media and internet facilities, the availability of digital content across multiple languages has become free as well as easy to access. Besides paraphrasing, there has been a rise in cross-lingual paraphrasing since the development of advanced text processing tools. Moreover, the facility of translating existing texts from the original language into any other desired language using freely available translation tools has worsened the problems and triggered an increase in cross-lingual paraphrasing. Previously, there has been plenty of work done for the cross-lingual paraphrase detection in different languages but the downside is that under-resourced languages are still neglected. Urdu is a widely spoken language, despite the fact, the work done for the Urdu language in the CLPD domain is notably less because of the complexity and challenges of the Urdu language. It still comes in the category of low-resource languages. The research in the text analysis domain is mostly focused on well-resourced languages such as English and other European languages. The CLPD problem has formerly been explored for English-Czech, English German, English-Spanish, English Chinese, etc. language pairs. However, the CLPD problem has not yet been studied and reported for the English-Urdu language pair. Although, Cross-Lingual Paraphrasing is now being used enormously in various domains such as content writing, blog posts, and academics, especially in research works related to different languages. To overcome this research gap, a benchmark corpus and approaches are presented through this study for CLPD. The first objective of this research work is to develop a large benchmark Cross-Lingual Paraphrase Detection Corpus (CLPD-EU) for English-Urdu language pair at the sentence level by using a semi-automatic translation approach. For the creation of the CLPD-EU corpus, an existing corpus named Microsoft Research Paraphrase x Corpus (MRPC) is used. The second chief objective of this research work is to make a thorough comparison of classical machine learning (Bilingual Dictionary Based Approaches), Cross-lingual Word Embedding Based Approaches, Transfer Learning (Sentence Transformers Based Approaches) Approaches, and Feature Fusion Approaches on our proposed corpus. The results exhibited that our proposed Feature Fusion Approach 1 has shown notable performance for CLPD. The evaluation of all these approaches is carried out using the weighted average of Precision, Recall, and F1 scores.Item Urdu Short Text Reuse Detection Using Sentence Transformers(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2021) Hamza Hafeez; SP19-RCS-014; LHR TP 7589; Dr. Rao Muhammad Adeel NawabThe process of creating new text(s) using an existing one is called Text Reuse. The goal of text reuse detection is to identify whether a new text is created using a source text or not. A source text can be reused at different rewrite levels to generate either partially (Paraphrased) or fully (Verbatim) reused texts pairs. The Paraphrased Text Reuse shows the relationship between two text pairs conveying the same idea differently. Paraphrased text reuse text is difficult to detect since different edit operations can be used to generate it which varies considerably according to the context where it is being used. In literature, the Paraphrase Text Reuse Detection problem has been explored for English as well as some other European languages, but it has not been investigated for the Urdu language because of the non-availability of the Urdu paraphrase text reuse detection corpus. Therefore, to fulfill this gap this study aims to develop a large-scale gold standard benchmark Urdu Paraphrase Text Reuse Corpus (UPTRC) for the Urdu text reuse detection with special emphasizes on paraphrase text reuse detection for Urdu language. In addition, we have applied the baseline approaches (N-Gram Based Approaches) and proposed other approaches including Word Embedding Based Approaches, Sentence Transformers Based Approaches, and other Feature Fusion Approaches for Urdu Paraphrase Text Reuse Detection (UPTRD). However, Urdu Short Text Reuse Detection (USTRD) has been explored at the sentence level, passage level and document level along with different approaches that have been previously applied on Urdu Short Text Reuse Corpus (USTRC). Nonetheless, the USTRD task has only been explored with lexical and semantic approaches on USTRC but has not been explored with state-of-the-art Sentence Transformers Based Approaches and Word Embedding Based Approaches. The Sentence Transformers Based Approaches are used in a variety of applications and natural language processing tasks, especially for semantic text similarity and duplicate pair detection. But the Sentence Transformers has not been explored for Urdu text reuse detection. So, there is a need to explore the Sentence Transformers Based Approaches on the USTRC corpus for the task of USTRD. In this study, along with the corpus construction, we have applied the N-Gram Based Approaches as baseline and proposed new approaches including Word Embedding Based Approaches, Sentence Transformers Based Approaches, and Feature Fusion Approaches for our proposed UPTRC corpus. We have proposed applied compared and evaluated same approaches for USTRC corpus as well as our proposed corpus to investigate the performance of our proposed approaches. The best results obtained were the weighted average of F1 = 0.855607 by our proposed Feature Fusion Approaches for the task of UPTRD on our proposed UPTRC corpus. In the case of the USTRC corpus, our proposed Feature Fusion Approaches still outperformed the baseline approaches for ternary classification with F1 = 0.715164. The performance of the proposed approaches for both corpora is evaluated and reported using the weighted average of Precision (P), Recall (R), and F1 evaluation measures.Item Smart Reply Suggestion for an Email in Multiple Languages – Data and Metho(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2021) Nazia Jehan; FA19-RCS-002; LHR TP 7295; Dr. Rao Muhammad Adeel NawabSmart Reply Suggestion (SRS) is a novel end-to-end system that refers toward the method of suggesting the three short email responses. These responses are themselves complete short email replies, suggested in diverse form for (monolingual) email i.e. English. In literature, mostly the model is specifically designed for monolingual emails like English. There is a paucity of state-of-the-art techniques that handle both monolingual and multilingual email at a time. Moreover, there is a paucity of benchmark corpus in multiple languages-based emails. This research has tried to overcome the limitations of an earlier study of the SRS system by proposing a novel method for the SRS system which handle both the monolingual and multilingual email at a time. In this research, we treat this problem as a multilabel text classification problem. we developed the " (ML-SRS) Email corpus collected from academia, consisting of three different languages including English, Roman Urdu and a combination of Roman Urdu and English emails (text) and developed the list of smart response prepared to annotate that dataset manually the inter-annotator agreement calculated and then standardized the dataset in .CSV format. For our proposed SRS system, we considered two approaches. In the first approach, we considered content-based n-gram approach at word and character level with the combination of multi-label classifier i.e. One Vs Rest, Label Powerset, with eight classical machine learning classifiers i.e. Linear SVC, Logistic Regression etc. In the second approach, we consider LSTM, CNN, GRU, Bi GRU, Bi-LSTM models. Both approaches are evaluated on Micro Precision, Micro Recall, Micro F1 score and Hamming loss. However, Label Powerset with the combination of Linear SVC performed well as compared to othersItem Cross Genre Author Profiling Using Semantic Tagger Based Approach(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2017) Humaira Muqdes; FA15-RCS-023; LHR TP 7000; Dr. Rao Muhammad Adeel NawabAuthor profiling is a task to predict one or more traits of an author (e.g. age, gender etc.), from his/her written text. The collaborative environments have significantly increased the chance of fake author profiles, particularly over the social media. The field of automatically detecting an author’s profile from written text has potential applications in marketing, forensics, security, detecting fake profiling and harassment cases. This research work aims to explore the problem of cross genre author profiling, in which training dataset is in one genre and test dataset is in another genre. We explored three different methods for cross-genre author profiling: (1) stylometry based approach, (2) content based approach, (3) semantic tags based approach and (4) combination of previous three approaches. As far as we are aware semantic tags based approach and combination of approaches has not been previously used for cross genre author profiling problem. Evaluation was carried out using four benchmark author profiling corpora: (1) PAN-AP-14 Social Media Corpus, (2) PAN-AP-14 Hotel Reviews corpus, (3) PAN-AP-14 Blogs Corpus and (4) PAN-AP-16 Twitter Corpus. Accuracy was used an evaluation measure. Above mentioned techniques were applied for both same and cross genre problems. For same genre, best results were obtained using content based technique on PAN-AP 14-Hotel Reviews Corpus (Accuracy =55.26) for Age (Accuracy= 66.59) for gender content based techniques for PAN-AP-Blogs Corpus (Accuracy = 67.57) for age, Semantic tagger based technique (Accuracy = 78.38) for gender. Content based technique on PAN-AP-14-social media Corpus (Accuracy =55.26) for Age (Accuracy= 78.95) for gender. Content based technique on PAN-AP-16-Twitter Corpus (Accuracy =54.76) for Age (Accuracy= 74.42) for gender. For Cross Genre Training Corpus PAN-14-Blogs and testing Corpus PAN-14-Hotel reviews for age (Accuracy = 56.96) for gender training Corpus is PAN-16-Twitter (Accuracy= 58.97). Content Based Technique for Training Corpus PAN-14-Hotel reviews and testing Corpus PAN-14-Blogs for age (Accuracy = 40.81) for gender Stylistic based for training Corpus is PAN-14-Blogs (Accuracy= 59.86). Content based technique for Training Corpus PAN-14-Social Media and testing Corpus PAN-14-Blogs for age (Accuracy = 40.81) for gender Content based technique training Corpus is PAN-14-Blogs (Accuracy= 59.86). Stylistic based technique for PAN-16- Twitter training corpus and testing corpus PAN-14-Blogs (Accuracy = 40.81) for age. Content based technique for gender where testing corpus is PAN-14-Blogs (61.22) for gender.Item Multi-Label Author Profiling on Multi-Lingual Text(Library Information Services, COMSATS University Islamabad, Lahore Campus, 2020) Samra Kanwal; SP19-RCS-011; LHR TP 6418; Dr. Rao Muhammad Adeel NawabAuthor profiling is the task of author attributes classification where the main aim is to predict the profile and demographic features of an author which includes age group, gender, region, personality, etc., by examining the written content of the author. There are different promising applications of author profiling including security, forensic analysis, and identification of harassing text messages, marketing intelligence, and fake profile identification. In literature, the majority of the studies have been carried for single-label author profiling i.e., predicting only one single label at a time. There are very few studies available on multi-label author profiling on mono-lingual text, i.e., predicting more than one label at a time. However, the problem of multi-label author profiling has not been completely explored for multi-lingual text. The main objective of this research work is to explore the problem of multi-label author profiling on multi lingual text (English and Roman Urdu). For this purpose, the aim is to predict four author traits including gender, age, education, and language as a multi-label task using three state-of-the-art methods: (1) Content based Methods (N-gram models for both word and character), (2) Deep Learning Approaches (CNN, LSTM, BI-LSTM, GRU, and BI-GRU) and (3) Transfer Learning Approaches (BERT, and XLNET). The evaluations were carried out on three benchmark multi-lingual datasets, RUEN-AP-17, SMS–AP–18, and BT-AP-19. After extensive experimentation and comparison, the results show that the content-based method outperforms the deep learning and transfer learning methods for multi-label author profiling tasks on all multi-lingual corpora used in this study. On the RUEN AP-17 corpus the best results (Accuracy = 0.71, F1-measure = 0.65) were obtained using the word tri-gram model with the Naïve Bayes classifier. On SMS–AP–18 corpus the best results (Accuracy = 0.74, F1-measure = 0.69) were obtained using word uni gram model using support vector machine with one-vs-rest and one-vs-one classifiers, and on BT-AP-19 corpus the best results (Accuracy = 0.74, F1-measure = 0.69) were obtained using word bi-gram model using support vector machine with one-vs-rest and one-vs-one classifiers