Article · Herald of Kazakh-British technical university · December 23, 2025
A COMPUTATIONAL PIPELINE FOR LEXICAL AND THEMATIC ANALYSIS OF THE CODE OF ADMINISTRATIVE OFFENSES OF THE REPUBLIC OF KAZAKHSTAN
Mukhsimbayev Bobur, Alexandr Pak, Kuralbayev Aibek
Abstract
This study introduces a computational pipeline for the automated linguistic and structural analysis of legal texts, applied to the Code of Administrative Offenses of the Republic of Kazakhstan (CAO RK, K1400000235). The proposed workflow integrates data collection, text preprocessing, tokenization, keyword extraction, semantic clustering, and visualization using natural language processing (NLP) and statistical techniques implemented in Python. The pipeline unites lexical, thematic, and quantitative linguistic analyses into a coherent sequence that enables the identification of frequency distributions, semantic fields, and latent topics across the hierarchical structure of the Code (sections, chapters, and articles). The analysis of the CAO RK corpus revealed several distinctive linguistic patterns: a dominance of sanction and responsibility-related vocabulary (штраф, ответственность, правонарушение), high lexical density in chapters regulating economic and procedural offenses, and concentrated thematic clusters reflecting the normative-punitive orientation of administrative law. Visualization techniques such as frequency histograms, thematic heatmaps, and topic maps illustrate the potential of the pipeline for exploring legislative language quantitatively. Overall, the framework establishes a scalable foundation for comparative legal linguistics, automated legislative monitoring, and the modernization of legal analytics in Kazakhstan.
Related publications
- AdiletCodex: A Trilingual (Kazakh-Russian-English) Article-Level Corpus of the Codes and Laws of KazakhstanZenodo · 2026 · Same author: Bobur Mukhsimbayev
- Anomaly Detection Between Judicial Text-Based DocumentsIEEE International Conference on Application of Information and Communication Technologies · 2020 · Citations: 5 · Same author: Bobur Mukhsimbayev
- Named Entity Recognition Algorithms Comparison For Judicial Text DataIEEE International Conference on Application of Information and Communication Technologies · 2020 · Citations: 3 · Same author: Bobur Mukhsimbayev
- From Legal Text to NP-Complete Decision Models: MPNet Retrieval and Policy Information ExtractionMachine Learning and Knowledge Extraction · 2026 · Shared topic: Artificial Intelligence in Law
