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|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
- fill-mask
|
| 6 |
language:
|
| 7 |
- my
|
| 8 |
- pi
|
| 9 |
size_categories:
|
| 10 |
- 100K<n<1M
|
| 11 |
pretty_name: Myanmar Tipitaka Corpus
|
| 12 |
+
tags:
|
| 13 |
+
- pali
|
| 14 |
+
- tipitaka
|
| 15 |
+
- buddhist
|
| 16 |
+
- myanmar
|
| 17 |
+
- nlp
|
| 18 |
+
- corpus
|
| 19 |
+
dataset_info:
|
| 20 |
+
features:
|
| 21 |
+
- name: id
|
| 22 |
+
dtype: string
|
| 23 |
+
- name: category
|
| 24 |
+
struct:
|
| 25 |
+
- name: nikaya
|
| 26 |
+
dtype: string
|
| 27 |
+
- name: basket
|
| 28 |
+
dtype: string
|
| 29 |
+
- name: book
|
| 30 |
+
dtype: string
|
| 31 |
+
- name: chapter
|
| 32 |
+
dtype: string
|
| 33 |
+
- name: paragraph_no
|
| 34 |
+
dtype: string
|
| 35 |
+
- name: content
|
| 36 |
+
dtype: string
|
| 37 |
+
- name: metadata
|
| 38 |
+
struct:
|
| 39 |
+
- name: style
|
| 40 |
+
dtype: string
|
| 41 |
+
- name: db_page_id
|
| 42 |
+
dtype: int64
|
| 43 |
+
splits:
|
| 44 |
+
- name: train
|
| 45 |
+
num_examples: 462504
|
| 46 |
+
configs:
|
| 47 |
+
- config_name: default
|
| 48 |
+
data_files:
|
| 49 |
+
- split: train
|
| 50 |
+
path: "dataset.jsonl"
|
| 51 |
+
---
|
| 52 |
+
|
| 53 |
+
# Myanmar Tipitaka Dataset (Pali Corpus)
|
| 54 |
+
|
| 55 |
+
## Dataset Summary
|
| 56 |
+
|
| 57 |
+
The **Myanmar Tipitaka Dataset** is a high-quality, structured collection of the Buddhist Pali Canon, transcribed in the Myanmar (Burmese) script. This dataset contains **462,504 paragraphs**, covering the entire "Triple Basket" (Tipitaka) of Theravada Buddhism, including the original **Mula** (Canonical texts), **Atthakatha** (Commentaries), and **Tika** (Sub-commentaries).
|
| 58 |
+
|
| 59 |
+
This project was initiated by **DatarrX** to provide a clean, machine-readable corpus for Natural Language Processing (NLP) tasks, specifically focusing on the Pali language as preserved in Myanmar.
|
| 60 |
+
|
| 61 |
+
## Project Credits & Governance
|
| 62 |
+
|
| 63 |
+
* **Organization:** [DatarrX](https://www.google.com/search?q=https://github.com/DatarrX)
|
| 64 |
+
* **Lead Developer:** [Khant Sint Heinn (Kalix Louis)](https://huggingface.co/kalixlouiis)
|
| 65 |
+
* **Source Data:** [pndaza/tipitaka-pali](https://github.com/pndaza/tipitaka-pali)
|
| 66 |
+
* **License:** [MIT License](https://opensource.org/licenses/MIT)
|
| 67 |
+
|
| 68 |
+
---
|
| 69 |
+
|
| 70 |
+
## What is the Tipitaka? (For Non-Religion Researchers)
|
| 71 |
+
|
| 72 |
+
The Tipitaka (Pali for "Triple Basket") is the standard collection of scriptures in the Theravada Buddhist tradition. It is one of the oldest and most extensive philosophical and linguistic records in human history.
|
| 73 |
+
|
| 74 |
+
1. **Vinaya Pitaka:** Rules and discipline for the monastic community.
|
| 75 |
+
2. **Sutta Pitaka:** Discourses and sermons of the Buddha (contains ethics, philosophy, and psychology).
|
| 76 |
+
3. **Abhidhamma Pitaka:** A detailed analytical and philosophical systematization of the Buddha's teachings.
|
| 77 |
+
|
| 78 |
+
For NLP researchers, this dataset represents a **low-resource language corpus** (Pali in Myanmar script) that is rich in complex grammar, ancient vocabulary, and logical structures.
|
| 79 |
+
|
| 80 |
+
---
|
| 81 |
+
|
| 82 |
+
## Dataset Structure
|
| 83 |
+
|
| 84 |
+
The data is provided in **JSONL (JSON Lines)** format. Each line represents a paragraph or a verse with full hierarchical metadata.
|
| 85 |
+
|
| 86 |
+
### Data Fields
|
| 87 |
+
|
| 88 |
+
| Field | Description |
|
| 89 |
+
| --- | --- |
|
| 90 |
+
| `id` | Unique identifier (derived from source DB page ID and sequence). |
|
| 91 |
+
| `category` | An object containing the hierarchy: `nikaya`, `basket`, `book`, and `chapter`. |
|
| 92 |
+
| `paragraph_no` | The traditional paragraph numbering used in Buddhist scriptures. |
|
| 93 |
+
| `content` | Clean text content (HTML tags stripped). |
|
| 94 |
+
| `metadata` | Includes `style` (e.g., bodytext, gatha/verse) and `db_page_id`. |
|
| 95 |
+
|
| 96 |
+
### JSON Example
|
| 97 |
+
|
| 98 |
+
```json
|
| 99 |
+
{
|
| 100 |
+
"id": "db_00001_005",
|
| 101 |
+
"category": {
|
| 102 |
+
"nikaya": "ဝိနယပိဋက(ခုဒ္ဒကနိကာယ)",
|
| 103 |
+
"basket": "mula",
|
| 104 |
+
"book": "ပါရာဇိကပါဠိ",
|
| 105 |
+
"chapter": "ဝေရဉ္ဇကဏ္ဍံ"
|
| 106 |
+
},
|
| 107 |
+
"paragraph_no": "၁",
|
| 108 |
+
"content": "၁။ တေန သမယေန ဗုဒ္ဓေါ ဘဂဝါ ဝေရဉ္ဇာယံ ဝိဟရတိ...",
|
| 109 |
+
"metadata": {
|
| 110 |
+
"style": "bodytext",
|
| 111 |
+
"db_page_id": 1
|
| 112 |
+
}
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
```
|
| 116 |
+
|
| 117 |
+
---
|
| 118 |
+
|
| 119 |
+
## Technical Specifications
|
| 120 |
+
|
| 121 |
+
* **Total Records:** 462,504
|
| 122 |
+
* **Source Format:** SQLite (converted to JSONL)
|
| 123 |
+
* **Script:** Myanmar Script
|
| 124 |
+
* **Language:** Pali
|
| 125 |
+
* **Cleanliness:** 100% success rate in extraction with zero skipped errors.
|
| 126 |
+
|
| 127 |
+
---
|
| 128 |
+
|
| 129 |
+
## Potential Use Cases
|
| 130 |
+
|
| 131 |
+
This dataset is designed for a wide range of AI and Linguistic applications:
|
| 132 |
+
|
| 133 |
+
1. **Large Language Models (LLM):** Pre-training or fine-tuning models to understand ancient Pali logic or Myanmar script nuances.
|
| 134 |
+
2. **Machine Translation:** Building translation systems between Pali and Modern Burmese/English.
|
| 135 |
+
3. **Dictionary/Search Engines:** Creating semantic search tools for religious scholars.
|
| 136 |
+
4. **Text Classification:** Identifying styles (Poetry/Gatha vs. Prose/Bodytext) using the `style` metadata.
|
| 137 |
+
5. **Digital Humanities:** Analyzing the evolution of the Pali Canon across different Nikayas and Baskets.
|
| 138 |
+
|
| 139 |
+
---
|
| 140 |
+
|
| 141 |
+
## Citation & Acknowledgments
|
| 142 |
+
|
| 143 |
+
If you use this dataset in your research, please cite the original data source and the DatarrX project:
|
| 144 |
+
|
| 145 |
+
> **Source Data:** Pndaza (2024). Tipitaka Pali SQLite Database. Available at: [https://github.com/pndaza/tipitaka-pali](https://github.com/pndaza/tipitaka-pali)
|
| 146 |
+
> **Dataset Curation:** Khant Sint Heinn (Kalix Louis), DatarrX Organization (2026). Myanmar Tipitaka Dataset.
|
| 147 |
+
|
| 148 |
+
---
|
| 149 |
+
|
| 150 |
+
## Contact
|
| 151 |
+
|
| 152 |
+
For inquiries or collaborations regarding Myanmar NLP projects, please reach out to [DatarrX](mailto:datarrx@gmail.com) or visit our [Hugging Face Profile](https://huggingface.co/datarrx).
|