Automated Classification of Tax Service Requests Using Machine Learning and Natural Language Processing
DOI:
https://doi.org/10.18687/LACCEI2026.1.1.2732Keywords:
text classification, natural language processing, supervised learning, tax administration, Spanish language processingAbstract
Classifying citizen service requests in public tax offices is harder than it looks. Citizens describe their problems in their own words, select the wrong service category more often than not, and force staff to reclassify every submission before routing can begin. This paper examines whether that reclassification burden can be automated using NLP and supervised machine learning, drawing on 4,021 real requests submitted to Chile's Taxpayer Ombudsman Office (DEDECON) in Spanish free text. The feature engineering strategy combines TF-IDF text representation with two domain-grounded signals: a proxy for the user's knowledge level (scored 0 to 2) and binary indicators of class-specific keyword presence. Six classifiers were evaluated under identical conditions: Logistic Regression, Support Vector Machines, Naive Bayes, Decision Trees, Random Forest, and K-Nearest Neighbors. Random Forest reached 92.18% accuracy and an F1-macro score of 0.921, competitive with transformer-based approaches at a fraction of the computational cost. The main source of residual error is semantic overlap between adjacent service categories, a problem that text features alone are unlikely to resolve. Beyond DEDECON, the pipeline is directly applicable to other Spanish-language public service institutions facing the same intake classification problem.Downloads
Published
2026-07-27
Issue
Section
Articles
Copyright
Copyright (c) 2026 LACCEI
License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
LACCEI retains copyright of all published articles under the terms of its copyright transfer agreement. As the copyright holder, LACCEI distributes the articles to the public under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License (CC BY-NC-SA 4.0).
How to Cite
Ruete, D., Fredes-Contreras, I., Salinas, O., Caroca, A., San Martin Medina, L., Taramasco, C., & Maidana, J. (2026). Automated Classification of Tax Service Requests Using Machine Learning and Natural Language Processing. LACCEI, 1(14). https://doi.org/10.18687/LACCEI2026.1.1.2732