drelhaj commited on
Commit
ac9e8c2
·
verified ·
1 Parent(s): da5e596

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +168 -2
README.md CHANGED
@@ -1,2 +1,168 @@
1
- # Habibi
2
- Habibi - a multi Dialect multi National Arabic Song Lyrics Corpus
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - text-classification
5
+ - language-identification
6
+ - dialect-identification
7
+ language:
8
+ - ar
9
+ size_categories:
10
+ - 10K<n<600K
11
+ pretty_name: "Habibi: A Multi-Dialect, Multi-National Arabic Song Lyrics Corpus"
12
+
13
+ dataset_info:
14
+ features:
15
+ - name: song_id
16
+ type: int32
17
+ - name: singer
18
+ type: string
19
+ - name: song_title
20
+ type: string
21
+ - name: writer
22
+ type: string
23
+ - name: composer
24
+ type: string
25
+ - name: country
26
+ type: string
27
+ - name: dialect
28
+ type: string
29
+ - name: verse_id
30
+ type: int32
31
+ - name: verse_text
32
+ type: string
33
+
34
+ splits:
35
+ - name: train
36
+ - name: validation
37
+ - name: test
38
+ ---
39
+ # Habibi: A Multi-Dialect, Multi-National Arabic Song Lyrics Corpus
40
+
41
+ **Habibi** is the first large-scale open corpus of Arabic song lyrics, comprising more than **30,000 songs** performed by artists from **18 Arab countries**. The collection represents **six major Arabic dialect groups**, segmented into over **520,000 verses** and containing more than **3.5 million words**.
42
+
43
+ The corpus was designed to support computational research in **Arabic dialect identification**, **country-of-origin classification**, **authorship analysis**, and wider studies in Arabic language variation within contemporary music.
44
+
45
+ ---
46
+
47
+ ## 🌍 Corpus Overview
48
+
49
+ The Habibi corpus brings together lyrics from across the Arab world, reflecting the linguistic and cultural diversity of modern Arabic music. Each song includes:
50
+
51
+ - **Singer name**
52
+ - **Song title**
53
+ - **Country of origin**
54
+ - **Dialect category**
55
+ (Egyptian, Gulf, Levantine, Iraqi, Sudanese, Maghrebi)
56
+ - **Writer and composer** (where available)
57
+ - **Lyrics segmented into verses**
58
+
59
+ All lyrics were collected using a Web-as-Corpus approach and manually curated to maintain a clean, noise-free dataset free of emojis, hashtags, and social-media artefacts.
60
+
61
+ ### Key Statistics
62
+
63
+ | Item | Count |
64
+ |------|-------|
65
+ | Songs | 30,072 |
66
+ | Verses (sentences) | 527,870 |
67
+ | Words | 3.57 million |
68
+ | Singers | 1,765 |
69
+ | Writers | 3,789 |
70
+ | Composers | 2,463 |
71
+ | Countries | 18 |
72
+ | Dialects | 6 |
73
+
74
+ ---
75
+
76
+ ## 🗂 Dialects and Geographic Coverage
77
+
78
+ Songs are categorised into six dialect groups widely recognised across modern Arabic music:
79
+
80
+ - **Egyptian**
81
+ - **Gulf**
82
+ - **Levantine**
83
+ - **Iraqi**
84
+ - **Sudanese**
85
+ - **Maghrebi**
86
+
87
+ Although singers often perform in dialects other than their own, the corpus assigns dialect based on the singer’s country of origin, following conventions used by major Arabic music platforms (Anghami, Spotify, Deezer).
88
+
89
+ ---
90
+
91
+ ## 📁 File Formats
92
+
93
+ The corpus is distributed in several machine-readable formats to support a range of NLP tasks:
94
+
95
+ ### **1. CSV (primary format)**
96
+ Contains all metadata fields and verse-level text in UTF-8.
97
+
98
+ ### **2. Annotated TXT**
99
+ Each song is provided as a structured, UTF-8 annotated document with lightweight XML-style tags identifying metadata and verse boundaries.
100
+
101
+ ### **3. JSON & XML**
102
+ Converted directly from the CSV, preserving all metadata and text segmentation.
103
+
104
+ ---
105
+
106
+ ## 🔧 Recommended Use-Cases
107
+
108
+ Researchers may use Habibi to explore:
109
+
110
+ - Arabic **dialect identification** (sentence- or song-level)
111
+ - **Country-of-origin classification**
112
+ - **Authorship attribution** (singers, songwriters)
113
+ - **Linguistic variation** in modern Arabic music
114
+ - **Embeddings training** using domain-specific lyrics
115
+ - **Sociolinguistic analysis** of themes, vocabulary, and regional patterns
116
+
117
+ The dataset has demonstrated strong performance across classical and deep-learning models, including CNN, LSTM, CLSTM, BiGRU, and BiLSTM architectures.
118
+
119
+ ---
120
+
121
+ ## 📊 Benchmarks
122
+
123
+ Extensive experiments were conducted on:
124
+
125
+ - **Binary dialect classification**
126
+ - **Multi-class dialect classification (3–6 classes)**
127
+ - **Binary country-of-origin classification**
128
+ - **Multi-class country classification (3–18 classes)**
129
+
130
+ Models tested include:
131
+
132
+ - Naïve Bayes, Logistic Regression, SVM
133
+ - CNN, LSTM, BiLSTM, CLSTM, BiGRU
134
+ - FastText Arabic word embeddings
135
+ - In-house **Habibi CBOW embeddings** (300-dimensional)
136
+
137
+ **The word-level CNN model** achieved the strongest deep-learning results, while **Naïve Bayes** consistently performed best among classical models on multi-class tasks.
138
+
139
+ ---
140
+
141
+ ## 📦 Download
142
+
143
+ All formats (CSV, TXT, JSON, XML) as well as **Habibi’s in-house word embeddings** are available for free research use.
144
+
145
+ Original repository:
146
+ http://ucrel-web.lancaster.ac.uk/habibi/
147
+
148
+ ---
149
+
150
+ ## 📝 Citation
151
+
152
+ If you use the Habibi corpus, please cite:
153
+
154
+ **El-Haj, M. (2020).**
155
+ *Habibi – a multi-dialect multi-national Arabic song lyrics corpus.*
156
+ In **Proceedings of the Twelfth Language Resources and Evaluation Conference (LREC 2020)**, pp. 1318–1326.
157
+ URL: https://www.lancaster.ac.uk/staff/elhaj/docs/habibi.pdf
158
+
159
+ ### BibTeX
160
+ ```bibtex
161
+ @inproceedings{elhaj2020habibi,
162
+ title={Habibi--a multi dialect multi national Arabic song lyrics corpus},
163
+ author={El-Haj, Mahmoud},
164
+ booktitle={Proceedings of the Twelfth Language Resources and Evaluation Conference},
165
+ pages={1318--1326},
166
+ year={2020}
167
+ }
168
+