Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Automated Classification of Moroccan Procedural Court Orders Using CAMeL-BERT

Author 1: Saliha YASSINE Author 2: Ouafaa IBRIHICH Author 3: Mohammed ESSOUJAA Author 4: Mustapha ESGHIR
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 17, No. 7 · Published 2026

DOI: https://doi.org/10.14569/IJACSA.2026.0170719

Abstract

The digitization of judicial systems creates new opportunities for automating document management tasks that have traditionally relied on manual processing. This study addresses the automated classification of Arabic procedural court orders issued by Moroccan courts of first instance into seven official procedural categories, a low-resource legal document type characterized by highly standardized procedural language and limited publicly available resources. The primary contribution is a leakage-controlled evaluation demonstrating that frozen CAMeL-BERT contextual representations, combined with lightweight conventional machine learning classifiers, achieve highly accurate classification without computationally expensive transformer fine-tuning. The proposed pipeline integrates automatic structured extraction from heterogeneous Word documents with contextual embeddings and a comparative evaluation of five classifiers under a strict train–validation–test protocol. Experimental results show that Logistic Regression achieves 99.74% test accuracy (κ = 0.9966), while even the simplest baseline, Gaussian Naive Bayes, reaches 96.66%, highlighting the strong discriminative characteristics of Moroccan procedural court orders. An ablation study demonstrates that replacing TF-IDF representations with CAMeL-BERT embeddings reduces classification errors by 71.4%, while the complete classification pipeline further improves overall performance and reduces the remaining errors. These findings show that the highly regular linguistic structure of Moroccan procedural court orders enables computationally efficient and deployment-oriented classification using frozen contextual embeddings, providing a practical solution for Arabic legal document management and supporting future e-Justice applications in Morocco.

Keywords

How to Cite this Article

YASSINE, S., IBRIHICH, O., ESSOUJAA, M., & ESGHIR, M. (2026). Automated Classification of Moroccan Procedural Court Orders Using CAMeL-BERT. International Journal of Advanced Computer Science and Applications, 17(7). https://doi.org/10.14569/IJACSA.2026.0170719

YASSINE, Saliha, et al.. "Automated Classification of Moroccan Procedural Court Orders Using CAMeL-BERT." International Journal of Advanced Computer Science and Applications, vol. 17, no. 7, 2026, https://doi.org/10.14569/IJACSA.2026.0170719.

@article{YASSINE2026,
  title     = {Automated Classification of Moroccan Procedural Court Orders Using CAMeL-BERT},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {17},
  number    = {7},
  year      = {2026},
  publisher = {The Science and Information Organization},
  author    = {Saliha YASSINE and Ouafaa IBRIHICH and Mohammed ESSOUJAA and Mustapha ESGHIR},
  doi       = {10.14569/IJACSA.2026.0170719},
  url       = {https://doi.org/10.14569/IJACSA.2026.0170719}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.