Site Logo

Khmer

Khmer documents and manuscripts turned into text

Khmer prose runs on without spaces between words, and half its consonant clusters are written as a small second letter hanging beneath the first rather than beside it. Evidano reads printed gazettes and forms, handwritten entries on official paperwork, roadside signage and palm-leaf satra, and sets the transcription next to the image so every stacked consonant and every word break can be checked.

Sample pages

Real pages from public collections, shown beside their transcriptions. Pages whose transcription is still being checked are marked.

Printed page of the 1993 Royal Gazette of Cambodia, a numbered sub-decree in Khmer with a heading, two articles, Khmer numerals and two signature blocks
Sample 1. A page from the Royal Gazette of Cambodia, 1993: Sub-decree (Anukret) No. 10, dated 24 September 1993, recording a personnel appointment under the co-premiership formed after that year’s election. Printed Khmer body text runs under a title in the rounder headline letterforms, with the decree number, date and two articles set out in numbered paragraphs above two signature blocks.

National Institute of Statistics / Internet Archive, 24 September 1993 · Source · Public domain · Digitised copy published under the Cambodian Law on Copyright and Related Rights, art. 10 (official texts not protected by copyright)

Transcription being verified

Only an uncorrected Tesseract OCR layer accompanies the Internet Archive scan; no proofread transcription of this decree has been published.

What the model is told to watch for: Produce a diplomatic transcription in Khmer.

Bilingual Khmer-French archival identification card with printed Khmer form labels and checkboxes, and a title and date filled in by hand in cursive Khmer
Sample 2. An identification card from the Fonds pour l’édition des manuscrits du Cambodge (FEMC 58.III.4), used to catalogue a palm-leaf manuscript before microfilming in 1998. The form’s field names and checkboxes are printed in Khmer and French; the manuscript’s title and its date, 1986, are added by hand in a fast cursive that sits noticeably apart from the printed labels around it.

École française d’Extrême-Orient, via Buddhist Digital Resource Center, 1998 · Source · Public domain

Transcription being verified

Unpublished archival paperwork; no transcription of this card has been printed.

What the model is told to watch for: Produce a diplomatic transcription in Khmer.

Blue roadside signboard reading Cambodian People’s Party in Khmer headline script above an English translation and a smaller line of Khmer
Sample 3. A party signboard mounted on posts outside a walled compound in Cambodia: the party’s name is set in the rounded, formal aksar mul letters used for headings and signage, with an English line beneath it and, below that, the branch address in ordinary print letterforms — group, village and sangkat numbers in Khmer digits, then Preah Sihanouk city and province.

Source · CC BY-SA 4.0 · Basile Morin

Transcription being verified

A short, well-known party name over a branch address; no published transcription keyed to this specific photograph exists.

What the model is told to watch for: Produce a diplomatic transcription in Khmer.

Single incised palm leaf from a Buddhist manuscript with five lines of small Khmer aksar mul script, numbered leaf two
Sample 4. Leaf 2 of a Cambodian Buddhist satra (palm-leaf manuscript) copied in 1986, one of sixty-one leaves catalogued by the Fonds pour l’édition des manuscrits du Cambodge as FEMC 58.III.4. The text is incised with a stylus and blackened, in the rounded aksar mul hand used for this Abhidhamma text; the leaf’s longitudinal ribs run behind the five lines of script.

École française d’Extrême-Orient, via Buddhist Digital Resource Center, 1986 · Source · Public domain

Transcription being verified

Unpublished monastic manuscript; a transliteration would need to consult the FEMC inventory held by the EFEO.

What the model is told to watch for: Produce a diplomatic transcription in Khmer.

Printed Khmer official page headed by the royal arms of Cambodia, with a decree title, five dashed clauses and an inked registration stamp box at the upper right
Sample 5. The promulgation leaf of Cambodia’s Land Law of 2001. Under the royal arms, a Royal Kram numbered NS/RKM/0801/14 sets out King Norodom Sihanouk’s full titles, lists the constitution, three earlier royal instruments and the prime minister’s submission, and puts the law into force. A registration stamp box at the upper right has been filled in by hand in ink; dates and reference numbers are given in Khmer digits throughout.

Kingdom of Cambodia; scan hosted on Wikisource, August 2001 · Source · Public domain · Official legislative text of the Kingdom of Cambodia, outside copyright under art. 10 of the Law on Copyright and Related Rights

Transcription

The printed text of the leaf, in the proofread transcription on the multilingual Wikisource (page quality 3), checked here against the scan. Wiki markup and the royal-arms graphic have been stripped, and the zero-width spaces Wikisource inserts between words have been removed, since the printed page marks no word boundaries at all. The page number at the foot, which Wikisource gives in Arabic figures where the leaf prints ១៤០១, is not included, and neither is the handwritten registration box at the upper right, which the transcription leaves untouched.

