Sentiment Analysis in Twitter for Macedonian
Paper · 2015 · Dame Jovanoski, Veno Pachovski and Preslav Nakov
Summary
A tweet can report a disturbing event without expressing the writer’s opinion. An enthusiastic reply can convey approval through slang or a deliberately misspelled word. Both cases make sentiment analysis harder than looking for pleasant or unpleasant vocabulary. Jovanoski and colleagues study how to classify Macedonian tweets as positive, negative, or neutral. They adapt the message-level task used in the English Twitter evaluations at SemEval and build the Macedonian data and lexical resources needed to run it.
Native speakers labeled the tweets. The training set contains 8,583 messages, and the final test set contains 1,139. The authors also marked positive and negative words and phrases in the training material. They used the terms on which the annotators agreed to make a sentiment lexicon, a dictionary of expressions with polarity labels. They then used those entries as starting points for finding additional expressions in a much larger collection of Macedonian tweets. Other lexicons came from translating English and Bulgarian resources and manually checking the results.
The classifier combines evidence from individual words, adjacent word pairs, emoticons, and the lexicons. Before classification, the system applies rules suited to the language and genre. It recognizes a pre-defined set of negation cues, maps some informal spellings and words to standard forms, and handles repeated characters. With all reported components in place, it scores 92.16 on the test measure, which averages the F-scores for the positive and negative classes. Removing the automatically constructed lexicons takes the score to 72.77. Removing the hand-built lexicon takes it to 79.32. Among the preprocessing changes tested, removing stopword filtering or negation marking produces the largest declines.
The experiment shows the value of building lexical evidence from Macedonian Twitter itself. It also defines the conditions under which that result holds. The test score applies to messages whose labels the annotators agreed on. Their agreement before filtering was moderate, and the disputed messages were left out of the final test. The corpus, made available for research, therefore supports a well-defined evaluation while leaving open how the classifier would handle the cases that proved hardest for the readers who labeled it.
Deep dive: Sentiment Analysis in Twitter for Macedonian
This study builds Macedonian Twitter sentiment lexicons and tests what helps classify short messages as positive, negative, or neutral. · about 30 minutes to read
The problem and its context
What a tweet label is meant to capture
The paper asks what attitude a tweet conveys as a whole. The output is a label for the message. A system designed for a different question might identify the person or product being discussed, mark the phrase that expresses the attitude, or estimate its intensity. Those distinctions matter because success at assigning a message label tells us little by itself about which part of the message the classifier understood. The authors collect annotations on sentiment-bearing expressions as a way to build a resource for the message task. The reported evaluation concerns the label assigned to the tweet.
The distinction between a message and its vocabulary is apparent in the authors’ example of a news item about a killing. The vocabulary concerns a disturbing event, but the item is presented as a factual report and belongs in the neutral or objective category under their instructions. A classifier can readily register the presence of words associated with negative situations. To reach the human label, it must use evidence about how those words are being used. The study merges neutral and objective into a single category, following the SemEval convention. The paper explains that annotators often have trouble separating them.
The motivation comes from questions about the opinions people express in public. A researcher might want to examine what users say about a product, a policy, or a public event. Reading individual posts can answer what particular users expressed. Classification offers a way to work with more messages than a reader could inspect individually. The paper trains and evaluates the operation that would underlie such an analysis. Its experiment does not estimate opinion towards a particular subject or establish how the Twitter conversation represents a wider population.
Informality creates a practical obstacle before the classifier gets to the question of attitude. The authors describe misspellings, omitted words, missing characters, playful spellings, and regional vocabulary. They include a message whose enthusiastic reading depends partly on understanding a shortened and irregularly written expression. An exact dictionary match can fail on such text even when a human reader understands it. A classifier trained to recognize a written form also has fewer chances to learn its behavior if observations of the same expression are spread across many spellings.
Standardization can address some of this variation. It cannot resolve every distinction the annotation depends on. A standardized word can still appear in a report, an endorsement, or a denial. Nor is every form that diverges from the standard a typing error. The authors note influences from Bulgarian in the east of Macedonia, from Albanian in the west, and from Serbian in the north. Their examples place the normalization problem in actual language use. A list of known substitutions can cover particular usages while leaving other regional and informal forms outside its reach.
What earlier approaches contributed
The paper situates early sentiment research alongside text classification. In standard document categorization, a system learns associations between observable properties of a document and the category assigned to it. The paper uses Sebastiani’s survey as a point of reference for that general approach. It describes early sentiment experiments that used word counts or indicators of word presence, adjacent word pairs, word position, and grammatical categories. The classifiers included maximum entropy, Naïve Bayes, and support vector machines. Sentiment labels gave this established procedure a different prediction target. Machine Learning in Automated Text Categorization · Thumbs up?
A separate line of work treated the prior orientation of words and phrases as evidence worth collecting explicitly. The paper discusses Turney’s method for estimating positive and negative association from co-occurrence. The approach starts with expressions that already have an assigned polarity and asks what other expressions tend to appear with them. This way of building a lexicon is central to the Macedonian study. It gives the authors a route from a manageable body of manual judgments to a resource informed by many more messages than they could label. Thumbs Up or Thumbs Down?
The paper also describes earlier work on what makes an expression subjective and on how context changes the polarity of a phrase. A word’s usual orientation supplies an expectation about its behavior. A label attached to the word in a particular sentence answers a more specific question. Negation illustrates the difference because the words following a negation cue can contribute differently to the interpretation of the message. The Macedonian study represents that context with a simple marking rule and uses phrase judgments from actual tweets when building its manual resource. Learning Subjective Language · Recognizing Contextual Polarity
Other earlier efforts described in the paper pursued finer sentiment categories or asked what the sentiment was directed toward. A rating task preserves distinctions within positive and negative evaluations. An aspect-based task asks for sentiment about identifiable parts or properties of what is being discussed. A single tweet-level label sets those questions aside. It can record that a message expresses approval while leaving the object of approval unspecified. That scope is important when reading both the annotation design and the metric. Seeing Stars · SemEval-2014 Aspect Based Sentiment Analysis · SemEval-2015 Aspect Based Sentiment Analysis
The paper describes a change in how sentiment dictionaries were built. Hand-made resources usually covered 2000-8000 words, and early automatic efforts also produced resources of moderate size. Later automatic methods could use a small starting vocabulary and a very large collection of text to cover many more expressions. The authors point to the use of such lexicons in shared tasks on tweets and customer reviews. The distinction for their own study is between resources an annotator can directly inspect and resources whose coverage depends on observable associations in a corpus. SentiWordNet 3.0 · NRC-Canada’s Twitter sentiment system · NRC-Canada’s customer review system
Why build a new Macedonian dataset?
The authors knew of Macedonian sentiment work on forum posts and film reviews. The forum study used 800 posts from Kajgana, with 260 positive, 260 negative, and 280 objective examples. It tried support vector machines and Naïve Bayes and used features such as individual words, negation rules, and reduced word forms. The film review study used 400 reviews divided into 200 positive and 200 negative examples. It used Naïve Bayes along with a manually labeled lexicon of unspecified size and preprocessing for problems such as spelling variation and negation.
Those studies established precedents for classification and preprocessing in Macedonian. A film review dataset with positive and negative labels does not supply examples of the neutral class used in a Twitter task. A forum collection supplies an objective category but comes from a different setting. The paper also identifies access as a problem with the datasets and lexicons from earlier Macedonian work. Its authors needed examples of how Macedonian sentiment is expressed on Twitter and resources they could use to define a reproducible task.
Even in English, the paper describes early Twitter data as limited by size, accessibility, or labeling quality. Some collections were proprietary. Others used hashtags or emoticons as indirect labels. Such cues provide a way to gather training examples without reading each tweet, but the presence of a cue stands in for a human judgment about the whole message. The SemEval Twitter tasks supplied shared sets of tweets with explicit sentiment judgments. The Macedonian study follows their message-level task and scoring convention and obtains labels from native speakers. SemEval-2013 Sentiment Analysis in Twitter · SemEval-2014 Sentiment Analysis in Twitter · SemEval-2015 Sentiment Analysis in Twitter
The English work supplied a design to adapt. Macedonian Twitter still posed its own collection and processing problems. The authors report that Twitter’s language identification could confuse Macedonian with Bulgarian or Russian. They also needed rules and resources for a language with extensive morphology, the system by which words change form and related words are formed. Combined with the variability of informal writing, these problems made corpus construction, annotation, and lexical coverage part of the research question.
The method, step by step
Collecting tweets and deciding what to label
The system uses labeled tweets to learn how to classify messages and a much larger pool of tweets to learn which expressions tend to accompany positive or negative language. The larger pool supplies observations of words in use. The smaller collection supplies judgments about the meaning of whole messages, along with judgments about selected expressions in the training material. The authors connect the resources by using the manually marked expressions to guide lexicon construction.
Collection ran from November 2014 to April 2015. Because the language label returned by the Twitter API was unreliable for this purpose, the authors trained a high-precision Naïve Bayes classifier for language identification. Precision in this setting concerns how many of the messages accepted as Macedonian really belong in that category. Naïve Bayes uses evidence in the message to decide which label to assign. Its role here was to admit material to the Macedonian collection. Logistic regression was the separate machine learning method used later to decide sentiment.
For message-level annotation, the reader assigns a category to the tweet. The first author, a native Macedonian speaker, labeled the training messages. Another native speaker also labeled the test material. The authors evaluated agreement on those test judgments with Cohen’s kappa, a measure that takes into account how much agreement could be expected from the annotators’ overall use of the categories. They kept only the test messages on which the annotators agreed. The resulting reference label for each retained example is a judgment shared by both readers.
The training material served a second purpose. In it, the annotators marked words and phrases that expressed positive or negative sentiment in context. This entails a different decision from assigning a label to the whole tweet. The reader identifies the expression and judges what it conveys in that occurrence. The marked expressions then become entries in a reusable resource. During classification, a match in a new tweet makes the lexical judgment available as evidence alongside the rest of the message.
From collecting Macedonian tweets to classifying sentiment
The steps in order.
Building a direct record of expressions
The hand-built lexicon draws its entries from annotated training tweets. The authors report that both readers were native speakers. They agreed well enough on the lexical judgments to obtain a kappa of 0.63, which the paper describes as substantial agreement. The authors excluded 122 disputed items and report a final size of 1,088 entries, with 459 positive and 629 negative. The resource includes phrases alongside individual words.
The lexicon records judgments originally made with the expression in view of its context. In the classifier, entries can match occurrences in other messages. An entry consequently serves as a reusable indication of polarity, even though a new use can differ from the one the annotator saw. This distinction also applies to the automatic lexicons. An entry score characterizes a term across a collection of uses, and message-level classification has the job of interpreting what evidence the matched terms provide in a particular combination.
The authors use the manual lexicon directly and also use it as a source of seeds. A seed is a term whose polarity is given in advance. When estimating the polarity of another expression, the system can examine the messages in which that expression appears and ask whether the messages also tend to contain positive seeds or negative seeds. The seed list establishes the groups against which other expressions are compared. Starting from common words and phrases judged by native speakers also lets the authors build on forms that occur in their target genre.
Importing vocabulary from other resources
The translation route starts with lexicons that already exist. The authors use Bing Liu’s English lexicon, with 2,006 positive and 4,783 negative entries, and the English MPQA lexicon, with 2,718 positive and 4,912 negative entries. They also use a Bulgarian lexicon extracted automatically from a film review site, with 5,016 positive and 2,415 negative entries. These figures describe the input resources. The paper does not give corresponding counts for the cleaned Macedonian outputs.
The authors run the entries through Google Translate and manually correct the output, removing poor or missing translations. Translation brings in expressions from outside the annotated Macedonian sample. Manual checking matters because the task needs usable Macedonian expressions with an interpretable polarity. A translation that drops the relevant meaning gives the classifier misleading evidence even when its output is well formed. The source lexicons also originate in settings with different vocabulary and conventions from Macedonian Twitter.
The resulting translated lexicons can supply features in their own right. The authors also try using translated entries as seeds for further automatic construction. In that role, the translation determines which Macedonian terms the counting procedure treats as indicators of a polarity. The distinction between direct lookup and seeding matters when interpreting the experiments. A dictionary can change the classifier’s evidence through terms that match test messages directly, and it can influence which additional terms enter an expanded lexicon.
Estimating polarity from co-occurrence
Automatic expansion starts from the observation that terms in the same tweet can supply evidence about one another. If a candidate occurs disproportionately in messages with positive seed words, that pattern is evidence of positive orientation. Its appearance with negative seed words supplies evidence in the other direction. The method compares these associations. The authors call the resulting value the candidate’s semantic orientation.
SO(w) = PMI(w, pos) − PMI(w, neg)
SO(w) is the semantic orientation assigned to the candidate w, which can be a word or phrase. PMI names the pointwise mutual information association used in the paper. pos stands for the positive seeds as a group, and neg stands for the negative seeds as a group. The subtraction compares the association for the candidate and the positive group with the association for the candidate and the negative group. A positive result indicates positive orientation. A negative result indicates negative orientation. The magnitude represents the strength of that orientation in the lexicon.
PMI(w, pos) = P(w, pos) / (P(w) × P(pos))
This is the expression as printed in the paper. P denotes probability, / denotes division, and × denotes multiplication. P(w, pos) is the probability that a tweet contains the candidate w and at least one positive seed. P(w) is the probability that a tweet contains the candidate, regardless of its other words. P(pos) is the probability that a tweet contains a positive seed, regardless of whether the candidate occurs. The expression for PMI(w, neg) uses the same candidate and substitutes the negative seed group for the positive one. The events are defined over tweets, so the association concerns the same message rather than immediate adjacency.
The denominator matters because a term can appear alongside many positive seeds simply by occurring often. The comparison uses the frequency of the candidate and the frequency of the seed group to put the joint occurrence in context. It also uses separate group frequencies for positive and negative seeds. That lets the association account for how frequently tweets contain material from each group. A lexicon based on this procedure captures patterns of use in the collection. A high association can reflect the kinds of things users discuss alongside a term, so the procedure can assign orientation to expressions whose interpretation still depends on context.
The English precedents make clear why the choice of seeds mattered for Macedonian. The NRC Hashtag Sentiment Lexicon used hashtags based on 32 positive and 36 negative words and obtained 775,000 terms from 135 million tweets. The Sentiment140 lexicon used emoticon cues with the same reported corpus scale and contained 1.6 million words and phrases. The Macedonian authors had a much smaller pool and found relatively few messages with hashtags or emoticons. They use the full hand-built Macedonian lexicon as their main seed source and also try seeds from translated lexicons. The paper makes its sentiment lexicons publicly available.
Preparing the text for feature extraction
A tweet arrives as text, and the classifier needs a representation it can use across messages. The first processing task is tokenization, dividing the text into units while preserving distinctions that the later steps need. The authors use Christopher Potts’s tokenizer. For this problem, tokens can be words, hashtags, emoticons, usernames, or other elements. Recognizing an emoticon as a unit makes it possible to count it as such. Recognizing the limits of a URL makes it possible to discard the whole address.
The authors describe lowercasing the input and removing URLs and usernames. Lowercasing makes two otherwise identical spellings match when they differ only in capitalization. Discarding URL and username tokens focuses the word features on the remaining content. The paper also filters words using a stop list of 146 entries. A stopword is a word selected for removal before feature extraction. This step changes which tokens can become features and, depending on the processing order, can also affect which tokens become neighbors in the representation.
The authors handle repeated characters because they can turn familiar words into forms that a dictionary or classifier has never seen. Their rules also address tokens made by repeating a word without a space. The paper’s examples include a drawn-out spelling and a sequence made by running successive instances of the Macedonian word for yes together. Reducing these forms gives a later stage a chance to recognize the underlying word. The altered spelling also carries expressive information, which explains why the value of the rule needs to be assessed on the task.
The normalization dictionary contains 173 transformations. It maps selected nonstandard words to corresponding forms in Standard Macedonian. This is a targeted operation. Each entry establishes a particular correspondence that can be applied when the input contains a listed form. Its role differs from reducing repeated letters. A slang expression and its standard counterpart can require a substitution that a rule about character repetition would never find.
For negation, the authors use a list of 45 cue words and phrases. When a cue is found, the following tokens receive the prefix NEG_CONTEXT_ until punctuation marking a clause boundary is reached. A token encountered under this rule has a different feature identity from the corresponding ordinary token. The classifier can learn different associations from occurrences in those two environments. The rule approximates negation scope, the span of text affected by the negation. It encodes a cue and a stopping condition instead of requiring a grammatical analysis of the sentence.
The system also uses lexicon matches to label words as positive or negative during preprocessing. The two labels are POS and NEG. These lexical tags describe polarity. Part-of-speech tagging concerns grammatical categories such as noun, verb, and adjective. The paper describes part-of-speech tagging in two ways. Its preprocessing list calls it a dictionary-based rule procedure, while the fuller account describes an averaged perceptron trained on MULTEXT-East. An averaged perceptron is a supervised procedure that adjusts weights as it learns and uses their averages. The experimental table gives an overall comparison for including or excluding grammatical tagging.
The authors develop a rule-based stemmer to reduce words to forms that can be treated as related in the representation. Of the 65 rules, 45 remove affixes and 20 replace them. Both prefixes and suffixes are considered. The authors illustrate the difficulty with a Macedonian word associated with insults and offending. They report that the word can generate over 90 inflected forms and explain that some forms involve a change in the final letter of the stem. Simply cutting off an ending would miss such cases. A replacement rule can account for a known alternation.
The paper also describes lemmatization, which associates an observed form with a dictionary headword. The authors’ procedure first retrieves headwords that resemble the input. It then uses Jaro–Winkler distance and Levenshtein distance to judge whether the resemblance to a candidate is close enough. Both provide measures of string similarity or difference. Levenshtein distance concerns edits needed to turn one string into another. Jaro–Winkler gives weight to matching character patterns and the start of a string. The paper gives the approach in broad terms. The reported preprocessing comparison includes a row for stemming and no separate measurement for this procedure.
Representing the evidence and learning the labels
The basic features include individual tokens and adjacent pairs. These are unigrams and bigrams, respectively, both examples of n-grams. A unigram can identify an individual word learned from the training set. A bigram can distinguish a word in the presence of an immediate neighbor. This gives the classifier some information about local word order without requiring a full grammatical analysis of every tweet.
The authors weight these features with TF-IDF, or term frequency–inverse document frequency. The term-frequency part describes how frequently a feature occurs in a message. The inverse-document-frequency part accounts for how widely the feature occurs across messages. A token that appears in many messages can receive less weight as a distinguishing signal than one whose occurrences are more concentrated. The paper identifies TF-IDF as the weighting method and does not specify its exact variant.
The lexicons provide a separate representation. For each lexicon used, the classifier receives counts of positive and negative terms found in the tweet, along with the share that each polarity contributes among the sentiment terms. A count distinguishes a message with many matching expressions from one with few. A share expresses the balance of positive and negative entries among the matches. By including both kinds of feature, the representation preserves information about the amount of matching evidence and about its composition.
Where entries carry sentiment scores, the representation also includes the sum over matching entries and separate sums for positive and negative scores. Those values let the classifier distinguish tendencies that counts alone would collapse. A tweet can contain a strongly oriented expression alongside a more weakly oriented one, and the score features let their weights in the lexicon contribute. Each lexicon has its own feature positions. The same message can produce different counts or score totals in the manual and automatically constructed resources, and the classifier can learn a different weight for evidence from each.
Finally, the classifier receives counts of positive and negative emoticons. The authors make limited use of hashtags as seeds because of their scarcity, but emoticons still have a direct role as classifier inputs when present. Lexicon construction and message classification make different demands on an indicator. A seed needs enough observations to support estimates for other words. A feature can still provide evidence about a single message when the indicator occurs in it.
Logistic regression learns how the input features relate to the labels in the training data. In this setting, the features give the classifier access to particular expressions and to more general summaries, such as how much negative vocabulary a tweet contains according to a lexicon. The learned weights determine how those signals contribute to the decision among positive, negative, and neutral. The evaluation compares the full feature set with versions that omit selected processing steps or lexical resources.
Experiments and results
The corpus and the evaluated split
The larger collection supports automatic lexicon construction. The paper’s count for it is 477,576 messages. In the table describing seed indicators, the authors report 473,420 messages without emoticons and hashtags, 3,635 with emoticons, and 521 with hashtags. Their point is about coverage. A construction procedure keyed to hashtags would begin with evidence present in very few of the collected tweets. The broader starting vocabulary extends the search for associations beyond explicitly marked messages.
The supervised experiment uses a labeled training set of 8,583 tweets. It has 2,610 positive messages (30%), 1,280 neutral messages (15%), and 4,693 negative messages (55%). The final test set consists of 1,139 tweets. Of those, 431 are positive (38%), 200 are neutral (18%), and 508 are negative (44%). Negative is the largest group in each split, and neutral is the smallest. The category proportions also differ between the splits, which matters when interpreting how well a prediction strategy based mainly on class frequency would hold up.
Before finalizing the test set, the authors measured agreement between the readers at 0.41 Cohen’s kappa. The paper calls that moderate agreement. They removed 474 tweets for which the annotators supplied different labels. The reported performance is therefore measured on the retained set, with a shared reference judgment for each tweet. The agreement score describes the annotation process before that selection. The classifier’s score describes performance after it.
The authors contrast their data with English tweets collected for selected topics, where neutral tweets had been reported as the most common. Their own Macedonian collection was open in topic. They also point to an ongoing political crisis during the collection period when discussing the emotional character of the data. The proportions establish what examples the classifier was trained and tested on. They do not resolve which part of the difference from the English data comes from topic selection, events, or other aspects of collection.
The metric and the point of comparison
The evaluation follows the SemEval Twitter task. It computes F-score separately for the positive class and the negative class and averages those values. For each class, precision asks how many tweets predicted to be in the class have that reference label. Recall asks how many reference examples of the class the classifier recovers. F-score combines those quantities using their harmonic mean, giving a low value when one is weak. This approach gives equal weight to the positive and negative class scores in the final mean even when the underlying class sizes differ.
Neutral tweets still affect the calculation. Predicting positive for a neutral tweet adds a false positive to the positive category. Predicting neutral for a negative tweet leaves a negative reference example unrecovered. The metric has no separate term for neutral F-score, which means its response to errors depends on how they involve the scored classes. It also gives a different view of performance from accuracy, which would treat each correctly labeled test tweet as a correct prediction regardless of its class.
The paper describes its basic feature set as TF-IDF-weighted unigrams and bigrams plus emoticons. That is the starting representation onto which it adds lexical evidence. The tables use the complete configuration as their numerical point of comparison and report removals from it. They give no separate result for the exact basic-only configuration. The earlier Macedonian forum and review studies use different data and do not provide competing baselines on this test set.
Performance on the retained tweets
The full configuration achieves 92.16 on the mean of positive and negative F-scores for the Macedonian test set. With features from the automatically constructed lexicons omitted, the score is 72.77. Omitting the manual lexicon yields 79.32, and omitting all translated lexicons yields 91.89. These are scores for separate configurations. Each changes which information is available while retaining the rest of the setup specified by the comparison.
Lexicon configurations on the Macedonian Twitter test set by mean positive and negative F-score
Removing the automatically constructed lexicons produces the largest decline.
The numbers
| System or setting | F-score |
|---|---|
| Full configuration (this paper) | 92.16 |
| Without automatically constructed lexicons | 72.77 |
| Without the manual lexicon | 79.32 |
| Without translated lexicons | 91.89 |
Preprocessing also matters. The score is 86.24 without stopword filtering, 87.51 without negation handling, and 90.22 without normalization to Standard Macedonian. Omitting repeated-character handling gives 91.10. The row without part-of-speech tagging gives 92.01. Removing stemming produces 93.14, the highest value shown in the preprocessing comparison. The paper emphasizes the full configuration’s 92.16 in its overall account. The distinction is worth preserving because the full setup is the reference for the ablations, while the largest score in that table belongs to a variant.
Preprocessing configurations on the Macedonian Twitter test set by mean positive and negative F-score
Stopword filtering and negation handling account for the largest declines when omitted, while removing stemming improves the score.
The numbers
| System or setting | F-score |
|---|---|
| Full configuration | 92.16 |
| Without stopword removal | 86.24 |
| Without negation handling | 87.51 |
| Without standard-form normalization | 90.22 |
| Without repeated-character handling | 91.10 |
| Without stemming (this paper) | 93.14 |
| Without part-of-speech tagging | 92.01 |
The authors describe the full configuration’s score as comparable in magnitude to strong English SemEval results. Their use of the same metric makes that comparison intelligible. The English results and the Macedonian result come from different collections. The Macedonian score establishes performance on its own test split, with its labeling and selection procedure. The tables do not include an evaluation of an English system on the Macedonian data or a shared set of messages through which to compare the difficulty of the tasks.
What the ablations show
Which lexical evidence the classifier relies on
An ablation removes one component and evaluates the resulting system while keeping the rest of the comparison in place. The question is conditional. How much does this component contribute when the other features and processing choices are already present? A large decline supports the component’s role in the tested configuration. It does not indicate how well the component could classify the messages by itself. This distinction is especially important here because the lexical resources overlap in their purpose and can share information through the seed procedure.
The biggest loss arises from removing the automatically constructed lexicons. The lexicon table lists a change of -19.39 in test F-score. In the full system, those resources let the classifier see evidence learned from the larger pool of tweets. One plausible interpretation is that they supply usable polarity evidence for expressions beyond those directly marked by the annotators. The comparison does not identify which entries explain the gain or break the resulting scores down according to whether a tweet contains a term unique to an expanded lexicon.
Removing the hand-built lexicon gives a reported change of -12.84. The manual dictionary is useful even with the automatically mined evidence available. Since manual entries are also used to seed expansion, these results concern two different ways the annotated lexical evidence enters the system. In one role, the entry matches the text directly and contributes to features for the manual lexicon. In the other, the entry helps determine associations used to build an automatic lexicon. The removal table does not report rebuilding the automatic lexicons from scratch without those seeds.
Translated lexicons have a smaller measured contribution as a group. Their removal changes the score by -0.27. The result is about the direct features omitted in that comparison. It does not isolate the effects of the translation workflow, the coverage of any individual translated dictionary, or the suitability of translated entries as seeds. The authors tried translated seeds, but the table groups resources by broad type. It gives no separate evaluation of expansions from each seed inventory.
Taken together, the results show that direct annotation and corpus-driven expansion are both important to the reported configuration. They leave open how much of the benefit comes from reaching expressions that would otherwise be unseen, from scoring familiar expressions more usefully, or from patterns specific to this collection. To distinguish these mechanisms, an analysis would need to track which entries match particular tweets and which predictions change when their features disappear. The paper provides comparisons at the level of resource groups.
Which text transformations earn their place
The largest preprocessing decline comes from removing stopword filtering. The reported change is -5.92 in test F-score. Filtering alters the vocabulary available to the classifier and may alter the local sequences from which pairs are formed. The table evaluates the operation as a whole. It provides no evidence about which entries in the stop list are valuable to remove or how much of the difference comes from the word features as opposed to interactions with later steps.
Negation handling has the next largest decline, -4.65. The rule distinguishes ordinary occurrences from those found after a recognized cue, which gives the classifier a way to learn context-specific weights. The result supports making this representation available under the tested conditions. It leaves several questions about the rule unanswered. The experiment does not test the correctness of the annotated scope, separate cue detection from the punctuation stopping rule, or show how the method performs on a set of tweets selected for particular types of negation.
Normalizing words to Standard Macedonian has a reported change of -1.94 when omitted. A plausible route to that benefit is through pooling observations of related forms and creating matches against the lexicons. Removing repeated-character handling gives a smaller change of -1.06. The procedures address different sources of variation. Normalization covers individually listed correspondences, while character processing covers reusable patterns of repetition. The experiments support their overall contribution in the full pipeline and give no breakdown by dialect, spelling convention, or token type.
Part-of-speech tagging makes a small difference in the table. Its omission changes the score by -0.15. The result concerns the particular grammatical information available through the setup. Word features and lexical matches already convey much of the evidence that the system uses. The table does not tell whether grammatical categories overlap with that evidence or whether imperfect tagging of informal text limits their contribution.
The stemming result needs special care. The discussion says that removing stemming reduces the score, but the table shows 93.14 without stemming, 92.16 for the full setup, and a reported change of 0.98. The table thus supports an improvement when stemming is omitted. It is possible for stemming to gather useful variants under one feature and also to group forms whose differences are useful for prediction. The experiment supports the observed direction on the test set and does not diagnose which forms account for it.
Each preprocessing row excludes a single step. A rank order of these changes describes sensitivity to those removals from the full system. It does not establish which subset would give the best performance if several steps were changed together. A spelling transformation can help a word trigger a dictionary entry, and stemming can change how a feature overlaps with lexical information. The paper gives no joint-removal results to quantify those interactions.
Limitations
Limits the authors identify
The authors identify the scale of the raw corpus as a limitation, particularly for lexicon construction. Co-occurrence evidence depends on observing both the term under consideration and the seed vocabulary. Expressions that occur rarely yield fewer opportunities to observe an association. The Macedonian collection offered less material than the English work that motivated the approach, and its low counts of hashtags and emoticons made those cues less useful as a starting point. The authors propose investigating how the amount of raw text influences the resulting lexicons and performance.
They also distinguish seed quality from corpus size. An expression can be a poor seed if its polarity changes frequently with context or if its usual associations reflect a narrow topic. More occurrences can make that pattern easier to estimate without making it more representative of a general sentiment category. The authors propose studying the quality of individual seed words and phrases. Their experiments establish that the expanded resources help in the tested system. They give no per-seed evaluation of what was learned from a particular entry.
The paper treats nonstandard writing as an ongoing challenge. The rules target known cases of repetition, slang, and variation, while the data contain misspellings, missing material, and dialect words. The authors’ dictionary of transformations and their stemming rules cover defined patterns. The data discussion makes clear that a tweet can remain hard to interpret even after a known spelling variant is recovered, especially when important words are missing or an expression is tied to regional usage.
Distinguishing an author’s sentiment from the subject of their message is another difficulty the authors explicitly discuss. News items, advertisements, and ordinary messages can contain similar vocabulary while serving different purposes. The news example also shows why a lexicon match can be ambiguous evidence. A term can reliably appear in negative situations and still occur in a message the annotation scheme treats as objective. The paper describes this problem but gives no result for news or advertisements as separate categories of input.
The authors propose extending the study to degrees of sentiment, changes in sentiment toward topics over time, and conversation on other social services. Degrees would require distinctions within positive and negative expression. Trends would require associating opinions with a topic and a period. Conversation would require considering what earlier messages contribute to the meaning of a later one. The present experiment assigns a polarity to an individual tweet, so these directions would change either the inputs or the outputs of the task as evaluated. The paper also proposes exploring sentiment as one source of evidence for detecting opinion manipulation in forums. Finding Opinion Manipulation Trolls
Limits of what the evaluation establishes
The consensus filter narrows the test distribution in a consequential way. The measured 0.41 agreement and the removal of 474 disputed tweets show that a substantial set of annotation decisions required more than looking up an obvious label. Filtering yields a clear reference for each scored case. The resulting F-score leaves performance on the contested tweets unknown. It also leaves open whether those tweets called for additional context, allowed multiple reasonable readings, or exposed unclear boundaries among the labeling categories.
The training and test labels also involve different annotation procedures. The first author assigns the training tweet labels, while the final test labels require agreement with an additional reader. The classifier learns from decisions made by one reader and is evaluated on decisions both readers accept. This arrangement defines a coherent task, but it offers limited evidence on how labels would behave with a wider pool of readers or under a different treatment of disagreement. The word and phrase agreement score describes a separate annotation task and cannot resolve that question about messages.
The data come from one collection period, with no topic restriction and with a political context the authors describe as unusually emotional. A test on retained tweets from this study can capture successful classification in that setting. No test from a separate period or topic collection is reported. The feature design makes the distinction relevant. A weighted word or phrase can be associated with positive or negative judgments in this sample because of how people discuss particular events. Even a useful cue here can have different associations in another period or community.
The raw corpus and the labeled splits also serve different roles, and their relationship matters for reproduction. The paper describes taking the annotated datasets from the collected tweets and constructing lexicons from the large pool. It does not specify whether the test tweets were excluded when estimating corpus associations or how vocabulary statistics for TF-IDF were fitted. The description therefore leaves the degree of isolation of the test text from those estimation steps unclear. There is no claim in the paper that test labels served as automatic lexicon seeds.
The aggregate metric leaves uncertainty about the balance of errors. A reader can see the class distributions and the mean for positive and negative F-score. Separate class scores or a confusion matrix would be needed to tell how many neutral tweets were mistaken for sentiment-bearing ones, how frequently positive and negative were confused, or which class drove a particular ablation result. The paper gives no result averaging over multiple splits and no uncertainty estimates for the reported changes. Small numerical changes are consequently difficult to interpret beyond the displayed runs.
Some method details remain underspecified. The paper does not state what happens to the ratio features when a tweet contains no terms from a lexicon. It does not specify frequency thresholds or a treatment for zero counts in the co-occurrence calculation. It gives two descriptions of part-of-speech tagging and does not isolate the approximate lemmatizer in the results. These gaps matter for reproducing the precise features, even when the overall route from annotation to lexicon construction and classification is clear.
Finally, phrase-level labels and the hand-built dictionary enable research at a finer granularity than the main experiment evaluates. The score of 92.16 concerns whole messages in the retained test set. It gives no direct measurement of locating the sentiment expression inside a tweet, identifying its target, or assigning a degree of polarity. Those questions require their own judgments and evaluation because a correct message label can be produced without identifying the expression or target a reader considers decisive.
What came after
MMTEB: Massive Multilingual Text Embedding Benchmark, from 2025, cites the Macedonian Twitter study in work on multilingual evaluation. A text embedding represents a piece of text as a vector of numbers. The benchmark’s title places its emphasis on evaluating such representations across languages. Jovanoski and colleagues pose a more specific question, with a defined language, genre, and set of labels. Their corpus construction illustrates what goes into creating a classification task for a language that the existing Twitter evaluations did not cover.
The citation establishes a connection to later benchmark research. It does not establish which Macedonian split, annotation fields, or lexical resources the benchmark used, or whether it followed the original scoring protocol. Those details would determine whether a later result could be compared directly with the reported Macedonian test score. What the original study establishes for that comparison is the scope of its task: native-speaker sentiment judgments on Macedonian tweets, an agreed-label test set, and a metric centered on positive and negative classification.
Cite
Cite as Dame Jovanoski, Veno Pachovski and Preslav Nakov. 2015. Sentiment Analysis in Twitter for Macedonian. Proceedings of the International Conference Recent Advances in Natural Language Processing.
@inproceedings{jovanoski2015sentiment,
title = {{Sentiment Analysis in Twitter for Macedonian}},
author = {Dame Jovanoski, Veno Pachovski and Preslav Nakov},
booktitle = {Proceedings of the International Conference Recent Advances in Natural Language Processing},
year = {2015},
url = {https://aclanthology.org/R15-1034/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/jovanoski-2015-sentiment-analysis-twitter-macedonian/