TL;DR
This paper introduces a novel, large-scale annotated dataset of Hindi-English code-mixed tweets for Part-of-Speech (POS) tagging. They also present a POS tagging model trained on this dataset, demonstrating its effectiveness in capturing the nuances of informal, multilingual social media language.
What Problem Does This Paper Address?
The increasing prevalence of code-mixing (using multiple languages within a single utterance) on social media platforms like Twitter presents a significant challenge for Natural Language Processing (NLP) tools. Specifically, automatically understanding the grammatical structure of these mixed-language texts, a crucial step for many downstream NLP tasks, is hindered by a lack of high-quality annotated data. Existing datasets are often small, difficult to obtain, or not representative of real-world social media content. This paper aims to bridge this gap by creating a comprehensive, event-driven dataset and demonstrating its utility for building robust code-mixed POS taggers.
Methods
The authors employ a multi-stage approach to create their dataset and evaluate their models.
- Data Collection: They collected tweets related to five specific, high-profile incidents in India using Twitter's streaming API.
- Language Identification and Filtering: A language identification model was used to filter tweets, ensuring they contained a significant mix of Hindi and English tokens. This was followed by manual inspection to remove irrelevant content.
- Annotation: The core of their methodology involves manual annotation of the selected tweets by two bilingual speakers. This annotation process covered both language identification at the token level and Part-of-Speech (POS) tagging. They adapted a universal POS tagset, introducing specific tags for proper nouns (PROPN), negative particles (PART_NEG), and interrogative pronouns (PRON_WH) to better suit the needs of social media analysis and downstream tasks like Named Entity Recognition and sentiment analysis.
- Modeling: They experimented with two sequence labeling models: Conditional Random Fields (CRF) and Long Short-Term Memory (LSTM) Recurrent Neural Networks. These models were trained using a set of hand-crafted features, including token information, language tags, and various linguistic and structural features.
Datasets
The primary contribution is the introduction of a newly created Hindi-English code-mixed Twitter dataset.
- Dataset Size: 1,489 tweets, comprising 33,010 tokens.
- Characteristics: Event-driven, closely resembling typical real-world tweets, and rich in Twitter-specific tokens like hashtags and mentions.
- Relation to Existing Datasets: It is noted as being larger than previous annotated code-mixed POS datasets and more representative of informal social media communication.
Key Insights and Ideas
- Code-mixing is complex: The paper highlights that code-mixing introduces unique challenges for POS tagging, especially with informal language, abbreviations, and variations in grammatical structure.
- Event-driven data is valuable: Curating data around specific events provides a rich source of topical and contextually relevant code-mixed content, which is crucial for building specialized NLP tools.
- Language tags are important: The inclusion of language tags as features significantly improves POS tagging performance, underscoring the importance of explicitly modeling multilingualism.
- Specific POS tags enhance utility: The introduction of custom POS tags like PROPN, PART_NEG, and PRON_WH can facilitate research in related NLP areas such as NER and sentiment analysis.
- Model performance varies by POS tag: The paper observes that their POS tagger performs less well on certain categories like adjectives and adverbs, likely due to differing grammatical rules between Hindi and English.
Key Results
- POSCRF Model Performance: The best performing model, POSCRF, achieved an overall F₁ score of 90.20% on the validation set.
- Impact of Language Tags: Removing language tags from the features led to a decrease in F₁ score to 88.64%, confirming their importance.
- LSTM Model Performance: The POSLSTM model achieved a lower F₁ score of 82.51%, suggesting that for this specific task and feature set, CRF might be more suitable or that the LSTM model was overfitting.
- Inter-annotator Agreement: High inter-annotator agreement was reported for both language annotation (0.97 Cohen's κ) and POS tagging (0.88 Cohen's κ), indicating the reliability of their annotation process.
Limitations and Future Work
- Performance on Adjectives and Adverbs: The authors acknowledge lower performance for POS tags like adjectives and adverbs, attributing it to the differing grammatical rules between Hindi and English.
- Future Work:
- Developing separate POS taggers for different grammatical structures (Hindi vs. English) and combining them.
- Leveraging the dataset for further research in Named Entity Recognition (NER).
- Exploring the creation of other downstream NLP tools like Parsers or Sentiment Analyzers using their dataset and refined models.
- Investigating building systems for question detection, potentially using the PRON_WH tag.
Summary updated