Towards Sub-Word Level Compositions for Sentiment Analysis of Hindi-English Code Mixed Text
Ameya Prabhu, Aditya Joshi, Manish Shrivastava, Vasudeva Varma · 2016 · 251 citationsRead the paper
Sentiment analysis (SA) using code-mixed data from social media has several applications in opinion mining ranging from customer satisfaction to social campaign analysis in multilingual societies. Advances in this area are impeded by the lack of a suitable annotated dataset. We introduce a Hindi-English (Hi-En) code-mixed dataset for sentiment analysis and perform empirical analysis comparing the suitability and performance of various state-of-the-art SA methods in social media. In this paper, we introduce learning sub-word level representations in LSTM (Subword-LSTM) architecture instead of character-level or word-level representations. This linguistic prior in our architecture enables us to learn the information about sentiment value of important morphemes. This also seems to work well in highly noisy text containing misspellings as shown in our experiments which is demonstrated in morpheme-level feature maps learned by our model. Also, we hypothesize that encoding this linguistic prior in the Subword-LSTM architecture leads to the superior performance. Our system attains accuracy 4-5% greater than traditional approaches on our dataset, and also outperforms the available system for sentiment analysis in Hi-En code-mixed text by 18%.
What the full text shows
Working prototype- Subword-LSTM outperformed the previous state-of-the-art Hi-En code-mixed SA system. — 18% higher accuracy (On the authors' Hi-En code-mixed dataset)
- Subword-LSTM outperformed traditional sentiment analysis approaches. — 4-5% higher accuracy (On the authors' Hi-En code-mixed dataset)
- Subword-LSTM achieved higher F-score than Char-LSTM. — 0.658 vs 0.511 F-score (On the authors' Hi-En code-mixed dataset)
- Subword-LSTM achieved higher accuracy and F-score than Char-LSTM on external data. — 60.57% accuracy and 0.537 F-score vs 46.6% accuracy and 0.332 F-score (SemEval'13 Twitter Sentiment Analysis dataset)
- Setup
- A custom Hindi-English (Hi-En) code-mixed dataset split into training (64%), validation (16%), and testing (20%), plus the SemEval'13 Twitter dataset (7800 training, 1368 test tweets).
- How
- The authors developed a Subword-LSTM architecture that learns sub-word level representations using convolutional and maxpooling layers before the LSTM. This was compared against character-level LSTMs, lexicon-based lookups, and traditional classifiers like MNB and SVM.
- Limitations
- Small dataset size constrained the model to a simplistic architecture. · Lack of available annotated Hi-En code-mixed datasets for broader validation.
Summarized by Gemma 4 from the open-access full text · 18 Nov 2026. Read it