Detection and Correction of Homophone Errors in Thai Language using Machine Learning Techniques in Courtroom Transcriptions

Homophone errors in Thai courtroom transcriptions pose significant challenges in ensuring accurate and reliable legal documentation. Due to the complexity of the Thai language, which includes numerous homophones and tonal variations, speech-to-text (STT) systems often struggle to distinguish between phonetically similar words in legal discourse. This study aims to enhance Thai courtroom transcription accuracy by detecting and correcting homophone errors using machine learning (ML) techniques. The research integrates Google’s Speech-to-Text API with an ML-based correction model that utilizes deep learning architectures, including Thai-BERT and Transformer-based models. The proposed approach employs contextual analysis, a domain-specific Thai Legal Term Dictionary, and post-processing algorithms to refine transcriptions. Experimental results demonstrate that the ML-enhanced system improves homophone detection and correction, increasing overall transcription accuracy from 91.10% to 93.73%, with a homophone correction rate of 71.5%. The evaluation further confirms the model’s effectiveness, achieving a precision of 89.2%, recall of 78.3%, and an F1-score of 83.3%. These findings highlight the potential of integrating machine learning into courtroom transcription workflows, offering a scalable and automated solution for improving judicial documentation. Future work will focus on expanding the dataset with a specialized Thai Legal Speech Corpus, optimizing the model’s adaptability to diverse courtroom environments, and integrating real-time transcription correction systems for enhanced legal applications.

Authors

Publication Details

Journal
Journal of Applied Informatics and Technology
Published
2026-11-04
DOI
https://doi.org/10.14456/jait.2026.19
Primary Topic
Speech Recognition and Synthesis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Detection and Correction of Homophone Errors in Thai Language using Machine Learning Techniques in Courtroom Transcriptions

Nuttapong Em-im
1 links
Journal of Applied Informatics and Technology
Speech Recognition and Synthesis
article

Detection and Correction of Homophone Errors in Thai Language using Machine Learning Techniques in Courtroom Transcriptions

Nuttapong Em-im
article en

Abstract

Homophone errors in Thai courtroom transcriptions pose significant challenges in ensuring accurate and reliable legal documentation. Due to the complexity of the Thai language, which includes numerous homophones and tonal variations, speech-to-text (STT) systems often struggle to distinguish between phonetically similar words in legal discourse. This study aims to enhance Thai courtroom transcription accuracy by detecting and correcting homophone errors using machine learning (ML) techniques. The research integrates Google’s Speech-to-Text API with an ML-based correction model that utilizes deep learning architectures, including Thai-BERT and Transformer-based models. The proposed approach employs contextual analysis, a domain-specific Thai Legal Term Dictionary, and post-processing algorithms to refine transcriptions. Experimental results demonstrate that the ML-enhanced system improves homophone detection and correction, increasing overall transcription accuracy from 91.10% to 93.73%, with a homophone correction rate of 71.5%. The evaluation further confirms the model’s effectiveness, achieving a precision of 89.2%, recall of 78.3%, and an F1-score of 83.3%. These findings highlight the potential of integrating machine learning into courtroom transcription workflows, offering a scalable and automated solution for improving judicial documentation. Future work will focus on expanding the dataset with a specialized Thai Legal Speech Corpus, optimizing the model’s adaptability to diverse courtroom environments, and integrating real-time transcription correction systems for enhanced legal applications.

Journal of Applied Informatics and Technology
Peace, justice, and strong institutions
Openalex Percentile: Top 30%
Speech Recognition and Synthesis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon