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ification
|
| 7 |
+
- token-classification
|
| 8 |
+
- feature-extraction
|
| 9 |
+
task_ids:
|
| 10 |
+
- language-modeling
|
| 11 |
+
pretty_name: Hadrami Arabic Dialect Dataset
|
| 12 |
+
size_categories:
|
| 13 |
+
- 1K<n<10K
|
| 14 |
+
tags:
|
| 15 |
+
- arabic
|
| 16 |
+
- dialect
|
| 17 |
+
- nlp
|
| 18 |
+
- linguistics
|
| 19 |
+
- low-resource
|
| 20 |
+
- yemen
|
| 21 |
+
- hadramawt
|
| 22 |
+
- arabic-nlp
|
| 23 |
+
- lexicon
|
| 24 |
+
thumbnail: cover.png
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
# Hadrami Arabic Dialect Dataset
|
| 28 |
+
|
| 29 |
+
A structured dataset of **1,047 entries** from the Hadrami Arabic dialect (spoken primarily in the Hadramawt region of Yemen). Each entry includes the dialectal word alongside its Modern Standard Arabic (MSA/Fusha) equivalent, linguistic metadata, usage examples, proverbs, and semantic tags.
|
| 30 |
+
|
| 31 |
+
> 🔊 **Roadmap:** Audio pronunciations for each entry are planned for a future release.
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
## Dataset Summary
|
| 38 |
+
|
| 39 |
+
| Field | Value |
|
| 40 |
+
|---|---|
|
| 41 |
+
| Entries | 1,047 |
|
| 42 |
+
| Language | Arabic (Hadrami dialect + MSA) |
|
| 43 |
+
| Source | قاموس اللهجة الحضرمية — فهد بن هلابي |
|
| 44 |
+
| Format | CSV / JSON |
|
| 45 |
+
| License | CC BY 4.0 |
|
| 46 |
+
| Task Tags | NLP, Dialectal Arabic, Lexicography, Low-resource Language |
|
| 47 |
+
|
| 48 |
+
---
|
| 49 |
+
|
| 50 |
+
## Schema
|
| 51 |
+
|
| 52 |
+
| Column | Type | Description |
|
| 53 |
+
|---|---|---|
|
| 54 |
+
| `id` | int | Unique entry identifier |
|
| 55 |
+
| `word_vocalized` | string | Dialectal word with full diacritics (تشكيل) |
|
| 56 |
+
| `word_clean` | string | Dialectal word without diacritics |
|
| 57 |
+
| `root` | string | Arabic trilateral/quadrilateral root. May be `null` for loanwords or proper names |
|
| 58 |
+
| `pos` | string | Part of speech (see POS values below) |
|
| 59 |
+
| `fusha_equivalent` | string | Modern Standard Arabic equivalent word or phrase |
|
| 60 |
+
| `definition` | string | Definition in MSA |
|
| 61 |
+
| `region` | string | Geographic usage region within Hadramawt |
|
| 62 |
+
| `synonyms` | JSON array | List of dialectal synonyms |
|
| 63 |
+
| `phonetic_variants` | JSON array | Alternative pronunciations |
|
| 64 |
+
| `note` | string / null | Linguistic or usage note. `null` if not applicable |
|
| 65 |
+
| `source` | string | Source reference (book title, author, page) |
|
| 66 |
+
| `examples` | JSON array | Usage examples (see structure below) |
|
| 67 |
+
| `proverbs` | JSON array | Related proverbs in dialect |
|
| 68 |
+
| `tags` | JSON array | Semantic category tags |
|
| 69 |
+
|
| 70 |
+
### `examples` field structure
|
| 71 |
+
Each example is a JSON object with two keys:
|
| 72 |
+
```json
|
| 73 |
+
{
|
| 74 |
+
"f": "الجملة بالفصحى",
|
| 75 |
+
"h": "الجملة بالحضرمية"
|
| 76 |
+
}
|
| 77 |
+
```
|
| 78 |
+
- `f` — sentence in Modern Standard Arabic (Fusha)
|
| 79 |
+
- `h` — equivalent sentence in Hadrami dialect
|
| 80 |
+
|
| 81 |
+
### POS values
|
| 82 |
+
`Noun`, `Verb`, `Adjective`, `Adverb`, `Expression`, `Preposition`, `Particle`, `Noun/Verb`, `Verb/Adjective`, `Verb/Phrase`, `Noun/Adjective`
|
| 83 |
+
|
| 84 |
+
---
|
| 85 |
+
|
| 86 |
+
## Notable Statistics
|
| 87 |
+
|
| 88 |
+
| Field | Coverage |
|
| 89 |
+
|---|---|
|
| 90 |
+
| Entries with examples | 1,043 / 1,047 (99.6%) |
|
| 91 |
+
| Entries with synonyms | 742 / 1,047 (70.9%) |
|
| 92 |
+
| Entries with proverbs | 89 / 1,047 (8.5%) |
|
| 93 |
+
| Entries with notes | 620 / 1,047 (59.2%) |
|
| 94 |
+
| `note` nulls | 427 — intentionally null, not missing |
|
| 95 |
+
|
| 96 |
+
---
|
| 97 |
+
|
| 98 |
+
## Top Semantic Tags
|
| 99 |
+
|
| 100 |
+
`Daily Life` · `Nature` · `Agriculture` · `Social Customs` · `Architecture` · `Food` · `Clothing` · `Tools` · `Expressions` · `Home` · `Water` · `Weather` · `History`
|
| 101 |
+
|
| 102 |
+
---
|
| 103 |
+
|
| 104 |
+
## Usage (Python)
|
| 105 |
+
|
| 106 |
+
```python
|
| 107 |
+
import pandas as pd
|
| 108 |
+
import json
|
| 109 |
+
|
| 110 |
+
df = pd.read_csv("hadrami_clean_v1.csv")
|
| 111 |
+
|
| 112 |
+
# Parse JSON array columns
|
| 113 |
+
for col in ["synonyms", "phonetic_variants", "examples", "proverbs", "tags"]:
|
| 114 |
+
df[col] = df[col].apply(json.loads)
|
| 115 |
+
|
| 116 |
+
# Example: get all nouns
|
| 117 |
+
nouns = df[df["pos"] == "Noun"]
|
| 118 |
+
|
| 119 |
+
# Example: get entries tagged with Food
|
| 120 |
+
food = df[df["tags"].apply(lambda t: "Food" in t)]
|
| 121 |
+
```
|
| 122 |
+
|
| 123 |
+
---
|
| 124 |
+
|
| 125 |
+
## Loading from HuggingFace
|
| 126 |
+
|
| 127 |
+
```python
|
| 128 |
+
from datasets import load_dataset
|
| 129 |
+
|
| 130 |
+
ds = load_dataset("your-username/hadrami-arabic-dialect-dataset")
|
| 131 |
+
```
|
| 132 |
+
|
| 133 |
+
---
|
| 134 |
+
|
| 135 |
+
## Citation
|
| 136 |
+
|
| 137 |
+
If you use this dataset, please cite the original source:
|
| 138 |
+
|
| 139 |
+
> فهد بن هلابي. *قاموس اللهجة الحضرمية*. (Fahd bin Hilabi, Dictionary of the Hadrami Dialect)
|
| 140 |
+
|
| 141 |
+
---
|
| 142 |
+
|
| 143 |
+
## Contributing
|
| 144 |
+
|
| 145 |
+
Found an error or want to add entries? Open an issue or pull request on the dataset repository.
|