Subjectivity and Sentiment Analysis of Modern Standard Arabic

Muhammad Abdul-Mageed, Mona T. Diab, Mohammed KorayemACL 2011

Abstract

Subjectivity and Sentiment Analysis (SSA) for Modern Standard Arabic (MSA) presents unique challenges due to its rich morphology and a historical lack of annotated resources. This paper introduces a manually annotated corpus and a polarity lexicon, demonstrating that morphology-aware features and tailored lexicons significantly improve automated sentiment classification.

Introduction

While Sentiment Analysis is a mature field for English, it faces significant hurdles in Morphologically-Rich Languages (MRLs) like Arabic. In MSA, a single word often functions as a complex unit, containing a stem, prefixes, and suffixes that convey meaning equivalent to an entire English phrase. For example, a single Arabic word can represent "and to their house."

Table 1: Examples of Arabic word forms, illustrating the complexity of surface forms, lemmas, and stems.

The authors address two primary gaps: the scarcity of high-quality annotated datasets for sentence-level SSA in MSA, and the need for feature engineering that accounts for the internal structure of words, such as gender, number, and tense.

Methodology

The researchers employed a two-stage classification process using Support Vector Machines (SVMs). First, a binary classifier determines if a sentence is Objective (factual reporting) or Subjective (expressing opinions/feelings). Second, for sentences deemed subjective, a classifier distinguishes between Positive and Negative polarities.

Preprocessing and Features

Three preprocessing settings were compared to find the optimal level of abstraction:

  1. Surface: Using words exactly as they appear in the text.
  2. Lemma: Reducing words to their dictionary citation forms.
  3. Stem: Removing inflectional morphemes (similar to IR-style stemming).

Beyond standard N-grams, the models incorporated Morphological Features (person, state, gender, tense, aspect, and number) and Language-Independent Features (document domain, word uniqueness, and a custom adjective lexicon).

Data Resources

A new corpus of 2,855 sentences from the Penn Arabic Treebank (PATB) was manually annotated by native speakers, achieving a high inter-annotator agreement of 88.06%. Additionally, the authors created a polarity lexicon of 3,982 Arabic adjectives, each tagged as positive, negative, or neutral, specifically tailored for the newswire genre.

Results and Discussion

The study reveals that morphology is mandatory for effective SSA in MRLs. Explicitly modeling features like verb aspect or subject gender consistently improved accuracy. Among preprocessing methods, "Stemming" emerged as the most effective strategy, as it strips away grammatical noise while preserving the core semantic meaning.

Subjectivity and Sentiment Performance

For subjectivity classification, the best model achieved an F-score of 71.54% on the test set, a significant 16.44% improvement over the majority-class baseline. However, the most dramatic results occurred in the sentiment classification stage.

Table 2: Sentiment classification results showing the significant performance boost provided by the adjective lexicon (+ADJ).

As shown in the results, adding the manual adjective lexicon (+ADJ) acted as a "turbocharger" for the system. Without the lexicon, the sentiment F-score hovered around 52.12%. Once the lexicon features were integrated, performance skyrocketed to an F-score of 95.52%.

Conclusion

This work establishes a foundation for Arabic SSA by providing high-quality resources and demonstrating the necessity of morphology-aware modeling. While the current dataset is focused on newswire text, the findings suggest that explicitly accounting for the internal structure of words is critical for sentiment analysis in any morphologically complex language. Future work will expand these methods to social media and regional dialects, where sentiment expression varies significantly from Modern Standard Arabic.

Summary updated

BibTeX
@inproceedings{abdulmageed2011subjectivity,
  author = {Muhammad Abdul-Mageed and Mona T. Diab and Mohammed Korayem},
  title = {{Subjectivity and Sentiment Analysis of Modern Standard Arabic}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
  url = {https://openreview.net/forum?id=QO0YSe2Gbj},
}
Figure