A benchmark dataset for Arabic to Hindi transliteration.
Project description
AH-Translit_Bench: Arabic to Hindi Transliteration Benchmark Dataset
Description
AH-Translit_Bench is a 2000-entry Arabic to Hindi transliteration benchmark dataset covering Al-Quran, bibliographical, and Modern Standard Arabic (MSA) domains. Provided as a pip-installable Python package for model testing and research.
Dataset Curators
This dataset was curated by:
- Vilal Ali
MS By Research Student at Data Sciences And Analytics Centre, IIIT Hyderabad Email: vilal.ali@research.iiit.ac.in - Mohd Hozaifa Khan
MS By Research Student at Center for Visual Information Technology (CVIT) IIIT Hyderabad Email: mohd.hozaifa@research.iiit.ac.in
Dataset Usage
This dataset is ideal for testing models for Arabic to Hindi transliteration tasks.
Content Type
Text, specifically Arabic source text and its corresponding Hindi transliterated target text.
File Type
CSV (Comma Separated Values)
Version Description
Version 1.0 features 2000 Arabic-Hindi pairs segmented into three domain-specific CSVs (Al-Quran: 500, Biblo: 1000, MSA: 500). Each file contains accurately transliterated Arabic to Hindi text, suitable for model evaluation.
Dataset Structure
The package includes three .csv files, each representing a distinct domain. Each CSV contains two columns: Arabic source text and its Hindi transliteration.
al-quran_test_bench_mark_500.csv: 500 entries from the Al-Quran domain.biblo_test_bench_mark_1000.csv: 1000 entries from the bibliographical domain.msa_test_bench_mark_500.csv: 500 entries from the Modern Standard Arabic (MSA) domain.
How to Use this Dataset
To use this dataset, first install it via pip:
pip install AH-Translit_Bench
Then, in your Python code, you can load specific domains:
import pandas as pd
from AH_Translit_Bench import load_dataset, get_available_domains
# See what domains are available
print("Available domains:", get_available_domains())
# Expected output: Available domains: ['al-quran', 'biblo', 'msa']
# Load the Al-Quran dataset
al_quran_df = load_dataset('al-quran')
print("\nAl-Quran Dataset Head:")
print(al_quran_df.head())
print(f"Al-Quran Dataset Shape: {al_quran_df.shape}") # Expected: (500, 2)
# Load the Bibliographical dataset
biblo_df = load_dataset('biblo')
print("\nBibliographical Dataset Head:")
print(biblo_df.head())
print(f"Bibliographical Dataset Shape: {biblo_df.shape}") # Expected: (1000, 2)
# Load the Modern Standard Arabic (MSA) dataset
msa_df = load_dataset('msa')
print("\nMSA (Modern Standard Arabic) Dataset Head:")
print(msa_df.head())
print(f"MSA Dataset Shape: {msa_df.shape}") # Expected: (500, 2)
# Example of accessing the first entry's data
first_arabic_text_al_quran = al_quran_df['Arabic'].iloc # Corrected to access value
first_hindi_translit_al_quran = al_quran_df['Hindi'].iloc # Corrected to access value
print(f"\nFirst Al-Quran entry: Arabic='{first_arabic_text_al_quran}', Hindi='{first_hindi_translit_al_quran}'")
Example Data Snippet
Here's an example of how the data looks within the CSV files:
Arabic,Hindi
المطبعة الحيدرية،,"अल-मतबअह अल-हैदरियह,"
License
This Python package code is licensed under the MIT License.
The dataset content (the CSV files) is released under the Creative Commons Attribution-NonCommercial 4.0 International License (CC BY-NC 4.0). You are free to:
- Share — copy and redistribute the material in any medium or format.
- Adapt — remix, transform, and build upon the material. Under the following terms:
- Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- NonCommercial — You may not use the material for commercial purposes. This means it is restricted to research or learning purposes only.
- No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. For the full license text, see: https://creativecommons.org/licenses/by-nc/4.0/
Acknowledgements
The AH-Translit team from IIIT Hyderabad is happy to share this benchmark dataset. We extend our sincere thanks to India Data for hosting this dataset on their platform.
Authors
Vilal Ali 
Mohd Hozaifa Khan 
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ah_translit_bench-1.0.1.tar.gz.
File metadata
- Download URL: ah_translit_bench-1.0.1.tar.gz
- Upload date:
- Size: 118.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
28cdf8a1a9c4a37884ab7bd160c567dd898fe5ab8f05c62e09d59a38aa288268
|
|
| MD5 |
82e0e171932c370c61bcb6f8d285f840
|
|
| BLAKE2b-256 |
19df7f3c3561215a1067e97b8b0846785bc27af8c5a37d831b91ae78b8c1cc90
|
File details
Details for the file ah_translit_bench-1.0.1-py3-none-any.whl.
File metadata
- Download URL: ah_translit_bench-1.0.1-py3-none-any.whl
- Upload date:
- Size: 121.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
528d8d09ee6c21fc00cf83879e9fa1ccdee651b6470de71b4b316a40bc14a077
|
|
| MD5 |
7aa1ec7edbcf98d8bc96064669f711ad
|
|
| BLAKE2b-256 |
4fb19286de166c209589a1be692e2cb82b53c453d755bf684f0671f3d6c21378
|