[Paper Review] Co-occurrences using Fasttext embeddings for word similarity tasks in Urdu
This paper proposes FastText and n-gram word embeddings trained on a large, curated Urdu corpus (COUNTER) to improve word similarity tasks in low-resource Urdu NLP. It demonstrates that FastText outperforms existing skip-gram embeddings on SimLex-999 (Spearman r = 0.743) but underperforms on WordSim-353, highlighting the need for larger, higher-quality Urdu corpora to close the performance gap with English models.
Urdu is a widely spoken language in South Asia. Though immoderate literature exists for the Urdu language still the data isn't enough to naturally process the language by NLP techniques. Very efficient language models exist for the English language, a high resource language, but Urdu and other under-resourced languages have been neglected for a long time. To create efficient language models for these languages we must have good word embedding models. For Urdu, we can only find word embeddings trained and developed using the skip-gram model. In this paper, we have built a corpus for Urdu by scraping and integrating data from various sources and compiled a vocabulary for the Urdu language. We also modify fasttext embeddings and N-Grams models to enable training them on our built corpus. We have used these trained embeddings for a word similarity task and compared the results with existing techniques.
Motivation & Objective
- To address the lack of high-quality, publicly available word embeddings for Urdu, a low-resource language with limited NLP resources.
- To build a large, unified Urdu corpus by aggregating data from diverse news sources to support robust word embedding training.
- To adapt FastText and n-gram models for Urdu by modifying preprocessing and hyperparameters to handle Urdu’s morphological complexity.
- To evaluate the performance of the trained embeddings on standard word similarity benchmarks (SimLex-999 and WordSim-353) and compare them with existing skip-gram models.
- To release the trained embeddings, code, and dataset publicly to accelerate research in Urdu natural language processing.
Proposed method
- Constructed a large Urdu corpus (COUNTER) by web-scraping and integrating data from 1200 news documents across multiple Pakistani news agencies.
- Preprocessed the corpus by splitting into sentences, tokenizing, and removing stop words using custom and built-in FastText tools.
- Trained FastText embeddings with default hyperparameters: vector dimension = 100, epochs = 5, initial learning rate = 0.05, subword n-gram length = 3–6.
- Trained n-gram models using only the number of consecutive words (n-grams) as the sole hyperparameter, focusing on word co-occurrence patterns.
- Evaluated model performance using Spearman’s rank correlation coefficient between predicted and human-annotated similarity scores on Urdu-translated SimLex-999 and WordSim-353 datasets.
- Used iJunior’s translation service to translate the English SimLex-999 and WordSim-353 datasets into Urdu for evaluation.
Experimental results
Research questions
- RQ1Can FastText embeddings trained on a large, curated Urdu corpus outperform existing skip-gram models on Urdu word similarity tasks?
- RQ2How does the performance of n-gram-based word co-occurrence models compare to distributed embeddings in the context of Urdu word similarity?
- RQ3To what extent do the proposed Urdu word embeddings match the performance of pre-trained English FastText embeddings on standard similarity benchmarks?
- RQ4What is the impact of corpus size and quality on the effectiveness of word embeddings for low-resource languages like Urdu?
Key findings
- FastText embeddings achieved a Spearman correlation of 0.743 on the Urdu-translated SimLex-999 dataset, outperforming the skip-gram baseline (r = 0.293).
- The n-gram model achieved a low correlation of 0.156 on SimLex-999 and 0.188 on WordSim-353, indicating limited effectiveness for word similarity in Urdu.
- FastText slightly underperformed the skip-gram model on WordSim-353 (r = 0.462 vs. 0.492), suggesting task-specific performance variation.
- FastText embeddings on Urdu still lag significantly behind English FastText performance (r = 0.84), indicating substantial room for improvement.
- The study demonstrates that FastText can be effectively adapted to Urdu with proper preprocessing and corpus curation, yielding state-of-the-art results on SimLex-999.
- The authors released the trained embeddings, code, and dataset on GitHub to support reproducibility and future research in Urdu NLP.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.