---
title: "MUCS@DravidianLangTech2023 — paper by K et al. (2023)"
description: "How MUCS used fastText and conventional classifiers to detect sentiment in Tamil and Tulu YouTube comments that mix languages and scripts."
canonical: "https://research.elamur.ai/free/en/papers/k-2023-mucs-dravidianlangtech2023-sentiment-analysis-code/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/k-2023-mucs-dravidianlangtech2023-sentiment-analysis-code/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2023](https://md.research.elamur.ai/free/en/papers/2023/) / MUCS@DravidianLangTech2023: Sentiment Analysis in Code-mixed Tamil and Tulu Texts using fastText

# MUCS@DravidianLangTech2023: Sentiment Analysis in Code-mixed Tamil and Tulu Texts using fastText

Paper · 2023 · Rachana K, Prajnashree M, Asha Hegde et al.

**Authors:** Rachana K, Prajnashree M, Asha Hegde and [H. L Shashirekha](https://md.research.elamur.ai/free/en/authors/h-l-shashirekha/) · **Year:** 2023 · **Venue:** Proceedings of the Third Workshop on Speech and Language Technologies for Dravidian Languages · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the Third Workshop on Speech and Language Technologies for Dravidian Languages · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2023.dravidianlangtech-1.38/)
- [PDF](https://aclanthology.org/2023.dravidianlangtech-1.38.pdf)

## Summary

A YouTube comment can praise a video, criticize it, or do both while moving between languages in a single sentence. It can also spell Tamil or Tulu words in Roman letters, so a vocabulary built for the native script may miss words a reader recognizes immediately. Team MUCS studied these problems in a shared task on [sentiment analysis](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/). The task was to assign a sentiment label to a whole comment. The authors worked with separate Tamil and Tulu datasets, each containing comments with English words alongside material in the target language.

The approach combined pretrained [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/), which represent words as numerical vectors, with conventional classifiers. The authors used fastText vectors for Tamil or Tulu in the native script and for English. For Tulu, they added a way to represent words that fell outside the available vocabularies, including romanized Tulu. This component used [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/), a way to give weight to terms according to their distribution in a collection of texts. The authors compared a support vector machine with an ensemble that took a vote among logistic regression, Bernoulli Naive Bayes, and a support vector classifier. They also enlarged the less frequent training classes by adding examples from the development sets and, for Tulu, collecting more examples from online posts, comments, and chat.

For the submitted runs, the abstract reports F1 scores of 0.14 for Tamil and 0.204 for Tulu. The conclusion gives 0.20 for Tulu, matching the precision used in the results table for the augmented Tulu support vector machine. The conclusion places MUCS at rank 13 for Tamil and rank 15 for Tulu. The table also reports unaugmented Tulu runs with test macro F1 of 0.35 for both classifiers, above the Tulu scores highlighted for the submission. In Tamil, augmentation raised the ensemble’s test macro F1 from 0.13 to 0.14, while the support vector machine scored 0.05 in both settings.

The comparisons give a mixed account of adding examples to rare classes. The Tamil ensemble improved slightly on the test set, whereas both Tulu classifiers scored lower after the training data changed. The authors emphasize that the additional examples still left large differences in class sizes. The reported aggregate scores show how each complete run performed. Explaining the changes by class frequency, the source of the added comments, or coverage of romanized words would require comparisons that separate those factors.

## Deep dive: MUCS@DravidianLangTech2023: Sentiment Analysis in Code-mixed Tamil and Tulu Texts using fastText

How MUCS used fastText and conventional classifiers to detect sentiment in Tamil and Tulu YouTube comments that mix languages and scripts. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A comment can mix languages and scripts

The shared task starts with a short piece of writing whose intended audience already knows something about the conversation. A viewer might react to a trailer, address its creator, or ask other viewers a question. The examples in the paper include a Tamil comment asking who is waiting to see a trailer, a Tulu comment praising someone’s comedy, and a Tulu comment suggesting that a title should have carried a spoiler warning. The task treats each comment as the unit of [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/). In other words, the system assigns a category to the message as a whole.

A comment can carry considerable information about its topic without giving a clear verdict on it. Asking who plans to watch a trailer establishes what the conversation is about. The question itself leaves the speaker’s appraisal less explicit than a direct compliment does. Another Tamil example praises a concept and then qualifies that praise. That qualification matters because a message can express reservations about something it also approves of. The paper uses English translations to make the romanized examples intelligible to readers. It presents them as illustrations of the language in the task, without assigning the examples individual sentiment labels in the table.

The authors use *code-mixing* to describe the presence of material from multiple languages within an utterance or text. A YouTube commenter may use an English term for the subject of discussion and use Tamil or Tulu for the rest of the sentence. A reader must then interpret the parts in relation to one another. The meaning of an English word supplies only part of the evidence for deciding whether the author is enthusiastic, critical, or expressing a mixture of feelings. The paper identifies this kind of mixed writing as common in informal online communication.

Changing scripts adds a distinct difficulty. A Tamil or Tulu word can be written in its native script or rendered using Roman letters. In the latter case, it can appear beside an English word written in the same alphabet. The script alone then provides limited help in deciding which language a word belongs to. The paper points to the convenience of typing on phones and computers as one reason people use Roman letters. The result is an input in which the choice of language and the choice of script can vary independently.

This distinction matters for the approach MUCS chose. A spelling that appears in the vocabulary of pretrained English vectors can be represented directly from that resource. A romanized Tulu spelling may be meaningful to a speaker yet absent from both the Tulu and English vocabularies used in the experiment. A useful representation for the whole comment therefore depends in part on which surface forms its underlying resources cover. The method must handle this before a classifier can use those forms as evidence about sentiment.

#### The label describes the whole message

The authors discuss sentiment analysis broadly as a way to study how people express opinions, attitudes, and feelings about things such as products, events, and videos. Their shared-task problem is narrower. A classifier receives a YouTube comment and selects a label from the inventory for its dataset. It produces a single decision even when the comment contains several phrases with different roles. It can use a phrase that sets up the topic and another that expresses an opinion, but its output is a category for their combined message.

The introduction describes the task in terms of positive, negative, neutral, and mixed sentiment. The dataset tables use different wording for some categories. Tamil has an *Unknown state* label alongside *Positive*, *Negative*, and *Mixed feelings*. Tulu has *Neutral*, alongside *Positive*, *Mixed feeling*, and *Negative*. Keeping those names separate preserves what the paper reports about the two datasets. In particular, the authors do not provide a labeling rule that would establish when a Tamil *Unknown state* example corresponds to a Tulu *Neutral* example.

The mixed category also gives a specific meaning to the word *mixed* in the description of the task. A comment may mix languages in its wording and still express a clear approval or disapproval. It may also express mixed feelings about a topic. Code-mixing is a property of the input that makes the comment harder to process. Mixed feeling is a possible output label. The prevalence of one therefore tells the reader little about the frequency of the other without inspecting the actual labels.

The paper motivates automatic classification by pointing to the amount of user-written material available on social media. Browsing individual comments can reveal reactions to a particular video. A sentiment classifier would make it possible to process a collection of reactions under a common labeling scheme. Its value for that purpose depends on how reliably it recognizes the kinds of reactions the label set is meant to capture. That requirement becomes particularly important when enthusiastic comments are plentiful and the examples needed to learn less frequent reactions are harder to obtain.

#### The resources differed across Tamil and Tulu

The authors place the work in the context of [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/). Their concern is the supply of digital material and processing tools usable for the task. They describe an existing body of language-processing research for Tamil and a much thinner set of resources for Tulu. The Tulu resources they identify include a small Wikipedia, Byte Pair embeddings, and fastText vectors. In the system they submitted, fastText provided the pretrained features for native-script Tulu.

Spoken and written forms matter to this resource question. The paper describes substantial variation between written and spoken Tamil. The comments also illustrate how conversational material can turn up in a script different from the one typically associated with the language. A digital resource usable for some Tamil or Tulu writing therefore need not provide equal coverage of the text that people type beneath a video. The paper’s account of romanized Tulu makes this gap concrete by identifying words that the available pretrained vocabularies failed to represent in the experiment.

The shared task supplied labeled data on which teams could develop and evaluate their systems. The Tamil material is tied to earlier corpus work on [code-mixed Tamil–English sentiment](https://md.research.elamur.ai/free/en/papers/chakravarthi-2020-corpus-creation-sentiment-analysis-code/). The paper also cites earlier corpus creation for sentiment in code-mixed Tulu. Those resources give the classifiers examples of how the task’s labels were assigned. The [shared-task findings](https://md.research.elamur.ai/free/en/papers/hegde-2023-findings-shared-task-sentiment-analysis/) report concerns the event in which the MUCS submission was evaluated.

#### Earlier work offered several ways to represent the text

In reviewing earlier sentiment work, the authors describe a field with much more research on well-resourced languages, such as [English](https://md.research.elamur.ai/free/en/topics/english/), than on code-mixed Dravidian text. Within the latter area, the studies they discuss already show several ways to build a classifier. The methods differ chiefly in what information they present to the final decision procedure. Some start with recurring pieces of written forms, some use pretrained representations, and some adapt a larger pretrained network to the sentiment task.

CoSaD, an earlier system for code-mixed Kannada, Malayalam, and Tamil, represents examples using syllables, character sequences, and character [n-grams](https://md.research.elamur.ai/free/en/concepts/n-gram/), which are contiguous stretches of characters of a chosen length. These pieces provide evidence even when the exact spelling of a whole word is uncommon. CoSaD combines a linear support vector machine, logistic regression, and a multilayer perceptron by voting. This gives the MUCS study a precedent for both sub-word features and a decision based on agreement among several classifiers.

The review also discusses a study by Chanda and Pal that used logistic regression for Tamil and Malayalam sentiment and varied how the input features were obtained. That work considered fastText alongside BERT and DistilBERT. The comparison is directly relevant to the MUCS design because it treats the representation of the text and the classifier that uses it as separate choices. In MUCS, fastText is again a source of features, and the vote brings logistic regression together with other classifiers.

Other studies in the review used pretrained [transformers](https://md.research.elamur.ai/free/en/concepts/transformer/) for code-mixed Dravidian sentiment. Babu and Eswari worked with a paraphrase-oriented XLM-RoBERTa approach on YouTube comments in Tamil, Malayalam, and Kannada. Bai and colleagues used [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) with XLM-RoBERTa for Tamil and Malayalam. Fine-tuning adapts a pretrained system to a new task using its training examples. Zhu and Dong combined multilingual BERT with recurrent processing and used attention to weight its output. These approaches give the classifier access to representations informed by surrounding text, while the MUCS method is described in terms of pretrained word vectors and features supplied to separate classifiers.

Two further precedents broaden the context. The paper discusses sentiment work on public COVID-19 reviews that used a convolutional and recurrent architecture with fastText or [GloVe](https://md.research.elamur.ai/free/en/concepts/glove/) vectors. It also discusses ensemble work on hate speech and offensive content that combined term-frequency features with pretrained representations, including features for hashtags and affect. That latter task concerns a different kind of label, but the design illustrates a related question for messy online text. Several feature sources may each capture something the others miss.

The research gap the authors identify is specifically about sentiment classification for code-mixed Tulu. Their review found comparatively little work on code-mixed Tamil sentiment and reported finding none for code-mixed Tulu sentiment. The existence of a Tulu corpus gave the shared task and its participants a way to turn that gap into an experiment. MUCS could ask how far a system assembled from available word representations and familiar classifiers would go when trained and assessed on labeled comments.

### The method, step by step

#### Preparing separate training sets

The method begins with labeled comments for each language. The training split supplies examples from which a classifier learns to map features to sentiment labels. The development split supplies examples for assessing candidate configurations. The test split supplies the comments for the final assessment. MUCS compared runs using the original training sets with runs in which it brought in selected labeled examples from the development split and other sources. That decision changes the relationship between training and development, an issue that matters when interpreting the results.

The training data favor *Positive* comments in both languages. A classifier learns from the patterns it sees, and a category with many examples offers more opportunities to see how the sentiment can be expressed. Categories with fewer examples give the learner fewer occasions to associate their expressions with their labels. The authors address this by adding examples to selected categories. They use *text augmentation* to describe the resulting enlargement of the training data.

For Tamil, the authors add development comments labeled *Unknown state*, *Negative*, and *Mixed feelings* to the corresponding training categories. The *Positive* training count stays at 20,070. Before augmentation, the training set has 5,628 *Unknown state*, 4,271 *Negative*, and 4,020 *Mixed feelings* examples, with 33,989 examples in total. After the additions, the corresponding minority-class counts are 6,239, 4,751, and 4,458, and the Tamil training total is 35,518. The paper gives 2,257 as the positive count in the Tamil development set. Those positive development comments are outside the group of classes selected for addition.

For Tulu, the selected classes are *Mixed feeling* and *Negative*. The authors draw on development examples for these classes and collect other material that they regard as similar. They name YouTube, Facebook, and WhatsApp as sources, covering public posts or comments as well as chat. The method places this material into the relevant training categories. This operation extends the training data using additional messages. The paper describes neither a rewriting rule for producing variants of a sentence nor a procedure for perturbing the words of an existing example.

The Tulu training total grows from 6,457 before augmentation to 7,150 afterwards. The positive and neutral counts are 3,118 and 1,719. In the enlarged set, there are 1,297 examples labeled *Mixed feeling* and 1,016 labeled *Negative*. These figures show where the augmented classes sit in relation to the larger ones. The description of the procedure leaves the contributions of development and externally gathered examples pooled in the final counts.

The Tamil and Tulu operations share a purpose but change the input in different ways. In Tamil, augmentation draws on another split of the same task data. In Tulu, it also changes the mix of data sources. For instance, a chat message enters training as material for a task whose inputs are YouTube comments. Such a message could add a useful expression of disapproval or a form of mixed feeling that was scarce in training. The procedure also leaves the provenance and the class frequency of the added examples connected, since the external collection specifically targets the rare classes.

From labeled comments to a sentiment decision The steps in order.

#### Deciding which parts of a comment to keep

Preprocessing turns the original message into material suitable for extracting features. The paper groups several operations under that heading. Some normalize the form of information the authors want to retain. Others remove material they consider unlikely to distinguish the sentiment categories. These choices determine which signs of approval, criticism, or uncertainty are available to all the classifiers later on.

English contractions are expanded. A contraction gives a shortened written form to a sequence of words. Expanding it presents the component words in forms that the pretrained feature source may recognize. The paper describes using a contraction-expansion library for this purpose. For example, a contracted negative verb can be written as separate words, including an explicit negative term. Whether all those words survive the rest of cleaning depends on the vocabulary and stop-word rules applied to the comment.

Emojis are converted into text with the `demoji` library. The authors treat an emoji as a possible indication of what the writer intends to convey. A written description gives the feature extractor a way to represent that indication using words, alongside the comment’s original words. The paper supplies no separate emoji classifier. Once converted, the emoji contributes through the feature construction applied to the comment.

The cleaning procedure removes web addresses, user mentions, hashtags, special characters, punctuation, and numerical material. A web address or a username could identify a specific thread or participant. The authors’ procedure discards such information and bases the decision on the remaining text. The paper presents the removals as choices about what is likely to aid classification. Their value as a group forms part of the tested pipeline, since the reported experiments keep preprocessing bundled with the feature and classifier choices.

Stop-word removal further reduces the material passed to feature extraction. Stop words are common words that the preprocessing procedure treats as offering limited help in distinguishing among categories. The authors use the Natural Language Toolkit’s English list and a Tamil list from a repository. They specify these two language lists. The paper leaves the treatment of Tulu common words at that level of description, without naming a corresponding Tulu stop-word list.

One way to understand the overall preprocessing design is to compare how it handles different forms of information about a message. An emoji is replaced with text because the authors want its possible sentiment signal to survive. Punctuation is removed. Contracted sequences are split into fuller forms, while words on the selected stop lists are discarded. Each decision changes the text the feature extractor sees, so an English phrase in a code-mixed comment can go through several transformations before the sentiment classifier receives its numerical representation.

These operations also have consequences for the term-distribution features used in Tulu. If a term is removed during preprocessing, it cannot contribute a TF-IDF feature later. If a written form is normalized, its resulting words contribute under those forms. The procedure therefore defines the vocabulary that can matter to the classification task as much by what it excludes as by what its pretrained vectors can cover. The paper describes the operations but does not give implementation details for every interaction among them.

#### Using fastText for the main word features

A classifier needs a numerical description of a comment. A word embedding supplies a vector, an ordered set of numerical values, for a word. The authors use pretrained fastText embeddings, so the shared-task examples are used to learn the link between the numerical features and their sentiment labels. The method starts from the Tamil, Tulu, and English representations already available in fastText.

The paper describes fastText as supplying pretrained vectors for 157 languages, including Tamil and Tulu. The relevant property is how it uses pieces of words. Its representation draws on character n-grams, allowing a word’s vector to reflect sequences shared with other spellings. The authors explain that this construction can supply a representation for an out-of-vocabulary word using its constituent character sequences. *Out of vocabulary* means that the particular form is absent from the vocabulary of the resource in use.

The general ability to form vectors from characters and the handling of romanized Tulu in this experiment are distinct parts of the account. The paper describes sub-word representations as a benefit of fastText. It also reports that the Tulu and English pretrained resources used in the experiment left romanized Tulu words out of vocabulary, and it gives those forms TF-IDF features. A reader can therefore follow the feature choice the authors actually made without assuming that the general fastText mechanism guaranteed coverage of every spelling in the data.

The Tamil and English fastText vocabularies used for Tamil each have a reported size of 20,00,000, and their vectors have 300 dimensions. Native-script Tamil words are represented using the Tamil resource. English words are represented using the English resource. The authors say that the Tamil and English embeddings are concatenated for training and evaluation. Concatenation places separately obtained sets of features next to each other in a single representation, so their values can be used together by the classifier.

For Tulu, the pretrained vocabulary sizes are 7,000 for Tulu and 20,00,000 for English. These resources also use 300-dimensional vectors. The Tulu embeddings are used for native-script Tulu, and the English embeddings are used for English. The authors concatenate the resulting language-specific features with the TF-IDF features for words outside the pretrained vocabularies. Therefore, the resources used for both languages have the same reported vector dimension, while the Tulu pipeline uses an additional feature source.

Tamil comments also contain romanized Tamil. The Tamil description names the native-script and English embeddings and their concatenation, while the separate out-of-vocabulary treatment is described only for Tulu. The paper leaves open the exact handling of a Tamil word in Roman letters that is absent from the available vocabularies. This boundary matters because the same script can be used for an English word and for the transliteration of a Tamil word, yet the two can have very different meanings in context.

The paper gives the component vocabulary sizes and word-vector dimension. The full comment representation involves another step. A comment can contain a variable number of words, whereas the described classifiers need a feature representation with a consistent structure across examples. The authors describe concatenation of the feature sources but leave the aggregation from multiple words into a comment-level embedding unspecified. As a result, the reported 300 dimensions describe the pretrained word vectors. The size and construction of the final input to each classifier cannot be read directly from that number.

#### Giving uncovered Tulu words a feature

TF-IDF stands for term frequency–inverse document frequency. In the Tulu pipeline, its job is to represent word forms for which the authors say their Tulu and English pretrained resources supplied no usable representation. Term frequency reflects occurrence within the text. The inverse document-frequency component makes a term that occurs across many texts less distinctive than one concentrated in fewer texts. The representation can therefore preserve evidence about a spelling even when the feature extractor has no useful pretrained vector for it.

A word feature built this way can help if the spelling recurs in examples with the same sentiment label. For instance, a romanized Tulu expression of approval may become available to the classifier as a recurring feature in positive comments. The term weights themselves come from how the expression is distributed in the text collection. Its relationship to the sentiment label must be learned from the labeled examples in which it occurs.

This is a different kind of evidence from a fastText vector. FastText can encode information connected to the pieces of a word and the representations learned during pretraining. A TF-IDF feature identifies the occurrence and distinctiveness of a term under the construction used for the data. Writing variations of a romanized expression may therefore affect whether the classifier sees recurring instances of the same feature. The article’s description of the Tulu system gives the rationale for keeping such forms available but leaves the degree of consistency across romanized spellings unmeasured.

A separate TF-IDF component also means that the Tulu system can draw on several signals within a single example. The native-script words can contribute through Tulu vectors. English words can contribute through English vectors. Terms outside those resources can contribute through tf-idf weighting. Their combination gives the classifier an opportunity to learn which of those signals is informative for a category. The paper evaluates the resulting combination as a whole, so the method description establishes the role of the component without establishing its individual impact on the score.

#### From features to a predicted category

The standalone support vector machine, or SVM, learns boundaries in the space defined by comment features. Each comment becomes a point in that space. A decision boundary, called a hyperplane, separates regions associated with different labels. The intuition is that examples with different labels can sometimes be distinguished by their position along combinations of features, even when any individual feature is weak. The authors give a linear kernel for the standalone SVM. They leave the strategy for turning its class decisions into the final multiclass prediction unspecified.

The other approach is a voting ensemble. It uses logistic regression, Bernoulli Naive Bayes, and a support vector classifier as constituent learners. Each predicts a sentiment category from the features. In *hard voting*, the individual decisions are categorical labels. A label supported by a majority wins the vote. The paper does not say how the implementation resolves a vote in which each learner chooses a different category.

Logistic regression starts with a linear combination of the input features, using learned weights to determine their contributions. A logistic transformation turns the combined evidence into a quantity usable for classification. The paper also discusses regularization, which restrains the fitted weights to help control overfitting. Its hyper-parameter table lists a random state of 1 for this learner. The accompanying explanation describes the binary case for the logistic decision, while the shared task calls for a choice among the full set of comment labels.

Bernoulli Naive Bayes takes a probabilistic approach. It uses binary features, which indicate whether a condition is present or absent, and estimates class probabilities under an assumption of feature independence within a class. For a newcomer, that assumption means the classifier can combine evidence associated with separate features without estimating a separate relationship for every combination of them. In the MUCS setting, the representation includes numerical embedding values. The paper leaves open how the features supplied to Bernoulli Naive Bayes were converted to binary form and gives no hyper-parameter values for that learner.

The support vector classifier inside the ensemble also makes decisions using boundaries between classes. The reported settings are an `l2` penalty and `c=1.0`. The penalty constrains the size of the learned weights. The setting labeled `c` governs the strength of the constraint relative to fitting the training examples in a support vector formulation. The authors list these settings for the constituent classifier and separately give the linear kernel for the standalone SVM. The descriptions do not establish that these are identically configured learners in two places.

The rationale for combining classifiers is that a single comment can look different to each decision rule. Logistic regression and a support vector classifier both combine features into a decision, but their training objectives differ. Bernoulli Naive Bayes uses the presence or absence of features and a probabilistic account of the labels. A vote can favor a decision that several learners reach through different rules. It can also favor a shared mistake if several learners respond similarly to the same training patterns. The comparison with the standalone SVM tests whether the resulting vote helps under the reported conditions.

The worked method in the paper is procedural. It describes the feature sources, the decision rules, and selected settings without displaying equations for the classifier objectives, TF-IDF weights, or voting. Its symbols in the settings table identify implementation parameters. The experiments thus compare classifiers built from the stated components and report the resulting evaluation scores.

#### Selecting configurations and submitting predictions

The authors describe trying combinations of features and classifiers and using development-set performance to identify promising ones. Training fits classifier parameters from labeled comments. Development evaluation gives feedback about whether a combination is worth taking forward. The final assessment is based on predictions for the test split scored by the organizers. These stages give training, development, and test examples different roles in the experiment.

Augmentation modifies the first of those roles by taking some of the labeled development material into training. The paper reports separate result blocks for the original and enlarged training sets. It supplies both development and test scores for the unaugmented systems. In the augmented block it supplies development scores for Tulu, while the corresponding Tamil entries are blank. The presence or absence of those evaluations matters when reading the table, since the method description also makes development performance part of configuration selection.

### Experiments and results

#### The comparisons and their metric

The experiment compares a standalone SVM and a hard-voting ensemble for each language, using the original training data and the enlarged training data. The language choice changes the dataset and the feature pipeline. The choice of classifier changes how those features become a prediction. The augmentation setting changes the examples available to the learner. The table reports the outcomes of these combinations and supplies the standalone SVM as the internal comparison for the ensemble.

The original Tamil training set contains 33,989 comments, compared with 6,457 in the original Tulu training set. The paper’s motivating concern is the distribution within each set. Tamil’s 20,070 *Positive* examples are much more numerous than the examples for any individual alternative label. Tulu’s 3,118 *Positive* training examples also form the largest class, followed by 1,719 *Neutral* examples. The authors targeted the smaller classes in each language and report that the overall distribution remained uneven after augmentation.

The organizers use macro F1 for final assessment and ranking. F1 for a class brings together precision and recall. Precision concerns how many predictions of that class are correct. Recall concerns how many examples belonging to that class the classifier retrieves. Macro averaging gives each class’s F1 the same weight in the overall result. A classifier therefore needs to perform across the range of labels to achieve a high macro F1, including on classes that account for a relatively small share of the examples.

This metric connects the authors’ concern about training data to the evaluation. The training set gives the learner many more examples for some labels than for others. Macro F1 gives the minority classes equal standing when the class scores are combined. An overall improvement can therefore come from a better decision for a rare class, even if that class appears in few comments. The reported score provides the aggregate outcome, while the absence of class-by-class scores leaves the source of the improvement unresolved.

The paper’s earlier-work discussion gives results from other sentiment studies. Those values come from their own reported tasks and settings. The shared-task comparison in this study is the one between the authors’ own configurations. The paper’s results table does not supply a common test result for a majority-label predictor, the earlier CoSaD system, or the transformer approaches discussed in its review. The shared-task ranks are a separate comparison under the organizers’ evaluation.

#### Tamil test scores favor the ensemble

Before augmentation, the Tamil ensemble scores 0.29 macro F1 on the development split and 0.13 on the test split. The standalone Tamil SVM scores 0.20 on development and 0.05 on test. The ensemble is ahead on both splits in this setting. The development scores are also higher than the test scores for both classifiers, illustrating why the selected configuration’s performance on the development data and its final evaluation are separate results.

With additional minority-class examples in training, the Tamil ensemble records 0.14 macro F1 on the test split. The SVM again records 0.05. The authors present the ensemble’s 0.14 as their Tamil submission result and report rank 13. The augmented Tamil development entries in the results table are blank. The available scores therefore show the test comparison across both training conditions and the development comparison for the original training data.

Tamil test macro F1 by classifier and training setting The ensemble leads in both settings and has its highest test score after augmentation.

**The numbers**

| System or setting | macro F1 |
| --- | --- |
| SVM with original training data | 0.05 |
| Voting ensemble with original training data | 0.13 |
| SVM with augmented training data | 0.05 |
| Voting ensemble with augmented training data (this paper) | 0.14 |

The results show two patterns within the Tamil test set. The ordering between classifiers is stable across the changes to training. The change within each classifier is smaller, with the SVM staying at the same reported score and the ensemble gaining after augmentation. That is the basis for saying the vote gave the stronger Tamil result among the tested approaches. Attributing the ensemble’s lead to one voting member or to better recognition of a particular class would require finer-grained outcomes.

There is also a difference between selecting a method and estimating its performance. In the unaugmented comparison, the ensemble’s lead on development makes it the stronger candidate under the authors’ stated practice of looking for promising combinations there. Its lower score on test supplies the final value for a reader concerned with generalization to the held-out split. The augmented ensemble’s test result then shows the result of an additional change to the training data. The experiment does not offer an augmented Tamil development score for checking that last change on both splits.

#### Tulu results depend on the training condition

Before augmentation, the Tulu SVM scores 0.33 macro F1 on development and 0.35 on test. The Tulu ensemble scores 0.39 on development and 0.35 on test. Development performance favors the ensemble in that setting. On the test set, the two classifiers tie at the precision shown in the table. This is a case where a development advantage does not lead to a test advantage.

After augmentation, the Tulu SVM scores 0.16 macro F1 on development and 0.20 on test. The augmented ensemble scores 0.15 on development and 0.15 on test. The SVM is ahead on both splits in this setting. Each classifier has a lower reported test score after augmentation than it had with the original training data. The highest Tulu test scores in the table are therefore the tied results from the unaugmented runs.

Tulu test macro F1 by classifier and training setting Both classifiers reach their highest reported test score with the original training data.

**The numbers**

| System or setting | macro F1 |
| --- | --- |
| SVM with original training data (this paper) | 0.35 |
| Voting ensemble with original training data | 0.35 |
| SVM with augmented training data | 0.20 |
| Voting ensemble with augmented training data | 0.15 |

The Tulu numbers in the paper serve two reporting purposes. The results table records the experimental comparisons, including the unaugmented test scores of 0.35. The abstract highlights 0.204 for Tulu, and the conclusion names 0.20 when reporting the result and rank 15. The table gives 0.20 for the augmented SVM. Retaining the values at their stated precision lets a reader distinguish the highlighted shared-task result from the highest Tulu score in the experimental table. The paper leaves the path from the full set of comparisons to the highlighted Tulu submission unexplained.

The development results add another complication to any claim that the ensemble is generally stronger. Before augmentation, there is a development advantage for the Tulu ensemble alongside a test tie. After augmentation, the Tulu SVM has the stronger score on both splits. The ordering of the classifiers thus depends on the comparison being made. A claim about the best Tulu setting must specify whether it is about the highlighted submission, the augmented comparison, the original-training development scores, or the original-training test scores.

#### Reading the results across languages

Both pipelines use fastText. Both offer a choice between a standalone support vector machine and a vote. Those common features help a reader orient within the experiment, but the two language evaluations involve several simultaneous differences. They use different comments, different pretrained resources, and different label names for some categories. Tulu uses a TF-IDF component in addition to its pretrained features and draws the augmented material from a wider assortment of sources. A comparison of the raw macro F1 values across Tamil and Tulu is therefore a comparison of whole task settings.

For the same reason, a higher score in a Tulu run gives no direct measure of the advantage provided by the TF-IDF component. The score reflects everything that differs between the settings, including the language and class distributions. Establishing the contribution of the extra feature source would call for a comparison within Tulu that keeps the data, preprocessing, and classifier fixed while changing the feature set. The reported comparisons are most informative about the SVM, the ensemble, and the augmentation conditions as they were used in each language.

The paper comments on Tamil’s greater imbalance and associates the gap between common and rare categories with classifier performance. The counts establish that the training data remain skewed, and macro F1 makes performance on rare categories matter. As evidence about the size and direction of an augmentation effect, the within-language test comparisons are more direct. Those comparisons show a gain for one Tamil system, an unchanged Tamil SVM score, and lower Tulu scores after augmentation. The rankings report how the participants’ highlighted results placed under shared-task evaluation. They do not identify the causes of those particular scores.

### What the ablations show

#### The reported comparisons vary the training data and the classifier

The paper provides no component-by-component ablation. It compares training before and after the additions to the minority classes, and it compares the standalone support vector machine with the voting ensemble. These comparisons establish which of the reported configurations performed better on a given split. They leave the contribution of each feature source, preprocessing operation, and voting member unresolved.

The Tamil augmentation comparison is the closest to a focused change in the training set. The procedure adds examples from the existing development material for selected labels. The Tamil test result for the ensemble increases from 0.13 to 0.14, while the SVM test result remains 0.05. As a comparison of the reported settings, this gives evidence of a small gain for the ensemble. The result is specific to that classifier and that selection of examples. Because the additions both enlarge the training set and alter its label distribution, even this comparison does not isolate class balance from the amount or contents of the added material.

The Tulu comparison changes more at once. Some added examples come from the development split and others come from the additional collection of posts, comments, and chat. These additions target the same rare labels. The augmented results therefore reflect a combined intervention involving label frequency, training size, and the source of examples. The test scores drop from 0.35 to 0.20 for the SVM and from 0.35 to 0.15 for the ensemble. These observations show how the joint change performed. They give no separate estimate for adding the development examples or for adding the externally gathered material.

One possible explanation of the drop is that the added text favors expressions that differ from those in the task’s test comments. Another is that its effect on class decisions depends on how the classifiers respond to a changed distribution of labels. The paper does not adjudicate between these possibilities. Both concerns arise from what changed in the training examples, and distinguishing them would require separate runs for the data sources or a more detailed account of where predictions changed.

#### The vote is an alternative classifier, not a test of each vote

Comparing the ensemble with the standalone SVM tests the combined decision. It gives the clearest evidence in Tamil, where the ensemble’s test score is higher with either version of the training set. In Tulu, the original-training test runs tie at 0.35, and the augmented SVM scores higher than the augmented ensemble. The resulting pattern supports a Tamil advantage for the reported vote and a more conditional account of its performance in Tulu.

The ensemble substitutes a voting decision for the standalone SVM and contains its own support vector classifier. The paper gives different setting descriptions for the standalone SVM and the support vector member of the vote. Without individual scores for the ensemble’s members, a reader cannot determine how the vote compares with its strongest constituent. The ensemble gain on Tamil could involve complementary errors, a particularly strong member, or a combination of the two. The aggregate comparison cannot show which comments were rescued by agreement or which were changed to an incorrect label by the vote.

The same issue applies to the feature choices. The Tulu method gives a concrete reason for including TF-IDF, since the authors report a coverage problem for romanized Tulu. The results do not include a Tulu run with only the pretrained vectors under the same setup. Neither do they break test performance down by script, vocabulary coverage, or the presence of an English segment. The reported numbers can establish the performance of the combined features, while the stated coverage problem supplies a motivation for their design.

There is a similar gap between the imbalance diagnosis and the evidence about any individual label. A macro F1 change combines several class results. It could follow from better prediction of an augmented minority label or from a shift in errors across other labels. The paper reports no class-specific precision, recall, or F1 values to track those shifts. Its analysis identifies an uneven distribution that survives the augmentation and shows how the full systems react to the intervention. The mechanism behind each score change remains open.

### Limitations

#### Limits the authors identify

The authors explicitly identify uneven class frequencies as a constraint. Their additions make several rare classes larger, while the most frequent labels retain a substantial advantage in the number of examples. They regard the imbalance as especially pronounced for Tamil. The reported counts give this interpretation a direct basis in the training sets. The link from the remaining imbalance to a particular test error, however, is the authors’ interpretation of the results. The experiment does not directly manipulate imbalance while holding the amount and origin of training text fixed.

The authors also identify limited language resources as an obstacle, particularly for Tulu. The problem becomes concrete in their account of vocabulary coverage. Their chosen Tulu and English pretrained resources leave romanized Tulu words outside the vocabularies available for the experiment. TF-IDF offers a way to keep those words in the representation. The paper makes a case for retaining the forms, while leaving open how well the fallback covers variants of the same expression or works for a spelling seldom seen in training.

Informal writing is a further constraint in the account the authors give. Comments can combine scripts, mix languages, and use variable spellings. A single compact comment may have several roles, such as asking a question and indicating an evaluation. The authors focus on representations and classifiers that can process this material with the resources available. They do not supply a separate analysis of how a type of variation, such as transliteration or a shift between languages within a sentence, affects the likelihood of a correct prediction.

#### Limits visible in the design

Development data have a dual role in the paper. In the general experimental description the split helps identify promising feature and classifier combinations. In the augmentation procedure some examples from that split become training examples. A development score is most straightforward to interpret when it comes from examples that were unavailable during training. The paper does not describe precisely which comments are evaluated for the augmented Tulu development scores or how the revised evaluation set was reconstructed. This leaves uncertainty about comparing those development scores with the unaugmented ones. The Tamil augmented entries are blank, so the paper provides no corresponding development comparison for that language.

The paper describes the organizer-scored test set as the final evaluation and identifies development and additional collected material as augmentation sources. It gives no indication that test examples were deliberately added to training. The issue visible in the setup is therefore the interpretation of development after reuse and the limited detail about safeguards when gathering additional examples. For example, the paper does not say how it checked whether similar externally gathered examples duplicated comments already present in one of the task splits.

The collection process for external Tulu material also leaves questions about comparability. The authors name the platforms and say the material was similar to examples in the two targeted classes. They do not report class-level counts by source, a detailed selection procedure, or how decisions about the labels were checked. A learner trained on the enlarged pool is exposed to the joint outcome of those choices. A reader can follow the change in training-set size while having limited information about the nature of the extra examples.

The two label inventories also place a boundary on interpretation. The paper uses *Unknown state* for one Tamil category and *Neutral* for a Tulu category. A result by language combines the statistics for that dataset’s named labels. The paper does not give the annotation criteria needed to tell whether differences in label wording correspond to different judgments about the same kind of comment. This matters for questions about transfer across the languages, especially when a message conveys a factual observation, a question, or a sentiment a reader considers ambiguous.

#### Limits of the implementation description and the scores

Several implementation details needed for close reproduction are unspecified. The paper gives the sources of the word vectors and the use of concatenation but leaves the aggregation of the word representations into a comment vector unclear. It does not describe how native-script, English, and romanized terms are identified in all cases. It gives no comparable account for uncovered romanized Tamil. For the Tulu TF-IDF component, the exact feature vocabulary and fitting procedure are also left unstated. These are decision points because they determine which portions of a message the classifier can actually use.

Other gaps concern how classifiers receive those features. Bernoulli Naive Bayes expects binary inputs, but the precise handling of the real-valued input is not reported. The selected settings for logistic regression and the support vector methods are given without a complete account of the remaining parameters. The multiclass decision rules and the ensemble’s tie handling are not specified. Together, these gaps limit how precisely a reader can reproduce the particular scores from the method description alone.

The results table gives one value for each reported combination of language, classifier, and split. There are no uncertainty estimates or repeated-run results in the account. The small improvement from 0.13 to 0.14 for the Tamil ensemble is an observed change in these runs. The paper gives no way to assess how stable it would be under a different selection of minority examples or a repeat of configuration selection. The same distinction applies to the apparent test tie for the original Tulu training data, which is a tie at the precision the table reports.

The absence of a breakdown by class or by input type also limits the conclusions. Macro F1 is suited to summarizing performance across unevenly represented classes, yet it leaves a reader unable to see which label accounts for an individual run’s weakest performance. A breakdown by script or out-of-vocabulary status would address a different question, namely whether the system works better for comments whose words already have pretrained representations. The paper gives examples of the variation but reports no error analysis organized around it.

Preprocessing presents a related gap. The authors preserve emojis through text conversion and discard several other elements, including punctuation and hashtags. Those are reasonable choices to test as part of a text representation. Their individual effects are unmeasured in the reported experiments. A reader therefore cannot infer from the final macro F1 which original cues helped, whether a discarded cue would have been useful, or how much the retained emoji descriptions contributed. The result evaluates the particular combination of decisions.

Finally, the table’s highest Tulu test scores and the Tulu score highlighted for the shared task answer different questions about the experiments. The table shows 0.35 for both unaugmented classifiers. The abstract reports 0.204, and the conclusion reports 0.20 and rank 15. The paper gives insufficient detail to reconstruct why the highlighted result corresponds to the lower-scoring region of the table. The safest reading preserves each number with its reporting context and keeps the experimental maximum separate from the result attached to the submission.

### What came after

There are no documented follow-up studies that build on this paper. The shared-task findings and the corpus studies belong to the work that made the MUCS experiment possible. The corpus work supplied a basis for training and comparing sentiment classifiers on code-mixed comments, and the shared task defined how predictions would be assessed. These connections establish the setting of the submission without supplying evidence of later adoption or extension of its method.

The work leaves specific empirical questions open. The Tulu system gives romanized words a route into the classifier through TF-IDF, while its reported comparisons leave the value of that route unmeasured. The augmented Tulu training set combines examples from the task’s development material with newly collected text, so the reported changes leave the effects of those sources unresolved. For Tamil, the ensemble’s test advantage establishes a result for the combined vote, and the paper leaves the individual learners’ contributions open. These are boundaries on what the original experiments establish, rather than results from subsequent work.

## Cite

Cite as Rachana K, Prajnashree M, Asha Hegde and H. L Shashirekha. 2023. MUCS@DravidianLangTech2023: Sentiment Analysis in Code-mixed Tamil and Tulu Texts using fastText. Proceedings of the Third Workshop on Speech and Language Technologies for Dravidian Languages.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{k2023mucs,
  title = {{MUCS@DravidianLangTech2023: Sentiment Analysis in Code-mixed Tamil and Tulu Texts using fastText}},
  author = {Rachana K, Prajnashree M, Asha Hegde and H. L Shashirekha},
  booktitle = {Proceedings of the Third Workshop on Speech and Language Technologies for Dravidian Languages},
  year = {2023},
  url = {https://aclanthology.org/2023.dravidianlangtech-1.38/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
