Elamur Research⌕
☰
home / papers / 2013 / Tweet Conversation Annotation Tool with a Focus on an Arabic Dialect, Moroccan Darija

Tweet Conversation Annotation Tool with a Focus on an Arabic Dialect, Moroccan Darija

Paper · 2013 · Stephen Tratz, Douglas Briesch, Jamal Laoudi et al.

Summary

Historically unwritten languages such as Moroccan Darija have very few textual resources, but they increasingly appear on Twitter. There they are often written in more than one script and mixed with other languages, even inside a single message. The authors built the Dialect Annotation Tool (DATOOL), a graphical annotator for tweets. It can pull in the whole conversation around each tweet, either from a user's timeline or via Apollo, so annotators see the surrounding discourse.

Version 1.0 supports tweet-level and segment-level language marking and shows summary statistics. Version 2.0 adds a built-in Maximum Entropy dialect classifier that pre-labels tweets and shows its confidence, so the annotator corrects labels instead of starting from nothing. Annotations can be exported as GEXF graphs for GEPHI, which supports network and code-switching analysis. A native speaker labeled about 3,000 tweets at roughly 250 per hour. Adding LDA-derived features raised classifier recall from 24.1% to 44.1% with precision near 97%. The work matters for building corpora when few native speakers are available.

Key points

  • A native Darija speaker annotated 3,013 tweets from 3 users, about 1,000 per user, at about 250 tweets/hour. Of the 1,400 Arabic-script tweets, 1,013 contained Darija.
  • The classifier separates Darija, Egyptian, Gulf, Levantine and MSA. It is a MaxEnt model trained with LIBLINEAR on the Zaidan and Callison-Burch data, extended with new Darija material:
    • 399 jokes from noktazwina.com;
    • 874 web pages found with Darija-specific queries;
    • 2,745 entries selected by semi-supervised expansion from 37,538 hespress.com comments.
  • The semi-supervised cutoff was checked by sampling 131 items at intervals of 45 down the ranked list. A further spot check found 118 of 122 entries really contained Darija.
  • Results on the annotated tweets:
    • baseline: 96.9% precision, 24.1% recall;
    • with LDA cluster features: 97.2% precision, 44.1% recall.
    • Most apparent false positives turned out to be errors in the gold labels.
  • GEXF export offers four views: social network, information network, social-information network, and the "plus" view. Visualizations showed that one user wrote mostly Romanized Darija, often mixed with French. The current classifier works only on Arabic-script text and only at the tweet level.

Interesting ideas

  • I1. When self-training grows a set of examples, the authors checked a ranked list at fixed intervals and cut it at the first wrong sample, then spot-checked inside each block. This gives a cheap, documented estimate of how clean the selected data is.
  • I2. They abstracted each token into a "shape" by mapping letter classes to placeholder symbols, which lets the model generalize across spellings in noisy text.
  • I3. Automatic labels are shown with their confidence, and a user-set threshold hides the weak ones, so humans only verify plausible suggestions.
  • I4. Annotators label a message while seeing the full conversation around it, because a message's meaning and language often depend on earlier turns.
  • I5. One set of annotations is exported as several graph projections: who addresses whom, message order, and both combined. This shows different patterns for analysis.

For Mova

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

  • I1 (learn): silver data agreed by witness parsers could be ranked by agreement and audited this way, setting an explicit acceptance cutoff instead of a guessed threshold.
  • I2 (tokens): shape signatures for unknown or misspelled English words could back up the tagger and morphology when the lexicon has no entry.
  • I3 (learn): LLM-teacher or parser outputs could go to review filtered by confidence, which focuses human effort and makes each acceptance traceable.
  • I4 (frames): speech-act and coreference decisions could explicitly use the previous turns of a dialogue, recording which turn justified each decision.
  • I5 (world): the world of a text could be rendered as separate entity-interaction and event-order graphs, which would help debugging and explaining answers.

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 Stephen Tratz, Douglas Briesch, Jamal Laoudi and Clare Voss. 2013. Tweet Conversation Annotation Tool with a Focus on an Arabic Dialect, Moroccan Darija. Proceedings of the 7th Linguistic Annotation Workshop and Interoperability with Discourse.

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

