DIRA: Dialectal Arabic Information Retrieval Assistant
Paper · 2013 · Arfath Pasha, Mohammad Al-Badrashiny, Mohamed Altantawy et al.
Summary
Searching Arabic text is difficult for two reasons. The language has rich morphology, and dialects such as Egyptian Arabic (EGY) differ from Modern Standard Arabic (MSA) in vocabulary, inflection and spelling. These differences matter more now that social media carries a lot of informal, unedited dialectal writing. DIRA is a demo system that addresses this through query expansion. A user enters a lemma in English or MSA, and DIRA does three things:
- translates it into MSA and/or EGY lemmas using a trilingual dictionary,
- generates inflected surface forms with morphological generators built on analyzer databases,
- ranks those forms by corpus-based feature probabilities combined with user-set weights.
DIRA does no stemming, so its output can feed any retrieval engine. In the web demo, the user picks some of the generated forms, which are joined with Google boolean operators and sent as a query. The authors describe it as the only tool that automatically produces dialectal search terms with morphological variants. Two usage scenarios illustrate it: a teacher looking for Egyptian negation forms, and a native speaker resolving an ambiguous MSA query.
Key points
- Dictionary: lemmas are translated with a trilingual English-MSA-EGY dictionary of roughly 70,000 entries.
- Generators: forms are produced by a morphological generator (Habash, 2007).
- For MSA it uses BAMA/SAMA databases.
- For EGY it uses CALIMA-ARZ databases, which also yield spelling variants of the same word.
- Why MSA tools fall short: prior work cited in the paper found that over a third of EGY words cannot be analyzed by an MSA analyzer.
- Speed and ranking:
- Expansion is made faster by a lookup cache that is first populated using sizable MSA and EGY corpora and then keeps growing online whenever new forms get generated.
- Ranking mixes corpus lemma-feature probabilities with user weights for feature values; setting a weight to zero removes those forms entirely.
- Demo behaviour: the web demo shows up to five inflected forms per lemma, pre-selects the top two, and displays English glosses so users can tell candidate lemmas apart.
Interesting ideas
- I1. DIRA deliberately avoids stemming and outputs full inflected forms, so different downstream systems with their own normalization can all use it.
- I2. Running an analyzer's database in reverse gives spelling variants for free, because the analyzer already maps variant spellings to one conventional form.
- I3. Candidate inflections are scored by corpus frequency of feature values, adjustable by genre-specific weights, for example favouring 1st/2nd person for blogs and 3rd person for news.
- I4. A cache of lemma→forms results is seeded from corpora and grows as new forms are generated at runtime, trading memory for speed in an expensive generator.
- I5. For an ambiguous input, the system auto-picks the top reading but lists the alternatives with glosses and lets the user override, as with "harbor" versus the name Morsi.
For Mova
How these ideas could serve Mova, our small open language model — its files, stages and tests:
- I1 (tokens): The
encrate could expose full surface-form expansions of a lemma instead of baking in a normalization, leaving matching policy to later stages. - I2 (tokens): Running Mova's morphology in generation mode could enumerate spelling variants (e.g., British/American, hyphenation) of a lemma, helping to match entity mentions across texts.
- I3 (back): When generating text from the meaning graph, genre-conditioned priors over feature values could steer choices of person, tense and number toward what fits the target register.
- I4 (tokens): Memoizing morphological generation and analysis results, seeded from treebank vocabulary, could speed up the tokenizer/lemmatizer without changing its output.
- I5 (world): Entity and sense resolution could keep ranked alternative readings with human-readable glosses, so a wrong pick is visible and correctable rather than silently committed.
Institutions
Fields, topics and concepts
📚 Shelves 5The field of science this work belongs to (OpenAlex fields).Computer Science · 16,667 worksArtificial Intelligence · 16,194 worksArts and Humanities · 16,039 worksLanguage and Linguistics · 15,891 worksInformation Systems · 1,437 works
🧭 Topics 3Research subjects and languages the work is about.Semitic languages · 2,908 worksInformation retrieval & search · 473 worksMorphology · 405 works
Cite
Cite as Arfath Pasha, Mohammad Al-Badrashiny, Mohamed Altantawy, Nizar Habash, Manoj Pooleery, Owen Rambow, Ryan M. Roth and Mona Diab. 2013. DIRA: Dialectal Arabic Information Retrieval Assistant. The Companion Volume of the Proceedings of IJCNLP 2013: System Demonstrations.
@inproceedings{pasha2013dira,
title = {{DIRA: Dialectal Arabic Information Retrieval Assistant}},
author = {Arfath Pasha, Mohammad Al-Badrashiny, Mohamed Altantawy, Nizar Habash, Manoj Pooleery, Owen Rambow, Ryan M. Roth and Mona Diab},
booktitle = {The Companion Volume of the Proceedings of IJCNLP 2013: System Demonstrations},
year = {2013},
url = {https://aclanthology.org/I13-2004/}
}References
- Ibrahim A Al-Kharashi and Martha W Evens. 1999. Comparing words, stems, and roots as index terms in an Arabic information retrieval system. Journal of the American Society for Information Science, 45(8):548–560. find
- Tim Buckwalter. 2004. Buckwalter Arabic Morphological Analyzer Version 2.0. LDC catalog number LDC2004L02, ISBN 1-58563-324-0. ↗
- Kareem Darwish, Hany Hassan, and Ossama Emam. 2005. Examining the effect of improved context sensitive morphology on Arabic information retrieval. Computational Approaches to Semitic Languages, 100:25. Mona Diab, Abdelati Hawwari, Heba Elfardy, Pradeep Dasigi, Mohammad Al-Badrashiny, Ramy Eskander, and Nizar Habash. in preparation. Tharwa: A multi-dialectal multi-lingual machine readable dictionary.
- F. Gey and D. Oard. 2001. The TREC-2001 Cross-Language Information Retrieval Track: Searching Arabic Using English, French or Arabic Queries. In The 10th Text Retrieval Conference (TREC-10). find
- David Graff, Mohamed Maamouri, Basma Bouziri, Sondos Krouna, Seth Kulick, and Tim Buckwalter. 2009. Standard Arabic Morphological Analyzer (SAMA) Version 3.1. Linguistic Data Consortium LDC2009E73. find
- Nizar Habash and Owen Rambow. 2006. MAGEAD: A Morphological Analyzer and Generator for the Arabic Dialects. In Proceedings of ACL’06, Sydney, Australia. ↗
- Nizar Habash, Clinton Mah, Sabiha Imran, Randy Calistri-Yeh, and Páraic Sheridan. 2006. Design, Construction and Validation of an Arabic-English Conceptual Interlingua for Cross-lingual Information Retrieval. In LREC-2006, Genoa, Italy. find
- Nizar Habash, Abdelhadi Soudi, and Tim Buckwalter. 2007. On Arabic Transliteration. In A. van den Bosch and A. Soudi, editors, Arabic Computational Morphology: Knowledge-based and Empirical Methods. Springer. ↗
- N. Habash, R. Eskander, and A. Hawwari. 2012a. A Morphological Analyzer for Egyptian Arabic. In NAACL-HLT 2012 Workshop on Computational Morphology and Phonology (SIGMORPHON2012), pages 1–9.
- Nizar Habash, Mona Diab, and Owen Rabmow. 2012b. Conventional Orthography for Dialectal Arabic. In Proceedings of the Language Resources and Evaluation Conference (LREC), Istanbul.
- Nizar Habash. 2007. Arabic Morphological Representations for Machine Translation. In A. van den Bosch and A. Soudi, editors, Arabic Computational Morphology: Knowledge-based and Empirical Methods. Springer. ↗
- Nizar Habash. 2010. Introduction to Arabic Natural Language Processing. Morgan & Claypool Publishers. ↗
- Leah S. Larkey, Lisa Ballesteros, and Margaret E. Connell, 2007. Arabic Computational Morphology: Knowledge-based and Empirical Methods, chapter Light Stemming for Arabic Information Retrieval. Springer Netherlands, Kluwer/Springer edition. find
Updated
This page in Markdown → https://md.research.elamur.ai/free/en/papers/pasha-2013-dira-dialectal-arabic-information-retrieval/