Arabic Voice AI
Arabic Speaker Diarization API: Who Said What in Meetings and Calls

On this page
- What Is an Arabic Speaker Diarization API?
- Why Do Arabic Meetings and Calls Need Speaker Diarization?
- How Does Speaker Diarization Work?
- What Makes Speaker Diarization Harder in Arabic?
- How Is Speaker Diarization Accuracy Measured?
- How Do You Test a Diarization API on Your Own Arabic Recordings?
- How Do You Turn Speaker Labels Into Names and Reports?
- What Setup Works Best for Meetings and for Calls?
- How Does Munsit Handle Speaker Diarization in Arabic?
- Disclaimers
A transcript of a meeting or a customer call is only half useful if you cannot tell who said what. Decisions lose their owner, call reviews mix up the agent and the customer, and a quick “yes” can end up attached to the wrong person. Arabic makes the job harder: conversations move fast, people talk over each other, and many switch between dialect, Fusha and English in the same call. A 2026 study of Emirati Arabic speech found that overlap rich conversations with rapid turn taking produced the highest error rates across every speech recognition system it tested, with word error rates of about 73% to 79%.
Munsit’s speaker diarization API transcribes Arabic audio and labels each part with the speaker who said it. The same API can add sentiment per speaker and produce minutes of meeting, so a recording becomes a transcript with owners, not just text. This guide explains how diarization works, why Arabic audio is harder, how to measure accuracy on your own recordings with two tested scripts, and how to turn speaker labels into names and reports.
What Is an Arabic Speaker Diarization API?
An Arabic speaker diarization API is a service that takes a recording with several speakers and returns a transcript split into turns, each marked with a speaker label and start and end times. It tells you who spoke when, so you can see who said what.
Developers send the audio file to the API and get back structured data instead of one block of text. That data can feed meeting notes, call quality reviews, search, compliance records or analytics on talk time. Diarization is often confused with related features, so it helps to separate them.
| Feature | What it answers | Output |
|---|---|---|
| Speech to text | What was said? | One block of text |
| Speaker diarization | Who spoke when? | Turns with speaker labels and times |
| Speaker identification | Which named person is this voice? | Names matched to voices you enrolled |
| Channel separation | Which line was this on? | One transcript per audio channel |
Why Do Arabic Meetings and Calls Need Speaker Diarization?
Arabic meetings and calls need speaker diarization because the value of the conversation sits in who said it: who agreed, who promised a date, whether the agent or the customer raised a complaint. Without labels, every review starts with someone listening again to work it out.
| Use | What diarization adds | Who uses it |
|---|---|---|
| Meeting minutes | Decisions and actions with an owner | Management, government committees, legal teams |
| Contact centre QA | Agent and customer turns scored separately | Banks, telecom, government service centres |
| Interviews and research | Clean quotes per person | Media, HR, research teams |
| Compliance records | A record of who gave each instruction | Banking, insurance, healthcare |
| Talk time analytics | Share of time each person spoke | Sales and training teams |
| Podcasts and panels | Speaker names in the transcript and subtitles | Creators and publishers |
For contact centres, our guide to Arabic speech to text for call centres covers how labelled transcripts feed quality reviews, and the customer calls use case shows how it fits into a full call workflow.
How Does Speaker Diarization Work?
Speaker diarization works by finding where people are talking, cutting that speech into short pieces, describing each piece by the sound of the voice, and grouping pieces with similar voices under one label. The labels are then lined up with the transcript.

