The Saamayik Sanskrit-English Parallel Corpus is a contemporary prose-focused translation dataset containing around 53,000 parallel sentences in Sanskrit and English (48,326 in this main dataset, with an additional 4,047 Mann Ki Baat sentences). Sāmayik, meaning "sayings of the contemporary world" in Sanskrit, specifically addresses the gap in existing Sanskrit corpora which predominantly feature classical poetry. This dataset emphasizes contemporary Sanskrit usage in prose form, compiled from diverse modern sources including educational materials, technical tutorials, spiritual texts, and religious content.
Paper: ACL Anthology | arXiv
This dataset is designed for:
Each instance contains a parallel translation pair:
{
"translation": {
"en": "Save it with Ctrl, S.",
"sa": "Ctrl, S नुत्वा रक्षन्तु।"
}
}
translation: A dictionary containing:
en (string): The English textsa (string): The Sanskrit text in Devanagari scriptThe dataset is divided into three splits:
| Split | Number of Examples | Percentage |
|---|---|---|
| train | 43,493 | 90% |
| validation | 2,416 | 5% |
| test | 2,417 | 5% |
Note: The complete dataset on Hugging Face includes an additional test_ood split containing 4,047 sentences from Mann Ki Baat (MKB) for out-of-domain evaluation.
The dataset combines content from multiple sources:
Note: The Mann Ki Baat (MKB) dataset (4,047 pairs) mentioned in the Sāmayik paper is provided separately as an out-of-domain evaluation set and is not included in this main dataset.
This dataset was created to address the scarcity of high-quality Sanskrit-English parallel corpora. Sanskrit, despite being a classical language with rich literary heritage, lacks sufficient digital resources for modern NLP applications. This dataset aims to:
The data was collected from publicly available sources that provide Sanskrit-English parallel texts:
The preprocessing pipeline included:
The dataset underwent standard cleaning including removal of exact duplicate translation pairs, though individual sentences may appear multiple times with different translations.
The dataset uses naturally occurring parallel translations rather than synthetic annotations. The translations were created by:
The dataset has been filtered to remove any personal information. The content is primarily educational, religious, and technical in nature.
from datasets import load_dataset
# Load the entire dataset
dataset = load_dataset("acomquest/Saamayik")
# Access specific splits
train_data = dataset['train']
val_data = dataset['validation']
test_data = dataset['test']
# Note: The complete dataset includes test_ood (Mann Ki Baat)
# Example usage
for i in range(5):
example = train_data[i]
print(f"English: {example['translation']['en']}")
print(f"Sanskrit: {example['translation']['sa']}")
print("---")
Positive impacts:
Potential concerns:
The dataset may exhibit several biases:
This dataset was curated as part of the Saamayik project for Sanskrit language preservation and computational linguistics research.
This dataset is released under the MIT License.
If you use this dataset in your research, please cite the original Sāmayik paper:
@inproceedings{maheshwari-etal-2024-samayik,
title = "Sāmayik: A Benchmark and Dataset for {E}nglish-{S}anskrit Translation",
author = "Maheshwari, Ayush and
Gupta, Ashim and
Krishna, Amrith and
Singh, Atul Kumar and
Ramakrishnan, Ganesh and
Kumar, G. Anil and
Singla, Jitin",
booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
month = may,
year = "2024",
address = "Torino, Italia",
publisher = "ELRA and ICCL",
url = "https://aclanthology.org/2024.lrec-main.1245",
pages = "14244--14252",
}
We welcome contributions to improve and expand this dataset. Please consider:
Contact: https://ayushbits.github.io
8 commits
The Saamayik Sanskrit-English Parallel Corpus is a contemporary prose-focused translation dataset containing around 53,000 parallel sentences in Sanskrit and English (48,326 in this main dataset, with an additional 4,047 Mann Ki Baat sentences). Sāmayik, meaning "sayings of the contemporary world" in Sanskrit, specifically addresses the gap in existing Sanskrit corpora which predominantly feature classical poetry. This dataset emphasizes contemporary Sanskrit usage in prose form, compiled from diverse modern sources including educational materials, technical tutorials, spiritual texts, and religious content.
Paper: ACL Anthology | arXiv
This dataset is designed for:
Each instance contains a parallel translation pair:
{
"translation": {
"en": "Save it with Ctrl, S.",
"sa": "Ctrl, S नुत्वा रक्षन्तु।"
}
}
translation: A dictionary containing:
en (string): The English textsa (string): The Sanskrit text in Devanagari scriptThe dataset is divided into three splits:
| Split | Number of Examples | Percentage |
|---|---|---|
| train | 43,493 | 90% |
| validation | 2,416 | 5% |
| test | 2,417 | 5% |
Note: The complete dataset on Hugging Face includes an additional test_ood split containing 4,047 sentences from Mann Ki Baat (MKB) for out-of-domain evaluation.
The dataset combines content from multiple sources:
Note: The Mann Ki Baat (MKB) dataset (4,047 pairs) mentioned in the Sāmayik paper is provided separately as an out-of-domain evaluation set and is not included in this main dataset.
This dataset was created to address the scarcity of high-quality Sanskrit-English parallel corpora. Sanskrit, despite being a classical language with rich literary heritage, lacks sufficient digital resources for modern NLP applications. This dataset aims to:
The data was collected from publicly available sources that provide Sanskrit-English parallel texts:
The preprocessing pipeline included:
The dataset underwent standard cleaning including removal of exact duplicate translation pairs, though individual sentences may appear multiple times with different translations.
The dataset uses naturally occurring parallel translations rather than synthetic annotations. The translations were created by:
The dataset has been filtered to remove any personal information. The content is primarily educational, religious, and technical in nature.
from datasets import load_dataset
# Load the entire dataset
dataset = load_dataset("acomquest/Saamayik")
# Access specific splits
train_data = dataset['train']
val_data = dataset['validation']
test_data = dataset['test']
# Note: The complete dataset includes test_ood (Mann Ki Baat)
# Example usage
for i in range(5):
example = train_data[i]
print(f"English: {example['translation']['en']}")
print(f"Sanskrit: {example['translation']['sa']}")
print("---")
Positive impacts:
Potential concerns:
The dataset may exhibit several biases:
This dataset was curated as part of the Saamayik project for Sanskrit language preservation and computational linguistics research.
This dataset is released under the MIT License.
If you use this dataset in your research, please cite the original Sāmayik paper:
@inproceedings{maheshwari-etal-2024-samayik,
title = "Sāmayik: A Benchmark and Dataset for {E}nglish-{S}anskrit Translation",
author = "Maheshwari, Ayush and
Gupta, Ashim and
Krishna, Amrith and
Singh, Atul Kumar and
Ramakrishnan, Ganesh and
Kumar, G. Anil and
Singla, Jitin",
booktitle = "Proceedings of the 2024 Joint International Conference on Computational Linguistics, Language Resources and Evaluation (LREC-COLING 2024)",
month = may,
year = "2024",
address = "Torino, Italia",
publisher = "ELRA and ICCL",
url = "https://aclanthology.org/2024.lrec-main.1245",
pages = "14244--14252",
}
We welcome contributions to improve and expand this dataset. Please consider:
Contact: https://ayushbits.github.io
8 commits