@inproceedings{tratz2013tweet,
  title = {{Tweet Conversation Annotation Tool with a Focus on an Arabic Dialect, Moroccan Darija}},
  author = {Stephen Tratz, Douglas Briesch, Jamal Laoudi and Clare Voss},
  booktitle = {Proceedings of the 7th Linguistic Annotation Workshop and Interoperability with Discourse},
  year = {2013},
  url = {https://aclanthology.org/W13-2317/}
}

References

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

  1. Mathieu Bastian, Sebastien Heymann, and Mathieu Jacomy. 2009. Gephi: An Open Source Software for Exploring and Manipulating Networks. In International AAAI Conference on Weblogs and Social Media. ↗
  2. Abdelali Bentahila and Eirlys E Davies. 1983. The Syntax of Arabic-French Code-Switching. Lingua, 59(4):301–330. ↗
  3. Adam L. Berger, Vincent J. Della Pietra, and Stephen A. Della Pietra. 1996. A Maximum Entropy Approach to Natural Language Processing. Computational Linguistics, 22(1):39–71. ↗
  4. Shane Bergsma, Paul McNamee, Mossaab Bagdouri, Clayton Fink, and Theresa Wilson. 2012. Language Identification for Creating Language-Specific Twitter Collections. In Proceedings of the 2012 Workshop on Language in Social Media (LSM 2012), pages 65–74. find
  5. David Blei, Andrew Ng, and Michael Jordan. 2003. Latent dirichlet allocation. The Journal of Machine Learning Research, 3:993–1022. ↗
  6. William B Cavnar and John M Trenkle. 1994. Ngram-based text categorization. Ann Arbor MI, 48113(2):161–175. find
  7. Joaquim Ferreira da Silva and Gabriel Pereira Lopes. 2006. Identification of document language is not yet a completely solved problem. In Computational Intelligence for Modelling, Control and Automation, 2006 and International Conference on Intelligent Agents, Web Technologies and Internet Commerce, International Conference on, pages 212–212. IEEE. find
  8. Rong-En Fan, Kai-Wei Chang, Cho-Jui Hsieh, Xiang-Rui Wang, and Chih-Jen Lin. 2008. LIBLINEAR: A Library for Large Linear Classification. Journal of Machine Learning Research, 9:1871–1874. ↗
  9. Hieu Khac Le, Jeff Pasternack, Hossein Ahmadi, M. Gupta, Y. Sun, Tarek F. Abdelzaher, Jiawei Han, Dan Roth, Boleslaw K. Szymanski, and Sibel Adali. 2011. Apollo: Towards factfinding in participatory sensing. In IPSN, pages 129–130. find
  10. Paul McNamee. 2005. Language identification: A solved problem suitable for undergraduate instruction. Journal of Computing Sciences in Colleges, 20(3):94–101. find
  11. Rabia Redouane. 2005. Linguistic constraints on codeswitching and codemixing of bilingual Moroccan Arabic-French speakers in Canada. In ISB4: Proceedings of the 4th International Symposium on Bilingualism, pages 1921–1933. find
  12. Clinton Robinson and Karl Gadelii. 2003. Writing Unwritten Languages, A Guide to the Process. http://portal.unesco.org/education/en/ev.php-URL ID=28300&URL DO=DO TOPIC&URL SECTIO N=201.html, UNESCO, Paris, France. December. ↗
  13. Stephen Tratz and Antonio Sanfilippo. 2007. A High Accuracy Method for Semi-supervised Information Extraction. In Human Language Technologies 2007: The Conference of the North American Chapter of the Association for Computational Linguistics; Companion Volume, Short Papers, pages 169–172. find
  14. Tommi Vatanen, Jaakko J Väyrynen, and Sami Virpioja. 2010. Language identification of short text segments with n-gram models. In Proceedings of the Seventh International Conference on Language Resources and Evaluation LREC’10. find
  15. Omar Zaidan and Chris Callison-Burch. 2013. Arabic dialect identification. ↗

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/tratz-2013-tweet-conversation-annotation-tool-focus/