|
--- |
|
license: mit |
|
task_categories: |
|
- token-classification |
|
language: |
|
- ur |
|
tags: |
|
- urdu |
|
- urdu ghazal |
|
- ghazal |
|
pretty_name: Urdu Ghazal |
|
size_categories: |
|
- 1K<n<10K |
|
--- |
|
# Urdu Poetry Dataset |
|
|
|
Welcome to the **Urdu Poetry Dataset**! This dataset is a collection of Urdu poems where each entry includes two columns: |
|
- **Title:** The title of the poem. |
|
- **Poem:** The full text of the poem. |
|
|
|
This dataset is ideal for natural language processing tasks such as text generation, language modeling, or cultural studies in computational linguistics. |
|
|
|
--- |
|
|
|
## Dataset Overview |
|
|
|
The Urdu Poetry Dataset comprises a diverse collection of Urdu poems, capturing the rich heritage and literary nuances of the Urdu language. Each record in the dataset consists of: |
|
- **Poem Title:** A brief title that reflects the theme or subject of the poem. |
|
- **Poem Text:** The actual content of the poem. |
|
|
|
The dataset is structured in a tabular format, making it straightforward to load and manipulate with popular data processing libraries. |
|
|
|
--- |
|
|
|
## Data Format |
|
|
|
The dataset is provided in a standard tabular format (e.g., CSV or JSON). Each entry includes the following columns: |
|
|
|
- **title** (`string`): The title of the poem. |
|
- **poem** (`string`): The full text of the poem. |
|
|
|
*Example (CSV format):* |
|
```csv |
|
title,poem |
|
"دل کی کتاب","یہ عشق نہیں آساں، بس اتنا سمجھ لیجے..." |
|
"پھولوں کا سلسلہ","خوشبوؤں کی محفل میں، ایک پھول داستان کہتا ہے..." |
|
How to Load the Dataset |
|
You can easily load the dataset using the Hugging Face Datasets library. Below is an example using Python: |
|
|
|
python |
|
Copy |
|
Edit |
|
from datasets import load_dataset |
|
|
|
# Replace 'your-username/urdu-poetry-dataset' with the actual repository name on Hugging Face Hub |
|
dataset = load_dataset("your-username/urdu-poetry-dataset") |
|
|
|
# Accessing the train split (if applicable, otherwise adjust accordingly) |
|
print(dataset['train'][0]) |
|
Note: Ensure that you have installed the datasets library with: |
|
|
|
bash |
|
Copy |
|
Edit |
|
pip install datasets |
|
Intended Use Cases |
|
Text Generation: Train language models to generate Urdu poetry. |
|
Stylistic Analysis: Analyze poetic styles and structures in Urdu literature. |
|
Cultural Studies: Explore themes and cultural nuances present in Urdu poetry. |
|
Machine Translation: Use as a resource for translating poetic texts between languages. |
|
License |
|
This dataset is distributed under the MIT License. See the LICENSE file for more details. |
|
|
|
|
|
Contributing |
|
Contributions are welcome! If you have additional data, improvements, or suggestions, please open an issue or submit a pull request on the GitHub repository. |
|
|
|
Citation |
|
If you use this dataset in your research, please consider citing it as follows: |
|
|
|
bibtex |
|
Copy |
|
Edit |
|
@dataset-ReySajju742/English-Urdu-Dataset, |
|
author = Sajjad Rasool, |
|
title = English Transliteration (Roman Urdu) of Urdu Poetry Dataset, |
|
year = 2025, |
|
publisher = ReySajju742, |
|
url = https://huggingface.co/datasets/ReySajju742/English-Urdu-Dataset, |
|
} |
|
Contact |
|
For any questions, suggestions, or issues, please contact sajjjad.rasool@gmail.com |