Elamur Research⌕
☰
home / papers / 2011 / CODACT: Towards Identifying Orthographic Variants in Dialectal Arabic

CODACT: Towards Identifying Orthographic Variants in Dialectal Arabic

Paper · 2011 · Pradeep Dasigi and Mona Diab

Summary

Dialectal Arabic (DA) is now widely written online, but it has no spelling standard. The same word can appear in many forms, and this makes data sparse for NLP tools built for Modern Standard Arabic (MSA). The authors present CODACT, an initial system that detects spelling variants in Arabic-script DA. They treat the task as unsupervised clustering. Focal word types are placed in a vector space, and cell values come from three similarity measures:

  • plain Levenshtein distance (LEDM),
  • a phonologically biased edit distance (BEDM), which counts letters with similar sounds as matches,
  • contextual string similarity (CSS).

Clusters are built with CLUTO repeated bisection using cosine similarity. Results are scored against gold-corrected Egyptian and Levantine data. The best setup, LEDM combined with BEDM over a large feature space, reaches an entropy of about 0.19, with 68% (EGY) and 64% (LEV) cluster precision. The baseline scores 0.47/0.51 entropy and 29% precision. The authors present this as the first attempt at this problem for DA and as a first step toward normalizing DA to the CODA convention.

Key points

  • Applying MSA tokenizers to DA gives about 88% accuracy, compared with 99.2% on MSA. The authors attribute the gap mainly to differences between the language varieties, not only to genre.
  • Data: the COMMENTDA set plus an augmented collection, RCorpora, with about 6M strings for each dialect. There are 729 focal types for EGY and 717 for LEV.
  • Two matrix designs were compared:
    • NxN: focal words against the same focal words.
    • NxM: focal words against all corpus types, with roughly 205K–434K dimensions.
    • NxM was better for every metric in both dialects.
  • BEDM consistently beat LEDM, and LEDM+BEDM beat both on precision, recall and entropy. CSS was the weakest measure and generally added noise, which the authors attribute to sparse surface forms in a morphologically rich language.
  • Doubling the data helped only slightly, and mostly for CSS. Planned future work includes lemma-based co-occurrence and normalization to CODA.

Interesting ideas

  • I1. Sound-class edit distance. Letters whose pronunciations can coincide form equivalence classes, and swapping within a class costs nothing. This captures variants that plain edit distance pushes too far apart.
  • I2. Profile-based representation. Each candidate word is described by its similarity to every type in the corpus, not just to the other candidates. Comparing these profiles with cosine gives a more robust signal than a direct pairwise distance.
  • I3. Ablating every similarity signal and every combination. The authors tested each measure alone and in all mixes. A weak signal (contextual similarity on small data) turned out to hurt a strong combination, so more evidence is not automatically better.
  • I4. Scoring clusters against gold groupings with a random baseline. Clusters are evaluated with entropy and cluster precision/recall, and the random clustering serves as a floor.
  • I5. Identify first, normalize later. Variant detection is separated from choosing a canonical form, and spelling errors are treated as a subset of legitimate variation.

For Mova

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

  • I1 (tokens): A similar bias for English informal or phonetic spellings could help map unknown words to known lemmas before tagging.
  • I2 (tokens): Clustering unknown or variant word forms by their similarity profiles could propose lemma merges that remain explainable.
  • I3 (learn): When combining witness parsers for silver data, ablate each witness and drop any that lowers agreement quality.
  • I4 (learn): This gives a ready negative-control setup for any induced grouping, such as verb classes or repair-rule families.
  • I5 (tokens): Keeping a variant-cluster step separate from normalization would let each decision be inspected and explained on its own.

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

 Fields, topics and concepts

Cite

Cite as Pradeep Dasigi and Mona Diab. 2011. CODACT: Towards Identifying Orthographic Variants in Dialectal Arabic. Proceedings of 5th International Joint Conference on Natural Language Processing.

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