The five steps behind most diarization systems.
Researchers at ETH Zurich who compared five leading diarization models in 2025 found that most errors came from missed speech segments followed by speaker confusion, especially when many people were in the recording. In plain terms, systems either fail to notice that someone spoke, or notice but give the turn to the wrong person.
Two practical points follow. First, the labels are anonymous: Speaker 1 in one call is not the same person as Speaker 1 in the next. Second, diarization quality depends on the transcript and the audio. A clean recording with one microphone per person, or separate channels for agent and customer, makes every step easier.
What Makes Speaker Diarization Harder in Arabic?
Arabic diarization is harder because Arabic conversations often mix dialect, Fusha and English, include fast overlapping replies, and are recorded on phone lines or in busy rooms. Each of these makes it harder to hear where one voice ends and another begins.
| Challenge | Why it causes errors | What helps |
|---|---|---|
| Overlapping speech | Two voices at once; the quieter one is often missed | One microphone per person, or a model that handles overlap |
| Short replies such as naam or aywa (yes) | A one word turn is too short to judge the voice | Check short turns by hand in important calls |
| Switching between Arabic and English | Speech recognition and turn boundaries both get harder | A model trained on mixed Arabic and English speech |
| Many dialects in one meeting | Accents differ; the transcript may be wrong even if the speaker is right | Dialect aware speech recognition |
| Phone audio | Narrow band calls carry less of each voice | Record agent and customer on separate channels |
| Long meetings | Voices drift over an hour and labels can split | Keep good audio and review the speaker count |
Research data reflects the same gap. The team behind the Fanar 2.0 Arabic AI stack noted in 2026 that Arabic long form speech recognition remains under resourced, because most Arabic benchmarks focus on short, scripted speech in clean conditions. Meetings and calls are the opposite: long, unscripted and noisy. Our guide to Arabic dialect speech recognition explains why dialect support matters for the transcript layer.
How Is Speaker Diarization Accuracy Measured?
Speaker diarization accuracy is measured with diarization error rate (DER): the share of speaking time that was missed, wrongly detected as speech, or given to the wrong speaker. Lower is better, and a DER of 10% means one tenth of the speaking time was handled wrongly.
| Part of DER | What it counts | Example |
|---|---|---|
| Missed speech | Time someone spoke that the system did not mark | A quiet reply under a louder voice |
| False alarm | Time marked as speech that was silence or noise | A door or keyboard counted as a speaker |
| Speaker confusion | Speech given to the wrong speaker | The customer’s yes labelled as the agent |
Overlap is where DER rises most. A September 2026 study from the University of Arizona and Carnegie Mellon University measured a DER of 12.26% in single speaker regions and 46.01% in overlapped regions of a standard meeting dataset, with most of the overlap error coming from missed speech.

Error rates rise sharply when people talk over each other.
DER sits alongside word error rate, which measures the transcript itself. Our guide to WER and CER for Arabic speech recognition explains that side; for a diarized transcript you need both to be good.
How Do You Test a Diarization API on Your Own Arabic Recordings?
Test a diarization API by labelling a few of your own recordings by hand, running them through the API, and scoring the result with DER. Ten to twenty minutes of typical meetings or calls, with overlap and short replies included, tells you far more than any published score.
- Pick recordings that look like your traffic: the same rooms, phone lines, dialects and number of speakers.
- Write a reference by hand: for each turn, note the speaker, start time and end time in seconds.
- Run the same audio through the diarization API and save its segments as a list of speaker, start and end.
- Score the result with the DER script below, which also shows missed speech, false alarms and speaker confusion separately.
- Listen to every turn shorter than a second and every overlap, because those are where meaning changes.
Both scripts in this article read speaker segments in this simple format. Map the field names from any API response to these before you run them.
segment_example.json
[
{"speaker": "spk_0", "start": 0.0, "end": 6.1, "text": "..."},
{"speaker": "spk_1", "start": 6.2, "end": 12.3, "text": "..."}
]
der.py
# Diarization error rate (DER) on your own recording.
# Usage: python3 der.py reference.json hypothesis.json
# Both files: a list of {"speaker", "start", "end"} in seconds.
import json
import sys
from itertools import permutations
STEP = 0.01 # score every 10 ms
def frames(segs):
out = {}
for s in segs:
for f in range(round(s["start"] / STEP), round(s["end"] / STEP)):
out.setdefault(f, set()).add(s["speaker"])
return out
ref = frames(json.load(open(sys.argv[1], encoding="utf8")))
hyp = frames(json.load(open(sys.argv[2], encoding="utf8")))
ref_spk = sorted({x for v in ref.values() for x in v})
hyp_spk = sorted({x for v in hyp.values() for x in v})
def matched(mapping):
return sum(len({mapping.get(h) for h in hyp.get(f, set())} & r) for f, r in ref.items())
best = {}
pad = hyp_spk + [None] * max(0, len(ref_spk) - len(hyp_spk))
for order in permutations(pad, len(ref_spk)):
m = {h: r for h, r in zip(order, ref_spk) if h}
if matched(m) > matched(best):
best = m
miss = fa = conf = speech = 0
for f in set(ref) | set(hyp):
r, h = ref.get(f, set()), hyp.get(f, set())
ok = len({best.get(x) for x in h} & r)
speech += len(r)
miss += max(0, len(r) - len(h))
fa += max(0, len(h) - len(r))
conf += min(len(r), len(h)) - ok
print("Speaker mapping:", best)
for name, v in [("Missed speech", miss), ("False alarm", fa), ("Speaker confusion", conf)]:
print(f"{name}: {100 * v / speech:.1f}%")
print(f"DER: {100 * (miss + fa + conf) / speech:.1f}%")
We tested the script on a 26 second sample meeting with three speakers, written in Gulf Arabic with one English sentence. In the test output, the system missed a 0.8 second overlap and gave a 0.7 second “naam” (yes) from the chair to the next speaker. The script reported a DER of 6.5%: 3.1% missed speech, 0.8% false alarm and 2.7% speaker confusion.
That result looks good on paper, but the 2.7% confusion was the single word that showed the chair agreeing to the budget point. This is the first hand lesson from the test: always read short turns in decision moments, because DER weighs every second the same while your readers do not.
How Do You Turn Speaker Labels Into Names and Reports?
Turn speaker labels into names by mapping each label to a person once per recording, usually from who opens the meeting or from the agent’s known channel, and then rewriting the transcript with those names. The same data gives you talk time and turn counts per person.

