Machine Learning and Lexical Rule-Based Cost-Efficient Emotion Annotation of Hinglish Utterances
- 19 August 2025
- journal article
- video audio-media
- Published by MyJove Corporation in Journal of Visualized Experiments
- No. 222,p. e68437
Abstract
Emotion annotation in code-mixed languages like Hinglish (Hindi-English) presents unique challenges due to linguistic complexity and resource constraints. This study introduces a hybrid active learning framework that combines lexical rules, machine learning, and iterative expert feedback to achieve cost-efficient, high-accuracy emotion annotation. Grounded in psychological theories of emotion, including Discrete Emotions Theory and Cognitive Appraisal Theory, the framework employs bilingual emotion dictionaries (e.g., mapping gussa and rage to anger), subword tokenization for compound terms (e.g., splitting into ), and active learning to prioritize ambiguous samples. Evaluated on a 19,000 war and conflict-related Hinglish tweets dataset, the framework achieved 81% accuracy (F-score: 0.76) while reducing operational costs by 40% compared to manual annotation. Lexical rules resolved 89% of code-switching ambiguities, and iterative refinements enabled incremental accuracy gains from 72% to 81%. The system's efficiency stems from limiting human effort to 73% of the dataset, with automated preprocessing of emojis, hashtags, and slang. This study is based on the hypothesis that integrating lexical rule-based methods with active learning and machine learning can enhance the accuracy of emotion annotation in Hinglish text, while simultaneously reducing the manual labeling and overall annotation effort.Keywords
This publication has 26 references indexed in Scilit:
- A survey on hate speech detection and sentiment analysis using machine learning and deep learning modelsAlexandria Engineering Journal, 2023
- A systematic review of applications of natural language processing and future challenges with special emphasis in text-based emotion detectionArtificial Intelligence Review, 2023
- A cognitive emotion model enhanced sequential method for social emotion cause identificationInformation Processing & Management, 2023
- An emotion-based personalized music recommendation framework for emotion improvementInformation Processing & Management, 2022
- Multimodal sentiment analysis: A systematic review of history, datasets, multimodal fusion methods, applications, challenges and future directionsInformation Fusion, 2022
- Semi-supervised labeling: a proposed methodology for labeling the twitter datasetsMultimedia Tools and Applications, 2022
- Active learning in engineering education. A review of fundamentals, best practices and experiencesInternational Journal on Interactive Design and Manufacturing (IJIDeM), 2019
- A Novel Active Learning Method Using SVM for Text ClassificationInternational Journal of Automation and Computing, 2016
- Active learning for sentiment analysis on data streams: Methodology and workflow implementation in the ClowdFlows platformInformation Processing & Management, 2015
- Text-based emotion classification using emotion cause extractionExpert Systems with Applications, 2014