Machine Learning Techniques for Sentiment Analysis of Code-Mixed and Switched Indian Social Media Text Corpus - A Comprehensive Review
Paper · 2022 · Gazi Imtiyaz Ahmad, Jimmy Singla, Anis Ali et al.
Summary
A social-media message can move between languages without changing its subject, its intended audience, or the feeling it expresses. That ordinary feature of multilingual communication creates a difficult computational problem: how can a system recognize an opinion when vocabulary, spelling, script, and grammatical expectations may change within the message? Gazi Imtiyaz Ahmad and colleagues examine this problem in their review of sentiment analysis for Indian social-media text that mixes English with Indian languages. Their subject is broader than classifying polished sentences as favorable or unfavorable. It includes the practical work needed to collect informal messages, identify their languages, represent their contents, and distinguish sentiment from related phenomena such as humor, aggression, and hate speech.
The paper separates two forms of multilingual expression. Code-mixing places material from different languages within a sentence; code-switching moves between languages across sentences. The authors acknowledge that the terms are frequently used interchangeably, but retain this distinction to explain their subject. Their examples contrast a sentence containing English words inside a mixed construction with a passage whose opening sentence is English and whose following sentence changes language. Both communicate the same warning about an application being rejected. The computational difficulty becomes greater when an Indian language is written in Roman letters, because script no longer provides a dependable indication of language. Informal abbreviations, unconventional spelling, and grammatical variation add further uncertainty.
The review organizes earlier research around familiar machine-learning approaches, including support vector machines, Naïve Bayes, decision trees, and random forests, and around neural approaches based on convolutional and recurrent processing. It also discusses combinations of these techniques. These are systems reported by other researchers, instead of a new classifier introduced and tested by Ahmad and colleagues. The evidence comes from studies using different language pairs, platforms, annotation schemes, and prediction tasks. Accordingly, the paper offers a map of research practices and reported outcomes, instead of a single experiment in which every approach receives identical training and evaluation conditions.
The authors identify several recurring patterns. Support vector machines are especially common among traditional classifiers, while bidirectional long short-term memory systems are prominent among the neural approaches. Twitter supplies much of the reviewed material, with Facebook and review collections also appearing frequently. Hindi–English receives the greatest attention, followed by Bengali–English; other combinations appear less consistently. Individual results illustrate both the possibilities and the dependence on setting. The review reports 85.5% accuracy for Naïve Bayes on English–Punjabi agricultural material, 69.7% accuracy for a sub-word recurrent approach to Hindi–English sentiment, and differing preferred architectures across Hindi–English, Bengali–English, and Kannada–English collections.
The paper’s central conclusion is that mixed-language opinion analysis requires attention to the whole data-processing chain. Choosing a classifier matters, but so do the available annotations, the representation of informal words, the distinction between scripts and languages, and the application domain. The authors describe neural approaches as stronger overall in the studies they review, yet their evidence does not establish a universally superior architecture. Their strongest practical message concerns uneven resources: annotated collections, language-processing tools, and sentiment vocabularies remain inadequate for many language combinations. Progress therefore depends on better linguistic evidence and evaluation conditions as well as on classification techniques.
Interesting ideas
Separate language from script. A message written entirely in Roman letters can still contain several languages. Treating script recognition as language recognition would hide the central ambiguity described in the paper. This distinction applies beyond sentiment analysis, wherever search, document routing, or linguistic annotation must handle transliterated material. A representation should preserve what is directly observable about the writing system while allowing the language decision to remain uncertain.
Represent noisy text at several scales. The reviewed research uses word features, character sequences, and sub-word representations because informal spelling can make complete word forms unreliable. Smaller units preserve recurring evidence across variants, while larger units retain lexical and contextual information. The reusable principle is to match the representation to the instability of the input, rather than assuming that a conventional word boundary supplies the most useful unit.
Evaluate intermediate tasks separately. Language identification, grammatical tagging, and entity recognition appear throughout the review because sentiment prediction depends on more than its final classifier. Measuring these components independently helps distinguish a failure to recognize the input from a failure to interpret an opinion. This approach is useful in any processing pipeline where an apparently semantic error may originate in an earlier annotation decision.
Keep the prediction target explicit. Polarity, emotion, sarcasm, aggression, and hate speech are related subjects, but they ask different questions. The paper’s broad coverage makes that distinction particularly important. A useful engineering lesson is to attach an explicit task definition to every dataset and score. Otherwise, a strong result on one label scheme can be mistaken for evidence about another capability.
Combine complementary evidence. Some reviewed systems join surface spelling features with contextual sequence representations, while others combine several classifiers. Their shared idea is that different evidence sources can compensate for different weaknesses. This transfers to rule-based systems as well: lexical evidence, grammatical structure, and source information may each contribute something useful, provided that their combined value is measured rather than assumed.
Compare within a defined setting. The paper places many results beside one another, but language pair, platform, domain, and metric vary between studies. The transferable lesson is to make those conditions part of the result itself. A comparison becomes informative when the reader can see what remained fixed and what changed. This principle applies to evaluating parsers, retrieval systems, annotation tools, and any other component whose apparent quality depends on its test material.
Treat resource coverage as an engineering variable. A method that works for a well-studied language pair may rely on annotations or lexical resources absent elsewhere. Resource availability should therefore be recorded alongside algorithmic choices. This helps researchers identify whether the next useful investment is a more elaborate predictor, a better dictionary, clearer annotation guidance, or broader coverage of the intended users’ language practices.
Deep dive: Machine Learning Techniques for Sentiment Analysis of Code-Mixed and Switched Indian Social Media Text Corpus - A Comprehensive Review
A detailed review of sentiment analysis for mixed Indian-language social media, comparing learning methods, reported results, and resource gaps. · about 37 minutes to read
How Mova uses it
Mova is a small language system written in Rust whose native understanding follows explicit linguistic structures, rules, learned parameters, and graph knowledge. Its assessed language core is English. The connections below are proposed transfers from the review, checked against documented mechanisms rather than claims that Mova already handles mixed Indian-language sentiment. None establishes a measured application of this paper. The status marks describe the proposed relationship to existing work; where the available evidence does not settle implementation scope, that uncertainty remains explicit.
Idea: Keep script and language as separate observations. Where: Introduction and Discussion. Area: multilingual data representation. Mova: частково є (language-specific English and French processing; dictionary-index language fields). A future mixed-language reader could record the observed script independently of a proposed language identity. Roman letters would then remain a property of the text instead of a decision that its words are English. Why Mova: this would prevent an early writing-system assumption from silently determining later dictionary lookup and interpretation. Token-level mixed-language support is not established by the documented mechanisms.
Idea: Distinguish mixing within a sentence from switching between sentences. Where: Introduction. Area: syntax and document representation. Mova: нове. The review’s distinction could become an explicit annotation proposal describing where a language transition occurs relative to sentence structure. This would require a dedicated mechanism; its novelty beyond the available documentation is unknown. Why Mova: sentence-internal changes may need local lexical handling, whereas a transition between sentences may permit routing an entire sentence to a different reader. The usefulness of that distinction for Mova remains unmeasured.
Idea: Preserve the original text through normalization. Where: Introduction and Discussion, descriptions of spelling variation and preprocessing. Area: data processing. Mova: частково є (dictionary-index examples preserve exact sentence text and source identity). A normalization layer could propose a conventional form while retaining the original spelling, token position, and reason for the proposal. The paper establishes the prevalence of irregular forms; this reversible design is a Mova hypothesis. Why Mova: retaining both forms would allow later diagnosis of whether an interpretation failed because the input was unusual or because normalization removed relevant evidence.
Idea: Handle informal variants with bounded lexical rules. Where: Introduction, examples of abbreviations, phonetic spelling, and repeated letters. Area: morphology and lexicography. Mova: частково є (compiled lexical knowledge, morphology, and closed deterministic repair rules). The paper suggests useful classes of input variation for dictionary workers to investigate. Proposed mappings should remain limited to forms supported by evidence, with unknown cases left unresolved. Why Mova: small, inspectable rules could improve access to known meanings without replacing its transparent language core with an unrestricted rewriting stage. No mixed-language benefit has been measured.
Idea: Compare word, character, and sub-word evidence. Where: sections on Support Vector Machine, Artificial Neural Network, and Convolutional Neural Network. Area: representation and evaluation. Mova: частково є (native tokenization, morphology, and productive derivation). Mova could compare which errors are recoverable through whole-word lookup and which require evidence from smaller units. Borrowing this question does not require adopting the reviewed neural architectures. Why Mova: it would direct lexical and morphological work toward observed gaps rather than assuming that every unfamiliar spelling needs a new dictionary entry.
Idea: Measure language identification independently. Where: Support Vector Machine section and Table I. Area: evaluation. Mova: нове. A mixed-language extension could maintain a separate test of language decisions before evaluating downstream interpretation. A dedicated evaluation of this kind is not established by the digest, and broader novelty is unknown. Why Mova: a wrong sentiment or frame should not be attributed to reasoning when the system first selected the wrong language-specific resources. The review’s language-identification results motivate this diagnostic separation, rather than predicting how accurately Mova would perform.
Idea: Audit grammatical tagging before changing semantic rules. Where: Decision Tree and Random Forest sections; Table I. Area: syntax and diagnosis. Mova: вже є (native tagging and parsing; en rules-audit reports tag and attachment diagnostics). The review reinforces the importance of grammatical annotation as a separate computational problem in mixed text. Mova can apply its existing diagnostic discipline when considering future language coverage. Why Mova: a semantic repair that compensates for an incorrect grammatical tag may introduce errors elsewhere. Existing audits support this principle, but do not establish mixed-language tagging capability.
Idea: Keep entity recognition distinct from language recognition. Where: Random Forest section and Table I. Area: information extraction. Mova: частково є (world entities and dictionary evidence preserve structured identities). The review includes systems addressing both language identification and entity extraction, suggesting separate observations instead of a single decision. A future adapter could retain uncertainty about whether an unfamiliar item is a name, a foreign word, or both. Why Mova: this would reduce pressure to force every unknown form into an ordinary lexical category. Such an adapter remains a proposal.
Idea: Define polarity as its own task. Where: Introduction and reviewed sentiment studies. Area: semantics and task design. Mova: нове. A sentiment extension should declare whether it predicts positive, negative, and neutral attitudes, and what text span or target those labels concern. The documented frames, values, and irony candidates do not establish such a classifier. Why Mova: an explicit polarity task would prevent evaluations of existing pragmatic judgments from being presented as sentiment accuracy. Its implementation and any benefit would require separate evidence.
Idea: Keep emotion labels separate from polarity labels. Where: Convolutional Neural Network section and Table I. Area: pragmatics and annotation. Mova: частково є (compiled feelings and pragmatic structures). The review includes emotion studies alongside sentiment work, but that proximity does not make their labels interchangeable. Mova could represent an emotional state and an evaluative attitude as separate fields when evidence supports both. Why Mova: a single favorable-or-unfavorable value would otherwise erase distinctions that may matter to story interpretation. Dedicated mixed-language emotion recognition is not documented.
Idea: Treat sarcasm as an interpretation requiring contextual evidence. Where: Random Forest section and Table I. Area: pragmatics. Mova: частково є (prag produces irony candidates with reasons). The reviewed sarcasm systems offer a task against which a future extension could be evaluated, while Mova’s existing candidate status should remain visible. Why Mova: marking possible incongruity is useful evidence, but it does not justify automatically reversing a sentence’s sentiment. The paper reports classifiers for this phenomenon; it does not validate Mova’s present rules or establish a shared label definition.
Idea: Separate aggression from sentiment. Where: Convolutional Neural Network section and Table I. Area: task semantics. Mova: частково є (typed pragmatic observations and world judgments). The aggression study distinguishes overt, covert, and absent aggression. Mova could preserve a similarly explicit task identity rather than treating an unfavorable opinion as aggression. Why Mova: this would make downstream judgments easier to explain and evaluate. Existing value judgments do not establish an aggression detector, and the review provides no evidence about their correspondence.
Idea: Separate hate-speech decisions from general negative attitude. Where: Convolutional Neural Network section and Table I. Area: annotation and evaluation. Mova: нове. A dedicated extension would need its own label definitions, source-bound examples, and admission criteria. Its status outside the digest is unknown. Why Mova: the review includes hate-speech results with distinct datasets and metrics, showing why a broad sentiment score should not stand in for that task. This is a proposal for maintaining clear interfaces, not evidence that Mova can make these classifications.
Idea: Attach dataset identity to every score. Where: Results and Table I. Area: evaluation provenance. Mova: вже є (dated benchmark reports, retained traces, and source-bound measurements). The review’s varied tasks and corpora reinforce an existing requirement: a result needs its language, task, dataset, and evaluation condition to remain interpretable. Why Mova: this keeps a local improvement from becoming an unsupported claim about the whole system. The relevant transfer is continued use of a documented practice, with no new measured application asserted.
Idea: Preserve training and testing distinctions. Where: Random Forest section, entity-recognition discussion. Area: evaluation. Mova: вже є (held-out gates, teacher-separated assessment, and fresh-process retention checks). The reported entity-recognition training accuracy illustrates why the evaluation stage must accompany a number. Mova should continue recording whether an outcome concerns fitting, development, assessment, or retained knowledge. Why Mova: those observations answer different questions, and a successful training result cannot establish performance on unseen material. The review supports the distinction without adding a new Mova measurement.
Idea: Compare classifiers under matching conditions. Where: Naïve Bayes section and Table I. Area: experimental design. Mova: вже є (paired comparisons, held-out evaluation, and regression gates). The English–Punjabi comparison is more informative for algorithm choice than unrelated scores from different language pairs. Mova could apply the same discipline to comparisons between rules, learned scorers, and graph-based readers. Why Mova: holding the task and material fixed makes it easier to identify the consequence of the actual change. Cross-paper score ordering would not provide that evidence.
Idea: Stratify evaluation by application domain. Where: Naïve Bayes section and Discussion. Area: evaluation and source metadata. Mova: частково є (dictionary-index source domains and separate school courses). Agricultural posts, movie reviews, and political discussions need not expose the same linguistic difficulties. Mova could report errors by declared domain while preserving the overall evaluation. Why Mova: an apparently general lexical improvement may mainly benefit a narrow vocabulary. The review motivates this analysis, but does not provide Mova-specific evidence that domain stratification changes a decision.
Idea: Test transfer between social platforms. Where: Results and Discussion. Area: robustness evaluation. Mova: частково є (versioned corpus sources and source-bound evidence). A future informal-language assessment could distinguish results on the originating platform from results on another platform. This would require compatible annotation and a declared comparison, rather than simply pooling messages. Why Mova: platform-specific spelling and conversational context might affect parsing or interpretation. The review shows platform diversity, but does not establish a quantified transfer failure for Mova.
Idea: Test the effect of script compatibility. Where: Naïve Bayes section, English–Bengali movie-review study. Area: data distribution and evaluation. Mova: нове. The review reports that classifier behavior depends on whether training and testing material share a Roman-script form. A Mova experiment could preserve script conditions explicitly and assess them separately. Broader implementation status is unknown. Why Mova: this could expose a representation mismatch that would otherwise look like a weakness in sentiment reasoning. The proposed test has not been run.
Idea: Combine lexical and structural evidence explicitly. Where: Convolutional Neural Network section, hybrid sentiment approach. Area: evidence combination. Mova: частково є (frames combine grammatical structure with compiled lexical knowledge). The reviewed hybrid approach joins orthographic features with contextual representations. Mova could investigate an analogous combination of spelling observations, dictionary senses, and dependency-derived roles. Why Mova: each source may resolve cases another leaves ambiguous, while explicit contributions would preserve diagnosability. The paper’s neural result supplies motivation, not evidence for the effectiveness of this alternative combination.
Idea: Measure ensembles rather than assuming diversity helps. Where: Table I and Discussion. Area: statistics and model comparison. Mova: частково є (treeagree uses explicit agreement rules, provenance, and structural gates). The review includes classifier ensembles, but their existence does not show that arbitrary voting is reliable. Mova could evaluate whether each additional witness improves a specific downstream decision. Why Mova: a collection of agreeing systems can share an error, so source diversity should remain an experimental question. Existing tree agreement is a bounded mechanism, not a sentiment ensemble.
Idea: Preserve grammatical validity when incorporating additional evidence. Where: Decision Tree and Random Forest sections motivate grammatical analysis; operational transfer is a Mova proposal. Area: syntax and admission. Mova: вже є (treeagree validates edits and records rejected changes). Mixed-language evidence could eventually supply annotation proposals, while existing structural checks would still govern whether edits are admissible. Why Mova: improved local evidence should not silently produce an invalid dependency structure. The paper does not prescribe Mova’s validation design, and this connection does not establish coverage of mixed-language grammar.
Idea: Record annotation provenance alongside labels. Where: Artificial Neural Network section, manually assembled and annotated Facebook corpus; Table I. Area: data provenance. Mova: вже є (dictionary-index source credits, versioned labels, and reviewed corpus admission). The review repeatedly relies on annotated resources, making their origin central to interpretation. Mova should retain who supplied a label, what source it describes, and which version is current. Why Mova: a usable annotation is evidence with a history, instead of an unqualified fact that can safely enter every task.
Idea: Inventory resource gaps by language pair. Where: Discussion and Conclusion. Area: resource planning. Mova: частково є (source inventories and dictionary-index coverage reports). A future multilingual inventory could distinguish missing parses, absent lexical evidence, unavailable annotation, and an unsupported reader. Why Mova: these are different obstacles that call for different work. The review’s uneven language coverage suggests a useful planning structure, but does not establish which particular resources Mova would need or how much improvement obtaining them would produce.
Idea: Treat sentiment vocabularies as attributed lexical resources. Where: Discussion, shortage of sentiment lexical resources. Area: lexicography. Mova: частково є (free-dictionary evidence indexing and reviewed lexical admission). Sentiment-related senses could be proposed from attributed examples, with context and uncertainty retained. A frequent association should remain a candidate rather than becoming an admitted meaning automatically. Why Mova: this fits its dictionary direction while reducing the risk that source-specific attitudes become universal lexical properties. Mixed Indian-language sentiment dictionaries are not established by the documented scope.
Idea: Use mixing measures as analysis variables. Where: Naïve Bayes section, Bengali–English corpus preparation. Area: statistics. Mova: нове. The review names the Code-Mixed Index and Code-Mixed Factor but does not supply their definitions. Mova could investigate whether a properly specified mixing measure helps organize error analysis, after obtaining an authoritative definition. Broader novelty is unknown. Why Mova: failures may vary with the structure of multilingual input, and a declared descriptor could make that variation visible. No formula or threshold should be invented from this review.
Idea: Evaluate preprocessing through downstream consequences. Where: Introduction, Artificial Neural Network section, and Discussion. Area: data processing and evaluation. Mova: частково є (tokenization evaluations and controlled language-rule comparisons). The paper treats cleaning as necessary, but it does not establish which transformations preserve all relevant sentiment evidence. Mova could compare interpretation before and after each bounded transformation. Why Mova: a normalization that improves dictionary coverage might still remove a useful expressive distinction. This proposed downstream test extends existing diagnostic practice without claiming a demonstrated effect.
Idea: Preserve the boundary between observations and judgments. Where: Introduction’s description of opinion classification; transfer beyond the reviewed task. Area: pragmatics and knowledge admission. Mova: вже є (typed evidential information, reported-content handling, and retained-learning gates). A future sentiment result should describe an attitude inferred from a message, while the message’s factual claims retain their own epistemic status. Why Mova: recognizing that someone expresses approval should not cause the approved proposition to become accepted world knowledge. The review motivates classification of opinions, but does not itself specify this admission boundary.
Idea: Measure component cost alongside predictive quality. Where: Discussion’s comparison of learning approaches; cost measurement is a proposed extension. Area: operational evaluation. Mova: частково є (mova-twin records predictions and measured runs). The review emphasizes accuracy and F1 without supplying a common computational-cost comparison. Mova could evaluate whether a lexical or rule-based addition provides useful coverage for its measured resource use. Why Mova: a practical logical module needs an explicit account of what an improvement costs. This is an unanswered engineering question rather than a conclusion of the paper.
Idea: Treat architecture rankings as hypotheses with a declared scope. Where: Discussion and Conclusion. Area: scientific inference. Mova: вже є (source-bound groupants and explicit implementation limits). The authors’ broad preference for neural approaches should motivate candidate experiments, while Mova’s existing logic-and-statistics direction remains subject to its own evidence. Why Mova: preserving the scope of a claim allows a result from one task to inform another without being treated as a guarantee. No result in the review establishes that Mova should replace its native mechanisms.
The problem and its context
Multilingual communication changes the unit of analysis
The review begins with an everyday fact about multilingual communities: people do not necessarily select a single language for an entire conversation or message. They may choose an expression from another language because it is familiar, more readily available, or better suited to the social situation. The authors discuss vocabulary gaps, clarification, empathy, interjections, and the relationship between speakers among the motivations for mixing. This matters because the linguistic behavior is meaningful communication, rather than simply corrupted monolingual text.
In the paper’s terminology, code-mixing introduces smaller pieces of another language into a sentence. Those pieces may be words or phrases, but the discussion also mentions morphological and clausal material. Code-switching is described as a change between languages over sentence-sized stretches. The distinction supplies a useful starting point for understanding where a computational system might encounter uncertainty: inside a lexical item, within a clause, or at a sentence boundary.
The application-rejection examples make that contrast concrete. In the mixed construction, English lexical material appears inside a sentence whose other words come from another language. In the switched version, the rejection is stated in English before a following sentence changes language. The intended message remains a confident prediction that the application will fail. Language transitions therefore alter the linguistic form without necessarily introducing a new sentiment or discourse purpose.
The review does not develop a formal grammar of these transitions. Its aim is to explain why approaches designed around a single-language input assumption can face additional difficulties. A sentence may require several lexical resources, and a document-level language label may be too coarse. Even before assigning polarity, the system needs a useful account of what its words are and how they function together.
Romanization removes a convenient clue
The authors emphasize that users frequently write Indian-language material with Roman letters. A computational system cannot then assume that Roman script identifies English. The same writing system carries words from different languages, while informal spelling may make their intended forms uncertain.
This is relevant to multilingual NLP more generally, but the review focuses on Indian social-media settings. Romanization connects several problems that are sometimes considered separately: language identification, lexical lookup, spelling normalization, and the representation used by a classifier. An incorrect early decision can affect every later stage.
The paper’s discussion of information retrieval makes a related distinction. It separates searching across languages, searching with multilingual queries, and retrieving mixed-script material. The purpose is not to present a new retrieval method, but to situate sentiment analysis within a broader set of multilingual processing difficulties. When the written form does not reliably identify the language, both retrieval and interpretation require additional evidence.
Informality creates uncertainty beyond language mixing
Social-media text adds spelling errors, abbreviations, unconventional letter sequences, and phonetic substitutions. The authors use examples involving shortened expressions and repeated letters to show how far the observed form can depart from a conventional dictionary entry. Hashtags and other platform conventions introduce further material that a processing system must recognize or filter.
These phenomena interact with code-mixing. An unfamiliar form might be a spelling variant, a transliterated word, a name, or an abbreviation. A procedure that treats every unknown item as a mistake in English would collapse several distinct possibilities. Conversely, preserving every unusual form as unrelated to known vocabulary may leave too little reusable evidence for a classifier.
The review presents preprocessing as a necessary response to this situation. However, it does not establish a universally appropriate cleaning procedure. That distinction matters because recognizing that preprocessing is needed is easier than deciding which transformations preserve the information relevant to the prediction task.
Sentiment belongs to a wider family of interpretation tasks
The paper describes sentiment analysis as assigning evaluative categories such as positive, negative, and neutral. Product and service opinions are familiar examples, but the authors also discuss social issues, public events, and political subjects. The application is therefore not limited to commercial reviews.
The surrounding research includes part-of-speech tagging, language identification, and named entity recognition. These tasks help establish the linguistic structure of the input. The review also covers humor, sarcasm, aggression, and hate speech, which concern other aspects of communicative interpretation.
That breadth is useful for understanding the research ecosystem. It also requires care: a system that recognizes the language of a word has solved a different problem from a system that identifies the attitude of a message. Similarly, successful hate-speech classification cannot automatically be read as general sentiment competence.
Shared tasks provide organizing settings
The authors discuss shared tasks associated with SAIL, ICON, FIRE, and SemEval. These events supplied datasets and evaluation settings for language identification, grammatical annotation, entity extraction, and sentiment classification. Their role in the review is to show how researchers obtained common problems around which to develop and compare systems.
SemEval-2020 appears repeatedly in the sentiment studies. ICON tasks appear in grammatical tagging, while FIRE is associated with several multilingual processing activities. The review describes these efforts as part of the development of a research area whose practical resources remain uneven.
The paper’s own position is that of an organizing survey. It gathers approaches and outcomes from this landscape, explains the main classifier families, and identifies repeated constraints. It does not replace those shared-task evaluations with a new common benchmark.
The method, step by step
What the authors do as reviewers
The paper’s method is primarily descriptive synthesis. It introduces the linguistic problem, organizes earlier studies by computational approach, and assembles a comparative overview containing languages, tasks, data sources, techniques, and reported performance. The method should therefore be understood at two levels: how the review organizes its evidence, and how the systems it discusses transform text into predictions.
At the review level, the authors first establish the meaning of mixed and switched communication. They then explain the learning families that recur in earlier studies. Their results section collects examples across language pairs and application types. The discussion draws conclusions about common choices, dominant data sources, and missing resources.
The paper calls its coverage comprehensive and describes an objective of systematic review. However, it does not report a reproducible search procedure, a screening protocol, or explicit eligibility rules. A reader can inspect the cited work and the resulting categories, but cannot reconstruct a formal selection process from a declared sequence of searches and exclusions.
At the application level, the recurring pipeline begins with a social-media collection and ends with a task-specific prediction. Between those endpoints, studies differ in cleaning, annotation, representation, and learning technique. The following diagram expresses that recurring organization without implying that every reviewed system uses an identical implementation.
Recurring stages in the reviewed sentiment systems
The steps in order.
Collect material whose task is defined
The reviewed systems draw on tweets, Facebook posts, comments, and review material. Some studies construct and annotate their own collections; others use material associated with a shared task. Those choices determine what kind of language the system encounters and what its score can establish.
A corpus of agricultural discussion, for instance, asks a different practical question from a corpus of movie reviews. Their vocabularies, subjects, and evaluative conventions may differ. The review records these settings but does not supply a common sampling design across them.
The label set also matters at collection time. General polarity commonly uses positive, negative, and neutral categories. A binary sentiment study uses favorable and unfavorable distinctions without necessarily including a neutral class. Aggression research employs its own categories, while grammatical tagging assigns labels to words. A method cannot be understood from its architecture alone; the annotation target defines the prediction it learns.
Prepare the observed forms
Preprocessing responds to the irregularities described in the introduction. The review mentions removing unwanted material and handling noisy text, but most study descriptions do not provide a complete operation-by-operation specification. It is therefore possible to identify preprocessing as a shared requirement without claiming that the paper establishes a standard recipe.
For a newcomer, the key conceptual distinction is between the observed message and the representation delivered to the learner. A message may contain unusual spellings or a mixture of languages. The learner receives features or vectors derived from that message. Any transformation between the two can preserve, obscure, or discard evidence.
The paper’s descriptions of Romanization and spelling variation explain why this stage cannot be treated as a minor administrative detail. If the intended word is not recognized, a later classifier may never receive useful lexical information. If several forms are treated as equivalent without justification, meaningful differences may disappear.
Use linguistic analysis where the approach requires it
Language identification determines which language a word or span is taken to belong to. The review includes word-level approaches using character evidence and support vector machines. These studies address a component problem, rather than directly assigning sentiment.
Grammatical tagging identifies categories such as nouns or verbs. The review describes decision-tree, random-forest, conditional-random-field, and recurrent approaches to this task. In mixed-language text, a tagger must cope with language variation as well as informal writing.
Entity recognition identifies expressions functioning as names or other designated entities. The paper includes a shared-task setting involving Hindi–English and Tamil–English material. Again, this supplies evidence about linguistic analysis, not a directly comparable sentiment score.
These components need not all be explicit stages in every reviewed sentiment system. Some neural approaches learn representations directly from sequences. The review’s broader lesson is that the same input difficulties create related research problems at several levels.
Construct features for traditional classifiers
Word and character n-grams recur in the reviewed work. An n-gram is a contiguous sequence of units, with the unit supplied by the representation: words in one case, characters in another. Word features preserve recognizable lexical patterns, while character features can capture recurring pieces of unconventional spellings.
Some studies use TF-IDF, a representation based on term occurrence and its distribution across documents. The review names this representation in a Hindi–English sentiment system using support vector regression. It also names GloVe vectors as another feature source in that study.
The paper does not supply mathematical definitions for these representations in its running discussion. Their role is to identify the evidence delivered to the learner. Nor does it provide enough settings to reconstruct every feature vocabulary or weighting procedure used by the underlying studies.
This matters when interpreting comparisons. A classifier trained on character evidence and another trained on a different representation are not distinguished only by their decision rule. Both their input information and their learning procedure may have changed.
Learn a decision with traditional approaches
A support vector machine seeks a separating boundary between classes, with attention to the examples nearest that boundary. The review explains the margin concept through a schematic illustration. In a text application, the boundary operates on numerical features derived from messages rather than directly on sentences as a reader sees them.
Naïve Bayes uses class-related probabilities under a simplifying assumption that features are conditionally independent once the class is specified. The assumption makes it possible to combine feature evidence in a comparatively simple probabilistic classifier. The review describes several variants and applications, including English–Bengali and English–Punjabi material.
Decision trees repeatedly divide examples according to informative features. A prediction follows the sequence of decisions leading to a terminal outcome. Random forests combine multiple trees, allowing the final decision to incorporate several learned partitions instead of depending on a single tree.
The review does not present these techniques as interchangeable implementations with guaranteed outcomes. Its examples show different methods performing well under different conditions. The English–Bengali movie-review discussion explicitly connects classifier behavior to compatibility between training and testing material.
Learn representations with neural approaches
The paper introduces an artificial neural network as a collection of connected processing units with learned weights. A feed-forward arrangement transforms inputs through intermediate representations before producing an output. The review includes a multilayer perceptron applied to manually annotated Facebook material.
Convolutional processing uses local patterns within an input representation. In the reviewed text systems, it can help construct representations from spelling or sub-word evidence. The authors describe convolutional approaches both as stand-alone classifiers and as components in larger hybrid systems.
Recurrent processing carries information through a sequence. This makes it relevant to text, where interpretation depends on the order of words and the surrounding material. The review discusses long short-term memory systems and bidirectional variants, whose sequence representations incorporate information from both directions.
A sub-word recurrent approach operates below complete word forms. Its motivation is particularly relevant to informal mixed-language writing, where a conventional word vocabulary may fail to cover the observed forms. The paper reports that such an approach outperformed several alternatives in a Hindi–English sentiment study.
These explanations establish why different architectures might be considered. They do not establish that an architecture automatically understands sarcasm, idioms, or multilingual grammar. Such capabilities require evidence from a task and its evaluation, beyond the presence of a particular network component.
Combine representations or decisions
One hybrid system described in the review constructs sub-word representations with convolutional processing and supplies them to bidirectional recurrent encoders. It then adds orthographic information through a feature component. The resulting classifier uses several kinds of evidence in a combined representation.
Other entries use ensembles of classifiers. An ensemble combines predictions or learned contributions from several systems rather than relying on a single one. Table I includes combinations involving traditional and neural techniques.
The review does not provide a uniform account of how every ensemble is trained or combined. As a consequence, the shared principle is complementary evidence, while the implementation details remain specific to each cited study. It would be unwarranted to infer a common weighting method or a common reason for improvement.
Formulas and implementation detail
The Naïve Bayes discussion refers to equation (1) and equation (2), but their mathematical expressions are not recoverable in the paper text available for this account. The surrounding explanation identifies Bayes’ theorem and the conditional-independence assumption. Reconstructing a familiar textbook equation would add an expression whose exact notation cannot be verified here, so no substitute is presented as the paper’s formula.
The other method descriptions rely mainly on prose and diagrams. The review does not provide complete optimization objectives, hyper-parameter settings, or training schedules for the surveyed systems. Its contribution is explanatory organization and comparison of reported work, rather than an executable specification of every technique.
Experiments and results
The evidence comes from separate studies
Ahmad and colleagues do not introduce a new experimental classifier or rerun all the surveyed approaches. Their numerical evidence consists of outcomes reported in earlier research. Those outcomes differ in language pair, corpus source, label scheme, metric, and evaluation condition.
Accuracy describes the proportion of predictions classified correctly under the relevant task definition. Precision concerns the reliability of predicted instances of a class, while recall concerns how much of that class the system retrieves. F1 combines precision and recall. The review reports these measures in several formats, but frequently does not specify the averaging convention used across classes.
This missing detail limits comparisons. A score called F1 may summarize classes differently from another F1 score. Accuracy can also reflect different class distributions. The charts below therefore retain the task and language setting, and compare approaches grouped together in the review instead of assembling an overall ranking from unrelated studies.
A traditional comparison in the agricultural domain
The review describes an English–Punjabi sentiment study focused on agricultural discussion. It reports that unigram and n-gram evidence was used with Naïve Bayes and a support vector machine. Naïve Bayes receives the better reported accuracy.
English–Punjabi agricultural sentiment classification, accuracy
Naïve Bayes has the higher reported accuracy in this domain-specific comparison.
The numbers
| System or setting | accuracy % |
|---|---|
| SVM | 85 |
| Naïve Bayes (this paper) | 85.5 |
This is a useful local comparison because the approaches belong to the same study and application. It does not establish that Naïve Bayes is preferable for all mixed-language sentiment tasks. The review elsewhere describes conditions under which a support vector machine performs better.
The dataset description is not entirely uniform across the review. The narrative emphasizes Facebook material, while Table I associates the agricultural work with several social-media sources. Without a more detailed common account, the safest interpretation is a domain-specific result rather than a precisely reconstructed platform experiment.
The neighboring English–Bengali movie-review study reports 59% accuracy for Naïve Bayes, 55% for logistic regression, and 57% for a support vector machine. The prose adds an important condition: when training and testing examples share a Roman-script form, the support vector machine behaves better, while Naïve Bayes is described as strongest overall. The review does not provide the full breakdown needed to connect every condition to an exact score.
A related architectural comparison across language pairs
Table I reports sentiment results for bidirectional recurrent processing, a doubled bidirectional arrangement, and an attention-based approach on Hindi–English and Bengali–English material. Keeping the language pairs separate shows the pattern without implying that the corpora have identical difficulty.
Hindi–English sentiment classification in Jamatia and colleagues’ study, F1
The attention-based approach has the highest reported score among these settings.
The numbers
| System or setting | F1 |
|---|---|
| BiLSTM | 0.566 |
| Double BiLSTM | 0.595 |
| Attention-based approach (this paper) | 0.604 |
Bengali–English sentiment classification in Jamatia and colleagues’ study, F1
The attention-based approach leads this comparison for Bengali–English as well.
The numbers
| System or setting | F1 |
|---|---|
| BiLSTM | 0.623 |
| Double BiLSTM | 0.659 |
| Attention-based approach (this paper) | 0.675 |
These comparisons support a bounded observation: the attention-based setting is the strongest of the listed alternatives in each language pair. They do not identify which individual mechanism causes the ordering. The review does not supply the training details, uncertainty estimates, or component-removal tests needed for that stronger explanation.
It would also be inappropriate to read the higher Bengali–English values as an intrinsic property of that language combination. The datasets and label distributions are not controlled across language pairs in the review. What is visible is the ordering of listed approaches within each reported setting.
Shared-task sentiment results
The review describes a SAIL setting in which word and character n-grams were used with a support vector machine. It reports an F-score of 0.569 for Hindi–English and 0.526 for Bengali–English. These figures contribute to the authors’ conclusion that support vector machines are an important traditional choice.
A J48 decision-tree approach to Hinglish sentiment in SemEval-2020 receives an F-score of 0.53. Another Hindi–English system using support vector regression with TF-IDF and GloVe features is reported at 0.662. A recurrent-convolutional approach associated with the same shared-task setting receives an F1 score of 0.69.
These entries illustrate the range of techniques applied to code-mixed sentiment. The review does not establish that their data preparation, feature selection, or scoring procedures were identical. Their presence in a shared-task context improves interpretability compared with completely unrelated domains, but does not itself supply every condition required for a controlled architectural comparison.
Representation and hybrid-system results
The Hindi–English sub-word recurrent study receives 69.7% accuracy. The review states that it outperformed a character-based recurrent system and traditional alternatives based on a support vector machine and Naïve Bayes. Exact scores for those alternatives are not supplied in the narrative, so the size of each advantage cannot be recovered from this account.
A study comparing approaches across several language pairs finds different preferred architectures. A convolutional system receives 71.5% accuracy on Kannada–English. Bidirectional recurrent processing is reported as strongest on Hindi–English at 60.22% and Bengali–English at 70.20%. This is a particularly useful result for the review’s practical argument: a method favored in one setting need not be the preferred method in another.
The hybrid sentiment approach that combines sub-word processing, bidirectional encoders, and orthographic features is described with 83.5% accuracy and an F1 score of 0.827. A related entry in Table I gives accuracy as 83.54%. The paper does not explain whether the difference reflects presentation precision or another distinction, so the values should remain associated with their respective descriptions.
A multilayer perceptron applied to manually prepared Hindi–English and Bengali–English Facebook material receives 68.5% accuracy. This result belongs to another corpus and should not be positioned as a direct baseline for the hybrid system. The review’s organization by technique can make such numbers visually adjacent, but adjacency does not create a controlled experiment.
Related tasks expose different capabilities
Language identification studies report strong results in some settings. A character-based support-vector approach receives 93% accuracy for Malayalam–English and 95% for Tamil–English. These values concern identifying language, not deciding sentiment.
The review also reports Hindi–English humor detection at 73.6% accuracy using bilingual word representations and bidirectional recurrent processing. An emotion-classification study identifies a convolutional-bidirectional combination as its strongest tested approach, with 83.21% accuracy.
An aggression study using Hindi–English Facebook comments reports a convolutional system with an F-score of 0.58 and accuracy of 73.2%. Its labels distinguish covert aggression, overt aggression, and non-aggression. A hate-speech study reports 82.62% accuracy for the approach labeled CNN-ID.
These results demonstrate why task identity must accompany every figure. Humor, emotional categories, aggression, and hate speech do not share a single label interpretation. A numerical ordering across them would not answer which system is better at sentiment analysis.
Training outcomes and incomplete test reporting
The entity-recognition discussion reports 95% accuracy on training material, followed by a qualitative statement about performance on testing material. The review does not supply a corresponding numerical test result in that description.
That is evidence about fitting the training collection, with an additional but less precise statement about generalization. It should not be compared as though it were a fully reported held-out score. The distinction is especially important in a review where most other numbers appear without equally detailed accounts of their evaluation stages.
The paper’s overall result is consequently descriptive. It identifies frequent choices and recurrent patterns across reported research. It does not provide a pooled effect estimate demonstrating how much one family improves over another under standardized conditions.
What the ablations show
The paper contains no new ablation study of its own; it offers reported classifier comparisons, representation comparisons, and qualitative analyses from the research it surveys.
Representation comparisons provide a limited causal clue
The sub-word sentiment example is the clearest discussion of representational alternatives. The review says the sub-word recurrent approach performs better than a character-based recurrent approach and traditional classifiers. This supports the idea that the representation of informal forms deserves experimental attention.
However, a comparison between complete systems does not necessarily isolate the representation. Training procedures, feature preparation, and other implementation choices may also differ. Because the review does not reproduce a component-by-component experimental setup, it cannot establish that changing the unit of representation alone produces the reported outcome.
The practical lesson is therefore narrower than an architectural prescription. Smaller-than-word evidence is a promising response to the spelling instability described in the introduction. Its contribution needs to be measured in the intended setting.
Architectural comparisons show setting dependence
The cross-language comparison involving convolutional and bidirectional recurrent approaches shows that the preferred technique varies by corpus. This is evidence against a universal ranking drawn simply from architecture names.
The Hindi–English and Bengali–English attention comparisons show a consistent ordering within the reported alternatives. Yet the review does not describe a controlled removal of attention while keeping every other element fixed. It therefore supports a comparison of settings, instead of a complete explanation of why the strongest setting succeeds.
Likewise, the hybrid system combines several components at once. Its final score establishes the reported performance of that combination. Without component-removal results, it cannot tell the reader how much orthographic features, sub-word processing, or either encoder contributes separately.
Training–testing compatibility matters
The English–Bengali movie-review discussion offers an analysis of script compatibility between training and testing data. The authors report a condition under which the support vector machine performs better, while describing Naïve Bayes as best overall.
This observation is valuable because it ties classifier behavior to the relationship between datasets. It suggests that the same algorithm can appear stronger or weaker depending on whether its training evidence matches the form of its test input.
The review does not provide a complete score matrix for those conditions. As a result, the reader can identify the relevant factor without quantifying its effect or reconstructing a full controlled experiment.
Domain and task analyses explain heterogeneity
The discussion argues that different application domains call for different analysis choices. The survey’s examples make that plausible: agricultural discussion, movie reviews, and informal public commentary present distinct material, while sentiment and aggression use different prediction targets.
This is an interpretation of the collected studies, rather than an experiment varying domain alone. The paper does not train the same system across a controlled series of domains and report a matched transfer analysis.
The absence of such tests does not make the review uninformative. It changes what can be concluded. The paper identifies variables that deserve controlled investigation; it does not isolate their individual contributions through new experiments.
Limitations
Constraints the authors emphasize
The authors repeatedly identify resource scarcity as a central obstacle. Many language combinations lack sufficient annotated corpora, supporting language tools, and sentiment vocabularies. This limitation affects both system development and the possibility of reliable evaluation.
They also emphasize the difficulty of informal mixed-language input itself. Romanized writing, nonstandard spellings, grammatical variation, and multilingual constructions complicate preprocessing and interpretation. A large collection of raw messages does not automatically solve these problems, because usable supervision and linguistic structure still have to be established.
Coverage is uneven. Hindi–English dominates the reviewed work, with Bengali–English also receiving substantial attention. Other combinations appear, but the paper does not claim equally mature resources across Indian languages. Its conclusions should therefore be read in the light of the research distribution it describes.
The authors recognize domain dependence as well. A method suited to one source of opinions may not be the best choice for another application. Their conclusion proposes a future statistical review, which indicates that the present paper is principally an organized qualitative account of reported findings.
Review-design limits visible to a careful reader
The paper does not report a reproducible literature-search procedure. It lacks a declared search strategy, explicit screening decisions, and a formal assessment of the quality of included evidence. As a consequence, its claim to comprehensive coverage cannot be independently checked through a stated review protocol.
This matters particularly for statements about which technique is most common. The authors identify support vector machines and bidirectional recurrent approaches as prominent, but do not provide a formal counting procedure or uncertainty analysis for those claims. They are useful descriptions of the reviewed collection, rather than statistically established estimates of an entire research field.
The evidence is also heterogeneous. A score may concern sentiment, language identification, grammatical tagging, or hate speech. Even within sentiment analysis, datasets differ in language, source, domain, and label scheme. An overall assertion that neural techniques are better should therefore be treated as the authors’ reading of the surveyed research, instead of a standardized experimental finding.
Reporting detail is insufficient for exact reproduction
Most study descriptions do not include complete dataset sizes, split definitions, class frequencies, preprocessing operations, or hyper-parameters. The review frequently reports the architecture and a headline metric without enough information to reproduce the underlying experiment.
Metric definitions are another constraint. The paper uses accuracy, F-score, and F1, sometimes with different numerical presentation conventions. It does not consistently identify averaging procedures or provide the underlying class-level results.
Without those details, a reader cannot safely combine values into a common ranking. A reported score remains informative at its stated scope, but its comparability depends on conditions the review does not always document.
Some evidence is presented inconsistently
The narrative, Table I, and bibliography do not always align cleanly. Citation numbering sometimes points ambiguously between a method discussion and the work described. Some table entries contain compressed or displaced information, making the association between a study, a task, and a value harder to establish.
There are also differences in how a result is presented across sections, such as the hybrid accuracy values reported with different precision. These should not be silently merged or converted into a new number.
The appropriate response is to retain clearly associated results and avoid building fine-grained conclusions from uncertain rows. The review supports broad orientation more reliably than exact reconstruction of every entry.
Generalization remains largely untested at review level
The paper does not conduct its own cross-platform, cross-domain, or cross-language transfer experiment. The presence of several platforms and language pairs in a survey does not show that a system trained on one can operate reliably on another.
Nor does the review establish that preprocessing procedures preserve all information needed for interpretation. It identifies noise as a problem and preparation as necessary, but provides no common controlled analysis of which transformations help and which remove useful distinctions.
Computational cost is similarly unresolved. The paper discusses predictive techniques without offering a standardized comparison of training expense, inference latency, or resource requirements. A practical deployment decision would need evidence beyond the headline scores.
Classification does not establish complete understanding
A favorable classification result concerns the task and labels used in evaluation. It does not show that a system has mastered multilingual syntax, identified every speaker’s intended target, or distinguished literal meaning from irony in unrestricted communication.
This is especially relevant to the broad introductory claims about handling complex language. The review includes studies of sarcasm, humor, and emotion, but their task-specific outcomes should not become a general guarantee of contextual understanding.
The strongest justified conclusion is that several learning approaches have been applied successfully enough to motivate continued work, while substantial limitations remain in data, linguistic coverage, and evaluation. The paper does not establish a complete solution to multilingual social-media interpretation.
What came after
No later citing study is identified in the available follow-up record. A specific successor method, replication, or measured improvement therefore cannot be attributed to this review.
The paper itself names a possible next step: a statistical examination of machine-learning approaches to sentiment classification in mixed-language social media. That is a stated research direction, rather than a completed result reported here.
Its other open questions follow directly from the limitations it identifies. Broader annotated coverage would make it possible to study language combinations that receive little attention in the reviewed collection. Clearer comparisons could test whether architectural preferences remain stable when datasets, label definitions, and preprocessing are held fixed. More complete reporting could separate gains from representation, training conditions, and application domain.
Those questions describe what the review leaves unresolved. They do not establish that later researchers answered them or that the paper caused subsequent developments. The enduring contribution visible within its own evidence is an organized account of how linguistic mixing, informal writing, resource availability, and classifier choice interact in sentiment research. It gives a reader useful grounds for asking a more precise question than which algorithm has the largest reported score: which decision is being made, from what linguistic evidence, under which evaluation conditions?
Cite
Cite as Gazi Imtiyaz Ahmad, Jimmy Singla, Anis Ali, Aijaz Ahmad Reshi and Anas Abdelsatar Mohammad Salameh. 2022. Machine Learning Techniques for Sentiment Analysis of Code-Mixed and Switched Indian Social Media Text Corpus - A Comprehensive Review. International Journal of Advanced Computer Science and Applications.
@article{ahmad2022machine,
title = {{Machine Learning Techniques for Sentiment Analysis of Code-Mixed and Switched Indian Social Media Text Corpus - A Comprehensive Review}},
author = {Gazi Imtiyaz Ahmad, Jimmy Singla, Anis Ali, Aijaz Ahmad Reshi and Anas Abdelsatar Mohammad Salameh},
journal = {International Journal of Advanced Computer Science and Applications},
year = {2022},
doi = {10.14569/ijacsa.2022.0130254},
url = {https://doi.org/10.14569/ijacsa.2022.0130254}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/ahmad-2022-machine-learning-techniques-sentiment-analysis/