Automated Classification of Tax Service Requests Using Machine Learning and Natural Language Processing
DOI:
https://doi.org/10.18687/LACCEI2026.1.1.2732Palabras clave:
text classification, natural language processing, supervised learning, tax administration, Spanish language processingResumen
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.Descargas
Publicado
2026-07-27
Número
Sección
Articles
Derechos de autor
Derechos de autor 2026 LACCEI
Licencia
Esta obra está bajo una Licencia Creative Commons Atribución-NoComercial-CompartirIgual 4.0 Internacional.
LACCEI conserva el copyright de todos los artículos publicados bajo los términos de su acuerdo de transferencia de copyright. Como titular del copyright, LACCEI distribuye los artículos al público bajo la Licencia Internacional Creative Commons Atribución-NoComercial-CompartirIgual 4.0 (CC BY-NC-SA 4.0).
Cómo citar
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