File size: 3,020 Bytes
2c18bc2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# 📜 Vedas Dataset (Cleaned CSV Format)

This repository contains cleaned and structured CSV datasets of the **four Vedas**, originally sourced from  
**GRETIL – Göttingen Register of Electronic Texts in Indian Languages**.

🔗 Original Source: https://gretil.sub.uni-goettingen.de/gretil.html

The raw Sanskrit texts were extracted from GRETIL and processed into machine-readable CSV format for research, NLP, and data science applications.

---

## 📚 About the Source

**GRETIL (Göttingen Register of Electronic Texts in Indian Languages)**  
Maintained by the University of Göttingen, Germany.

GRETIL provides digitized classical Indian texts, primarily in transliterated Sanskrit (IAST format).

This repository does **not** claim ownership of the original texts.  
It provides cleaned, structured, and formatted CSV versions for research and educational use.

---

## 🧹 Data Cleaning & Processing Steps

The following preprocessing steps were applied:

- Removed header/footer metadata
- Cleaned encoding inconsistencies
- Standardized verse structure
- Removed special characters and irregular spacing
- Normalized Mandala/Kanda/Sukta numbering
- Structured text into tabular format
- Added Devanagari script (where applicable)
- Exported into CSV format

---

## 📂 Available Vedas

The dataset includes cleaned CSV files for:

- Rigveda  
- Yajurveda  
- Samaveda  
- Atharvaveda  

Depending on availability from GRETIL, datasets may include:

- Samhita portions
- Selected recensions
- Structured verse-level segmentation

---

## 🗂 Dataset Structure

Each CSV file typically contains the following columns:

| Column Name        | Description |
|--------------------|------------|
| Mandala / Kanda    | Major division of the Veda |
| Sukta              | Hymn number |
| Mantra / Verse     | Verse number |
| Verse Code         | Unique verse identifier |
| Text (IAST)        | Sanskrit text in transliteration |
| Text (Devanagari)  | Sanskrit text in Devanagari script |

> Note: Column names may vary slightly depending on the specific Veda.

---

## 🎯 Possible Use Cases

- Sanskrit NLP research  
- Language modeling and LLM training  
- Retrieval-Augmented Generation (RAG)  
- Semantic search systems  
- Knowledge graph construction  
- Digital humanities research  
- Vedic text analytics  
- Comparative linguistic studies  

---

## ⚠️ Disclaimer

- The original texts are sourced from GRETIL.
- This repository provides cleaned and structured data for educational and research purposes only.
- Please refer to GRETIL for the original and authoritative versions.

---

## 📌 Citation

If you use this dataset in academic or research work, please cite:

**GRETIL – Göttingen Register of Electronic Texts in Indian Languages**  
https://gretil.sub.uni-goettingen.de/gretil.html

and reference this repository accordingly.

---

## 👤 Maintainer

Maintained by: **dataspoof**

For issues, improvements, or collaboration, feel free to open an issue or pull request.