CoolFace
Datasetpublic

alakxender/dhivehi-transliteration-pairs

Dhivehi Transliteration Pairs This dataset contains 187,908 aligned sentence pairs in Dhivehi (Thaana script) and its romanized (transliterated) Latin script form, making it a valuable resource for machine translation, cross-lingual NLP research, and bilingual corpus analysis. Dataset Details Language pair: English ↔ Dhivehi (Thaana script) Train examples: 150,326 Test examples: 37,582 Total examples: 187,908 Dataset Structure DatasetDict({… See the full description on the dataset page: https://huggingface.co/datasets/alakxender/dhivehi-transliteration-pairs.

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes35downloads
Dataset Card

Dhivehi Transliteration Pairs

This dataset contains 187,908 aligned sentence pairs in Dhivehi (Thaana script) and its romanized (transliterated) Latin script form, making it a valuable resource for machine translation, cross-lingual NLP research, and bilingual corpus analysis.

Dataset Details

  • —Language pair: English ↔ Dhivehi (Thaana script)
  • —Train examples: 150,326
  • —Test examples: 37,582
  • —Total examples: 187,908

Dataset Structure

python
DatasetDict({
    train: Dataset({
        features: ['latin', 'dh', 'src'],
        num_rows: 150,326
    }),
    test: Dataset({
        features: ['latin', 'dh', 'src'],
        num_rows: 37,582
    })
})

Language Distribution

LanguageEntriesAvg LengthMedian LengthMin LengthMax LengthVocabulary Size
Latin187,90858.9 chars57.0 chars25 chars149 chars95,357 words
Dhivehi (ތާނަ)187,90861.3 chars60.0 chars26 chars134 chars141,744 words

Length Distribution

Latin LengthRangeCountPercentage
Very Short0-2560.0%
Short26-5062,47533.2%
Medium51-100122,53065.2%
Long101-2002,8971.5%
Dhivehi LengthRangeCountPercentage
Very Short0-2500.0%
Short26-5052,39327.9%
Medium51-100131,94070.2%
Long101-2003,5751.9%

Source Distribution

The dataset contains content from 6 different sources.

SourceCountCoverageAccuracy
617661736d7657,78030.7%96.8%
6d69686161727550,79227.0%98.2%
73756e6d7629,59115.7%93.8%
7661677574687528,82815.3%91.8%
6f6e656f6e6c696e6512,7466.8%91.2%
616464756c6976658,1714.3%90.3%

Note: This dataset’s accuracy has been assessed using a hybrid approach that includes automatic transliteration checks, semantic similarity for low-confidence cases, and a small amount of manual review. Additional analysis can be performed to confirm it meets specific needs.

Dataset Format

Each entry contains three fields:

json
{
    "latin": "Bihloorigandu thalhaalumugai thuhumathu kurevey meehun dhookohlaifi", 
    "dh": "ބިއްލޫރިގަނޑު ތަޅާލުމުގައި ތުހުމަތު ކުރެވޭ މީހުން ދޫކޮށްލައިފި", 
    "src": "617661736d76"
}

Usage

python
from datasets import load_dataset

dataset = load_dataset("alakxender/dhivehi-transliteration-pairs")

# Access train and test splits
train_data = dataset['train']
test_data = dataset['test']

# Example entry
print(train_data[0])
# {'latin': 'latin text', 'dh': 'ދިވެހި ލިޔުން', 'src': 'source_id'}

Fields

  • —latin: English text
  • —dh: Dhivehi text in Thaana script
  • —src: Source identifier

Use Cases

  • —Machine Translation: Latin ↔ Dhivehi translation systems
  • —Cross-lingual NLP: Multilingual embeddings, cross-lingual classification
  • —Linguistic Research: Dhivehi language analysis, translation studies
  • —Educational Tools: Language learning applications

Data Sources

This dataset combines content from multiple sources. The src field indicates the origin of each entry, enabling source tracing and source-specific analysis. The src value is stored as a hexadecimal string, which can be decoded to identify the source name. Data quality may vary depending on the src value.

The data in this dataset is collected from publicly available sources. All content remains the property of its respective owners, and credit is due to the original creators and publishers. This dataset is provided for research and educational purposes, with the intention of supporting work in Dhivehi language processing and related fields.