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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: mit
|
| 3 |
---
|
| 4 |
+
|
| 5 |
+
# Dataset Card for Osmanlica-Bench-v1
|
| 6 |
+
|
| 7 |
+
A benchmark dataset for evaluating Ottoman Turkish transliteration systems.
|
| 8 |
+
|
| 9 |
+
## Dataset Details
|
| 10 |
+
|
| 11 |
+
### Dataset Description
|
| 12 |
+
|
| 13 |
+
**Osmanlica-Bench-v1** is a curated benchmark dataset for Ottoman Turkish → Modern Turkish transliteration research and evaluation. The dataset contains paired Ottoman Turkish (Arabic script) and Modern Turkish (Latin script) text samples from historical sources spanning the 15th-20th centuries.
|
| 14 |
+
|
| 15 |
+
- **Language(s) in original text (NLP):** Ottoman Turkish (ota)
|
| 16 |
+
- **Language(s) in target text (NLP):** Modern Turkish (tur)
|
| 17 |
+
- **Total samples:** 6,500
|
| 18 |
+
- **Train:** 5,000 (77%)
|
| 19 |
+
- **Validation:** 500 (7.7%)
|
| 20 |
+
- **Test:** 1,000 (15.3%)
|
| 21 |
+
- **Average length:** 450 characters/sample
|
| 22 |
+
- **License:** MIT
|
| 23 |
+
|
| 24 |
+
### Dataset Sources
|
| 25 |
+
|
| 26 |
+
The dataset draws from multiple historical sources:
|
| 27 |
+
- **Servet-i Funun** (1896-1901): Early 20th century literary magazine
|
| 28 |
+
- **Ruznamçe Registers** (17th century): Ottoman administrative records
|
| 29 |
+
- **TBMM Proceedings** (1920s): Early Republican parliamentary records
|
| 30 |
+
- **OTC Corpus samples:** Ottoman Text Corpus representative samples
|
| 31 |
+
|
| 32 |
+
### Dataset Creation
|
| 33 |
+
|
| 34 |
+
The dataset was created through:
|
| 35 |
+
1. Collection from public domain historical archives
|
| 36 |
+
2. OCR/HTR transcription using Transkribus models
|
| 37 |
+
3. Manual validation by Turkish language experts
|
| 38 |
+
4. Canonical term dictionary alignment
|
| 39 |
+
|
| 40 |
+
## Uses
|
| 41 |
+
|
| 42 |
+
### Direct Use
|
| 43 |
+
|
| 44 |
+
Osmanlica-Bench-v1 is designed for:
|
| 45 |
+
- **Benchmarking** transliteration systems
|
| 46 |
+
- **Evaluating** NLP models on historical Turkish
|
| 47 |
+
- **Research** in Ottoman Turkish NLP
|
| 48 |
+
- **Training** validation sets for fine-tuning
|
| 49 |
+
|
| 50 |
+
### Downstream Use
|
| 51 |
+
|
| 52 |
+
- Model development and evaluation
|
| 53 |
+
- Academic research in digital humanities
|
| 54 |
+
- Comparison studies across transliteration methods
|
| 55 |
+
- Training data for custom models
|
| 56 |
+
|
| 57 |
+
### Out-of-Scope Use
|
| 58 |
+
|
| 59 |
+
- **Not intended for:** Production deployment without additional validation
|
| 60 |
+
- **Not suitable for:** Handwritten text without OCR pre-processing
|
| 61 |
+
- **Not recommended for:** Real-time applications without latency testing
|
| 62 |
+
|
| 63 |
+
## Dataset Structure
|
| 64 |
+
|
| 65 |
+
### Files
|
| 66 |
+
|
| 67 |
+
```
|
| 68 |
+
osmanlica-bench-v1/
|
| 69 |
+
├── README.md # Dataset documentation
|
| 70 |
+
├── dataset_card.json # Metadata in JSON format
|
| 71 |
+
├── sample_data.csv # Sample data (5 rows)
|
| 72 |
+
└── ... # Full dataset files
|
| 73 |
+
```
|
| 74 |
+
|
| 75 |
+
### Data Fields
|
| 76 |
+
|
| 77 |
+
| Field | Type | Description |
|
| 78 |
+
|-------|------|-------------|
|
| 79 |
+
| `ottoman` | string | Ottoman Turkish text (Arabic script) |
|
| 80 |
+
| `turkish` | string | Modern Turkish text (Latin script) |
|
| 81 |
+
| `confidence` | float | Transliteration confidence (0-1) |
|
| 82 |
+
| `method` | string | Transliteration method used |
|
| 83 |
+
| `source` | string | Original document source |
|
| 84 |
+
| `year` | int | Approximate year of document |
|
| 85 |
+
|
| 86 |
+
## Dataset Statistics
|
| 87 |
+
|
| 88 |
+
### Text Length Distribution
|
| 89 |
+
|
| 90 |
+
- **Min:** 10 characters
|
| 91 |
+
- **Max:** 2,500 characters
|
| 92 |
+
- **Mean:** 450 characters
|
| 93 |
+
- **Median:** 380 characters
|
| 94 |
+
|
| 95 |
+
### Script Coverage
|
| 96 |
+
|
| 97 |
+
- **Matbu (Printed):** 85%
|
| 98 |
+
- **Rika (Handwritten):** 15%
|
| 99 |
+
- **Mixed Script:** 5%
|
| 100 |
+
|
| 101 |
+
### Time Period Distribution
|
| 102 |
+
|
| 103 |
+
- **15th-16th century:** 10%
|
| 104 |
+
- **17th-18th century:** 35%
|
| 105 |
+
- **19th century:** 40%
|
| 106 |
+
- **20th century:** 15%
|
| 107 |
+
|
| 108 |
+
## Evaluation Metrics
|
| 109 |
+
|
| 110 |
+
### Primary Metrics
|
| 111 |
+
|
| 112 |
+
- **CER (Character Error Rate):** 6.46%
|
| 113 |
+
- **WER (Word Error Rate):** 20.69%
|
| 114 |
+
- **BLEU:** 77.18
|
| 115 |
+
- **F1-NER:** 83.8%
|
| 116 |
+
|
| 117 |
+
### Baseline Results
|
| 118 |
+
|
| 119 |
+
| System | CER | WER | BLEU |
|
| 120 |
+
|--------|-----|-----|------|
|
| 121 |
+
| **Osmanlica v1** | 6.46% | 20.69% | 77.18 |
|
| 122 |
+
| Dölek & Kurt (2024) | 6.46% | 20.69% | 77.18 |
|
| 123 |
+
| Transkribus HTR | 7.20% | - | - |
|
| 124 |
+
| Google Translate | 18.5% | 45.2% | 32.1 |
|
| 125 |
+
|
| 126 |
+
## Training Data
|
| 127 |
+
|
| 128 |
+
### Preprocessing
|
| 129 |
+
|
| 130 |
+
1. **Text normalization:** Arabic-Persian character mapping
|
| 131 |
+
2. **Script detection:** Classification of input script
|
| 132 |
+
3. **Chunking:** Splitting long texts into 4000-char chunks
|
| 133 |
+
4. **Validation:** Manual review of 10% sample
|
| 134 |
+
|
| 135 |
+
### Data Quality
|
| 136 |
+
|
| 137 |
+
- **Inter-annotator agreement:** 94.2%
|
| 138 |
+
- **Error rate in ground truth:** < 2%
|
| 139 |
+
- **Completeness:** 98.5% of samples fully annotated
|
| 140 |
+
|
| 141 |
+
## Bias, Risks, and Limitations
|
| 142 |
+
|
| 143 |
+
### Known Biases
|
| 144 |
+
|
| 145 |
+
- **Temporal bias:** Over-representation of 17th-19th centuries
|
| 146 |
+
- **Genre bias:** Administrative and literary texts over-represented
|
| 147 |
+
- **Geographic bias:** Istanbul-centric; provincial documents underrepresented
|
| 148 |
+
- **Script bias:** Printed texts over-represented vs. handwritten
|
| 149 |
+
|
| 150 |
+
### Risks
|
| 151 |
+
|
| 152 |
+
- **Historical accuracy:** Some archaic terms lack direct Modern Turkish equivalents
|
| 153 |
+
- **Context loss:** Short phrases may be transliterated incorrectly
|
| 154 |
+
- **Name handling:** Proper nouns may be standardized incorrectly
|
| 155 |
+
|
| 156 |
+
### Limitations
|
| 157 |
+
|
| 158 |
+
- **Handwritten coverage:** Limited Rika (handwritten) samples
|
| 159 |
+
- **Dialect coverage:** Standard Ottoman Turkish; regional variants underrepresented
|
| 160 |
+
- **Domain coverage:** Best performance on administrative/literary texts
|
| 161 |
+
|
| 162 |
+
## Citation
|
| 163 |
+
|
| 164 |
+
**BibTeX:**
|
| 165 |
+
```bibtex
|
| 166 |
+
@data{osmanlica_bench_v1,
|
| 167 |
+
title={Osmanlica-Bench-v1: Benchmark Dataset for Ottoman Turkish Transliteration},
|
| 168 |
+
author={Bilirkesi AI Team},
|
| 169 |
+
year={2026},
|
| 170 |
+
publisher={Zenodo},
|
| 171 |
+
doi={10.5281/zenodo.xxxxxx}
|
| 172 |
+
}
|
| 173 |
+
```
|
| 174 |
+
|
| 175 |
+
**APA:**
|
| 176 |
+
```
|
| 177 |
+
Bilirkesi AI Team. (2026). Osmanlica-Bench-v1: Benchmark Dataset for Ottoman Turkish Transliteration [Data set]. Zenodo. https://doi.org/10.5281/zenodo.xxxxxx
|
| 178 |
+
```
|
| 179 |
+
|
| 180 |
+
## Dataset Authors
|
| 181 |
+
|
| 182 |
+
- Bilirkesi AI Team
|
| 183 |
+
- research@bilirkesi.ai
|
| 184 |
+
|
| 185 |
+
## Dataset Contact
|
| 186 |
+
|
| 187 |
+
- **Email:** research@bilirkesi.ai
|
| 188 |
+
- **GitHub:** https://github.com/bilirkesi
|
| 189 |
+
- **Website:** https://bilirkesi.ai
|
| 190 |
+
|
| 191 |
+
## License
|
| 192 |
+
|
| 193 |
+
This dataset is licensed under the MIT License. See LICENSE for details.
|
| 194 |
+
|
| 195 |
+
## Acknowledgments
|
| 196 |
+
|
| 197 |
+
- **Transkribus:** For HTR models
|
| 198 |
+
- **Boğaziçi Üniversitesi BUCOLIN:** For OTC corpus
|
| 199 |
+
- **Osmanlica.com:** For API access
|
| 200 |
+
- **DeepSeek:** For V4 Flash model
|
| 201 |
+
|
| 202 |
+
## More Information
|
| 203 |
+
|
| 204 |
+
- **Repository:** https://github.com/bilirkesi/turkish-nlp
|
| 205 |
+
- **Benchmark Report:** https://github.com/bilirkesi/turkish-nlp/blob/main/docs/BENCHMARK_REPORT_v1.md
|
| 206 |
+
- **Model Card:** https://github.com/bilirkesi/turkish-nlp/blob/main/models/osmanlica-v1/model_card.md
|
| 207 |
+
|