Detection of Emotions in Hindi-English Code Mixed Text Data
Not on the map. Why?
Abstract (arXiv)
Hindi-English code-mixing, the alternation between the two languages within a single utterance, accounts for a substantial share of user-generated content in India. Because such text is written in the Latin script without a standardised transliteration convention, one underlying word surfaces in many spellings and many tokens fall outside English lexica. This paper addresses emotion detection in this setting as a four-way classification problem over anger, fear, happiness and sadness, a finer-grained task than the polarity classification targeted by most prior work. We make three contributions. First, we construct a corpus of 1,589 code-mixed sentences drawn from Twitter and from video-platform comment sections, annotated by two bilingual speakers with an inter-annotator agreement of kappa = 0.94; the video-comment portion covers a longer, less hashtag-dominated register than the Twitter-only corpora used previously. Second, we propose a normalisation procedure that clusters transliteration variants by combining distributional similarity over skip-gram vectors with a hard constraint on consonant identity, since variation is carried almost entirely by vowels. Third, we compare five baselines under a common five-fold cross-validation protocol: Naive Bayes over character and over word n-grams, a word-level LSTM, a sub-word LSTM with convolved character embeddings, and an SVM over frequency-based word vectors. The sub-word LSTM attains the highest accuracy, 76.6%, against a majority-class floor of 30.8%, and the controlled comparison against an otherwise identical word-level LSTM isolates sub-word representation as the source of that gain. On macro-averaged F1, however, it ties with word n-gram Naive Bayes at 0.77, a margin that five-fold cross-validation on 1,589 instances cannot resolve. We report a per-class error analysis and discuss the limitations imposed by corpus scale.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 12 of its 26 references that are in the map. First posted on arXiv 19 May 2021.
Builds on
12 of 26 references.
References · 12
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,935
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,474
- 2016Enriching Word Vectors with Subword Informationcited by 1,583
- 2014Convolutional Neural Networks for Sentence Classificationcited by 1,127
- 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 997
- 2020GLUECoS : An Evaluation Benchmark for Code-Switched NLPcited by 102
- 2019A Survey of Code-switched Speech and Language Processingcited by 75
- 2020SemEval-2020 Task 9: Overview of Sentiment Analysis of Code-Mixed Tweetscited by 62
- 2020Processing South Asian Languages Written in the Latin Script: the Dakshina Datasetcited by 35
- 2016Towards Sub-Word Level Compositions for Sentiment Analysis of Hindi-English Code Mixed Textcited by 31
Built on by
Not cited yet.