ព្រះរាជក្រម
នស/រកម/០៨០១/១៤
យើង
ព្រះបាទសម្តេចព្រះ នរោត្តម សីហនុ
រាជហរិវង្ស ឧភតោសុជាត វិសុទ្ធពង្ស អគ្គមហាបុរសរតន៏
និករោត្តម ធម្មិកមហារាជាធិរាជ បរមនាថ បរមបពិត្រ
ព្រះចៅក្រុងកម្ពុជាធិបតី
-បានទ្រង់យល់រដ្ឋធម្មនុញ្ញនៃព្រះរាជាណាចក្រកម្ពុជា
-បានទ្រង់យល់ព្រះរាជក្រឹត្យលេខ នស/រកត/១១៩៨/៧២ ចុះថ្ងៃទី ៣០ ខែ វិច្ឆិកា ឆ្នាំ ១៩៩៨ ស្ដីពីការតែងតាំងរាជរដ្ឋាភិបាលនៃព្រះរាជាណាចក្រកម្ពុជា
-បានទ្រង់យល់ព្រះរាជក្រមលេខ ០២/នស/៩៤ ចុះថ្ងៃទី ២០ ខែ កក្កដា ឆ្នាំ ១៩៩៤ ដែលប្រកាសអោយប្រើច្បាប់ស្ដីពីការរៀបចំ និង ការប្រព្រឹត្តទៅនៃគណៈរដ្ឋមន្ត្រី
-បានទ្រង់យល់ព្រះរាជក្រមលេខ នស/រកម/០៦៩៩/០៩ ចុះថ្ងៃទី ២៣ ខែ កញ្ញា ឆ្នាំ ១៩៩៩ ស្ដីពីការបង្កើតក្រសួងរៀបចំដែនដី នគរូបនីយកម្ម និង សំណង់
-បានទ្រង់យល់សេចក្ដីក្រាបបង្គំទូលថ្វាយ របស់សម្ដេចនាយករដ្ឋមន្ត្រីនៃព្រះរាជាណាចក្រកម្ពុជា
ប្រកាសឱ្យប្រើ
ច្បាប់ភូមិបាល ដែលរដ្ឋសភាបានអនុម័តកាលពីថ្ងៃទី ២០ ខែ កក្កដា ឆ្នាំ ២០០១ នាសម័យប្រជុំពេញអង្គលើកទី ៦ នីតិកាលទី ២ ហើយដែលព្រឹទ្ធសភាបានអនុម័តយល់ស្របតាមទម្រង់ និង គតិនៃច្បាប់នេះទាំងស្រុង កាលពីថ្ងៃទី ១៣ ខែ សីហា ឆ្នាំ ២០០១ នាសម័យប្រជុំពេញអង្គលើកទី ៥ នីតិកាលទី ១ ហើយដែលមានសេចក្ដីទាំងស្រុងដូចតទៅ:

Transcription from Page:ច្បាប់ភូមិបាល ឆ្នាំ២០០១ 138.pdf/2, via Wikisource (multilingual) (Public domain).

What Khmer text looks like on the page

Khmer script descends from the Pallava and Grantha letters brought by South Indian traders to the Mekong delta; the earliest dated inscription, from Angkor Borei, is usually placed at 611 CE, and the alphabet has written Old, Middle and Modern Khmer, as well as Pali scripture, ever since. Consonants come in two series, traditionally called the a-series and o-series, which change the vowel a bare consonant carries and everything else is read against; there are no capital letters, and a sentence is closed with a raised double dot (khan, ។) rather than a full stop. Printed type was standardised through the twentieth century and a Unicode block was added in the late 1990s, but the underlying letterforms are the same ones cut for the first Phnom Penh presses.

A consonant cluster is written by dropping the second consonant below the first in a smaller, often looped form called coeng, so a word can grow downward as well as across the line; a handful of coeng shapes bear little resemblance to their full-size letter and have to be learned separately. Vowel signs attach above, below, in front of or after the consonant they belong to, and the ones written before the letter are still read after it, so the visual order on the page is not the reading order. Khmer has its own digits (០–៩), which appear in dates, decree numbers and Gazette pagination alongside the occasional Arabic numeral in a French loanword or a modern form, and a repetition mark (ៗ) that stands in for a whole word repeated.

Two hands dominate everyday material. Aksar chrieng is the cursive, slightly leaning hand used for correspondence, ledgers and the day-to-day copying of legal and narrative texts onto palm leaf (satra); aksar mul is rounder and more formal, built up from thicker curved strokes, and is reserved for titles, temple inscriptions, signage and the openings of Pali religious texts. A single page of official paperwork can mix a printed form in one register, a name and date filled in by hand in another, and a rubber-stamp or seal sitting across both.

Why ordinary OCR struggles here