@inproceedings{dasigi2011codact,
  title = {{CODACT: Towards Identifying Orthographic Variants in Dialectal Arabic}},
  author = {Pradeep Dasigi and Mona Diab},
  booktitle = {Proceedings of 5th International Joint Conference on Natural Language Processing},
  year = {2011},
  doi = {10.7916/d8np2dqz},
  url = {https://doi.org/10.7916/d8np2dqz}
}

References

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

  1. Andrew R. Golding and Dan Roth. 1999. A winnow-based approach to context-sensitive spelling correction Machine Learning, 34(1-3):107–130. ↗
  2. Charles A. Ferguson. 1959. Diglossia, Word. Journal of the Linguistic Circle of New York, Vol. 15, No. 2, August 1959, pp. 325-340 find
  3. Nizar Habash and Hayden Metsky 1959. Automatic Learning of Morphological Variations for Handling Out-of-Vocabulary Terms in Urdu-English Machine Translation. 8th AMTA conference, Hawaii, 21-25 October 2008 find
  4. Donald E. Knuth. The Art of Computer Programming – Volume 3: Sorting and Searching Addison- Wesley Publishing Company, 1973. find
  5. Fei Huang , Ahmad Emami and Imed Zitouni. When Harry Met Harri: Cross-lingual Name Spelling Normalization. Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, pages 391–399. find
  6. Hema Raghavan and James Allan. Matching Inconsistently Spelled Names in Automatic Speech Recognizer Output for Information Retrieval. Proceedings of the conference on Human Language Technology and Empirical Methods in Natural Language Processing, 2005. find
  7. Mark D. Kernighan, Kenneth W. Church, and William A. Gale. 1990. A spelling correction program based on a noisy channel model. Proceedings of COLING-90, pages 205–210
  8. Mona Diab, Nizar Habash, Owen Rambow, Mohamed Al Tantawy, Yassine Benajiba. 2010. COLABA: Arabic Dialect Annotation and Processing.. Proceedings of the Workshop on Semitic Language Processing, LREC, May, Malta find
  9. Nizar Habash, Mona Diab, Owen Rambow. 2011. Conventional Orthography for Dialectal Arabic (CODA) V.1.0.. Technical Report 137382, http://academiccommons.columbia.edu/catalog/ac:137382, Columbia University, New York, NY, USA ↗
  10. Mona Diab, Kadri Hacioglu and Daniel Jurafsky. 2007. Automated Methods for Processing Arabic Text: From Tokenization to Base Phrase Chunking. In Arabic Computational Morphology: Knowledge-based and Empirical Methods. find
  11. Nizar Habash and Owen Rambow. 2005. Arabic Tokenization, Morphological Analysis, and Part-of-Speech Tagging in One Fell Swoop. Proceedings of the Conference of American Association for Computational Linguistics (ACL’05). find
  12. Rahul Bhagat and Eduard Hovy. 2007. Phonetic Models for Generating Spelling Variants. Proceedings of the 20th international joint conference on Artifical intelligence. find
  13. Spence Green and Christopher D. Manning. 2010. Better Arabic Parsing: Baselines, Evaluations, and Analysis. Proceedings of the 23rd International Conference on Computational Linguistics (Coling 2010).
  14. Seth Kulick. 2010. Simultaneous Tokenization and Part-of-Speech Tagging for Arabic without a Morphological Analyzer. Proceedings of the ACL 2010 Conference Short Papers.
  15. V. I. Levenshtein. 1966. Binary codes capable of correcing deletions,insertions and reversals. Soviet Physics Doklady, Vol. 10, p.707–710. find
  16. Ying Zhao and George Karypis. 2004. Empirical and Theoretical Comparisons of Selected Criterion Functions for Document Clustering. Machine Learning, Volume 55 Issue 3, June 2004. ↗

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/dasigi-2011-codact-identifying-orthographic-variants-dialectal/