singhjagpreet
commited on
Update README.md
Browse files
README.md
CHANGED
@@ -1,76 +1,81 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
-
|
6 |
-
|
7 |
-
-
|
|
|
|
|
8 |
---
|
9 |
|
10 |
-
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
|
14 |
-
|
15 |
-
|
16 |
-
Source: Based on the works of Prof. Sahib Singh
|
17 |
-
Format: PARQUET
|
18 |
-
Size:
|
19 |
-
Purpose:
|
20 |
-
Text understanding and sentiment analysis
|
21 |
-
Scriptural studies and transliteration
|
22 |
-
NLP applications like text summarization or chatbot training
|
23 |
-
Features
|
24 |
-
Schema
|
25 |
-
Each record includes:
|
26 |
|
27 |
-
|
28 |
-
Scripture Text (Gurmukhi/ BANI): Original text from the Guru Granth Sahib.
|
29 |
-
Translation (Punjabi/ARATH): Explanation in Punjabi language.
|
30 |
|
|
|
|
|
|
|
|
|
31 |
|
32 |
# Applications
|
33 |
This dataset can be used for:
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
|
40 |
-
#
|
41 |
-
|
42 |
-
bash
|
43 |
-
Copy code
|
44 |
-
pip install datasets
|
45 |
-
Load the dataset:
|
46 |
-
python
|
47 |
-
Copy code
|
48 |
-
from datasets import load_dataset
|
49 |
|
50 |
-
|
51 |
-
Access the data:
|
52 |
-
python
|
53 |
-
Copy code
|
54 |
-
print(dataset['train'][0])
|
55 |
-
Licensing
|
56 |
-
License: Specify the license (e.g., MIT, CC BY-NC-SA 4.0) to ensure proper usage and credit.
|
57 |
-
Attribution: Credit Prof. Sahib Singh and the original scripture source.
|
58 |
-
Acknowledgments
|
59 |
-
Original Work: Prof. Sahib Singh's "Gurugranth Sahib Darpan."
|
60 |
-
Community: Sikh researchers and scholars who made this dataset possible.
|
61 |
-
Contributing
|
62 |
-
Contributions are welcome! If you have corrections, suggestions, or additional annotations, feel free to open a pull request or create an issue on GitHub.
|
63 |
-
|
64 |
-
Citation
|
65 |
If you use this dataset in your research, please cite:
|
66 |
|
67 |
-
bibtex
|
68 |
-
|
69 |
-
@dataset{gurugranth_sahib_darpan,
|
70 |
author = {Sahib Singh},
|
71 |
title = {Gurugranth Sahib Darpan Dataset},
|
72 |
year = {2024},
|
73 |
publisher = {Hugging Face},
|
74 |
-
url = {https://huggingface.co/datasets/
|
75 |
}
|
76 |
-
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- question-answering
|
4 |
+
language:
|
5 |
+
- pa
|
6 |
+
size_categories:
|
7 |
+
- 1K<n<10K
|
8 |
+
tags:
|
9 |
+
- Religion
|
10 |
+
---
|
11 |
+
|
12 |
+
# Gurugranth Sahib Darpan Dataset by Prof. Sahib Singh
|
13 |
+
|
14 |
+
This dataset contains a structured representation of the **Gurugranth Sahib Darpan** by **Prof. Sahib Singh**, including translations, interpretations, and annotations of the Sikh holy scripture.
|
15 |
+
|
16 |
+
# Credits
|
17 |
+
The dataset is scraped from https://www.gurugranthdarpan.net/darpan.html.
|
18 |
+
|
19 |
---
|
20 |
+
|
21 |
+
## Dataset Details
|
22 |
+
|
23 |
+
- **Language**: Punjabi (Gurmukhi) and English
|
24 |
+
- **Source**: Prof. Sahib Singh’s "Gurugranth Sahib Darpan"
|
25 |
+
- **Format**: JSON, CSV, or plain text
|
26 |
+
- **Purpose**: For natural language processing (NLP) research, multilingual analysis, and spiritual studies
|
27 |
+
|
28 |
---
|
29 |
|
30 |
+
## Features
|
31 |
|
32 |
+
### Example Data
|
33 |
+
```json
|
34 |
+
{
|
35 |
+
"Ang": "1",
|
36 |
+
"url": "https://www.gurugranthdarpan.net/0001.html",
|
37 |
+
"Bani":"ੴ ਸਤਿ ਨਾਮੁ ਕਰਤਾ ਪੁਰਖੁ ਨਿਰਭਉ ਨਿਰਵੈਰੁਅਕਾਲ ਮੂਰਤਿ ਅਜੂਨੀ ਸੈਭੰ ਗੁਰ ਪ੍ਰਸਾਦਿ ॥",
|
38 |
+
"Arath": "ਪਦ ਅਰਥ: ੴ ਉੱਚਾਰਨ ਵੇਲੇ ਇਸ....",
|
39 |
+
}
|
40 |
+
```
|
41 |
+
|
42 |
+
# Installation and Usage
|
43 |
+
## Step 1: Install Required Libraries
|
44 |
+
```bash
|
45 |
+
pip install datasets
|
46 |
+
```
|
47 |
+
## Step 2: Load the Dataset
|
48 |
|
49 |
+
```python
|
50 |
+
from datasets import load_dataset
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
|
52 |
+
ds = load_dataset("singhjagpreet/Gurbani_darpan", split="train")
|
|
|
|
|
53 |
|
54 |
+
# Access the first record
|
55 |
+
data = ds.with_format("np", columns=["Bani", "Arath"], output_all_columns=False)
|
56 |
+
|
57 |
+
```
|
58 |
|
59 |
# Applications
|
60 |
This dataset can be used for:
|
61 |
|
62 |
+
1. Building multilingual NLP models.
|
63 |
+
2. Transliteration and translation systems.
|
64 |
+
3. Scriptural Q&A and chatbot systems.
|
65 |
+
3. Sentiment and context analysis.
|
66 |
|
67 |
+
# Contributing
|
68 |
+
Feel free to contribute! Submit pull requests or create issues to improve the dataset.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
|
70 |
+
# Citation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
71 |
If you use this dataset in your research, please cite:
|
72 |
|
73 |
+
```bibtex
|
74 |
+
@dataset{singhjagpreet/Gurbani_darpan,
|
|
|
75 |
author = {Sahib Singh},
|
76 |
title = {Gurugranth Sahib Darpan Dataset},
|
77 |
year = {2024},
|
78 |
publisher = {Hugging Face},
|
79 |
+
url = {https://huggingface.co/datasets/singhjagpreet/Gurbani_darpan}
|
80 |
}
|
81 |
+
```
|