arXiv:2608.30213cs.CVAug 2026

Manuscript Offprint

arXiv:2608.30213

Towards a Joint Khmer Text Recognition and Word Segmentation

Marry Kong, Rina Buoy, Sovisal Chenda, Nguonly Taing, Masakazu Iwamura, Koichi Kise

Marry Kong 1^{1}, Rina Buoy 1,2^{1,2}[0000-0002-6960-4262], Sovisal Chenda 1^{1}, Nguonly Taing 1^{1}, Masakazu Iwamura 2^{2}, and Koichi Kise 2^{2}

1^{1} Techo Startup Center, Ministry of Economy and Finance, Phnom Penh, Cambodia

2^{2} Osaka Metropolitan University, Osaka, Japan

Abstract. Text recognition, or extracting electronic text from document images, has been indispensable for knowledge retrieval tasks, such as retrieval-augmented generation (RAG). For Khmer, extracted text is subject to an extra word segmentation step, as Khmer does not use any visible word delimiters to denote word boundaries. Thus, a recognition-then-segmentation pipeline for Khmer requires two separate sequential models; this is not only error-prone but also adds significant latency for large-scale document processing. This paper proposes a novel joint Khmer text recognition and word segmentation framework in a unified model. The proposed model, using a connectionist-temporal-classification (CTC) decoder for fast, parallel decoding, can be instructed to recognize Khmer text with (b=1)(b = 1) and without (b=0)(b = 0) word segmentation. Experimental results on different benchmark datasets of different document modalities (document, scene, and handwritten images) show that the proposed model can not only recognize characters in document images but also locate word boundaries, removing the need for an extra word segmentation step in a conventional sequential pipeline.

Keywords: Text recognition · word segmentation · low-resource language

1 Introduction

Central to knowledge retrieval tasks, such as retrieval-augmented generation (RAG) [15], is text recognition, which is the process of extracting electronic text from document images. For Khmer, an extra word segmentation step is often needed to segment extracted text into words in order to facilitate a hybrid lexical-vector search or apply any post-recognition spell-checking, as Khmer does not use any visible word delimiters in its writing system [7].

A common pipeline for Khmer text recognition and word segmentation requires two separate models applied in sequence. Separately, Khmer text recognition and word segmentation are relatively well-explored. Many text recognition methods [3,4,13,17,18,23][3, 4, 13, 17, 18, 23] have been proposed for the accurate recognition of Khmer characters. Similarly, the task of Khmer word segmentation has also been addressed in multiple previous works [1,7,11][1, 7, 11]. However, chaining both models

Kong et al.

Figure

Fig. 1: The multi-layered layout of Khmer text, highlighting complex character stacking and ligatures. Green: base consonant. Blue: consonant subscript. Orange: dependent vowel. Purple: diacritic. Best viewed in color.

together in a sequential pipeline is not only error-prone but also introduces significant latency when processing a large batch of document images in industrial settings. Furthermore, no previous research has focused on addressing joint text recognition and word segmentation, at least for Khmer text.

In this paper, we propose the first joint Khmer text recognition and word segmentation (KTRWS) approach that performs both recognition and segmentation of Khmer text in a single model. The proposed approach is fast, as it is based on a connectionist-temporal-classification [10] (CTC) decoder for parallel character recognition. In addition, the proposed model can be instructed to recognize Khmer text with (b=1)(b=1) and without (b=0)(b=0) word segmentation. Thus, there is no need for an extra word segmentation step, making the proposed approach particularly suitable for real-world, low-latency, large-scale applications. Since existing Khmer text recognition datasets do not have word boundary annotations, we synthetically generate a new open dataset 3^{3} of Khmer text line images with word boundary annotations for model training. Our contributions can be summarized as follows:

  1. We propose the KTRWS method, which performs joint Khmer text recognition and word segmentation in a single model, along with the first Khmer textline recognition dataset with word boundary annotations.

  2. By performing joint text recognition and word segmentation with a parallel CTC decoder, the proposed method achieves significantly lower latency for this combined task.

  3. Experimental results show that the proposed method can not only recognize Khmer characters accurately but can also eliminate the need for an extra word segmentation step.

References (25)