Author
Listed:
- Tanatorn Tanantong
(Research Unit in Data Innovation and Artificial Intelligence, Department of Computer Science, Faculty of Science and Technology, Thammasat University, Thailand)
- Krittakom Srijiranon
(Research Unit in Data Innovation and Artificial Intelligence, Department of Computer Science, Faculty of Science and Technology, Thammasat University, Thailand)
- Nattanon Keeratiwattapong
(Research Unit in Data Innovation and Artificial Intelligence, Department of Computer Science, Faculty of Science and Technology, Thammasat University, Thailand)
- Usanut Sangtongdee
(Faculty of Forensics Science, Royal Police Cadet Academy, Thailand)
Abstract
Investigative officers at the Thonglor Metropolitan Police Station record free-text criminal accusations in heterogeneous styles that include domain-specific, legal terminology. Thai further complicates natural language processing text classification due to the absence of explicit word delimiters and flexible orthography. This study proposed a framework to classify accusations into seven legal categories aligned with the Thai Penal Code. An 11-year dataset of raw narratives (2014-2024) was cleaned via data preprocessing then converted to sentence embeddings using the Simple Contrastive Learning of Sentence Embeddings (SimCSE) model, the Multilingual Bidirectional Encoder Representations from Transformers Thai Cased. This study's five benchmark models included a support vector machine, a k-nearest neighbors model, a random forest, the Extreme Gradient Boosting algorithm, and a neural network. Hyperparameters were selected by grid search with five-fold cross-validation, and the reported metrics included class-wise F1, F1-macro, F1-weighted, and accuracy. The neural network yielded the best overall performance with 0.6502, 0.6817, and 0.6897 for F1-macro, F1-weighted, and accuracy, respectively. The results highlighted challenges from heterogeneous “Others” categories and class imbalance.
Suggested Citation
Download full text from publisher
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:igg:jkss00:v:16:y:2025:i:1:p:1-19. 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: Journal Editor (email available below). General contact details of provider: https://www.igi-global.com .
Please note that corrections may take a couple of weeks to filter through
the various RePEc services.