Speaker labels give every line an owner.
The script below reads diarized segments and a small names file, then prints a named transcript, talk time and turns per person, the number of overlapping turns, and every turn under one second so a reviewer can check its label.
speaker_report.py
# Turn diarized segments into a readable "who said what" transcript
# and a short report per speaker.
# Usage: python3 speaker_report.py segments.json names.json
# segments.json: a list of {"speaker", "start", "end", "text"} (seconds)
import json
import sys
from collections import defaultdict
segments = json.load(open(sys.argv[1], encoding="utf8"))
names = json.load(open(sys.argv[2], encoding="utf8")) if len(sys.argv) > 2 else {}
segments.sort(key=lambda s: s["start"])
def clock(sec):
return f"{int(sec // 60):02d}:{int(sec % 60):02d}"
talk, turns, short = defaultdict(float), defaultdict(int), []
overlaps = 0
for i, seg in enumerate(segments):
who = names.get(seg["speaker"], seg["speaker"])
talk[who] += seg["end"] - seg["start"]
turns[who] += 1
if seg["end"] - seg["start"] < 1.0:
short.append((clock(seg["start"]), who, seg["text"]))
if i and seg["start"] < segments[i - 1]["end"]:
overlaps += 1
print(f"[{clock(seg['start'])}] {who}: {seg['text']}")
total = sum(talk.values())
print("\nTalk time")
for who, sec in sorted(talk.items(), key=lambda x: x[1], reverse=True):
print(f" {who}: {sec:.0f}s, {round(100 * sec / total)}%, turns: {turns[who]}")
print("Overlapping turns:", overlaps)
print("Turns under 1 second (check the speaker label):")
for t, who, text in short:
print(f" [{t}] {who}: {text}")
On our sample meeting, the script printed a five line named transcript and showed the chair speaking for 46% of the time across two turns. Because the API output had merged the chair’s short reply into another turn, the list of short turns was empty, which is itself a signal: a meeting with no short replies at all is worth a quick listen.
| Way to name speakers | How it works | Best for |
|---|---|---|
| Manual mapping | A reviewer sets Speaker 1 to a name once per file | Meetings and interviews |
| Channel mapping | The agent is always on one channel, the customer on the other | Contact centre calls |
| Calendar mapping | Names come from the meeting invite and who joined | Online meetings |
| Voice enrolment | Known voices are matched against stored samples | Repeat speakers, with consent |
What Setup Works Best for Meetings and for Calls?
For calls, record the agent and the customer on separate channels so each side is clear before diarization starts. For meetings, use a good room microphone or individual microphones, and keep the number of people speaking at once low.
| Setting | Recommended setup | Why |
|---|---|---|
| Contact centre calls | Stereo recording, one channel per side | Agent and customer never get mixed up |
| Online meetings | Each person on their own microphone | Voices stay clean and separate |
| Meeting rooms | A ceiling or table microphone near the speakers | Less echo and fewer missed voices |
| Interviews and podcasts | One microphone per person | Easy labels and clean quotes |
| Noisy recordings | Remove background noise before transcription | Fewer false alarms from noise |
For teams that want meeting notes rather than raw API output, our article on AI meeting notes in Arabic covers how labelled transcripts become summaries, decisions and tasks.
How Does Munsit Handle Speaker Diarization in Arabic?
Munsit handles speaker diarization through one API call that transcribes Arabic audio and labels each part with its speaker. Related endpoints add sentiment per speaker, minutes of meeting and keyword extraction, so developers can build meeting and call products on one Arabic speech platform.
- Diarization with transcription: the /audio/diarization/transcribe endpoint returns an Arabic transcript split by speaker.
- Sentiment per speaker: the diarization with sentiment endpoint adds sentiment to a diarized transcript, useful for call reviews.
- Minutes of meeting: the minutes of meeting endpoint produces meeting minutes, and keyword extraction pulls out the main topics.
- Cleaner audio first: voice isolation at /denoise removes background noise before transcription.
- Built for Arabic speech: Munsit understands more than 25 Arabic dialects with no dialect setting needed. Munsit’s system in the NADI 2025 shared task reached a word error rate of about 28% on Saudi Arabic, as reported in the 2026 Ramsa corpus study.
- Live transcription too: streaming speech to text over a WebSocket for calls and meetings in progress.
- Private setups: for government, banking, healthcare, legal and other teams with data residency needs, Munsit can run on your own servers, inside your network, and can be installed in an organisation’s own data centre in the UAE and Saudi Arabia.
- Free to try: free credits on signup, with no card needed.
Start with our Arabic speech to text API guide for developers, or explore the Munsit speech to text model to test diarization on your own recordings.
Disclaimers
- Munsit product details, including the diarization, sentiment, minutes of meeting, keyword extraction, voice isolation and streaming endpoints, dialect support, private setups and free credits, come from Munsit documentation in November 2026 and may change. Check the documentation for request and response formats.
- Research figures come from the Ramsa Emirati Arabic speech corpus study (University of Sharjah), the Fanar 2.0 report, the ETH Zurich diarization benchmark and the University of Arizona and Carnegie Mellon University meeting diarization study, and reflect the datasets used in those studies.
- The scripts, sample meeting and test results were written and run for this article. The sample meeting is illustrative, and the speaker names in it are fictional.
- Record and process conversations only with the consent and notices required in your country and sector. Information here is general guidance, not legal advice.
Frequently asked questions
What is speaker diarization?
Speaker diarization is the process of splitting a recording with several speakers into turns and labelling each turn with the speaker who said it and its start and end times, answering the question of who spoke when.
Does speaker diarization identify people by name?
Speaker diarization does not identify people by name; it labels voices as Speaker 1, Speaker 2 and so on, and names are added afterwards by manual mapping, channel mapping, calendar data or voice enrolment with consent.
What is a good diarization error rate?
A good diarization error rate depends on the audio, but published 2026 research on meeting audio measured about 12% in stretches with one speaker and about 46% where people spoke at once, so testing on your own recordings matters more than any single benchmark.
Why is speaker diarization harder for Arabic?
Speaker diarization is harder for Arabic because Arabic meetings and calls often include fast overlapping replies, short one word turns, switching between dialect, Fusha and English, and phone audio, all of which make speaker changes harder to detect.
How can I improve diarization on call recordings?
Diarization on call recordings improves most when the agent and the customer are recorded on separate channels, background noise is removed before transcription, and short replies in important moments are checked by a reviewer.
How do I test a diarization API on my own audio?
To test a diarization API on your own audio, label ten to twenty minutes of typical recordings by hand with speaker, start and end times, run the same audio through the API, and compare the two with a diarization error rate script.
Can diarization work with mixed Arabic and English speech?
Diarization groups speech by the sound of the voice, so a speaker switching between Arabic and English usually keeps the same label, but the transcript quality still depends on a speech recognition model trained on mixed Arabic and English.
Does Munsit offer a speaker diarization API for Arabic?
Munsit offers an Arabic speaker diarization API that returns a transcript labelled by speaker, with related endpoints for sentiment per speaker, minutes of meeting and keyword extraction, and free credits on signup.
Can speaker diarization run inside my own network?
Munsit can run on your own servers, inside your network, for government, banking, healthcare and other organisations with data residency needs, so recordings of meetings and calls do not leave the organisation.