No spaces between words

Khmer marks the end of a clause or sentence, not the end of a word, so a line of text is one unbroken run of glyphs from margin to margin. Software built for space-delimited scripts either invents word breaks that are not there or refuses to break the line at all; getting the segmentation right means recognising Khmer syllable and word structure, not just finding gaps.

Consonants stacked instead of written in line

A coeng form hangs beneath its base consonant rather than sitting next to it, so a two-consonant cluster occupies one line of vertical space rather than two of horizontal space. Several coeng shapes are visually reduced from their full letter almost beyond recognition, and a tight scan or a fast hand can make a stacked cluster look like a single unfamiliar glyph.

Two working hands, one alphabet

Aksar chrieng cursive and aksar mul’s rounder, formal letters share an underlying alphabet but differ enough in stroke shape and proportion that a model trained on one misreads the other, and a page that mixes a printed heading in aksar mul with a handwritten aksar chrieng note beneath it asks for both at once.

Mixed registers on one document

A gazette page carries printed Khmer body text, Khmer numerals for dates and decree numbers, French or English loanwords in Latin script, and a signature block; a palm-leaf satra shows text incised into the leaf and blackened with lampblack, with the leaf’s own ribs running behind the letters. Reading either well means keeping the different kinds of content apart rather than merging them into one paragraph.

Who works with this material

Pagoda archives and Buddhist-studies projects

Cambodia’s wats hold thousands of satra bundles that survived the twentieth century in fragile condition, and cataloguing projects like the one that produced the FEMC cards need a reading of the title, script and leaf count for each bundle before conservation or microfilming decisions are made.

Legal and government-record teams

Rebuilding a usable index of Royal Gazette decrees, sub-decrees and prakas means reading decree numbers, dates and the officials named in each one, keeping Khmer and Gregorian dates straight and the numbered articles in order rather than run together.

Genealogists and land-title researchers

Family and land records mix a printed form with handwritten names, place names and Khmer numerals, often filled in over several visits in different hands; what matters most is getting the handwritten entries right rather than the boilerplate around them.

NGOs and agencies handling Khmer paperwork

Aid and resettlement programmes process identity documents, applications and correspondence photographed on a phone, frequently with a stamp over the signature line; a transcription that keeps form fields, stamps and handwritten additions separate is more useful than one long paragraph.

Getting the best transcription

    Step 1

    Say which hand the page is in

    Tell the model whether the text is printed, aksar chrieng cursive, or the rounder aksar mul used for headings and signage. The three differ enough in stroke shape that naming the hand up front avoids letters being read as the wrong series.

    Step 2

    Ask for word breaks only where the source marks them

    Since Khmer text runs without spaces, ask for a straight read with breaks only at the khan (។) marks the page itself uses, rather than an English-style word-spaced rendering that the model has to guess at.

    Step 3

    Flag stacked consonants and Khmer numerals

    Ask for coeng consonant stacks to be kept as the cluster they represent rather than split into two separate letters, and for Khmer digits to be transcribed as written, with an Arabic-numeral equivalent added alongside if you need one for indexing.

    Step 4

    Start with the mixed-register page

    Run a document that combines print, handwriting and a stamp or seal before a batch of uniform printed pages. If that page comes back with the printed labels, the handwritten entries and the stamp kept apart, the rest of the batch needs only a light check.

Frequently asked questions

Can it split Khmer text into words when the page has no spaces?
Yes. Word and syllable boundaries are recognised from Khmer structure rather than from gaps on the page, and you can ask for the output either as an unbroken line matching the source or with word breaks added for readability.
Does it read coeng subscript consonants correctly?
Coeng clusters are read as the consonant pair they stand for, not as a separate glyph, and reduced coeng shapes that no longer resemble their full-size letter are recognised from context rather than guessed at individually.
Can it tell aksar chrieng handwriting from aksar mul or printed Khmer?
Yes. The three are treated as different hands with different letter proportions, and a page that mixes a mul heading with a chrieng note or a line of print is read accordingly rather than forced into one style.
How are Khmer numerals and dates handled?
Khmer digits are transcribed as written. If you need dates in a database-friendly form, ask for the Gregorian equivalent alongside the Khmer numerals rather than in place of them.
Can it read a photograph of a palm-leaf manuscript?
Incised and blackened text on a curved leaf is read as such, and the leaf’s own ribs are not mistaken for strokes of a letter, though a badly cracked or very worn leaf may still need a specialist’s check.
Will it keep a stamped or signed form readable?
A stamp, seal or signature overlapping printed or handwritten text is flagged rather than merged into the surrounding words, so the form’s own content stays legible in the output.

Related scripts and pages

Transcribe your Khmer documents

Upload a scan or a photograph — a gazette page, a form, a signboard or a manuscript leaf — and check the Khmer transcription line by line before you export it.