Elamur Research⌕
☰
home / papers / 2014 / Citius: A Naive-Bayes Strategy for Sentiment Analysis on English Tweets

Citius: A Naive-Bayes Strategy for Sentiment Analysis on English Tweets

Paper · 2014 · Pablo Gamallo and Marcos Garcia

Summary

The paper addresses SemEval-2014 Task 9, subtask B: deciding whether an English tweet is positive, negative or neutral. The authors build a family of Naive Bayes classifiers in Perl. Before lemmatization, tweets are normalized: URLs, usernames and hashtags are removed, stretched letters are collapsed, and emoticons and interjections become sentiment words. Features are content-word lemma unigrams, POS-pattern multiwords, a merged polarity lexicon and negation handling that depends on part of speech. The central design choice splits the problem in two. A binary classifier is trained only on positive and negative tweets, and a simple lexicon test labels a tweet neutral when it contains no polarity lemma. This split beat a direct three-class model. Adding the lexicon and multiwords pushed F-score from 0.49 to 0.63. The best submission ranked 26th of 53 systems, which is mid-table. The work shows that a cheap, transparent pipeline built from linguistically motivated features can reach average competitive performance.

Key points

  • Data: 6,408 SemEval training tweets (tweeti-b.dist.tsv), with Neutral, Objective and Neutral-or-Objective merged into one Neutral label. "Unconstrained" runs also used 5,050 external positive and negative tweets (Narr et al., 2012). Development testing used tweeti-b.devel.tsv.

  • The polarity lexicon has 10,850 entries merged from AFINN-111 (1,520 lemmas), Hedonometer (top 300 positive), the Hu&Liu list (5,695) and SentiWordNet-3.0 (6,600 strongest lemmas).

  • Multiwords came from POS patterns such as NOUN-ADJ, ADJ-NOUN, NOUN-NOUN, VERB-NOUN, NOUN-PRP-NOUN and VERB-PRP-NOUN, extracted with the authors' GPL tool GaleXtra.

  • Development F-scores were:

    SystemF-score
    CONSTR-BASE.49
    CONSTR-BASE-LEX.56
    CONSTR-BIN-LEX.57
    CONSTR-BIN-LEX-MW.61
    UNCONSTR-BIN-LEX.58
    UNCONSTR-BIN-LEX-MW.63
  • On the official Tweets2014 test set, the constrained system scored 0.62 and the unconstrained one 0.63. A Spanish variant placed 3rd of 13 at TASS-2013.

Interesting ideas

  • I1. Each lexicon entry is turned into a synthetic one-lemma training example that carries the entry's polarity, which lets a statistical model absorb a hand-built lexicon without any architecture change.
  • I2. Instead of one three-way decision, a lexicon gate first decides whether there is any polarity, and a two-class model then picks the direction; the clean split outperformed the joint classifier.
  • I3. Negation scope is chosen by the negator's category: "not" flips only nearby verbs and adjectives, while "no" and "none" flip only nouns, all within a short window.
  • I4. POS-tag patterns pick out linguistically motivated multiword units, mostly syntactically linked pairs, and adding them gave the single biggest gain in the ablation.
  • I5. Evaluation is run as a ladder of systems that each add one component, plus a split between constrained and unconstrained training data, so each component's contribution is isolated.

For Mova

How these ideas could serve Mova, our small open language model — its files, stages and tests:

  • I1 (learn): Dictionary knowledge such as VerbNet classes or WordNet senses could be injected as minimal synthetic training items, giving rare words coverage the treebank or silver data lacks.
  • I2 (frames): Speech-act or irony detection could first ask a cheap, explainable "is anything evaluative here?" question before running a finer classifier, which keeps every decision traceable.
  • I3 (frames): The same idea maps naturally onto UD arcs (advmod vs det negation attached to a head), so polarity reversal in frames can follow the tree rather than word distance.
  • I4 (tokens): Pattern-based multiword candidates could feed the lemmatizer/tagger as compound units, so that later stages treat them as one concept.
  • I5 (learn): Evaluation reports could adopt the same incremental-ablation layout and keep runs on in-house data separate from runs with external data, so data effects are not confused with method effects.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

 Institutions

 Fields, topics and concepts

