---
title: "Sentiment Analysis for Low Resource Languages: A Study on"
description: "A study of how neural classifiers label informal Indonesian tweets, what changes after text normalization, and where the evaluation leaves…"
canonical: "https://research.elamur.ai/free/en/papers/le-2016-sentiment-analysis-low-resource-languages/"
---
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/le-2016-sentiment-analysis-low-resource-languages/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / Sentiment Analysis for Low Resource Languages: A Study on Informal Indonesian Tweets

# Sentiment Analysis for Low Resource Languages: A Study on Informal Indonesian Tweets

Paper · 2016 · Tuan Anh Le, David Moeljadi, Yasuhide Miura et al.

**Authors:** Tuan Anh Le, [David Moeljadi](https://md.research.elamur.ai/free/en/authors/david-moeljadi/), Yasuhide Miura and [Tomoko Ohkuma](https://md.research.elamur.ai/free/en/authors/tomoko-ohkuma/) · **Year:** 2016 · **Venue:** Proceedings of the 12th Workshop on Asian Language Resources (ALR12) · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 12th Workshop on Asian Language Resources (ALR12) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/W16-5415/)
- [PDF](https://aclanthology.org/W16-5415.pdf)

## Summary

A short Indonesian tweet can mix standard words, local expressions, abbreviations, and emoji. It can also be a news headline or a repost whose wording expresses an opinion the person sharing it may never have stated. The authors tackle both problems in their study of [sentiment analysis](https://md.research.elamur.ai/free/en/topics/sentiment-emotion/) for [low-resource languages](https://md.research.elamur.ai/free/en/topics/low-resource-languages/). They ask how to classify informal Indonesian tweets when manually labeled examples are scarce and an incoming message may fall outside the kind of text for which a positive, negative, or neutral judgment makes sense.

The authors manually labeled 4,000 tweets collected in February and March 2016. Each tweet received a single label. Positive, negative, and neutral were available for tweets in Standard Indonesian and Colloquial Jakartan Indonesian. The other labels covered foreign-language or out-of-scope varieties, retweets, advertisements, informational material, and miscellaneous messages. The authors assigned 1,005 tweets to the polarity categories, including 569 neutral tweets. The resulting classification task therefore includes recognizing what kind of message has arrived as well as deciding its polarity when applicable.

To prepare the tweets for classification, the authors split their text into tokens and looked up each token in a set of [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) trained on Indonesian Wikipedia. These embeddings give a word a numerical representation learned from its use in text. A token absent from the vocabulary received a vector filled with zeros. The authors also built a normalizer that rewrote selected informal spellings, expanded entries from a dictionary, and tried to convert emoji descriptions into Indonesian words. They tested a convolutional neural network and a long short-term memory network, which process the resulting sequence of word representations in different ways.

Long short-term memory without the normalizer gave the highest reported accuracy, 73.22%, on the full label task. The convolutional network recorded 69.92% without normalization and 65.45% with it. Only the convolutional network was tested both ways, and the results table gives different sentence totals for those runs. The accuracy figures therefore establish the ranking the authors report, while leaving the cause of the lower normalized score uncertain. The authors judged the system too limited for many practical applications, but observed that an annotator worked faster when given its proposed labels as a starting point. They report this as a practical observation, with no measured speedup.

## Deep dive: Sentiment Analysis for Low Resource Languages: A Study on Informal Indonesian Tweets

A study of how neural classifiers label informal Indonesian tweets, what changes after text normalization, and where the evaluation leaves questions open. · about 32 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

#### An abundant stream and a small labeled collection

The paper begins with a distinction between access to text and access to supervision. Twitter gave researchers a way to collect messages that people had written for their own purposes. The platform was especially relevant to the authors because they describe substantial Twitter activity in Indonesia. Short posts could supply examples of everyday Indonesian usage at a scale well beyond what the research team could read and classify by hand. The supply of those posts, however, answers a different question from whether any particular post provides a usable example of positive, negative, or neutral language.

A public stream brings together messages written for different purposes. An opinion about a product, a timestamp, an advertisement, and a forwarded remark can arrive through the same interface. Someone asking how to register for an activity may be using ordinary conversational Indonesian, while a headline may use equally recognizable words and serve to pass on information. Building a labeled collection requires a decision about what to do with both. If annotators simply assign every message a polarity, the neutral category can end up covering several different judgments about a text's language, purpose, and content.

Polarity also presents a problem within an individual message. The authors illustrate it with a person who likes a product but objects to its price. Both judgments can be clear, and they concern different aspects of the same subject. A [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) task that returns a single category needs a convention for this situation. The paper adopts the working assumption that there is a major sentiment to identify. The assumption makes the classification problem manageable and places the task at the level of the whole tweet. It leaves the distinction between the product and its price outside the proposed output.

There are thus two decisions behind a label. One concerns what the paper treats as an eligible instance of polarity classification. The other concerns the dominant judgment within such an instance. They can both be difficult for a human reader. A personal reply may omit the event that makes its tone intelligible. A quotation can carry a strong evaluation while leaving the poster's own stance unspecified. An unfamiliar expression can make an otherwise direct opinion hard to recognize. The difficulty of [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/) in this setting comes partly from the short messages and in part from the language conventions that the annotator has to infer.

The paper's use of *low-resource* is best understood in relation to this task. Indonesian was already widely used by the people producing the messages. The researchers could collect a substantial amount of Indonesian text, including prose for learning word representations. Their scarce resources were labeled examples and tools that could deal with the particular language found in informal tweets. These resources are distinct. A collection of encyclopedia articles provides evidence about which words occur together, while a hand-labeled social media collection says which category a short, sometimes elliptical expression should receive.

#### Variety, register, and spelling

The authors describe Indonesian as a Malayic language with a standard variety and everyday colloquial usage. In the diglossic situation they outline, the high variety has established roles in education, government, and mass media, among other settings. A low variety serves everyday communication. The paper draws particular attention to Colloquial Jakartan Indonesian, which it describes, following earlier linguistic work, as a prestigious colloquial variety gaining a wider role as an informal style. Regional vernaculars add another layer, especially in exchanges among family and community members.

These roles give some context to the authors' label boundaries. A regional variety can be familiar to a poster and still fall outside the study's polarity categories. The paper uses the same code for several such cases and for languages such as [English](https://md.research.elamur.ai/free/en/topics/english/). A language code attached to an incoming tweet therefore serves as a first pass at collection, while a human judgment about what kind of Indonesian the tweet contains helps determine its final label. Those two decisions serve different purposes and can disagree.

The linguistic distinction also matters to the input vocabulary. The paper describes a language with productive affixation and reduplication, both relevant to [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/). Reduplication can be written by repeating a form with a hyphen. Informal writing can express it with a digit instead. A short attached element can appear in its fuller spelling, appear with a letter omitted, or be separated from the preceding word by a space. These choices can make an expression unfamiliar to a computer performing exact lookup even when a human reader can see its relation to a standard spelling.

Some written conventions are specific to the medium or register. The authors illustrate shortened forms such as `yg` for `yang` and `bsk` for `besok`, along with written laughter, elongated interjections, mixed-language expressions, and blends. An abbreviation saves space by making the reader supply missing letters. A lengthened spelling does something different. A form such as `yahhh` can make a particle sound more expressive on the page. A table of such phenomena gives the reader a reason to expect several spelling variants of an item to share part of their meaning while differing in what they convey about tone.

Wordplay further complicates exact lookup because a familiar written form can have a second origin. The paper gives `semangka`, ordinarily the word for watermelon, as a playful shortening of an expression of encouragement. It also gives `kuy`, which reverses the spelling of `yuk`. A list of ordinary Indonesian words might already contain the fruit name, yet that entry would give no direct indication that the poster is using it to encourage someone. Conversely, a reversed form might simply be absent. One problem concerns the sense associated with a familiar string. The other concerns whether a representation exists for the string at all.

A longer tweet discussed by the authors brings several of these phenomena together. Its writer gives thanks, mentions a band, uses `doa2nya` in referring to prayers, and repeats letters in `aminnnn`. An emoticon accompanies the text. The authors show how the message can be rendered in standard Indonesian, allowing a reader to see that understanding it involves more than expanding a single abbreviation. Spacing, attached elements, repeated letters, and vocabulary all contribute. Their later normalizer takes up several of these transformations as rules, giving a concrete connection between the linguistic description and the engineering choices.

#### Earlier approaches to collecting sentiment labels

The paper situates its work alongside Indonesian Twitter studies that had already treated polarity as a classification task. Aliandu used the positive, negative, and neutral categories and drew on emoticons to find messages with sentiment. In that approach, a visual sign in the text provides a way to locate likely examples. The authors connect this collection strategy to Pak and Paroubek's work on gathering Twitter text for opinion analysis. [Twitter as a Corpus](https://md.research.elamur.ai/free/en/papers/pak-2010-twitter-as-corpus-sentiment-analysis/)

As described in the paper, Aliandu evaluated a support vector machine and Naive Bayes using frequency-based features. Term frequency records how frequently terms appear. [TF-IDF](https://md.research.elamur.ai/free/en/concepts/tf-idf/) also uses information about how widely a term is distributed across the collection, so an occurrence can carry more weight when the term is relatively distinctive. The comparison gives the current paper a precedent for turning short tweets into numerical features and testing different classifiers against the same classification goal.

Wicaksono and colleagues, in the authors' account, used an opinion lexicon and clustering to construct a starting collection. A lexicon supplies words already associated with opinions. Clustering groups text by similarities that can be found before every item has a hand-assigned class. An initial classifier then helps retrieve more training examples from a large collection of unlabeled tweets. The paper describes this work as addressing opinion extraction as well as polarity, with an emoticon-based approach serving as a comparison for automatic corpus construction.

These precedents differ in where they obtain their initial evidence about sentiment. An emoticon can act as a convenient clue for collection. A lexicon can supply likely opinion-bearing words, and a classifier trained on a seed set can extend the collection. The Indonesian tweet study instead uses manual decisions on a sample from the stream and assigns classes to several kinds of messages alongside polarity. It still takes advantage of unlabeled text by learning word representations from Wikipedia. The labeled tweets and the encyclopedia serve separate roles, with humans defining the target decisions and the larger text collection supplying representations of words.

### The method, step by step

#### From a public post to a training example

The procedure begins with a collection filter. A Python script using Tweepy listened to the public Twitter stream and saved posts carrying the Indonesian language code `id`. The authors collected 900 thousands Indonesian tweets from February to March 2016. They chose 4,000 tweets for manual labeling because of the resources available to them. The paper does not describe the sampling rule in enough detail to characterize the hand-labeled collection as a random sample of the stream.

Two other collections enter the procedure. The authors processed 1,694 emoji definitions for use in normalization. They also converted Indonesian Wikipedia into text and obtained 61,374,640 Indonesian tokens for word2vec training. A token is a unit that the software handles as an item after dividing text. A word can serve as a token, and punctuation or a symbol can also be treated as a token, depending on how the division is performed. The Wikipedia token count describes the training material behind the word representations. The tweet count describes the messages people labeled for the classification experiment.

A human label and a numerical representation of the tweet are the two parts of a classifier training example. The label records the desired output for the whole message. The representation retains a sequence of positions associated with its text. The training procedure can then use the representations and their labels together. At prediction time, a new message goes through text preparation and numerical conversion so that the trained classifier can assign it one of the same labels.

How a tweet becomes a classification example The steps in order.

The emoji definitions support the optional rewriting step. Wikipedia supplies the vocabulary and the numerical values used at lookup. The labeled tweet collection supplies examples for learning which combinations of input features correspond to the output classes. Keeping these roles distinct helps explain how the authors could build a supervised system even with far fewer labeled tweets than tokens available for learning word representations.

#### What the human labels mean

`POS`, `NEG`, and `NEU` stand for positive, negative, and neutral. The authors reserved these options for messages in Standard Indonesian or Colloquial Jakartan Indonesian. Among their examples, a remark about something being pleasant to look at is positive. A complaint about another person attempting to give orders is negative. A question about how to register with a group exemplifies neutral. The neutral example matters because it shows a recognizable communicative purpose. The question can be interpreted as a request for information without assigning the writer approval or disapproval.

`RET` marks a retweet. The displayed example contains an appreciative comment, illustrating that an expression compatible with positive sentiment can occur in a message whose assigned class records its status as a repost. `ADV` covers advertisements, exemplified by a post listing a computer and its specifications. The category gives commercial messages their own destination even when a post uses language that would sound approving if it appeared in a personal evaluation.

`INF` covers material such as news, advice, and quotations. The paper's examples also show a timestamp and a fragment of a story under this broad informational heading. These examples make the distinction from neutral clearer. A person asking a question can receive `NEU`, while a post passing on a headline or quotation can receive `INF`. The annotator therefore needs to consider the function of the message as well as whether its words express an evaluation.

`FOR` has a broader operational meaning than its expansion, foreign, might suggest. The authors cover English alongside Standard Malay, regional forms of Malay and Indonesian, and local vernaculars like Javanese and Sundanese. In this scheme, `FOR` identifies language outside the target set for the polarity decisions. It can therefore apply even when the underlying sentiment would be obvious to someone who knows the variety. `XXX` is the residual category. The paper illustrates it with a string of expressive sounds and letters for which the other categories offered no suitable home.

The annotation scheme provides a single output even when more than one description could fit. A repost may contain information or praise. An advertisement can contain an opinion. A post written outside the designated varieties might also be circulating a quotation. The paper specifies the categories and gives examples of how they were used. It leaves the complete priority order for overlapping cases unspecified. The examples are enough to understand the nature of the task and the sources of ambiguity, while edge cases still depend on an annotator's judgment.

#### Preparing the text for tokenization

The authors describe initial adjustments before [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), the division of a message into the items that will be looked up. They remove links beginning with `https` and usernames beginning with `@`. A tweet may still retain the words surrounding a removed link or mention. What disappears is the link or user reference itself. This concentrates the representation on the body of the message and commits the system to working without any signal from those removed strings.

Hashtags are kept because the authors considered topic indicators potentially useful to the classifier. A hashtag can carry text about what a writer is discussing, so discarding it could remove a clue the system could have used. Preserving a hashtag in the text gives it an opportunity to influence the classifier through the subsequent tokenization and lookup. Whether it has a usable representation still depends on which tokens emerge and whether they occur in the learned vocabulary.

The preprocessing also inserts spaces between emoji to help the tokenizer recognize them as distinct items. When expressive signs sit next to each other, their boundaries can matter for dictionary lookup. A list can recognize an individual sign only if it receives it in a form matching one of its entries. The paper uses the default word tokenizer from NLTK 3. It presents this tokenization stage before the optional normalizer's work on individual items and does not report a comparison between different tokenizers.

Removing links and mentions, retaining hashtags, and spacing emoji are decisions about what text reaches the tokenizer and how. Rewriting a token after tokenization is a separate intervention. This ordering explains why an option described as using no normalizer can still belong to a system that tokenizes and numerically encodes tweets. The contrast reported later is about the normalizer setting. There is no separate evaluation of each initial cleanup operation.

#### What the normalizer rewrites

The first family of changes concerns form. The authors remove the attached `nya` and its shortened orthographic variant `ny`. They also describe collapsing patterns of repetition. An item repeated with a hyphen can be reduced to the unrepeated form. A base followed by `2` can likewise be reduced to its base. Runs of repeated letters are shortened, and patterned repetition such as `hahahahah` is reduced to `haha`. These rules operate on a written token instead of a description of the full message.

The example `doa2nya` makes the interaction among rules visible. Stripping `nya` yields `doa2`. The rule for reduplication written with a digit can then leave `doa`. The stages show how a single informal token can arrive at a familiar written form through successive changes. They also show what the procedure gives up. The final token no longer carries the visible distinction introduced by reduplication or the attached element. This trade is part of the normalizer's design, independently of whether that particular example would change a sentiment prediction.

Repeated letters illustrate a similar issue. The paper maps `mannaaaa` to `mana`. A lookup against standard prose has a clearer chance to recognize the resulting spelling if it is present in the vocabulary. The input to the classifier also loses the repeated letters that could mark emphasis or a drawn-out delivery. The procedure treats the standard form as the useful unit for lookup. It does not separately encode how the writer stretched the original word.

The second family of changes uses a list of 376 frequent informal words and expressions. The list records a fuller form where an item is abbreviated and supplies a Standard Indonesian equivalent. For instance, the entry for `blg` associates it with `bilang` and the standard replacement `berkata`. The entry for `mager` expands it to `malas gerak` and gives `malas bergerak` as the standard wording. The fuller form helps explain how the slang or abbreviated item was built. The replacement supplies what goes to the next stage.

Some replacements require a phrase. The paper's entry for `peje` describes the idea of paying to treat friends after making a relationship official. A descriptive expression is needed because the authors found no direct standard equivalent that expressed the same idea in a word or compound. The resulting text is tokenized again. In representational terms, an informal expression that occupied one token position can now occupy several. This can make some of its content available to the classifier through common words, while also changing the length and local sequence of the tweet.

The third family of changes concerns emoji. The authors compiled a list associating emoji with English descriptions, allowing more than one description for a sign. The procedure checks the words used in a description against Princeton WordNet through NLTK and uses Indonesian equivalents when available. An emoji can thereby be represented by Indonesian words that can go through the same embedding lookup as words already present in the tweet. The intermediate English descriptions provide a bridge from a visual sign to text. The classifier is trained on the Indonesian tweet labels.

The bridge runs through lexical descriptions, so the information it supplies is of a particular kind. A description can identify the object, direction, or expression conventionally associated with a sign. Its contribution to a tweet's sentiment depends on how the sign is used in context. Finding Indonesian translations for the words in a description makes that description usable in the following pipeline. It offers no direct judgment about the writer's intent. The paper describes the lookup and translation procedure but gives no separate test of whether it recovers the relevant function of emoji in the labeled examples.

The paper treats emoji and text emoticons as different cases. Its linguistic examples include both, and previous work had used emoticons as clues when gathering tweets. The implemented feature design described in the conclusion uses emoji, with dedicated use of emoticons left for future work. A typed face such as `:)` can be present in the original text and still lack a specifically designed representation under the procedure described.

#### Turning a sequence into numerical input

The authors use word2vec to make representations from the Indonesian Wikipedia text. Word2vec learns vectors from how words occur in a corpus, giving the downstream system numerical features associated with each entry in its vocabulary. Here, the authors use vectors with 200 dimensions. The number refers to how many numerical coordinates describe a word, rather than the number of classes or the length of a tweet. The study cites Mikolov and colleagues for the approach. [Distributed Representations of Words and Phrases](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/)

At the tweet stage, the procedure looks up each token in this vocabulary. A successful match returns the corresponding vector. A failed lookup returns a vector whose coordinates are all zero. The zero vector provides a representation of the required width and therefore allows the input procedure to handle an unknown token. It also means that different unknown spellings have the same numerical representation at lookup. The classifier cannot tell those spellings apart from their vectors, although words elsewhere in the tweet can still contribute evidence.

This arrangement gives the normalizer a specific opportunity to change a prediction. If a slang spelling is missing from Wikipedia's vocabulary, while its replacement is present, rewriting can change a zero vector into useful numerical input. The effect can be different when an original token already has a vector. A replacement may supply a new meaning, change several neighboring positions, or remove a spelling cue. The classifier sees the resulting sequence and learns associations from it. The method does not guarantee that a normalized sequence preserves every distinction available in the original.

The fixed input size is described by the product of the number of word positions and the width of a word vector.

```
n × m
```

Here `n` is the maximum number of word positions allotted to a tweet, `m` is the number of coordinates in each word vector, and `×` denotes multiplication. The product counts the numerical coordinates allotted to the tweet. Its layout can still be understood as a sequence of vectors, one per position.

The authors instantiate that calculation as follows.

```
72 × 200 = 14400
```

Here `72` is the assumed maximum number of words in a tweet, `200` is the number of dimensions per word vector, and `14400` is the resulting input size in numerical coordinates. The `×` multiplies the position count by the vector width, and `=` states the resulting size. The paper specifies what happens when a token is absent from the vocabulary. It gives less detail about the placement of unused positions for short inputs and how inputs are handled if their tokenized length exceeds the assumed maximum.

#### Learning to assign the tweet label

The authors implemented the classifiers in Python with Theano. They compare a convolutional neural network, abbreviated CNN, with a long short-term memory network, abbreviated LSTM. A convolutional network can apply the same learned pattern detector across different positions. This gives a way to recognize a useful local sequence of word features wherever it appears. An LSTM processes a sequence in order and carries a state between positions. Its mechanism for updating that state gives the classifier a way to retain or discard information as it reads successive tokens.

That distinction gives the reader a way to understand why the two are interesting comparisons. A sentiment cue might consist of a small cluster of neighboring words. Another message might require carrying information from an earlier part of the tweet into a later judgment. Both classifiers receive numerical representations of ordered text. The paper evaluates their classification accuracy and leaves internal behavior, such as which words an LSTM retained or which CNN patterns fired, unexamined.

The output has 8 dimensions, corresponding to the 8 tweet labels in the implementation. Supervised learning adjusts the classifier using the hand-assigned categories, so the training examples give it feedback about how to distinguish the classes. Since the examples include retweets, informational messages, and other non-polarity categories, discriminating among the outputs involves several kinds of textual evidence. The classifier learns from all the classes through the same output space.

For evaluation, the authors apply cross-validation, in which different groups of examples take turns serving as held-out test data. Their chosen setting is written as follows.

```
k = 10
```

Here `k` is the number of folds, or groups in the split, and `=` gives its value of `10`. In each test rotation, the authors describe using one group to test and the other 9 groups to train. They take the mean of the test accuracies as the final accuracy for a setting. Cross-validation gives examples different roles during the experiment and is the authors' response to having a small hand-labeled collection. The paper gives the number of groups and the intended evaluation procedure, while leaving the detailed construction of the groups unspecified.

### Experiments and results

#### The evaluation target

The experiment scores a whole-tweet label against the corresponding human decision. Accuracy is the proportion of predictions that match those decisions, and the paper reports the average accuracy across the held-out folds. A correctly predicted advertisement and a correctly predicted negative opinion both contribute a correct decision. This makes the metric suitable for asking how frequently the system assigns the full category as defined by the study. An accuracy score for this task contains contributions from more than sentiment polarity.

The hand-labeling description gives the class distribution for the polarity part of the collection. Of the 4,000 tweets picked for annotation, 1,005 received positive, negative, or neutral labels. The authors describe that share as about 25%. Among those messages, 569 were neutral, and the authors say positive and negative examples occurred in roughly similar numbers. Neutral therefore appears more frequently than either direction of expressed sentiment within that subset. It would take category-level results to say how much each class contributes to the overall score or how well the system handles positive and negative opinions on their own.

Examples such as the retweet and the informational headline also matter when interpreting the score. A classifier that often gets those categories right can do well on the full task even if polarity remains difficult. Conversely, decisions about `FOR` and `INF` can count against a classifier that is good at reading clearly positive or negative opinions. The paper evaluates the label assignment it designed. Its overall accuracy answers the question at that level of granularity.

#### The systems being compared

The results give the CNN without the normalizer, the CNN with the normalizer, and the LSTM without the normalizer. The unnormalized CNN supplies the internal comparison for both reported changes. Comparing the two CNN runs keeps the named classifier family constant and changes the text-rewriting setting. Comparing the unnormalized CNN and LSTM settings keeps the normalizer off and changes the classifier family. The experiment leaves the normalized LSTM cell empty.

No majority-class score or contemporary frequency-based classifier is reported as a baseline on this collection. The paper refers to earlier Indonesian sentiment studies in motivating the work and describes the current system as a possible baseline for subsequent research. Earlier studies used different corpus-building procedures and task definitions. Their published accuracies therefore belong to their own evaluations. The internally reported runs provide the comparisons for this paper's label scheme.

Classifier accuracy on the Indonesian tweet cross-validation task The unnormalized LSTM has the highest reported accuracy, and the normalized CNN has the lowest.

**The numbers**

| System or setting | accuracy % |
| --- | --- |
| CNN without normalizer | 69.92 |
| CNN with normalizer | 65.45 |
| LSTM without normalizer (this paper) | 73.22 |

The best result in the table is 73.22% accuracy for LSTM without the normalizer. The abstract and conclusion give 73.2% for the same setting. The unnormalized CNN has a reported accuracy of 69.92%, while the normalized CNN has 65.45%. In the reported ordering, switching to LSTM with normalization off is associated with a higher score. Switching on the normalizer for the CNN is associated with a lower score. The experimental records accompanying those percentages determine how far each comparison can be taken.

#### Reading the counts alongside the percentages

Each row also has columns headed `Matched`, `Sentences`, and `STD`. For CNN without the normalizer, the paper gives `Matched` as 3,440 and `Sentences` as 4,920. For CNN with the normalizer, it gives 2,898 and 4,428. For LSTM without the normalizer, the corresponding entries are 3,440 and 4,428. The heading `Matched` suggests predictions agreeing with the assigned labels. The paper gives no detailed account of how the counts were accumulated or how the sentence totals relate to the hand-labeled collection used in the cross-validation description.

This matters in both headline comparisons. The denominators associated with the two CNN settings differ. The unnormalized CNN and LSTM also have different sentence totals, even though both give 3,440 under `Matched`. In addition, the annotation section gives 4,000 tweets, while all the `Sentences` entries are larger. The paper supplies no reconciliation across these parts of the experimental account. The figures can be reported as the authors present them, but there is no basis for reconstructing a common pooled test score from them or identifying precisely which messages the columns count.

Averaging fold scores can be conceptually distinguished from pooling predictions. A fold average gives each fold's accuracy a contribution to the final result. A pooled score treats every prediction included in the total as a contribution. Interpreting the table as either calculation would require knowing what the counts represent and how they were taken from the runs. The stated procedure uses an average of the fold accuracies. The other columns give supplementary figures whose relationship to that average is unresolved. The headline accuracy is best read directly from the reported accuracy column.

The `STD` column reports 1.87 for the unnormalized CNN, 2.12 for the normalized CNN, and 1.39 for the unnormalized LSTM. In the context of the cross-validation description, these figures accompany each setting's average accuracy as indications of spread. The best-scoring setting also has the smallest reported `STD`. The paper supplies neither individual fold scores nor a significance test. Those spread figures alone do not establish whether the same tweets were evaluated across settings or whether one classifier consistently won on matched test examples.

#### What the authors saw during annotation

The paper also describes a use of the system during data preparation. The authors gave the annotator its output as a starting point and observed that labeling went faster. A starting prediction changes the annotator's task from supplying each category without a suggestion to reviewing a proposed decision. Where the proposal is adequate, there may be less work to do. Where it is poor, the annotator still needs to read the text and correct the label.

The observation has a different evidentiary basis from the cross-validation figures. The paper gives no annotation times, measurement protocol, or comparison of the quality of labels produced with and without the assistance. Its contribution here is a report that the authors found the output useful in their own labeling workflow. They also judged the classification performance insufficient for many real-world applications. The two judgments concern different uses. Reviewing predictions allows a human to resolve ambiguities that an application acting on predictions alone would have to accept.

### What the ablations show

#### Normalization as a package

The paper reports a package-level comparison for the CNN and does not report ablations of the normalizer's individual components. With the normalizer off, the CNN records 69.92% accuracy. With it on, the reported accuracy is 65.45%. This is the most direct evidence about normalization in the study. The authors take the result as a sign that the normalizer at its current stage did not improve accuracy and suggest that its small informal vocabulary may help explain the outcome.

Turning on the normalizer changes several things at once. Some tokens lose an attached element. Some lose repeated letters or repeated words. Slang entries can turn into standard expressions, occasionally producing several tokens. Emoji can become text through their descriptions. Any of these changes might help when it makes a previously unknown item accessible, hurt when it removes an important cue, or have little effect when the rest of the tweet already determines the label. The comparison reports the outcome of offering the whole set of rewrites to the CNN.

A useful distinction is between the availability of a vector and the usefulness of the vector produced. With Wikipedia-derived representations, the authors had a reason to map informal tokens to familiar standard words. A token that changes from an unknown spelling to a recognized word now contributes coordinates that distinguish it from other tokens. Yet the new representation can be less useful for a particular label if the original spelling's emphasis or register mattered to the classification. In a phrase expansion, some tokens may be recognizable while their collective effect differs from the meaning conveyed by the compact slang expression.

The authors' proposed explanation concerns limited dictionary coverage. The list of 376 informal entries shows the scale of that particular resource. The paper does not give a lookup-coverage rate for tweets before and after rewriting, a count of affected test items, or an analysis connecting errors to particular rules. The differing sentence totals between the CNN rows introduce another ambiguity. The reported comparison gives the direction of the accuracy change between settings, and the experiment leaves its decomposition into causes open.

This distinction is especially important for emoji. The paper motivates their use as potential sentiment clues, and the normalized pipeline gives them a textual representation when its resources permit. The CNN result provides no isolated comparison of emoji descriptions with the other rewrites held fixed. A reader therefore cannot use the lower aggregate score to judge whether the emoji handling helped particular tweets, whether it was neutral, or whether it introduced errors alongside other changes.

#### Classifier choice with normalization off

The architecture comparison holds the named normalization setting constant. With the normalizer off, the LSTM registers 73.22% and the CNN registers 69.92%. The comparison is consistent with LSTM being the stronger of the evaluated settings on the authors' task. It does not reveal which linguistic phenomena were easier for the LSTM or whether its use of sequential state produced the higher score. The methods supply possible reasons to investigate, and the evaluation reports a result at the level of whole classifiers.

To attribute the ranking to handling a particular cue, such as a negation or the relation between two clauses, the reader would need results on examples exhibiting that cue. The paper's examples of informal language explain where a classifier might have trouble. They do not identify the mistakes made by either classifier. Neither a per-category breakdown nor a shared set of examined errors is reported. The different sentence totals also leave uncertainty about the comparability of the evaluated cases.

The missing normalized LSTM setting leaves a further question about the interaction between rewriting and classifier choice. An LSTM can respond to a changed sequence differently from a CNN. A phrase expansion can introduce local patterns and alter what information the sequence carries forward. The reported LSTM result describes the setting without rewriting. The normalized CNN result cannot supply the normalized LSTM outcome, and the two together do not establish that normalization always lowers accuracy.

The study's linguistic analysis and annotation observations provide additional evidence of a different kind. The examples show that some messages contain several sources of variation at once. The annotation discussion identifies missing context, ambiguous language, and new slang as practical difficulties. These observations motivate the experimental choices and give plausible places to look for errors. The aggregate comparisons show where accuracy ended up under the tested configurations. They leave open which of the illustrated phenomena account for that ordering.

### Limitations

#### Limits and open directions identified by the authors

The authors' resource constraint is explicit. They had a much larger set of incoming tweets than the 4,000 items they could manually label. They adopt cross-validation because the labeled collection is small. They also record obstacles to assigning the labels in the first place, including ambiguity, context unavailable in the tweet, and unfamiliar slang. More labels could expand training coverage, but the paper's own examples show that deciding what the labels mean in difficult cases is also part of the work.

The authors say they had yet to test the LSTM with normalization. They regard the normalizer's coverage of informal words as limited and propose enlarging its dictionary. They also suggest analyzing errors in the normalization rules. That suggestion follows from the range of operations in the procedure. Adding entries would address some missed slang, while error analysis would examine whether the available rewrites behave as expected. The paper reports neither extension as part of the completed experiment.

The distinction between emoji and emoticons also appears in their plans. The paper describes the use of emoji and leaves dedicated use of emoticons for future work. Another stated direction is the Indonesian sentiment lexicon Barasa, which the authors describe as drawing on WordNet Bahasa and a resource that associates WordNet content with sentiment. Barasa is an intended addition alongside the normalization and classification procedure described in the experiments. [SentiWordNet 3.0](https://md.research.elamur.ai/free/en/papers/baccianella-2010-sentiwordnet-3-0-enhanced-lexical/)

The authors also want to make better use of sentence structure. They point to earlier work on [word-sense disambiguation](https://md.research.elamur.ai/free/en/concepts/word-sense-disambiguation/) and [multiword expressions](https://md.research.elamur.ai/free/en/topics/multiword-expressions/), as well as cues such as negation and question words. Disambiguation concerns which meaning of a word is active in an occurrence. A multiword expression can carry a conventional meaning across words that the lookup procedure encounters separately. A negation can change the polarity associated with an otherwise familiar expression, while a question word can help signal that a message is asking for information. The authors propose using [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) and exploring the Indonesian Resource Grammar as ways to incorporate more linguistic structure.

The possibility of using multilingual resources also appears as a future direction. The authors relate it to their assessment that the current result is comparable to results in other languages, including English and Japanese. Their experiments here run on Indonesian tweets. They present cross-lingual extensions as a possibility, with no transfer experiment to show how the same procedure would perform across languages or resources.

Finally, the authors draw a distinction in intended use. In their view, the system still had too little accuracy for many applications, even though its output helped the annotator. Their practical claim is about helping a person build a resource. Its scope is set by the workflow they observed and the absence of a quantified evaluation of that assistance.

#### Limits apparent from the design and reporting

The intake filter and the annotation scope constrain what the result represents. The collection comes from a specified interval, starts with tweets already tagged `id`, and reserves the polarity labels for the varieties the authors chose. The paper gives no separate test on messages collected later or on another variety. The reported performance applies to the label task as designed and to the evaluation the authors describe. It cannot establish performance on the broader set of ways Indonesian and related varieties are used online.

The label choices further limit what correctness means. A system can match a `RET` label while leaving the sentiment of the retweeted wording unresolved. It can match `FOR` for a regional language while making no polarity decision about the text. Within the target varieties, choosing a dominant sentiment leaves no representation for the person who likes an item and dislikes its price. The single label can be appropriate for sorting a message and still omit the details a reader would need for a more specific question about opinions.

The examples help a reader understand the categories, but they leave uncertainty about consistency at the boundaries. A quotation can be informative, favorable in tone, and part of a retweet. A short question can be neutral or convey a reaction depending on the surrounding exchange. The paper reports annotation difficulty and gives examples, without reporting agreement measurements or a procedure for resolving disagreements. The accuracy consequently measures agreement with the assigned labels. There is no separate estimate of how often independent readers would assign the same labels in ambiguous cases.

Class balance also calls for care. The available distribution indicates that neutral makes up a substantial part of the polarity subset and that the larger task contains many messages belonging to other categories. Without separate class scores or a confusion matrix, a reader cannot tell whether the strongest configuration handles positive and negative cases evenly, how frequently it confuses information with neutral conversation, or which classes benefit from an architecture change. An overall result can coexist with several very different patterns of performance across the label set.

The mismatch between the annotation count and the sentence totals is a reporting limit with consequences for the comparisons. It leaves the relationship between the described sample and the counts scored in the results table uncertain. It also makes it difficult to treat the normalization comparison as a paired test on identical examples. The report supplies the intended fold procedure and the final accuracy values, but lacks the fold assignments, example-level predictions, or count definitions that would let a reader resolve the discrepancy.

Reproduction faces related gaps. The paper identifies its software, classes of classifier, embedding width, input size, and normalization resources. It gives less detail about the CNN and LSTM architectures, optimization choices, construction of the folds, and handling of sequence length. These are implementation choices that can affect how another researcher obtains a numerical input or fits a classifier. The architecture names communicate the general learning approaches and make the result intelligible without supplying a complete experimental specification.

The embedding vocabulary creates another boundary. The scheme gives an unknown item a vector that cannot convey the difference between any other unknown item and itself. Rewriting can recover differences for some items by assigning recognizable words. An unlisted interjection, blend, or spelling can still lose its form in lookup. The authors' linguistic examples explain why such cases are plausible. Since lookup coverage and errors by token type are unreported, the extent of the problem in the evaluation remains unknown.

The same distinction applies to the suggestion that assisted labeling can scale data preparation. An annotator reviewing proposed labels may save time, especially if many suggestions need only confirmation. Suggestions can also influence judgment in ambiguous cases. Measuring both speed and final label quality would be needed to establish what the workflow achieves. The authors describe faster work in their own use and leave the size and consequences of the effect unmeasured.

### What came after

One later citation comes from a study of Bengali sentiment analysis using a [transformer](https://md.research.elamur.ai/free/en/concepts/transformer/) approach. Its title identifies an application to Bengali and places the citation in work on the same broad classification problem with a different choice of architecture. The connection that can be established is that a later sentiment study in another language cited the Indonesian tweet experiment. The citation does not specify reuse of the Indonesian label inventory, Wikipedia-derived vectors, normalizer, or evaluation procedure. [Sentiment Analysis for Bengali](https://md.research.elamur.ai/free/en/papers/bhowmick-2021-sentiment-analysis-bengali-transformer-based/)

The other later citation comes from CANDLE, a study of Arabic noisy-character deduplication using a lightweight encoder. Its subject is closer to an individual preprocessing operation in the Indonesian work. The Indonesian normalizer collapses certain repeated characters before looking up words. CANDLE's title identifies noisy-character deduplication as the main task and names a CTC-based approach. The citation connects research on a particular form of noisy writing with an earlier sentiment pipeline that had to handle repetitions as part of a larger classification problem. The specific role the Indonesian rules played in CANDLE's design or evaluation is unspecified. [CANDLE](https://md.research.elamur.ai/free/en/papers/alasmary-2026-candle-ctc-based-arabic-noisy/)

Together, the citations show the Indonesian study appearing in later work on both the end task and a text preparation problem. The Bengali work continues the question of how to classify sentiment in a particular language. The Arabic work takes up the problem of recurring characters that the Indonesian study encountered among several kinds of informal spelling. The citation record establishes those connections at the level of research topics. It gives no basis for crediting either study with reproducing the Indonesian experiment, adopting its implementation, or resolving its open comparisons.

## Cite

Cite as Tuan Anh Le, David Moeljadi, Yasuhide Miura and Tomoko Ohkuma. 2016. Sentiment Analysis for Low Resource Languages: A Study on Informal Indonesian Tweets. Proceedings of the 12th Workshop on Asian Language Resources (ALR12).

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

```bibtex
@inproceedings{le2016sentiment,
  title = {{Sentiment Analysis for Low Resource Languages: A Study on Informal Indonesian Tweets}},
  author = {Tuan Anh Le, David Moeljadi, Yasuhide Miura and Tomoko Ohkuma},
  booktitle = {Proceedings of the 12th Workshop on Asian Language Resources (ALR12)},
  year = {2016},
  url = {https://aclanthology.org/W16-5415/}
}
```

> 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)
