The dataset is built from around 2,500 words of recent lyrics per artist, with 2,300 of them analyzed for each. Artists with Spotify listeners over 100K are mainstream, while those below are categorized as underground.
The analysis measures vocabulary diversity, how many different words each artist uses, to compare mainstream and underground artists. This helps uncover variations in lyrical richness and artistic expression in Moroccan rap.

L'morphine
Mehdi Mouhib, known professionally as L'Morphine, is a Moroccan rapper and songwriter from Midelt. Mouhib is recognized for his distinctive lyrical approach, characterized by sophisticated literary techniques and profound philosophical themes
44
Mainstream
27
Underground
Lyric diversity: share of each group’s artists in each range


















71
Moroccan rappers
Step 1 / 7
We started from a list of Moroccan rappers across generations, from long-standing names like Don Bigg and Dizzy Dros to the new wave. Each one got a profile with a photo, a short bio and their streaming numbers.
Spotify monthly listeners
Step 2 / 7
Every artist is sorted by their Spotify monthly listeners. 100,000 or more makes them mainstream; below that they count as underground. That gives 44 mainstream and 27 underground artists.
lyrics/Figoshin.txt
[Couplet 1]
…
[Refrain]
…
≈ 2,500
words of recent lyrics per artist, refrains included
Step 3 / 7
For each artist we gathered about 2,500 words from their recent songs into one text file, keeping every refrain as it is sung, since repeating a hook is part of an artist’s style. 8 artists didn’t have enough lyrics available and were left out.
before
[Refrain]↓
after
yema · l · hna · ghadiExample line, for illustration
Step 4 / 7
Moroccan rap mixes Darija, Arabizi, French and Arabic script, often spelled differently from one song to the next. The analyzer removes section headers, “x2” markers, ad-libs like “yeah” or “skrrt” and back vocals in parentheses, strips accents, and merges spelling variants, so yemma and yema count as one word.
2,300
random words per artist, the same amount for everyone
Step 5 / 7
Longer texts always contain more different words, so comparing raw totals would favour whoever wrote the most. Instead, the analyzer picks 2,300 random words from each artist’s cleaned lyrics, so everyone is measured on exactly the same amount of text.
L'morphine1,506 / 2,300 = 0.66
Xcep704 / 2,300 = 0.31Step 6 / 7
Diversity is the share of those 2,300 words that are different from each other. The higher the score, the richer the vocabulary; a lower score means more repetition.
Step 7 / 7
The results feed every chart on this page: the artist profiles and rankings, the mainstream vs underground comparison, and the diagram that places each artist by their score.


















71
Moroccan rappers
This project draws inspiration from The Pudding's vocabulary analysis of US rap, which provided valuable insights into lyrical diversity among American artists. Given the significant evolution of Moroccan rap, both in popularity and lyrical depth, I saw an opportunity to apply a similar approach to this growing scene. As a passionate follower of lyrical rap, I aim to create a resource that not only showcases the linguistic intricacies of Moroccan artists but also serves as an engaging tool for fans and researchers interested in the evolving artistry of rap lyrics.
Designed and developed by Badr eddine Zari.
For each artist we gathered around 2,500 words of lyrics from their recent songs, keeping every refrain as it is sung. Streaming numbers come from each artist's Spotify monthly listeners. The lyrics are then cleaned and analyzed by our own script.
We take 2,300 random words from each artist's cleaned lyrics and count how many of them are different. Diversity is unique words divided by total words: the closer to 1, the richer the vocabulary; a lower score means more repetition.
The more you write, the more different words you use, so comparing full catalogues would favour whoever released the most music. Measuring everyone on exactly the same number of words keeps the comparison fair.
It's based on Spotify monthly listeners: 100K or more counts as mainstream, below that as underground. Listener numbers change over time, so an artist can move between the two groups.
Yes. Repeating a hook is part of an artist's style, so refrains are counted every time they appear. Ad-libs like “yeah” or “skrrt”, back vocals in parentheses and “x2” markers are removed.
The same word is often spelled differently from one song to the next, so the text is normalized before counting: accents are stripped, Arabic letter variants are unified and doubled letters are merged, so “yemma” and “yema” count as one word.
No. Diversity only measures how varied an artist's vocabulary is. Flow, storytelling, delivery and impact matter just as much, and some great songs are built on repetition.
An artist needs enough lyrics to fill the 2,300-word sample. A few artists didn't have enough available yet, so they were left out until more of their lyrics can be collected.
For now, yes. The goal is to build a dedicated resource for the Moroccan scene, though we may expand to other regions in the future.
If there's an artist who meets our criteria and we haven't featured them yet, feel free to let us know — we'd be thrilled to include them.
Not at the moment, but sharing the project and sending feedback is the best way to support it. We'll announce any support options here.