📚 Shelves 2The field of science this work belongs to (OpenAlex fields).Computer Science · 18,614 worksArtificial Intelligence · 17,965 works

🧭 Topics 2Research subjects and languages the work is about.English · 2,379 worksSentiment & emotion · 1,035 works

Cite

Cite as Pablo Gamallo and Marcos Garcia. 2014. Citius: A Naive-Bayes Strategy for Sentiment Analysis on English Tweets. Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014).

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.3115/v1/s14-2026

@inproceedings{gamallo2014citius,
  title = {{Citius: A Naive-Bayes Strategy for Sentiment Analysis on English Tweets}},
  author = {Pablo Gamallo and Marcos Garcia},
  booktitle = {Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014)},
  year = {2014},
  doi = {10.3115/v1/s14-2026},
  url = {https://doi.org/10.3115/v1/s14-2026}
}

References

12 references, 2 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Antonio Fernández Anta, Luis Núñez Chiroque, Philippe Morere, and Agustı́n Santos. 2013. Sentiment Analysis and Topic Detection of Spanish Tweets: A Comparative Study of NLP Techniques. Procesamiento del Lenguaje Natural, 50:45–52. find
  2. Stefano Baccianella, Andrea Esuli, and Fabrizio Sebastiani. 2010. SentiWordNet 3.0: An Enhanced Lexical Resource for Sentiment Analysis and Opinion Mining. In Human Language Technology Conference - North American chapter of the Association for Computational Linguistics, pages 2200–2204.
  3. Peter Sheridan Dodds, Kameron Decker Harris, Isabel M. Kloumann, Catherine A. Bliss, and Christopher M. Danforth. 2011. Temporal patterns of happiness and information in a global social network: Hedonometrics and Twitter. PLoS ONE, 6(12):e26752. ↗
  4. Pablo Gamallo, Marcos Garcia, and Santiago Fernández-Lanza. 2013. TASS: A Naive-Bayes strategy for sentiment analysis on Spanish tweets. In Workshop on Sentiment Analysis at SEPLN (TASS2013), pages 126–132, Madrid, Spain. find
  5. Alec Go, Richa Bhayani, and Lei Huang. 2009. Twitter sentiment classification using distant supervision. In CS224N Technical report. Standford. find
  6. Bing Liu, Minqing Hu, and Junsheng Cheng. 2005. Opinion observer: Analyzing and comparing opinions on the web. In 14th International World Wide Web conference (WWW-2005), pages 342–351, New York, NY, USA. find
  7. Chris Manning, Prabhakar Raghadvan, and Hinrich Schütze. 2008. Introduction to Information Retrieval. Cambridge University Press, Cambridge, MA, USA. ↗
  8. Mario Barcala and Eva Domı́nguez and Pablo Gamallo and Marisol López and Eduardo Moscoso and Guillermo Rojo and Paula Santalla and Susana Sotelo. 2007. A Corpus and Lexical Resources for Multi-word Terminology Extraction in the Field of Economy. In 3rd Language & Technology Conference (LeTC’2007), pages 355–359, Poznan, Poland. find
  9. Sascha Narr, Michael Hulfenhaus, and Sahin Albayrak. 2012. Language-Independent Twitter Sentiment Analysis. In Knowledge Discovery and Machine Learning (KDML), LWA, pages 12–14, Dortmund, Germany. find
  10. Alexander Pak and Patrick Paroubek. 2010. Twitter as a Corpus for Sentiment Analysis and Opinion Mining. In LREC-2010, Valletta, Malta.
  11. Julio Villena-Román, Sara Lana, Eugeinio Martı́nez-Cámara, and Juan Carlos González-Cristóbal. 2013. TASS - Workshop on Sentiment Analysis at SEPLN. Procesamiento del Lenguaje Natural, 50:37–44. find
  12. Kiduk Yang. 2008. WIDIT in TREC 2008 blog track: Leveraging Multiple Sources of Opinion Evidence. In The Seventeenth Text Retrieval Conference (TREC-2008), Gaithersburg, Maryland, USA. find

Updated

↑ back to top

This page in Markdown → https://md.research.elamur.ai/free/en/papers/gamallo-2014-citius-naive-bayes-strategy-sentiment/