Introduction
Natural Language Processing (NLP) tools typically rely on "clean," edited data such as news articles or official documents. However, for minority languages like Modern Irish, the linguistic reality of social media presents a significant "domain gap." Existing Irish parsers are primarily trained on the Irish Universal Dependencies Treebank (IUDT), which consists of standard, prescriptive text. When these tools encounter the informal nature of tweets—characterized by slang, missing accents (síneadh fada), and English-Irish code-switching (e.g., "Happenáil" for "happening")—their performance degrades sharply.
To address this, researchers have released TwittIrish, the first Universal Dependencies (UD) treebank specifically for Irish-language tweets. This work documents the "messy" linguistic realities of social media to provide a benchmark for building more robust NLP tools for minority languages.
Methodology
The development of TwittIrish employed a bootstrapping approach to maximize efficiency with limited human resources. This iterative cycle allowed for the gradual expansion of the gold-standard dataset.
The process involved:
- Initial Annotation: Manual annotation of a small seed set of 166 tweets by a linguist.
- Iterative Training: Training a parsing model on a combination of standard Irish data and the newly annotated tweets.
- Auto-Correction: Using the model to automatically annotate a new batch of tweets, followed by human verification and correction.
- Loop: Repeating this cycle until 866 tweets were fully parsed and verified.
The team also adapted the Universal Dependencies (UD) framework to handle social media-specific elements. This included defining rules for hashtags, @-mentions, and "over-splitting" (e.g., separating prefixes like ró- from adjectives).
Dataset and Linguistic Analysis
TwittIrish consists of 866 tweets (approximately 15,000 tokens). Of these, 700 were sourced from the older Lynn Twitter Corpus (LTC) and converted to UD format, while 166 were newly crawled.
Linguistic analysis reveals the stark difference between social media and formal Irish: only 38% of unique words in TwittIrish appear in the standard IUDT training data. The dataset captures unique phenomena, such as "hyper-corrections" and typos driven by smartphone autocorrect (e.g., agua instead of agus). Furthermore, the UD adaptation allows for the systematic treatment of non-syntactic elements like emojis and user mentions.
Experimental Results
The researchers evaluated parsing performance using the Labelled Attachment Score (LAS), comparing standard text (IUDT) against the new tweet dataset.
| System | IUDT (Standard) LAS | TwittIrish (Tweets) LAS |
|---|---|---|
| UDPipe v1 | 70.58 | 47.33 |
| AllenNLP (BiLSTM) | 71.56 | 48.73 |
| AllenNLP + gaBERT | 84.25 | 59.34 |
The results show a significant 25-point drop in performance when moving from standard text to tweets. Even the best-performing model, which utilized the monolingual gaBERT language model, only achieved ~59% accuracy on TwittIrish. This highlights the difficulty of parsing social media data. Interestingly, the authors observed a "Short-Tweet Paradox": unlike standard text where longer sentences are harder to parse, shorter tweets often had lower accuracy due to a higher density of non-syntactic elements like URLs and emojis.
Conclusion
TwittIrish represents a crucial step toward inclusive NLP for the Irish language. While the current dataset is relatively small (866 tweets), it provides essential gold-standard data for a challenging domain. Future work will focus on expanding the treebank and exploring semi-supervised learning techniques to leverage the millions of unlabelled Irish tweets available online.
Summary updated