AH-Translit_Benchmark
Arabic → Hindi Transliteration Benchmark Dataset
Description
AH-Translit_Bench is a 6,000-sample Arabic-to-Hindi transliteration benchmark dataset, curated for systematic evaluation and comparison of transliteration models across three linguistically distinct domains:
- Quranic Arabic
- Modern Standard Arabic (Daily Use)
- Modern Standard Arabic (Bibliographic)
Each domain contributes 2,000 carefully selected sentence pairs, ensuring balanced, fair, and domain-aware evaluation of cross-script transliteration systems.
This benchmark is designed strictly for testing and reporting results, and is complementary to the full AH-Translit training dataset.
Dataset Usage
Designed for benchmarking and evaluating Arabic-to-Hindi phonetic transliteration models under domain shifts and varying sequence-length conditions.
Content Type
Text — sentence-level Arabic source text paired with Hindi (Devanagari) phonetic transliteration.
File Type
CSV (Comma-Separated Values)
Dataset Structure
AH-Translit-Benchmark-Dataset
├── quranic_benchmark_2000.csv
├── msa_dailyuse_benchmark_2000.csv
├── msa_bibliographic_benchmark_2000.csv
├── all_domain_mix_benchmark_6000.csv
└── README.md
File Descriptions
-
quranic_benchmark_2000.csv 2,000 sentence pairs from Quranic Arabic, characterized by long sequences and rich morphology.
-
msa_dailyuse_benchmark_2000.csv 2,000 sentence pairs from daily-use Modern Standard Arabic, representing short and conversational inputs.
-
msa_bibliographic_benchmark_2000.csv 2,000 sentence pairs from formal and bibliographic MSA, featuring higher lexical diversity.
-
all_domain_mix_benchmark_6000.csv Combined benchmark file containing all 6,000 samples, evenly distributed across domains.
Each CSV contains exactly two columns:
Arabic , Hindi
Hindi text is phonetic transliteration, not translation.
Benchmark Scale Summary
| Domain | Samples |
|---|---|
| Quranic | 2,000 |
| MSA Daily Use | 2,000 |
| MSA Bibliographic | 2,000 |
| Total | 6,000 |
This strict balance ensures macro-averaged, unbiased evaluation across domains.
How to Use This Dataset
Here is a clean, minimal, copy-paste–ready Python sample that you can put directly in your README.md or use for quick sanity testing after installing the package.
This matches your current AH-Translit-Bench v2.0.0 API.
Python Usage Example
1️⃣ Install the Package
pip install AH-Translit-Bench
2️⃣ Load Domain-wise Benchmark Datasets
from AH_Translit_Bench import load_dataset, get_available_domains
# List all available domains
domains = get_available_domains()
print("Available domains:", domains)
Expected output
Available domains: ['quranic', 'msa_dailyuse', 'msa_bibliographic', 'all']
3️⃣ Load Individual Domains
Quranic Benchmark (2000 samples)
quranic_df = load_dataset("quranic")
print(quranic_df.head())
print("Quranic shape:", quranic_df.shape)
Expected:
Quranic shape: (2000, 2)
MSA Daily Use Benchmark (2000 samples)
daily_df = load_dataset("msa_dailyuse")
print(daily_df.head())
print("MSA Daily Use shape:", daily_df.shape)
Expected:
MSA Daily Use shape: (2000, 2)
MSA Bibliographic Benchmark (2000 samples)
biblo_df = load_dataset("msa_bibliographic")
print(biblo_df.head())
print("MSA Bibliographic shape:", biblo_df.shape)
Expected:
MSA Bibliographic shape: (2000, 2)
4️⃣ Load the Full Mixed Benchmark (All Domains)
all_df = load_dataset("all")
print(all_df.head())
print("All-domain benchmark shape:", all_df.shape)
Expected:
All-domain benchmark shape: (6000, 2)
5️⃣ Access Arabic–Hindi Pairs
arabic_text = quranic_df.iloc[0]["Arabic"]
hindi_translit = quranic_df.iloc[0]["Hindi"]
print("Arabic:", arabic_text)
print("Hindi :", hindi_translit)
Example Data Snippet
Arabic,Hindi
المطبعة الحيدرية،,"अल-मतबअह अल-हैदरियह,"
Version Overview
Version 2.0 (Current)
Version Description: Expanded benchmark release with 2,000 samples per domain, covering Quranic Arabic, MSA Daily Use, and MSA Bibliographic text, along with a combined 6,000-sample mixed-domain benchmark file for standardized evaluation.
Important Notes
- This is a benchmark-only dataset
- Not intended for model training
- No overlap with AH-Translit training splits
- Focuses on phonetic fidelity, not semantic translation
License
- Code: MIT License
- Dataset: Creative Commons Attribution–NonCommercial 4.0 (CC BY-NC 4.0)
Permitted for research and educational use only with proper attribution.
Full license: https://creativecommons.org/licenses/by-nc/4.0/
Metadata
Release files for AH-Translit-Bench 2.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| ah_translit_bench-2.1.1.tar.gz | 626.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ah_translit_bench-2.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.3 MB
Release files / ah_translit_bench-2.1.1.tar.gz
| Download URL | ah_translit_bench-2.1.1.tar.gz |
|---|---|
| Size | 626.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b8e6f56bb093c07b7836ed61331e7b694e0778ef9a5e5272c1f4cd64cfd860d
|
|
BLAKE2b-256 checksum How to use checksums |
36fad2c6c87128759ca5758b28ec751a11ef78aa4017c685004afd5364cf2e35
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.8
|
Release files / ah_translit_bench-2.1.1-py3-none-any.whl
| Download URL | ah_translit_bench-2.1.1-py3-none-any.whl |
|---|---|
| Size | 654.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3735300073a5573cb0acdc53b074eb8f4ddd737d4eb9d435d68416d02df6dda7
|
|
BLAKE2b-256 checksum How to use checksums |
0412f32b9fbf572a90630b6a7358033e6db382585d999ed26e9e09b7d7808156
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.8
|
Security for AH-Translit-Bench 2.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.