[Paper Review] Building a Sentiment Corpus of Tweets in Brazilian Portuguese
This paper introduces TweetSentBR, a manually annotated sentiment corpus of 15,000 Brazilian Portuguese tweets from the TV show domain, labeled into positive, neutral, and negative classes. Using three machine learning methods—Naive Bayes, SVM, and a hybrid approach—it achieves 82.06% accuracy and 80.99% F-measure in binary classification, and 64.62% accuracy and 59.85% F-measure in three-class classification, offering a valuable resource for sentiment analysis in Brazilian Portuguese.
The large amount of data available in social media, forums and websites motivates researches in several areas of Natural Language Processing, such as sentiment analysis. The popularity of the area due to its subjective and semantic characteristics motivates research on novel methods and approaches for classification. Hence, there is a high demand for datasets on different domains and different languages. This paper introduces TweetSentBR, a sentiment corpora for Brazilian Portuguese manually annotated with 15.000 sentences on TV show domain. The sentences were labeled in three classes (positive, neutral and negative) by seven annotators, following literature guidelines for ensuring reliability on the annotation. We also ran baseline experiments on polarity classification using three machine learning methods, reaching 80.99% on F-Measure and 82.06% on accuracy in binary classification, and 59.85% F-Measure and 64.62% on accuracy on three point classification.
Motivation & Objective
- To address the scarcity of high-quality, manually annotated sentiment corpora in Brazilian Portuguese for social media text.
- To create a balanced, domain-specific corpus in the TV show domain to support sentiment analysis research in Portuguese.
- To provide a resource that includes the neutral class, reflecting real-world data complexity and improving classifier robustness.
- To enable evaluation of machine learning models in both binary and three-class sentiment classification tasks.
- To support research in linguistic phenomena such as irony, slang, and social media-specific expressions in Brazilian Portuguese.
Proposed method
- The corpus was constructed from 15,000 tweets related to Brazilian TV shows, collected via Twitter’s API.
- Sentences were manually annotated by seven annotators into three classes: positive, neutral, and negative, following standardized guidelines to ensure inter-annotator reliability.
- The annotation process included training, guideline development, and revision to minimize labeling errors and improve consistency.
- Three machine learning models were evaluated: Naive Bayes, SVM with a linear kernel, and a hybrid classifier combining lexical rules with SVM.
- Feature representation used a binary bag-of-words model, sentiment lexicons, emoticons, and part-of-speech (POS) tags.
- Baseline experiments were conducted using Scikit-learn, with performance measured via F-measure and accuracy on both binary and three-class classification tasks.
Experimental results
Research questions
- RQ1How effective are standard machine learning models in classifying sentiment in Brazilian Portuguese tweets from the TV show domain?
- RQ2What performance can be achieved using a hybrid approach combining lexical rules and SVM in sentiment classification for Brazilian Portuguese?
- RQ3How does the inclusion of a neutral class affect classification performance and model generalization in sentiment analysis?
- RQ4What linguistic features—such as sentiment words, emoticons, and specific expressions—distinguish positive, neutral, and negative tweets in Brazilian Portuguese?
- RQ5To what extent does the corpus reflect real-world social media linguistic phenomena like irony, slang, and user-specific expressions?
Key findings
- The corpus achieved a binary classification F-measure of 80.99% and accuracy of 82.06% using the SVM classifier.
- For three-class classification (positive, neutral, negative), the best F-measure was 59.85% and accuracy was 64.62% using Naive Bayes and SVM.
- The hybrid classifier achieved 76.84% accuracy and 76.59% F-measure in binary classification, indicating moderate performance compared to SVM.
- The most informative terms in the positive class included 'amo' (to love), 'fofura' (cute), and 'linda' (beautiful), while negative class terms included 'lixo' (trash), 'péssimo' (awful), and 'tirem' (to remove).
- The neutral class contained high-frequency terms like show names, usernames, and neutral verbs such as 'aparecer' (to appear), reflecting non-opinion content.
- The corpus is distinct from existing resources due to its inclusion of the neutral class and its focus on a novel domain—Brazilian TV shows—offering new linguistic and modeling challenges.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.