IDEAS home Printed from https://ideas.repec.org/a/alk/jcsts0/v7y2025i11id11295.html

Fine-Tuning MARBERT for Sentiment Analysis in Jordanian Arabic Dialects Using a Synthetic Dialectal Corpus

Author

Listed:
  • Hashem AL Drous

    (Independent Researcher)

  • Hashem Barakat

    (Independent Researcher)

  • Anas Bani Atta

    (Assistance Professor, Faculty of Business, Middle East University, Amman, Jordan)

Abstract

Arabic Natural Language Processing (NLP) has recently witnessed remarkable progress with the emergence of transformer-based architectures such as AraBERT and MARBERT. However, dialectal variation across the Arab world continues to pose a substantial challenge to model generalization, particularly for underrepresented dialects such as Jordanian Arabic. The present study introduces an efficient end-to-end framework for evaluating and improving sentiment analysis performance on Jordanian social media data. A dedicated corpus of 900 authentic social media posts was collected through a Python-based scraping and preprocessing pipeline, designed to capture Jordanian lexical markers, code-switching with English tokens, emojis, and platform-specific linguistic noise. The dataset was evenly distributed across three sentiment categories positive, negative, and neutral and subsequently partitioned into training, validation, and test sets following an 80/10/10 ratio. We fine-tuned the MARBERT model on this curated corpus using transfer learning and evaluated its performance through macro-averaged F1-scores, precision, and recall metrics. The results indicate a marked improvement in both dialect recognition and sentiment differentiation compared with baseline performance, with the fine-tuned model achieving a macro F1-score of 0.88. This study contributes an openly reproducible pipeline for low-resource dialect modeling, offering methodological insight into sentiment analysis for Jordanian Arabic and establishing a foundation for future validation on larger, human-annotated datasets.

Suggested Citation

  • Hashem AL Drous & Hashem Barakat & Anas Bani Atta, 2025. "Fine-Tuning MARBERT for Sentiment Analysis in Jordanian Arabic Dialects Using a Synthetic Dialectal Corpus," Journal of Computer Science and Technology Studies, Al-Kindi Center for Research and Development, vol. 7(11), pages 373-386, October.
  • Handle: RePEc:alk:jcsts0:v:7:y:2025:i:11:id:11295
    DOI: 10.32996/jcsts.2025.7.11.36
    as

    Download full text from publisher

    File URL: https://al-kindipublisher.com/index.php/jcsts/article/view/11295
    File Function: Abstract page
    Download Restriction: no

    File URL: https://al-kindipublisher.com/index.php/jcsts/article/download/11295/10137
    File Function: Full text
    Download Restriction: no

    File URL: https://libkey.io/10.32996/jcsts.2025.7.11.36?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:alk:jcsts0:v:7:y:2025:i:11:id:11295. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Al-Kindi Center for Research and Development (email available below). General contact details of provider: https://al-kindipublisher.com/index.php/jcsts .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.