📜 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.