File size: 5,329 Bytes
f27897c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# 📜 Shaiva & Tantric Sanskrit Corpus (Cleaned from GRETIL)

A structured dataset of **classical Sanskrit Shaiva, Tantric, Yogic, and philosophical texts**, cleaned and converted into a machine-learning friendly tabular format.

The texts were sourced from the **GRETIL – Göttingen Register of Electronic Texts in Indian Languages** and transformed into structured datasets for computational research.

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

---

# 📚 About GRETIL

**GRETIL (Göttingen Register of Electronic Texts in Indian Languages)** is a digital archive maintained by the **Göttingen State and University Library (Germany)**.

It contains machine-readable texts in:

- Sanskrit  
- Pali  
- Prakrit  
- Tibetan  
- Other South Asian languages  

These texts are widely used in **Indology, Sanskrit studies, and digital humanities research**.

The present dataset reorganizes and structures these texts into a **verse-level dataset suitable for NLP and AI research**.

⚠️ The original texts remain under copyright of their respective editors and publishers.

---

# 📂 Texts Included in This Dataset

The following texts were processed and cleaned from the GRETIL repository.

## Stotras and Devotional Literature

- **Bhaṭṭa Nārāyaṇa — Stavacintāmaṇi** (input by Harunaga Isaacson)  
- **Cakrapāṇinātha — Bhāvopahārastotra** with Rāmyadeva Bhaṭṭa’s Vivarana (input by Somadeva Vasudeva)  
- **Jñānasambhu — Śivapūjāstava** (input by Dominic Goodall)  
- **Kalhaṇa — Ardhanārīśvarastotra** (input by Walter Slaje)  
- **Śivamahimnastava** (input by Harunaga Isaacson)  
- **Utpaladeva — Śivastotrāvali** (input by Somadeva Vasudeva)

---

## Tantric and Āgamic Texts

- **Devīkalottara Āgama** (input by Dominic Goodall)  
- **Kubjikāmata Tantra** (input by Somadeva Vasudeva)  
- **Mālinīvijayottaratantra** (input by Somadeva Vasudeva)  
- **Mātṛkābhedatantra** (input by Oliver Hellwig)  
- **Kiraṇa Tantra (Chapters 1–6)** with Rāmakaṇṭha commentary (input by Dominic Goodall)  
- **Mṛgendrāgama (Mṛgendratantra)** (inputs by Dominic Goodall and Oliver Hellwig)  
- **Sārdhatriśatikālottarāgama** (input by Dominic Goodall, corrected by Yang Mei)  
- **Svacchanda Tantra / Svacchandabhairava Tantra** (input by Dominic Goodall et al.)  
- **Toḍala Tantra** (input by Oliver Hellwig)  
- **Uḍḍāmareśvara Tantra** (input by Oliver Hellwig)  
- **Vīṇāśikha Tantra** (input by Somadeva Vasudeva)

---

## Śaiva Philosophy and Related Works

- **Śivasūtra with Vārttika** (input by Oliver Hellwig)  
- **Śiva Upaniṣad** (input by Reinhold Grünendahl)  
- **Somānanda — Śāktavijñāna** (input by Oliver Hellwig)  
- **Śrīkaṇṭha — Ratnatrayaparīkṣā** (input by Dominic Goodall)

---

## Śaiva Ritual and Yoga Texts

- **Paraśurāmakalpasūtra** (input by Claudia Weber)  
- **Pāśupatasūtra** (input by Reinhold Grünendahl)  
- **Pāśupatasūtra with Kauṇḍinya’s Pañcārthabhāṣya** (input by Oliver Hellwig)

---

## Lexicographical and Other Texts

- **Bijanighaṇṭu** (input by Oliver Hellwig)  
- **Puruṣottamadeva — Ekākṣarakośa** (input by Oliver Hellwig)

---

## Nath and Yogic Texts

- **Gorakṣanātha — Amaraughaśāsana** with commentary (input by Oliver Hellwig)  
- **Gorakṣaśataka** (two versions)

---

## Regional and Historical Texts

- **Karatoyāmāhātmya** (input by Arlo Griffiths)

---

## Classical Sanskrit Works

- **Śaṅkara (attrib.) — Saundaryalaharī** (input by Peter Schreiner)

---

# 🗂 Dataset Structure

Each row represents a **single verse or textual unit**.

| Column | Description |
|------|-------------|
| text_name | Name of the source text |
| chapter | Chapter or section |
| verse_no | Verse number |
| sanskrit_transliteration | IAST transliteration |
| sanskrit_devanagari | Devanagari script |

Example:

| text_name | chapter | verse_no | transliteration | devanagari |
|---|---|---|---|---|
| Saundaryalahari | 1 | 1 | śivaḥ śaktyā yukto... | शिवः शक्त्या युक्तो... |

---

# 🧹 Data Processing Pipeline

The following preprocessing steps were applied:

1. Removal of metadata and markup from GRETIL text files  
2. Regex-based verse extraction  
3. Normalization of transliteration (IAST)  
4. Conversion to Devanagari  
5. Standardization of whitespace and punctuation  
6. Conversion to structured DataFrame format

---

# 🔬 Possible Use Cases

### Sanskrit NLP

- Sanskrit language models
- Sanskrit embeddings
- Morphological analysis

### AI Research

- Sanskrit LLM training
- Retrieval-Augmented Generation (RAG)
- Semantic search across scriptures

### Digital Humanities

- Tantric textual analysis
- Shaiva philosophical studies
- Knowledge graph construction

---

# 📖 Attribution

All source texts originate from:

**GRETIL – Göttingen Register of Electronic Texts in Indian Languages**

https://gretil.sub.uni-goettingen.de/gretil.html

Please cite GRETIL when using this dataset in academic work.

---

# 👨‍💻 Maintainer

**DataSpoof**

---

# 🙏 Acknowledgements

Special thanks to:

- GRETIL
- Göttingen State and University Library
- The scholars who digitized and edited these Sanskrit texts

---