Resource Creation Towards Automated Sentiment Analysis in Telugu (a low resource language) and Integrating Multiple Domain Sources to Enhance Sentiment Prediction
Paper · 2018 · Rama Rohit Reddy Gangula and Radhika Mamidi
Summary
A song can express sadness without using words that a sentiment dictionary marks as negative. A review can make its verdict clear to a reader despite spelling errors or colloquial phrasing. To teach an automated system to recognize such judgments in Telugu, Gangula and Mamidi needed examples in Telugu script with labels that reflected how people understood the text. They built Sentiraama for sentiment analysis, the task of identifying the attitude or emotion conveyed by a text. Their study asks how to create a usable resource when suitable data are scarce and whether examples from several kinds of text can help classify documents from any of them.
Sentiraama contains 339 sets of song lyrics, 267 movie reviews, 200 product reviews, and 200 book reviews. Each document receives a positive or negative label. The meaning of that label depends on the domain. For lyrics, the annotators considered the emotion of the song in its movie scene. For reviews, they considered the writer’s judgment of the item. Movie ratings gave the annotators a starting point, with a closing verdict used for midpoint ratings. Suitable Telugu book and product reviews were hard to find, so the authors used manual translation from English and asked the translators to preserve the sentiment of the original.
The authors evaluated Bernoulli Naive Bayes and support vector machines under different training arrangements. Both classifiers did well when trained and tested within the same domain. A classifier trained on a single domain generally did much worse when tested on another. For example, the support vector machine scored 84.034% F1 on book reviews in the within-domain evaluation and 50.5% F1 on book reviews when trained on product reviews. The same transfer direction gave Bernoulli Naive Bayes 76.8% F1, showing that the severity of the decline could depend on the classifier as well as the training source.
The strongest pooled results came from training a support vector machine on 80% of each domain. With that arrangement, it reached 86% F1 on movie reviews and 85.497% F1 on lyrics, modestly above the within-domain scores for those datasets. When the share of labeled material from the test domain fell to 50% or 20%, performance generally lay between the within-domain and single-source transfer results. Lyrics were especially sensitive to the reduction. Pooling therefore gave the authors a way to use several collections with one classifier, and it could help when the domain of interest supplied only a small share of its own labeled documents. Every pooled arrangement still included some labeled examples from that domain.
Deep dive: Resource Creation Towards Automated Sentiment Analysis in Telugu (a low resource language) and Integrating Multiple Domain Sources to Enhance Sentiment Prediction
Gangula and Mamidi build Sentiraama for Telugu sentiment analysis and test how pooling song lyrics and reviews affects document classification. · about 33 minutes to read
The problem and its context
A language can have many speakers and few labeled datasets
The immediate obstacle was finding enough Telugu documents with usable sentiment judgments. A large population of speakers does not automatically provide a collection of reviews in the desired script, with clear origins and consistent labels. A page of song lyrics supplies a text but leaves its emotional category to be established. A review may supply both text and a rating, but the rating can sit at the midpoint, where a rule has to account for what the writer actually says. Corpus creation involves deciding what evidence is good enough to attach a class to each document. The authors treat the availability of that evidence as a problem in its own right, a familiar distinction in work on low-resource languages.
The intended uses help explain the choice of task. The authors describe sentiment analysis as a way to get an overview of opinions expressed online, including what people think of products and what attitudes they express in public discussion. Reading a single document may be straightforward for a person. The automation problem is to perform analogous judgments across collections of texts that differ in language, length, and purpose. Sentiraama makes this broad goal concrete by assigning a polarity to each document. Polarity here is the direction of an evaluation or emotion, expressed through the labels positive and negative.
The paper gives two reasons that grammatical and lexical evidence can be difficult to use in Telugu. It describes Telugu as agglutinative, meaning that meaningful pieces can combine within a word, and calls its word structure complex. That matters for a system that learns from observed words because different forms can divide the evidence associated with related expressions. The paper also notes practical difficulties with reviews, including informal language, misspellings, and sentences that depart from standard grammar. These are separate obstacles. One concerns how the language forms words, while the other concerns how people write on the kinds of sites the authors wanted to use. The first belongs to morphology.
The restriction to Telugu script also shaped collection. A document had to be available in a form that matched the corpus the authors intended to build. The paper identifies the shortage of lyrics in that script as a constraint even in a domain where the researchers could locate websites devoted to song lyrics. For books and products, the shortage was serious enough to change how documents entered the resource. The project thus brings together different responses to scarcity. The authors collected what was available for some domains and used another language as a source of review content for others.
The label depends on what the document is doing
The choice to include songs and reviews makes the task broader than sorting different products into favorable and unfavorable categories. A reviewer evaluates an item. A set of lyrics may express how a person feels at a particular point in a film. Positive and negative are shared names for the resulting classes, but the decisions that produce those classes refer to different things. The song label concerns the perceived feeling carried by the performance in context. The review label concerns the writer’s approval or dissatisfaction. Once the labels are assigned, the classifier has to work with the text associated with each kind of judgment.
The lyrics problem shows why an inventory of sentiment words would have limited reach. A general list of subjectivity clues collects words or expressions that commonly convey attitudes. The authors observe that lyrics can convey positive or negative feeling while containing none of the clues in such a list. Their concern extends to the situation in which the song appears. A reader can understand the wording and still misunderstand the emotion if the scene gives those words a different significance. This is one instance of the paper’s more general point that intention and situation can affect the sentiment attributed to a text.
Reviews bring a different difficulty. The label is tied to a recognizable question about the writer’s judgment, but the evidence may be spread across a document. A review can discuss the item at some length before stating a final view. With a clearly favorable or unfavorable rating, there is already an explicit signal to compare against the prose. When that rating is at the midpoint, the authors look for the reviewer’s own closing assessment. The procedure uses the structure of the document to resolve a case that the numeric scale alone leaves open.
These choices define a document-level task. A document is the entire review or set of lyrics. A movie review may discuss several aspects of a film, and a product review may address several properties of an item, while still receiving a single label. The paper’s unit of analysis is the overall judgment. An automated decision about a particular feature, character, or entity would require a different annotation target. That distinction also explains why a collection with many sentences can still provide relatively few independent training examples for this study.
Earlier systems and the gap the authors saw
The paper describes two common approaches to automated sentiment analysis. A supervised classifier learns from texts paired with labels. An approach based on an expert-defined lexicon starts from expressions associated with particular sentiments. These are two ways of supplying evidence to a system. The first uses judgments about examples of the target task, while the second starts from generalizations recorded about words and expressions. Sentiraama primarily addresses the need for judgments about examples. The creation procedure still draws on lexical clues at one point when checking the song labels. The learning approach used in the experiments is supervised machine learning.
The earlier English-language studies in the paper cover customer reviews, newspaper headlines, blogs, novels, and email. That range supports the authors’ observation that practical systems must accommodate properties of the texts they handle. A headline has little space to express an evaluation. A review or a novel can unfold across a much longer passage. Formality also varies, and the kinds of expressions that carry feeling in one collection may have a different role in another. The related work establishes that sentiment analysis had already been attempted on varied material, with the requirements of particular kinds of text shaping the task.
The authors describe a smaller body of related Telugu work. They point to studies involving song lyrics and news, and they present their own effort, to their knowledge, as the first document-level sentiment study in Telugu. Their resource combines several kinds of Telugu-script documents and supports experiments built around the distinction between them. Work on songs supplies a precedent for treating Telugu song material as an object of sentiment analysis. Work on news supplies another example of processing Telugu text in a different setting. The paper does not give an extended comparison of those earlier studies’ protocols, so its account of the gap rests on the scope and document-level design of Sentiraama.
The resource problem leads directly to the experimental question. Supervised training is easiest to justify when the examples resemble the texts that will be classified. That option becomes harder when the intended domain supplies few labeled documents. The authors consider whether a larger pool spanning several sources can support decisions across the collection and whether it can compensate, in part, for a small labeled contribution from the domain being tested. Their domains give them a way to try this question while keeping the language and the names of the output labels fixed.
The method, step by step
Decide what constitutes a labeled example
The procedure starts with a choice about the input and output. The input is a complete text in Telugu script. The output is a positive or negative designation. The authors then define the evidence annotators should consider for each kind of text. A common output makes it possible to train a classifier on documents from several domains, but the instructions for making that output have to account for the purpose of the document. Asking whether a person is satisfied with a product makes sense for a product review. To label a song, the annotators instead consider the feeling conveyed in its setting. Assigning such structured judgments to texts is a form of linguistic annotation.
The authors frame the work around defining sentiment, specifying annotation instructions, choosing the kinds of classification and sources, and applying the instructions. The collection stage then diverges by domain. Where suitable original material can be recovered from websites, the authors gather and clean it. For categories where the supply of Telugu reviews is especially small, manual translation creates additional usable text. Both routes end with Telugu documents that can be processed in the same classification experiments.
From source documents to Telugu sentiment predictions
The steps in order.
The stage of checking judgments is important because a usable class label depends on more than an annotator’s immediate impression. The authors allow different sources of clarification, including the film scene for lyrics and explicit reviewer judgments for movies. This introduces a distinction between information used to establish the answer and information used to predict it. For example, the scene can inform a song’s annotation, while the task for the classifier is sentiment analysis from lyrics. The corpus encodes the annotators’ interpretation of the available evidence as the answer associated with the text.
Collect song lyrics and establish their emotional context
The authors gathered lyrics from a pair of websites and sought distinct songs. They removed markup and accompanying material that did not belong to the lyrics. This step establishes what counts as the document, since a website can contain navigation or other text alongside the material a researcher wants. After cleaning, the collection contained 339 sets of lyrics in Telugu script. The authors attribute the modest size to the relative scarcity of suitable online material in that script.
Annotation began with a reading of the words and an initial sentiment judgment. Next the annotators learned the situation in the movie where the song occurred and corrected any initial judgments that the context called into question. The procedure reflects the authors’ view that film songs can express a person’s emotion at a particular moment in the story. It also makes clear what the annotation is intended to capture. The category is the emotion perceived in the song as situated in the movie. It is possible for the lyrics to carry textual clues to that emotion without making it fully recoverable from the words alone.
The authors add a separate check based on counts of positive and negative subjectivity clues in the prominent tags for the songs. This gives them another signal against which to compare the assigned category. The count is described as a check after contextual review. The paper gives no rule that would take the counts alone and turn them into the final label. Its earlier observation about songs with little overt subjectivity helps explain why the recipe has both a human contextual step and a lexical check.
After this process, the lyric collection had 230 positive and 109 negative documents. The authors relate the imbalance to the material they were able to collect and to their observation that positive songs were more common. In the corpus, this means a learner encounters favorable examples more often than unfavorable ones if it sees the underlying proportions. The same imbalance matters when considering aggregate evaluation, since a score can hide whether performance differs between the classes. The paper’s per-class reporting provides some evidence about that difference.
Use movie ratings and read the closing verdict when needed
The authors collected 267 movie reviews from Telugu websites. A rating supplied the initial rule for labels. A rating above 2.5 out of 5 yielded a positive label, while one below 2.5 yielded a negative label. For a review rated exactly 2.5, annotators read the reviewer’s closing line of assessment and used it to resolve the direction. This threshold is specific to a rating written by the reviewer. It is separate from any score assigned by a classifier during prediction.
The midpoint case illustrates how the procedure combines a compact signal with an interpretation of prose. A rating exactly at the threshold does not by itself send a document to either side of the decision. The closing judgment can make the writer’s position clearer. The annotators subsequently checked the label against the entire review. The authors report that this review of the documents did not reveal errors in the labels generated by their procedure. That result concerns the authors’ check in the collected data.
The movie corpus contains 136 positive and 131 negative reviews. The paper describes it as containing 10,000 sentences in its corpus discussion and as exceeding that total in the collection description. The scale of the prose is useful context for understanding this domain. The documents provide many opportunities for sentiment to be expressed within a review, but the annotated unit is still the complete item. A classifier may recognize evidence from several sentences at once and is evaluated on the single judgment attached to the review.
Translate reviews with the original judgment in view
The authors report finding only 20-30 reviews written in Telugu when looking for book and product material. They considered the available data too small for the planned training and sought English reviews to translate. Since the whole purpose was to preserve the writer’s evaluation in Telugu, a version that conveyed the object being discussed but weakened or changed the author’s attitude would be inadequate. This was a central quality requirement for the translation route.
The authors tried Google Translate before deciding on manual translation. They report that in their trial the output lost meaning as well as emotional content. They assigned the work to two experienced translators. The paper’s account gives a reason for choosing manual work on this corpus, drawn from its experience with machine translation.
The described translation procedure starts with normalizing the source material. Spelling mistakes are corrected, abbreviations are expanded, and numbers are kept in Roman script. Expansion is intended to keep a shortened expression and its full form from appearing as separate vocabulary simply because of how the reviewer wrote them. Normalization here belongs to preparation for translation. The paper does not lay out a corresponding normalization routine for every domain.
The translators first established what the review meant and how the writer felt. They then produced Telugu phrasing compatible with Telugu grammar and syntax while aiming to carry over the same sentiment. This sequence makes meaning and emotion explicit translation requirements. The translators had to understand the strength and direction of the opinion before choosing the target-language wording. The authors describe the procedure as accurate for their purposes and time-consuming to perform.
For labeling, the annotators read the whole review and considered whether its writer was satisfied. The stated positive rule combines satisfaction with a rating above 2.5 out of 5. The negative rule combines dissatisfaction with a rating below 2.5. The paper describes a specific tie-breaking procedure for midpoint movie ratings and leaves the equivalent cases in books and products unspecified. The collections produced include 200 reviews of books and 200 reviews of products. In each domain, 100 are positive and 100 are negative.
The authors wanted equal representation of the labels in those collections so that the training data would not encourage the classifier to favor a class simply because it appeared more often. That is a choice about how to construct the experimental resource. It does not estimate the real proportion of favorable opinions in either domain. The contrast in collection procedures is also relevant to interpretation. The lyric documents derive from existing Telugu-script material, while the book and product collections draw on a procedure that includes translation and normalization.
Check agreement on the document judgments
Two annotators labeled all the items across the domains on the positive and negative scale. After meetings and discussion, the reported kappa was 0.9. Kappa expresses how much the labelers agreed after accounting for agreement expected by chance. The value in the paper describes the process after the annotators had discussed the work. The authors give an overall figure and do not break it down by domain or annotation stage.
The labels provide the target for supervised learning. They encode different kinds of judgments through the same class names, which is what makes combination possible. A positive movie review and a positive song can both enter a pooled training set under the same output category. The compiler of the corpus has already resolved the distinction between approval of a movie and positive feeling in a scene by giving the learner a common polarity label. Whether the textual evidence supporting those two categories is sufficiently similar is an empirical question.
Train classifiers on the text associated with the labels
The paper uses Bernoulli Naive Bayes and a support vector machine, both implemented with scikit-learn. They solve the same text classification problem by different means. Each learns from the relationship between representations of documents and their positive or negative labels. The paper motivates the use of Naive Bayes by citing its performance in text applications and motivates the support vector machine through earlier work on text categorization with support vector machines.
For Naive Bayes, the decision is based on which class has the greater probability conditional on the observed words. The paper expresses the quantity being compared as follows.
P(C | X)
P denotes probability. C stands for a sentiment class, either positive or negative. X is the set of words for the document being classified. The vertical bar means “given,” and the parentheses enclose the class and the evidence used to evaluate its probability. The classifier evaluates the candidate classes and assigns the document to the one with the higher conditional probability.
The Bernoulli variant treats a feature as present or absent. Thinking of a feature as an indicator for a word gives an intuitive reading of the method. A word that regularly appears in a particular class can provide evidence for that class, and the class probabilities combine evidence over the representation. The name Naive Bayes refers to the assumption that features are independent once the class is given, which allows the learner to build a class score from separate feature contributions. The paper identifies the variant and states the decision rule, while leaving the exact conversion of Telugu text into features unspecified.
The support vector machine uses a geometric description. A document is represented by a point, with each feature corresponding to a coordinate and the value of that feature determining where the point lies along that coordinate. The paper calls the number of dimensions n. The classifier seeks a separating hyperplane, a boundary in that feature space. With fewer dimensions a boundary is easier to visualize, but the idea in the paper’s diagram is the same for a text representation with many coordinates. Once fitted, the boundary determines which class is predicted for a represented document.
The two algorithms provide different ways to make use of the same annotation scheme. In naive Bayes, the central quantity is the class probability given the observed evidence. In the support vector machine, the central object is a decision boundary fitted to the labeled points. The experimental variable that matters for domain transfer is which documents contribute evidence during fitting. Training on another domain can alter the estimated relationship between words and classes or change the positions of the points that determine the boundary.
Change which domains supply the training examples
In the within-domain arrangement, training and evaluation use documents from the same domain. The authors use 10-fold cross-validation. The documents are divided into folds, and each fold serves in turn as test material for a classifier trained with the remaining folds. A book-review classifier in this arrangement has examples of book-review language among its training material. The test asks whether it can extend what it learned to other documents in that same collection.
In the cross-domain arrangement, a single domain supplies the training documents and a different domain supplies the test documents. The direction is part of the setting. Training on songs and testing on movie reviews is a different experiment from training on movie reviews and testing on songs. Each direction changes the examples from which the classifier learns and the population of documents against which its predictions are judged. The authors test the ordered pairings of the domains for both algorithms.
The pooled arrangement uses a support vector machine trained with documents from every domain. The paper specifies three cases. In the first, the training data include 80% from each domain. In the second, they include 80% from each of the other domains and 50% from the domain being evaluated. In the third, the contributions from the other domains again stay at 80%, while the target-domain contribution falls to 20%.
The target domain is the one on which the authors evaluate the fitted classifier. The lower its training share, the more of its collection is available for testing under the stated procedure. This matters for interpreting comparisons across cases. Changing the target share simultaneously changes the amount of target supervision and the allocation between training and evaluation. The experiment asks whether the pooled procedure remains effective when given less target-domain training material. The authors announced Sentiraama as the data resource associated with the work.
Experiments and results
What the evaluation measures
The experiments use the four components of Sentiraama as distinct domains. The same positive and negative labels make it possible to compare settings even when the source of training changes. Within-domain training is the main reference for learning from a matching collection. Single-source cross-domain training is the reference for transfer without any labeled examples from the test domain. Pooled training tests whether one classifier can draw on several collections, including some of the domain it is evaluated on.
The paper reports precision, recall, and F1. For a particular class, precision asks how many of the documents predicted to belong to it really carry that label. Recall asks how many documents with that label are found. These questions apply equally to the negative class. A classifier may predict negative only when the evidence is particularly clear, producing high precision while missing some actual negative documents. A classifier that makes the negative decision more freely may find more of them while also assigning that label to positive texts.
Taking the harmonic mean of recall and precision gives F1. It rewards a setting that does well on both and is sensitive when either is low. The within-domain tables list precision and recall for the classes and a reported F1 for each domain and algorithm. The transfer tables give an F1 for each training and test pair. The pooled results give precision, recall, and F1 for each target domain under each share of target-domain training data. The paper sometimes discusses its overall findings using the word accuracy. The numerical comparisons below use the reported F1 column and preserve its precision.
Within-domain performance provides a strong reference
When training and testing used the same kind of document, the two classifiers produced similar F1 values. For lyrics under 10-fold cross-validation, Bernoulli Naive Bayes reached 84.03% and the support vector machine reached 84.25%. Movie reviews gave 83.25% for Naive Bayes and 83.3% for the support vector machine. Across these domains, the distinction between training on the right type of text and training on a different type was much more consequential in the paper’s results than the choice between these algorithms under matching training conditions.
For product reviews, Naive Bayes scored 85% F1 and the support vector machine scored 84.499% F1, both under within-domain 10-fold cross-validation. On book reviews, the corresponding F1 values were 84% and 84.034%. The product collection is the case where Naive Bayes had the higher reported within-domain F1. For books, the reported aggregate results were especially close, even though the tables present different precision and recall patterns for the algorithms.
Within-domain F1 on Sentiraama product reviews under 10-fold cross-validation
Bernoulli Naive Bayes has the higher reported F1 on product reviews.
The numbers
| System or setting | F1 % |
|---|---|
| Support vector machine | 84.499 |
| Bernoulli Naive Bayes (this paper) | 85 |
The class-level results add detail to those aggregate comparisons. On product reviews, Naive Bayes has precision and recall of 85% for each class. For book reviews, its corresponding class-level values are all 84%. This shows how the reported aggregate can arise in a setting where the summary metrics for the two labels coincide. Even there, the scores do not say whether the classifiers misread the same expressions, show trouble with particular kinds of product, or agree on the documents they get wrong. The tables describe predictive performance at the level of labels and metrics.
One practical interpretation of these results is that each collection carries sufficient signal for the evaluated learners to make useful distinctions among documents from that collection. The experiment provides a reference for what each algorithm can do with access to labels in its eventual domain. It is also a check on the design of the resource. A classifier repeatedly evaluated on held-out documents in a corpus is being asked to generalize beyond the particular examples it was fitted on, within the conditions of that collection and its annotation rules.
Transfer from a single foreign domain generally loses ground
The cross-domain experiment holds the task and language fixed while changing where the learner gets its evidence. F1 declines relative to within-domain testing across the reported transfer pairings. The magnitude depends on the source, the destination, and the algorithm. This last qualification matters. An apparently promising source for one classifier can give a much weaker result with the other. A direct comparison is possible wherever both algorithms were tested using the same direction.
For book reviews, Bernoulli Naive Bayes reached 50% F1 when trained on lyrics, 67.4% when trained on movie reviews, and 76.8% when trained on product reviews. Its within-domain book-review score was 84% F1. This gives an ordering among the foreign sources for that particular classifier and target. Product reviews furnished the strongest foreign source, and lyrics the weakest. The result is compatible with product and book reviews offering more shared textual evidence, although the experiment does not isolate the characteristics that produce this ordering.
The support vector machine supplies a check on that interpretation. For the same book-review target, its F1 was 56.7% from lyrics, 45.5% from movie reviews, and 50.5% from product reviews. Its ordering of those sources differs from the one for Naive Bayes. In particular, the training direction that gave Naive Bayes its strongest transfer result gave the support vector machine a much lower score. The product-to-book pairing by itself therefore cannot establish a general ranking of which domains are closest.
Bernoulli Naive Bayes F1 on Sentiraama book reviews by training domain
Product reviews provide the strongest foreign training source, and training on book reviews gives the highest F1.
The numbers
| System or setting | F1 % |
|---|---|
| Song lyrics | 50 |
| Movie reviews | 67.4 |
| Product reviews | 76.8 |
| Book reviews under within-domain cross-validation (this paper) | 84 |
The book and product pairing is also informative in the reverse direction. Naive Bayes trained on book reviews reached 72.6% F1 on product reviews. The support vector machine reached 61.9% F1 in that direction. The book-to-product results can be compared within each algorithm to its corresponding product-to-book result. For Naive Bayes, product-to-book was stronger. For the support vector machine, book-to-product was stronger. These are different tasks because the learners and test populations change with the direction, even when the same domain names appear in the pair.
Lyrics as the test domain show a more consistent pattern of weakness across foreign sources. For Bernoulli Naive Bayes, movie, product, and book reviews as training sources yielded 51.1%, 51.3%, and 47% F1 on lyrics, respectively. For the support vector machine, the same sources yielded 50%, 54.1%, and 49%. These runs all trail the within-domain lyric results. The label definition and the authors’ emphasis on film context provide reasons to examine this pattern, since reviews use polarity to express a different kind of judgment. The runs measure transfer performance without identifying which expressions or judgments were responsible for particular errors.
Training on lyrics also gave limited results when movie reviews were the target. Naive Bayes reached 49.5% F1, and the support vector machine reached 52.2%. For both algorithms, the same source did better when the target was product reviews, with 53% F1 for Naive Bayes and 60.9% for the support vector machine. A classifier trained on lyrics can therefore produce different aggregate results across review collections. The study provides separate entries for these directions, which preserves information that would disappear in an average over test domains.
Movie reviews as the test domain show a clear example of how the learners can respond differently to the same training source. With product reviews as training data, Naive Bayes scored 64.94% F1 and the support vector machine scored 51.5%. With book reviews as training data, the figures were 61.32% and 46.6%, respectively. The within-domain movie-review results had been close for the two classifiers. In this setting their similar performance on matching data did not carry over to the transfer comparisons.
Pooled training works best with a substantial target contribution
With 80% of the documents from each domain available for training, the pooled support vector machine achieved 86% F1 on movie reviews, 85.497% F1 on lyrics, 87% F1 on product reviews, and 86.497% F1 on book reviews. Each is above the support vector machine’s within-domain F1 for the corresponding corpus. The authors characterize these gains as small compared with the differences between pooling and single-source transfer. This is the arrangement behind their broad conclusion that one classifier trained on several sources can serve the domains they evaluated.
The pooled arrangement changes the training set in two ways that matter when reading this comparison. It supplies examples from domains outside the one being scored, and it evaluates a stated split with 80% of the target domain in training. The within-domain reference uses 10-fold cross-validation. Consequently, the comparison describes the outcomes of two complete protocols. It gives evidence that the pooled procedure works well on the paper’s data, while the independent effect of adding foreign-domain examples remains to be measured on a common split.
At a 50% target-domain training share, the pooled support vector machine achieved 83.497% F1 on movie reviews, 70.98% F1 on lyrics, 81.497% F1 on product reviews, and 77% F1 on book reviews. These results indicate that the pooled training procedure continues to classify documents from every domain when the contribution from the test domain is reduced. Movie reviews retain a score close to their within-domain comparison, whereas lyrics show a much larger decline. The different outcomes are easy to miss if attention is confined to the best pooled configuration.
At a 20% target-domain training share, the pooled figures were 81% F1 on movie reviews, 66.985% F1 on lyrics, 78.497% F1 on product reviews, and 76% F1 on book reviews. In the support vector machine comparisons, these scores are all above the corresponding single-source transfers into each target. That comparison describes a practical distinction between access to a small labeled target sample combined with other data and training on a single foreign collection alone.
Pooled support vector machine F1 on Sentiraama song lyrics by target training share
Lyric classification improves as the pooled training set includes more labeled lyrics.
The numbers
| System or setting | F1 % |
|---|---|
| 20% of lyrics in training | 66.985 |
| 50% of lyrics in training | 70.98 |
| 80% of lyrics in training (this paper) | 85.497 |
The pooled advantage has a qualification when comparing across both classifier families. For example, the 76% F1 on book reviews with a 20% target share is below the 76.8% F1 that Naive Bayes achieved using product reviews alone as the source. The authors’ general account of stronger pooled performance describes a pattern across settings. An engineer choosing among the reported alternatives for a specific task would still need to pay attention to the classifier, the target share, and which foreign source is available.
The domain-specific results give content to the authors’ claim about scarcity. At the smallest examined share, the addition of a labeled target contribution within a pooled arrangement accompanies substantially stronger lyric performance than any of the single-source transfer runs for the support vector machine. Even so, lyrics remain the weakest target in that pooled case. Book reviews, on the other hand, have similar pooled scores at the smaller target shares and a stronger result when the target share reaches 80%. The data support using the pooled procedure under limited target supervision, with performance that depends on how much target data is available and which documents it represents.
What the ablations show
The paper reports no component ablations and instead analyzes training-source direction, classifier choice, and the share of target-domain data in pooled training.
The domain of the labeled examples matters
The contrast between within-domain and cross-domain testing is the broadest comparison. It shows that the learned distinction between positive and negative can depend heavily on which corpus supplied the examples. The shared script, language, and output categories are compatible with large drops when the learner is moved from one collection to another. A learner trained on books, for example, can use whatever textual cues predict polarity in that collection, but the association of those cues with sentiment may change when it is asked to classify lyrics. The transfer tables document the effect on prediction. They leave the causes open among vocabulary, document form, annotation, and other differences between the collections.
The directional experiments add a more precise result. If transfer depended only on how similar two domains are in some single, symmetric sense, their order would have a limited role. Instead, the paper reports different outcomes depending on which collection supplies the examples, which is scored, and which algorithm is used. A source with broad or useful cues for another collection could still be difficult to predict when the direction is reversed. The source determines the evidence available in training, while the destination determines the distribution of documents on which decision errors are counted. The differences between the two directions give separate information about those roles.
The algorithm comparison shows where simple conclusions about the domains become fragile. Bernoulli Naive Bayes performs especially well among the transfer runs from products to books, whereas the support vector machine in the same direction is much weaker. The result shows that source choice and method choice interact in the reported experiment. It leaves an open question about the properties of the underlying features or estimation procedures responsible for that interaction. The paper does not present a feature analysis in which a set of cues is removed and the transfer direction is evaluated again.
Target-domain examples remain important under pooling
Across the pooled cases, the share taken from every foreign domain is held at 80% while the share from the target changes. This makes the reported results informative about the amount of target supervision in the pooled procedure. All domains score highest with 80% target material, and the ordering of the other cases is consistent with better performance when more target data is present. The differences are visibly larger for some domains. Lyrics give the strongest illustration of sensitivity, with 85.497% F1 at the highest target share and 66.985% at the lowest.
The smaller-target cases address an issue that the strongest configuration leaves open. A substantial share of matching data might be difficult to obtain precisely where pooling is attractive. On movie reviews the pooled procedure with a 20% target share gives 81% F1, while on lyrics the same share gives 66.985%. These results show the importance of reporting a response to limited target data by domain. A single characterization of the pooled system as effective would elide the fact that the burden of scarcity is uneven.
There are limits to what can be assigned to the target share alone. The procedure also allocates different portions of the target collection to testing, and the paper does not describe repeated matched comparisons for these cases. Furthermore, every pooled run uses all the other domains. The results leave open how much each one contributes, whether some foreign sources matter mainly for particular targets, and whether keeping the same number of training documents but changing their domain mix would lead to the same ordering. A comparison that removed one source at a time would address a different question from the one the paper evaluates.
The joint reading of the experiments supports a narrower practical conclusion than any single best score would suggest. Training on a mixture with a sizable share of the target domain gave the strongest pooled results. When the target contribution was restricted, the same procedure still generally gave stronger results than relying on a foreign source alone, especially in comparisons that hold the algorithm fixed. The study measures those outcomes for complete training arrangements. It offers no separate estimate of the effects of normalization, translation, contextual annotation, or particular features on the final scores.
Limitations
Limits the authors describe
The authors identify scarcity at the point of collection. There were few lyrics available in Telugu script, relatively few movie reviews, and too few original Telugu book and product reviews for the intended training procedure. This is why translation became part of corpus construction. It also means that reported performance concerns the material the authors were able to assemble under those conditions. Even in movie reviews, where each document can contain many sentences, the evaluation still concerns the available set of complete reviews.
The authors also describe a tradeoff in translation. They considered the output of their machine translation trial unsuitable because meaning and sentiment were lost. Manual translation was the route they judged accurate enough, and it took time. The paper thereby documents a practical barrier to expanding the book and product collections by the same means. Its account of the translation task describes what the translators were asked to preserve. There is no reported comparison of classification performance on alternative translations of the same documents.
For lyrics, the authors explicitly say that reading the words can be misleading when the emotion depends on the movie situation. They use the scene to improve annotation, making the intended sentiment judgment richer than a reading of isolated sentiment words. The harder cases can still pose a challenge to a system that receives the lyrics. Their explanation for why annotation needs contextual knowledge is a limitation on what one can assume a text-based classifier has the evidence to recover.
The authors also acknowledge the drop in F1 as they reduce the labeled target contribution to pooled training. They present pooling as a partial response to scarcity. Their conclusion about broad usefulness is grounded in experiments that include the test domain during training. The authors identify aspect-level and entity-level classification as future directions, with the motivating example of wanting to know which properties of products users like. They also mention political bias in Telugu newspapers as a planned application of ideas about adapting across domains. Those tasks have no reported evaluation in this study.
Limits visible in the experimental design
The unit of judgment is the whole document, and the annotation scale offers a positive or negative decision. A classifier can earn credit for correctly recognizing the reviewer’s overall satisfaction while overlooking a negative comment about a feature. The labels also provide no place to express a separate neutral or mixed judgment. The movie procedure resolves midpoint ratings by reading a closing assessment, with the result still entered as one of the two classes. These choices keep the experiments coherent and restrict the questions their scores can answer.
The label definitions make domain comparison possible at a formal level, while introducing an interpretive complication. Positive feeling in a song and approval of a book share a category in the training data. The systems are evaluated against the judgments the annotation procedure establishes for each collection. A failure to transfer can therefore reflect a shift in what the label describes as well as a shift in vocabulary and style. The experiments vary those conditions together. They leave open how much the transfer scores would change if the collections shared a more nearly identical labeling rule.
Annotation reliability has a similar boundary. The kappa of 0.9 is reported after meetings and discussion. It gives a measure of agreement for the authors’ process after those interactions. The paper leaves initial agreement and per-domain agreement unspecified. A reader therefore cannot use the number to see whether annotators initially found emotional situations in songs harder to agree on than ratings and explicit judgments in reviews. A single aggregate figure also leaves unclear how frequent the difficult cases were.
In the review collections assembled with translation, several characteristics of the data can change at once. Spelling is corrected, abbreviations are expanded, and the translators render the reviews in Telugu with attention to grammar and sentiment. Naturally collected reviews can contain the colloquial and irregular writing the authors identify as a challenge. A comparison between domains may therefore reflect differences in topic and purpose as well as differences in how documents entered and were prepared for the corpus. The paper gives no separate evaluation on translated and originally Telugu examples within the book and product domains.
The corpus proportions delimit another part of the result. Book and product reviews were constructed with equal class counts, movie reviews are nearly balanced, and positive lyrics are more numerous than negative lyrics. The evaluation operates with those collection choices. Performance on a stream of documents with different proportions could place different demands on precision and recall. The reported results also do not establish which parts of the score depend on the balance itself, since the paper does not vary the proportions as an experimental factor.
A further distinction concerns the rating evidence. Ratings and final assessments help define gold labels for reviews. The paper does not give enough detail about input preparation to say exactly how the text presented to the classifiers was separated from rating information embedded in a review or its source page. It also leaves open whether ratings and textual conclusions would be available consistently in a different supply of reviews. For lyrics, the film scene informs annotation, while the classification task is based on lyrics. These differences in what is used to label an item and what is available at prediction are important when applying the results to fresh documents.
Reproducibility is limited by the description of the text representation and training setup. The paper names the algorithms and toolkit, describes the word-based prediction rule for Naive Bayes, and gives the geometry of the support vector machine. It does not specify the full feature construction, vocabulary handling, or classifier settings. This leaves open how forms of the same Telugu word were treated and whether any of the observed transfer behavior depends on choices made during preparation. The description supports re-creating the experimental idea more readily than re-creating every reported score.
Evaluation also differs across the training arrangements. The within-domain results use 10-fold cross-validation. The pooled arrangement uses stated allocations from each domain, with different amounts of target data available for testing as the target training share changes. The paper reports point estimates and does not supply uncertainty estimates for these comparisons. Particularly for the small advantages of the strongest pooled configuration over within-domain training, the evidence supports the reported ordering as an observation under the authors’ protocols. How often the ordering would recur with different partitions, or whether it would recur on a fixed common test set, remains unknown.
Finally, the experiments cover the domains and collections in Sentiraama. Each pooled classifier sees some labeled data from the domain under evaluation, and the single-source transfer experiments are the ones that test a classifier without labeled examples from its destination. The pooled results establish how the procedure behaves under the examined degrees of target supervision. A new domain absent from the training mixture, a different site supplying the same kind of review, or documents from a different collection would require its own evaluation.
What came after
Exploring Amharic Sentiment Analysis from Social Media Texts cites the Sentiraama study and takes up sentiment classification for Amharic social media. Its stated contributions include building annotation tools and classifiers. That combination brings together the same broad kinds of work that the Telugu study treats as related. Sentiment classification depends on establishing how judgments will be recorded for the chosen texts and on having examples with those judgments for training and evaluation.
The later work changes both the language and the material under study. Where Sentiraama draws its domains from film lyrics and several kinds of reviews, the Amharic study identifies social media as its setting and makes tool building an explicit part of its contribution. The documented connection is the citation and the shared concern with creating annotated materials and building classifiers around them. Adoption of Sentiraama itself, its rating rules, or its pooled-training protocol remains unestablished.
Cite
Cite as Rama Rohit Reddy Gangula and Radhika Mamidi. 2018. Resource Creation Towards Automated Sentiment Analysis in Telugu (a low resource language) and Integrating Multiple Domain Sources to Enhance Sentiment Prediction. Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018).
@inproceedings{gangula2018resource,
title = {{Resource Creation Towards Automated Sentiment Analysis in Telugu (a low resource language) and Integrating Multiple Domain Sources to Enhance Sentiment Prediction}},
author = {Rama Rohit Reddy Gangula and Radhika Mamidi},
booktitle = {Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018)},
year = {2018},
url = {https://aclanthology.org/L18-1100/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/gangula-2018-resource-creation-automated-sentiment-analysis/