Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Automated Classification of Moroccan Procedural Court Orders Using CAMeL-BERT

Domain:

natural language processing

Record type:

paper
Creator:
SalOuaMohMus
Publisher:
The
Host:
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.

Visit

doi.org

Tasks

text classification

Similar

Sentiment Classification in Swahili Language Using Multilingual BERTYahye-Gaac/Somali-medical-text-classification-system-using-SomBERTb-BERT-Towards Automated Interpretation of Selected Nigerian Sign Language Using Multiclass ClassificationAutomated Classification of Text Sentimentaltaseb12/Automatic-Amharic-Text-News-Classification-Using-Fine--Tuned-BERT-ModelsClassification of Moroccan Legal and Legislative Texts Using Machine Learning Models

Sentiment Classification in Swahili Language Using Multilingual BERT

The evolution of the Internet has increased the amount of information that is expressed by people on

Yahye-Gaac/Somali-medical-text-classification-system-using-SomBERTb-BERT-

z# Somali Medical Text Classification System Nidaam web-ka ah oo kala saara qoraallada caafimaad ee

Towards Automated Interpretation of Selected Nigerian Sign Language Using Multiclass Classification

Automated Classification of Text Sentiment

The ability to identify sentiment in text, referred to as sentiment analysis, is one which is natura

altaseb12/Automatic-Amharic-Text-News-Classification-Using-Fine--Tuned-BERT-Models

Automatic Amharic Text News Classification Using Fine- Tuned BERT Models like XML-R,Afri berta

Classification of Moroccan Legal and Legislative Texts Using Machine Learning Models