---
title: "ADIDA: Automatic Dialect Identification for Arabic (2019)"
description: "This demo paper presents ADIDA, a public web tool built on the fine-grained classifier of Salameh et… 31 references, cited by 13 papers here."
authors: ["Ossama Obeid", "Mohammad Salameh", "Houda Bouamor", "Nizar Habash"]
year: 2019
venue: "Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations)"
source: "https://aclanthology.org/N19-4002/"
doi: "10.18653/v1/n19-4002"
licence: "CC BY 4.0 (ACL Anthology)"
licence_url: "https://creativecommons.org/licenses/by/4.0/"
summary_licence: "Elamur Cosmic License"
canonical: "https://research.elamur.ai/free/en/papers/obeid-2019-adida-automatic-dialect-identification-arabic/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/obeid-2019-adida-automatic-dialect-identification-arabic/)

[home](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2019](https://md.research.elamur.ai/free/en/papers/2019/page/6/) / ADIDA: Automatic Dialect Identification for Arabic

# ADIDA: Automatic Dialect Identification for Arabic

**Authors:** [Ossama Obeid](https://md.research.elamur.ai/free/en/authors/ossama-obeid/), [Mohammad Salameh](https://md.research.elamur.ai/free/en/authors/mohammad-salameh/), [Houda Bouamor](https://md.research.elamur.ai/free/en/authors/houda-bouamor/) and [Nizar Habash](https://md.research.elamur.ai/free/en/authors/nizar-habash/) · **Year:** 2019 · **Venue:** [Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations)](https://md.research.elamur.ai/free/en/venues/naacl/) ([NAACL 2019](https://md.research.elamur.ai/free/en/venues/naacl/2019/)) · **Publisher:** [Association for Computational Linguistics](https://md.research.elamur.ai/free/en/publishers/association-for-computational-linguistics/) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

**Links:** [Publisher's page](https://aclanthology.org/N19-4002/) · [PDF](https://aclanthology.org/N19-4002.pdf) · [DOI 10.18653/v1/n19-4002](https://doi.org/10.18653/v1/n19-4002) · [OpenAlex](https://openalex.org/W2946621315)

**Citations:** 15 citations (OpenAlex, 2026-10-14) · [13](https://md.research.elamur.ai/free/en/papers/obeid-2019-adida-automatic-dialect-identification-arabic/cited-by/) in our library, of the 149,439 papers whose bibliographies we read

## Summary
Written Arabic dialects are hard to tell apart automatically. They share one script and much vocabulary, and writers often mix dialect with Modern Standard Arabic (MSA). Most earlier dialect identification worked only at the level of regions or countries. This demo paper presents ADIDA, a public web tool built on the fine-grained classifier of Salameh et al. (2018). That classifier assigns any Arabic input, from a single word to a full sentence, a probability for each of 25 Arab cities plus MSA. It is a Multinomial Naive Bayes model trained on the parallel MADAR corpus, using TF-IDF-weighted word and character n-gram features together with language model scores. The authors' main contribution is the visualization layer, which spreads the 26-value output vector over a map of the Arab world, rendered as individual points or as a heat map. This makes it easier to spot regional similarities and confusions than reading a flat list of scores. On test sentences averaging 7 words, the model picks the exact city 67.9% of the time.

## Key points
- The classifier covers 26 classes: 25 cities from Rabat to Muscat, grouped into Maghreb, Nile Basin, Levant, Gulf and Yemen, plus MSA. It is trained with scikit-learn on the MADAR corpus.
- City-level accuracy is 67.9% on sentences of about 7 words. An oracle study in the earlier paper suggests accuracy can exceed 90% with 16-word inputs.
- The interface has two display modes:
  - The point map shows only cities whose probability is above 0.1%.
  - The heat map places a Gaussian on every city, so neighbouring cities blend into regional "presence."
  - MSA appears in neither map because it has no location. The sidebar lists the top five cities, MSA and a leftover "Other" mass.
- In the paper's example, an Egyptian song verse gets Cairo confidence of 99.5% with 11 words, 92.5% with 4 words and 20.4% with 1 word. With one word, most of the probability mass is spread over unlisted cities.
- The tool is built with Flask on the back-end and Vue.js, Leaflet, Mapbox and heatmap.js on the front-end. The data were released through the MADAR shared task (2019).

## Interesting ideas
- Placing a classifier's flat probability vector onto a meaningful structure (here, geography) exposes patterns of confusion between related classes that a ranked list hides.
- Cutting the same input to shorter and shorter prefixes shows how confidence and probability spread depend on how much evidence the model has, which serves as a cheap sanity probe.
- The display always reports the top candidates together with an explicit remainder bucket ("Other"), and a class with no natural position (MSA) is shown separately rather than forced into the picture.
- The authors explicitly warn that the heat-map blending between cities is only a visual aid, not a claim about the places in between.
- The authors plan a feedback mode in which users rate outputs, turning a demo into a data-collection channel.

## For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

- **I1** (tree): Head-attachment or label distributions from gparse could be drawn over the sentence itself, making near-miss attachments between neighbouring words visible while debugging.
- **I2** (learn): Truncated-input runs can act as a control: if confidence in a frame or parse barely drops when the key words are removed, the model is likely relying on spurious cues.
- **I3** (answer): Readers could report their top answers plus the unassigned confidence mass, and keep "no grounded answer" as a separate outcome instead of hiding it among the real candidates.
- **I4** (world): When displaying inferred states or entity relations, Mova should mark which links are interpolated for display and which are actually derived from the text, keeping every step explainable.
- **I5** (learn): A demo front-end for Mova parses or answers could gather human quality judgments that then serve as extra signal next to the silver data agreed on by witness parsers.

*Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.*

## Institutions

- [Carnegie Mellon University](https://md.research.elamur.ai/free/en/universities/carnegie-mellon-university/) — University, Pittsburgh, United States · 539 works · 179,533 citations
- [New York University](https://md.research.elamur.ai/free/en/universities/new-york-university/) — University, New York, United States · 201 works · 100,180 citations
- [New York University Abu Dhabi](https://md.research.elamur.ai/free/en/universities/new-york-university-abu-dhabi/) — University, Abu Dhabi, United Arab Emirates · 122 works · 4,602 citations
- [Carnegie Mellon University Qatar](https://md.research.elamur.ai/free/en/universities/carnegie-mellon-university-qatar/) — University, Doha, Qatar · 47 works · 2,773 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 16,667 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 16,194 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 16,039 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 15,891 works

🧭 Topics (1): [Semitic languages](https://md.research.elamur.ai/free/en/topics/semitic-languages/) · 2,908 works

## Cite

Cite as: Ossama Obeid, Mohammad Salameh, Houda Bouamor and Nizar Habash. 2019. ADIDA: Automatic Dialect Identification for Arabic. Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations).

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{obeid2019adida,
  title = {{ADIDA: Automatic Dialect Identification for Arabic}},
  author = {Ossama Obeid, Mohammad Salameh, Houda Bouamor and Nizar Habash},
  booktitle = {Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics (Demonstrations)},
  year = {2019},
  doi = {10.18653/v1/n19-4002},
  url = {https://doi.org/10.18653/v1/n19-4002}
}
```

- [← previous “When Numbers Matter!”: Detecting Sarcasm in Numerical Portions of Text](https://md.research.elamur.ai/free/en/papers/dubey-2019-when-numbers-matter-detecting-sarcasm/)
- [next → Factorising AMR generation through syntax](https://md.research.elamur.ai/free/en/papers/cao-2019-factorising-amr-generation-through-syntax/)
- [↑ back to papers of 2019](https://md.research.elamur.ai/free/en/papers/2019/page/6/)

## References

31 references, 17 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

1. Muhammad Abdul-Mageed, Hassan Alhuzali, and Mohamed Elaraby. 2018. [You tweet what you speak: A city-level dataset of Arabic dialects](https://md.research.elamur.ai/free/en/papers/mageed-2018-you-tweet-what-you-speak/). In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan.
2. Abdel-Rahman Abu-Melhim. 1991. Code-switching and linguistic accommodation in Arabic. In Proceedings of the Annual Symposium on Arabic Linguistics, volume 80, pages 231–250. [↗](https://doi.org/10.1075/cilt.80.15abu)
3. Mahmoud Al-Ayyoub, Aya Nuseir, Kholoud Alsmearat, Yaser Jararweh, and Brij Gupta. 2017. Deep learning for Arabic nlp: A survey. Journal of Computational Science. [↗](https://doi.org/10.1016/j.jocs.2017.11.011)
4. Faisal Al-Shargi and Owen Rambow. 2015. [Diwan: A dialectal word annotation tool for Arabic](https://md.research.elamur.ai/free/en/papers/shargi-2015-diwan-dialectal-word-annotation-tool/). In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), pages 49–58, Beijing, China.
5. Reem Bassiouney. 2009. Arabic Sociolinguistics: Topics in Diglossia, Gender, Identity, and Politics. Georgetown University Press. [find](https://scholar.google.com/scholar?q=Reem+Bassiouney%2E+2009%2E+Arabic+Sociolinguistics%3A+Topics+in+Diglossia%2C+Gender%2C+Identity%2C+and+Politics%2E+Georgetown+University+Press%2E)
6. Yonatan Belinkov and James Glass. 2016. [A Character-level Convolutional Neural Network for Distinguishing Similar Languages and Dialects](https://md.research.elamur.ai/free/en/papers/belinkov-2016-character-level-convolutional-neural-network/). In Proceedings of the Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial), pages 145–152, Osaka, Japan. [↗](https://doi.org/10.48550/arxiv.1609.07568)
7. Fadi Biadsy, Julia Hirschberg, and Nizar Habash. 2009. [Spoken Arabic Dialect Identification Using Phonotactic Modeling](https://md.research.elamur.ai/free/en/papers/biadsy-2009-spoken-arabic-dialect-identification-phonotactic/). In Proceedings of the Workshop on Computational Approaches to Semitic Languages (CASL), pages 53–61, Athens, Greece.
8. Houda Bouamor, Nizar Habash, Mohammad Salameh, Wajdi Zaghouani, Owen Rambow, Dana Abdulrahim, Ossama Obeid, Salam Khalifa, Fadhl Eryani, Alexander Erdmann, and Kemal Oflazer. 2018. [find](https://scholar.google.com/scholar?q=Houda+Bouamor%2C+Nizar+Habash%2C+Mohammad+Salameh%2C+Wajdi+Zaghouani%2C+Owen+Rambow%2C+Dana+Abdulrahim%2C+Ossama+Obeid%2C+Salam+Khalifa%2C+Fadhl+Eryani%2C+Alexander+Erdmann%2C+and+Kemal+Oflazer%2E+2018%2E)
9. The Abdulhadi Shoufan and Sumaya Al-Ameri. 2015. [Natural language processing for dialectical Arabic: A survey](https://md.research.elamur.ai/free/en/papers/shoufan-2015-natural-language-processing-dialectical-arabic/). In Proceedings of the Workshop for Arabic Natural Language Processing (WANLP), page 36, Beijing, China.
10. Christoph Tillmann, Saab Mansour, and Yaser Al-Onaizan. 2014. [Improved Sentence-Level Arabic Dialect Classification](https://md.research.elamur.ai/free/en/papers/tillmann-2014-improved-sentence-level-arabic-dialect/). In Proceedings of the Workshop on Applying NLP Tools to Similar Languages, Varieties and Dialects, pages 110–119, Dublin, Ireland.
11. Bert Vaux and Scott Golder. 2003. The Harvard Dialect Survey. Cambridge, MA: Harvard University Linguistics Department. [find](https://scholar.google.com/scholar?q=Bert+Vaux+and+Scott+Golder%2E+2003%2E+The+Harvard+Dialect+Survey%2E+Cambridge%2C+MA%3A+Harvard+University+Linguistics+Department%2E)
12. Janet CE Watson. 2007. The Phonology and Morphology of Arabic. Oxford University Press. [find](https://scholar.google.com/scholar?q=Janet+CE+Watson%2E+2007%2E+The+Phonology+and+Morphology+of+Arabic%2E+Oxford+University+Press%2E)
13. David Joseph Wrisley. 2016. Linguistic Landscapes of Beirut Project. [http://llbeirut.org](http://llbeirut.org). [↗](http://llbeirut.org)
14. David Joseph Wrisley. 2017. Locating medieval French, or why we collect and visualize the geographic information of texts. Speculum, 92(S1):S145–S169. [↗](https://doi.org/10.1086/694300)
15. David Joseph Wrisley. 2019. ”Aggregate map.” Visualizing Medieval Places. [http://vmp.djwrisley.com/map/](http://vmp.djwrisley.com/map/). [↗](http://vmp.djwrisley.com/map/)
16. Omar Zaidan and Chris Callison-Burch. 2014. [Arabic dialect identification](https://md.research.elamur.ai/free/en/papers/zaidan-2014-arabic-dialect-identification/). Computational Linguistics, 40(1):171–202. [↗](https://doi.org/10.1162/coli_a_00169)
17. Omar F Zaidan and Chris Callison-Burch. 2011. [The Arabic Online Commentary Dataset: an Annotated Dataset of Informal Arabic With High Dialectal Content](https://md.research.elamur.ai/free/en/papers/zaidan-2011-arabic-online-commentary-dataset-annotated/). In Proceedings of the Conference of the Association for Computational Linguistics (ACL), pages 37–41.
18. Marcos Zampieri, Shervin Malmasi, Nikola Ljubešić, Preslav Nakov, Ahmed Ali, Jörg Tiedemann, Yves Scherrer, and Noëmi Aepli. 2017. [Findings of the VarDial Evaluation Campaign 2017](https://md.research.elamur.ai/free/en/papers/zampieri-2017-findings-vardial-evaluation-campaign/). In Proceedings of the Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial), pages 1–15, Valencia, Spain.
19. Marcos Zampieri, Shervin Malmasi, Preslav Nakov, Ahmed Ali, Suwon Shon, James Glass, Yves Scherrer, Tanja Samardžić, Nikola Ljubešić, Jörg Tiedemann, Chris van der Lee, Stefan Grondelaers, Nelleke Oostdijk, Antal van den Bosch, Ritesh Kumar, Bornini Lahiri, and Mayank Jain. 2018. [Language identification and morphosyntactic tagging: The second VarDial evaluation campaign](https://md.research.elamur.ai/free/en/papers/zampieri-2018-language-identification-morphosyntactic-tagging-second/). In Proceedings of the Fifth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial), Santa Fe, USA.
20. Rabih Zbib, Erika Malchiodi, Jacob Devlin, David Stallard, Spyros Matsoukas, Richard Schwartz, John Makhoul, Omar F. Zaidan, and Chris Callison-Burch. 2012. [Machine Translation of Arabic Dialects](https://md.research.elamur.ai/free/en/papers/zbib-2012-machine-translation-arabic-dialects/). In Proceedings of the Conference of the North American Chapter of the Association for Computational Linguistics (NAACL), pages 49–59, Montréal, Canada.
21. Fei Huang. 2015. [Improved Arabic Dialect Classification with Social Media Data](https://md.research.elamur.ai/free/en/papers/huang-2015-improved-arabic-dialect-classification-social/). In Proceedings of the Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 2118–2126, Lisbon, Portugal.
22. Josh Katz and Wilson Andrews. 2013. How Yall, Youse and You Guys Talk. [https://www.nytimes.com/interactive/](https://www.nytimes.com/interactive/) 2014/upshot/dialect-quiz-map.html. [↗](https://www.nytimes.com/interactive/)
23. Salam Khalifa, Nizar Habash, Dana Abdulrahim, and Sara Hassan. 2016. [A Large Scale Corpus of Gulf Arabic](https://md.research.elamur.ai/free/en/papers/khalifa-2016-large-scale-corpus-gulf-arabic/). In Proceedings of the Language Resources and Evaluation Conference (LREC), Portorož, Slovenia.
24. Shervin Malmasi, Marcos Zampieri, Nikola Ljubešić, Preslav Nakov, Ahmed Ali, and Jörg Tiedemann. 2016. [Discriminating between Similar Languages and Arabic Dialect Identification: A Report on the Third DSL Shared Task](https://md.research.elamur.ai/free/en/papers/malmasi-2016-discriminating-between-similar-languages/). In Proceedings of the Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial), pages 1–14, Osaka, Japan.
25. Elise Michon, Minh Quang Pham, Josep Crego, and Jean Senellart. 2018. [Neural network architectures for Arabic dialect identification](https://md.research.elamur.ai/free/en/papers/michon-2018-neural-network-architectures-arabic-dialect/). In Proceedings of the Fifth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial 2018), pages 128– 136.
26. Ossama Obeid, Salam Khalifa, Nizar Habash, Houda Bouamor, Wajdi Zaghouani, and Kemal Oflazer. 2018. [MADARi: A Web Interface for Joint Arabic Morphological Annotation and Spelling Correction](https://md.research.elamur.ai/free/en/papers/obeid-2018-madari-web-interface-joint-arabic/). In Proceedings of the Language Resources and Evaluation Conference (LREC), Miyazaki, Japan.
27. Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, Jake Vanderplas, Alexandre Passos, David Cournapeau, Matthieu Brucher, Matthieu Perrot, and Édouard Duchesnay. 2011. Scikit-learn: Machine learning in python. Journal of Machine Learning Research, 12:2825–2830. [↗](https://doi.org/10.48550/arxiv.1201.0490)
28. Fatiha Sadat, Farnazeh Kazemi, and Atefeh Farzindar. 2014. Automatic Identification of Arabic Dialects in Social Media. In Proceedings of the Workshop on Natural Language Processing for Social Media (SocialNLP), pages 22–27, Dublin, Ireland. [find](https://scholar.google.com/scholar?q=Fatiha+Sadat%2C+Farnazeh+Kazemi%2C+and+Atefeh+Farzindar%2E+2014%2E+Automatic+Identification+of+Arabic+Dialects+in+Social+Media%2E+In+Proceedings+of+the+Workshop+on+Natural+Language+Processing+for+Social+Media+%28)
29. Hassan Sajjad, Kareem Darwish, and Yonatan Belinkov. 2013. Translating dialectal Arabic to English. In Proceedings of the Conference of the Association for Computational Linguistics (ACL), pages 1–6, Sofia, Bulgaria. [find](https://scholar.google.com/scholar?q=Hassan+Sajjad%2C+Kareem+Darwish%2C+and+Yonatan+Belinkov%2E+2013%2E+Translating+dialectal+Arabic+to+English%2E+In+Proceedings+of+the+Conference+of+the+Association+for+Computational+Linguistics+%28ACL%29%2C+pages+1%E2%80%936%2C+)
30. Mohammad Salameh, Houda Bouamor, and Nizar Habash. 2018. [Fine-grained arabic dialect identification](https://md.research.elamur.ai/free/en/papers/salameh-2018-fine-grained-arabic-dialect-identification/). In Proceedings of the International Conference on Computational Linguistics (COLING), pages 1332–1344, Santa Fe, New Mexico, USA.
31. Yves Scherrer and Philipp Stoeckle. 2016. A quantitative approach to Swiss German dialectometric analyses and comparisons of linguistic levels. Dialectologia et Geolinguistica, 24(1):92–125. [↗](https://doi.org/10.1515/dialect-2016-0006)

*Updated 1 November 2026*
