---
title: "Arabic Dialect Identification for Travel and Twitter Text (2019)"
description: "This paper describes the IIIT Hyderabad entry to the MADAR Shared Task on… 67.5% accuracy. 18 references, cited by 8 papers here."
authors: ["Pruthwik Mishra", "Vandan Mujadia"]
year: 2019
venue: "Proceedings of the Fourth Arabic Natural Language Processing Workshop"
source: "https://aclanthology.org/W19-4628/"
doi: "10.18653/v1/w19-4628"
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/mishra-2019-arabic-dialect-identification-travel-twitter/"
---
[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/mishra-2019-arabic-dialect-identification-travel-twitter/)

[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/7/) / Arabic Dialect Identification for Travel and Twitter Text

# Arabic Dialect Identification for Travel and Twitter Text

**Authors:** [Pruthwik Mishra](https://md.research.elamur.ai/free/en/authors/pruthwik-mishra/) and [Vandan Mujadia](https://md.research.elamur.ai/free/en/authors/vandan-mujadia/) · **Year:** 2019 · **Venue:** [Proceedings of the Fourth Arabic Natural Language Processing Workshop](https://md.research.elamur.ai/free/en/venues/wanlp/) ([WANLP 2019](https://md.research.elamur.ai/free/en/venues/wanlp/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/W19-4628/) · [PDF](https://aclanthology.org/W19-4628.pdf) · [DOI 10.18653/v1/w19-4628](https://doi.org/10.18653/v1/w19-4628) · [OpenAlex](https://openalex.org/W2971054893)

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

## Summary
This paper describes the IIIT Hyderabad entry to the MADAR Shared Task on fine-grained Arabic dialect identification at WANLP 2019. There were two subtasks. The first was to label travel-domain sentences with one of 26 city-level dialects (MADAR-Corpus-26). The second was to infer a Twitter user's country from that user's tweets. The authors built on the Salameh and Bouamor (2018) feature set. It combines word and character n-gram TF-IDF vectors with scores from per-dialect word and character 5-gram language models trained on MADAR-Corpus-26 and MADAR-Corpus-6. They fed these features to several scikit-learn classifiers (Linear SVM, Multinomial Naive Bayes, Logistic Regression) and to a small Keras MLP. For Twitter, they classified each tweet on its own and then gave each user the country predicted most often across their tweets. On the dev set, all classical models scored about 67.5% accuracy on subtask1 and slightly beat the MLP. Test accuracy was 66.31% for subtask1 and 67.20% for subtask2. The work shows that well-engineered sparse features remain competitive with neural models when labelled data is limited.

## Key points
- **Data:**
  - Subtask1 uses MADAR-Corpus-26: 1600 training and 200 dev sentences per dialect (41,600 / 5,200 / 5,200 for train/dev/test).
  - Subtask2 covers 2,180 / 300 / 500 users and roughly 218k / 30k / 50k tweets.
- **Features and preprocessing:**
  - Word unigrams combined with character 2–5-grams worked better than either kind of n-gram alone.
  - Per-class LM scores (word and char 5-gram, summed) came from 6 and 26 separate LMs.
  - Tokenization was plain whitespace splitting.
- **What mattered most:**
  - The LM scores were the strongest contributor in subtask1.
  - TF-IDF and the coarse Corpus-6 probabilities added little on top.
  - Logistic Regression and mNB did poorly on subtask2, so only SVM results are reported for it.
- **Test results:**
  - Subtask1 (mNB): F1 66.21, accuracy 66.31.
  - Subtask2 (SVM): precision 83.37, recall 47.73, F1 57.90, accuracy 67.20.
- **Main error source in subtask2:** 5,992 test tweets were unavailable. They were all labelled "Saudi Arabia", the most frequent training country, which the authors name as the main reason for the low recall.

## Interesting ideas
- Train one small language model per class and use each model's score as a dense feature next to sparse n-grams; this gave the biggest gain here and is cheap and easy to inspect.
- Decide a label for a whole entity (a user) by majority vote over its many short items (tweets), instead of classifying all of the entity's text at once.
- Route inputs that lack a key feature (tweets with no Arabic, hence no dialect probabilities) to a separate classifier trained without that feature, rather than imputing values.
- Before deleting "noise" such as handles and URLs, measure the effect; here removing them reduced accuracy, so the authors kept the raw tweets.
- A default label based on the class prior quietly caused most of the recall loss, which shows how one fallback rule can dominate an evaluation.

## For Mova

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

- **I1** (tokens): Per-variety character/word LMs (e.g. British vs. American, tweets vs. formal prose) could produce an explainable register/dialect score for the tokenizer and tagger before they pick normalization rules.
- **I2** (world): Attributes of an entity in a text's world (origin, stance, role) could be gathered as a vote over per-mention evidence, so the final value can be traced back to the mentions that support it.
- **I3** (learn): When a witness parser or a knowledge source is missing for a sentence, a fallback model trained on the reduced feature set avoids silent garbage values in silver-data agreement.
- **I4** (tokens): Cleaning rules for web text should be ablated, not assumed, because tokens that look like junk can carry signal for downstream tagging.
- **I5** (learn): Evaluations should report how many items reach default or fallback paths and score those items separately, as a kind of negative control.

*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

- [International Institute of Information Technology, Hyderabad](https://md.research.elamur.ai/free/en/universities/international-institute-of-information-technology-hyderabad/) — University, Hyderabad, India · 42 works · 2,317 citations

📚 Shelves (4): [🖥️ Computer Science](https://md.research.elamur.ai/free/en/shelves/computer-science/) · 18,614 works · [🤖 Artificial Intelligence](https://md.research.elamur.ai/free/en/shelves/computer-science/artificial-intelligence/) · 17,965 works · [🎭 Arts and Humanities](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/) · 17,450 works · [🗣️ Language and Linguistics](https://md.research.elamur.ai/free/en/shelves/arts-and-humanities/language-and-linguistics/) · 17,296 works

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

## Cite

Cite as: Pruthwik Mishra and Vandan Mujadia. 2019. Arabic Dialect Identification for Travel and Twitter Text. Proceedings of the Fourth Arabic Natural Language Processing Workshop.

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

```bibtex
@inproceedings{mishra2019arabic,
  title = {{Arabic Dialect Identification for Travel and Twitter Text}},
  author = {Pruthwik Mishra and Vandan Mujadia},
  booktitle = {Proceedings of the Fourth Arabic Natural Language Processing Workshop},
  year = {2019},
  doi = {10.18653/v1/w19-4628},
  url = {https://doi.org/10.18653/v1/w19-4628}
}
```

- [← previous The syntax of comparison constructions in diachronic and dialectal perspective](https://md.research.elamur.ai/free/en/papers/jager-2019-syntax-comparison-constructions-diachronic-dialectal/)
- [next → Implicit Discourse Relation Identification for Open-domain Dialogues](https://md.research.elamur.ai/free/en/papers/ma-2019-implicit-discourse-relation-identification-open/)
- [↑ back to papers of 2019](https://md.research.elamur.ai/free/en/papers/2019/page/7/)

## References

18 references, 11 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 Eleventh International Conference on Language Resources and Evaluation (LREC-2018).
2. Manar Alkhatib, May El Barachi, and Khaled Shaalan. 2019. An arabic social media based framework for incidents and events monitoring in smart cities. Journal of Cleaner Production, 220:771–785. [↗](https://doi.org/10.1016/j.jclepro.2019.02.063)
3. Areej Alshutayri and Eric Atwell. 2017. Exploring twitter as a source of an arabic dialect corpus. International Journal of Computational Linguistics (IJCL), 8(2):37–44. [find](https://scholar.google.com/scholar?q=Areej+Alshutayri+and+Eric+Atwell%2E+2017%2E+Exploring+twitter+as+a+source+of+an+arabic+dialect+corpus%2E+International+Journal+of+Computational+Linguistics+%28IJCL%29%2C+8%282%29%3A37%E2%80%9344%2E)
4. 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 eacl 2009 [https://keras.io](https://keras.io) [↗](https://keras.io)
5. Mohammad Salameh and Houda Bouamor. 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 27th International Conference on Computational Linguistics, pages 1332–1344. workshop on computational approaches to semitic languages, pages 53–61. Association for Computational Linguistics.
6. Houda Bouamor, Nizar Habash, Mohammad Salameh, Wajdi Zaghouani, Owen Rambow, Dana Abdulrahim, Ossama Obeid, Salam Khalifa, Fadhl Eryani, Alexander Erdmann, et al. 2018. The madar arabic dialect corpus and lexicon. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC-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+et+al%2E+2018%2E+The+madar+arabic+dialect+corpus)
7. Suwon Shon, Ahmed Ali, and James Glass. 2017. [Mit-qcri arabic dialect identification system for the 2017 multi-genre broadcast challenge](https://md.research.elamur.ai/free/en/papers/shon-2017-mit-qcri-arabic-dialect-identification/). In 2017 IEEE Automatic Speech Recognition and Understanding Workshop (ASRU), pages 374–380. IEEE.
8. Omar F 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)
9. Houda Bouamor, Sabit Hassan, and Nizar Habash. 2019. [The MADAR Shared Task on Arabic Fine-Grained Dialect Identification](https://md.research.elamur.ai/free/en/papers/bouamor-2019-madar-shared-task-arabic-fine/). In Proceedings of the Fourth Arabic Natural Language Processing Workshop (WANLP19), Florence, Italy.
10. Marcos Zampieri, Shervin Malmasi, Preslav Nakov, Ahmed Ali, Suwon Shon, James Glass, Yves Scherrer, Tanja Samardžić, Nikola Ljubešić, Jörg Tiedemann, et al. 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. Association for Computational Linguistics.
11. Andrei M Butnaru and Radu Tudor Ionescu. 2018. [Unibuckernel reloaded: First place in arabic dialect identification for the second year in a row](https://md.research.elamur.ai/free/en/papers/butnaru-2018-unibuckernel-reloaded-first-place-arabic/). arXiv preprint arXiv:1805.04876. [↗](https://arxiv.org/abs/1805.04876)
12. Mohamed Elaraby and Muhammad Abdul-Mageed. 2018. [Deep models for arabic dialect identification on benchmarked data](https://md.research.elamur.ai/free/en/papers/elaraby-2018-deep-models-arabic-dialect-identification/). In Proceedings of the Fifth Workshop on NLP for Similar Languages, Varieties and Dialects (VarDial 2018), pages 263–274.
13. Imane Guellil, Houda Saâdane, Faical Azouaou, Billel Gueni, and Damien Nouvel. 2019. [Arabic natural language processing: An overview](https://md.research.elamur.ai/free/en/papers/guellil-2019-arabic-natural-language-processing-overview/). Journal of King Saud University-Computer and Information Sciences. [↗](https://doi.org/10.1016/j.jksuci.2019.02.006)
14. Tommi Jauhiainen, Marco Lui, Marcos Zampieri, Timothy Baldwin, and Krister Lindén. 2018. [Automatic language identification in texts: A survey](https://md.research.elamur.ai/free/en/papers/jauhiainen-2019-automatic-language-identification-texts/). arXiv preprint arXiv:1804.08186. [↗](https://arxiv.org/abs/1804.08186)
15. Yuanzhi Li and Yang Yuan. 2017. Convergence analysis of two-layer neural networks with relu activation. In Advances in Neural Information Processing Systems, pages 597–607. [find](https://scholar.google.com/scholar?q=Yuanzhi+Li+and+Yang+Yuan%2E+2017%2E+Convergence+analysis+of+two%2Dlayer+neural+networks+with+relu+activation%2E+In+Advances+in+Neural+Information+Processing+Systems%2C+pages+597%E2%80%93607%2E)
16. Wang Ling, Guang Xiang, Chris Dyer, Alan Black, and Isabel Trancoso. 2013. Microblogs as parallel corpora. In Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), volume 1, pages 176–186. [find](https://scholar.google.com/scholar?q=Wang+Ling%2C+Guang+Xiang%2C+Chris+Dyer%2C+Alan+Black%2C+and+Isabel+Trancoso%2E+2013%2E+Microblogs+as+parallel+corpora%2E+In+Proceedings+of+the+51st+Annual+Meeting+of+the+Association+for+Computational+Linguistics+%28V)
17. Maryam Najafian, Sameer Khurana, Suwon Shan, Ahmed Ali, and James Glass. 2018. Exploiting convolutional neural networks for phonotactic based dialect identification. In 2018 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP), pages 5174–5178. IEEE. [find](https://scholar.google.com/scholar?q=Maryam+Najafian%2C+Sameer+Khurana%2C+Suwon+Shan%2C+Ahmed+Ali%2C+and+James+Glass%2E+2018%2E+Exploiting+convolutional+neural+networks+for+phonotactic+based+dialect+identification%2E+In+2018+IEEE+International+Confere)
18. Fabian Pedregosa, Gael 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 Edouard Duchesnay. 2011. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12:2825–2830. [↗](https://doi.org/10.48550/arxiv.1201.0490)

*Updated 1 November 2026*
