Mova0.6 pre-release

the flag of Cambodia 2. Khmer script and its digital representation

Khmer is written from left to right in an Indic-derived script. Its consonant letters carry an inherent vowel when they serve as the base of a syllable and no other spelling rule displaces it. A vowel sign can replace that inherent vowel, and a smaller consonant form can extend the base into a cluster. The Indic affiliation of the Khmer alphabet is also noted by Maspero (1915, § 7, p. 16). In digital text, the order of the characters follows their role in the spelling. The font can place their visible parts above, below, before or after the base.

Consonant letters and their two series

The consonant inventory

The ordinary Khmer alphabet has 33 consonant letters. Each belongs to series A or series O, also called the first and second series. The series is a property of the letter and helps determine the vowel of the syllable. Two letters can therefore represent similar consonant sounds at the beginning of a syllable and still produce different readings with the same vowel sign. For example, ក and គ both have a usual initial /k/, but ក belongs to series A and គ to series O.

The table follows alphabetic order. The Latin labels are the identifying parts of the Unicode character names. They identify letters for transliteration and code-point lookup. The pronunciation of the whole syllable follows from the spelling and the word.

LetterLatin labelUnicodeSeries
កKAU+1780A
ខKHAU+1781A
គKOU+1782O
ឃKHOU+1783O
ងNGOU+1784O
ចCAU+1785A
ឆCHAU+1786A
ជCOU+1787O
ឈCHOU+1788O
ញNYOU+1789O
ដDAU+178AA
ឋTTHAU+178BA
ឌDOU+178CO
ឍTTHOU+178DO
ណNNOU+178EA
តTAU+178FA
ថTHAU+1790A
ទTOU+1791O
ធTHOU+1792O
នNOU+1793O
បBAU+1794A
ផPHAU+1795A
ពPOU+1796O
ភPHOU+1797O
មMOU+1798O
យYOU+1799O
រROU+179AO
លLOU+179BO
វVOU+179CO
សSAU+179FA
ហHAU+17A0A
ឡLAU+17A1A
អQAU+17A2A

The encoded letters ឝ (SHA, U+179D) and ឞ (SSO, U+179E) occur in learned writing for Indic languages. They fall outside the ordinary Khmer consonant alphabet. The numerical interval from ក to អ therefore includes two letters beyond the ordinary inventory.

Several features of the table matter when reading a word.

Compare កា and គា below. These are constructed syllable spellings for the table, so their glosses identify the written components.

FormTransliterationGlossReading
កាKA-AAseries A /k/ + AA sign/kaː/ (constructed)
គាKO-AAseries O /k/ + AA sign/kiə/ (constructed)

The sign AA stays the same in both spellings. Its two readings follow from the series of the base.

Subscript consonants and written clusters

How a cluster is written

A written cluster starts with a full consonant letter. Each following cluster member is written in its subscript form. In Unicode that form is requested by putting the sign COENG, U+17D2, immediately before the consonant letter that is to be subscripted. A cluster with two subscript consonants has two separate COENG–consonant pairs. COENG belongs with the letter that follows it.

ConstructionStored orderFunction
Single baseconsonantSupplies the main letter of the syllable
Base with one subscriptconsonant + COENG + consonantAdds one reduced consonant form
Base with two subscriptsconsonant + COENG + consonant + COENG + consonantAdds two reduced consonant forms in sequence
Dependent vowel on a clusterbase and its subscript sequence, then dependent vowelGives the cluster its written vowel, with any applicable register shifter placed before the vowel

Most reduced forms appear below or partly below the base. Subscript រ is the familiar exception in visual placement. Its glyph reaches to the left of the base, while its COENG and RO characters follow the base in the text. This distinction allows a left-hand stroke to be read as an onset consonant rather than a vowel sign.

The ordinary alphabet has a regular subscript form for every consonant except ឡ. Subscript shapes can be hard to identify from the full letters alone. For example, the subscripts of ណ and ន have the same shape in ordinary rendering, but their encoded consonants remain distinct. The full form of ញ loses its lower extension when it takes a subscript. When the second consonant is also ញ, its reduced form resembles a small full ញ. The sequence still contains one base and one COENG–consonant pair.

Series and pronunciation in a cluster

A cluster shares a written vowel. Where the consonants belong to different series, the reading cannot be recovered by looking up the base alone. With two stop or fricative letters in a regular initial cluster, the second normally determines the series. A following sonorant often leaves the series of a preceding stop or fricative in force. Thus the O-series រ in ស្រែ leaves the A-series reading of the preceding ស in force. Register shifters and conventional readings of individual spellings also affect the result.

The written cluster and the spoken onset can have different sizes. A written subscript can represent a pronounced member of an initial cluster, as in ស្រែ. It can also occur at the end of a syllable in traditional or learned spelling, where its pronunciation depends on the word. In សត្វ, for example, the subscript វ belongs to the spelling, and the usual pronunciation ends in /t/. A reader must first establish whether the written cluster is at the beginning or end of the spoken syllable.

FormTransliterationGlossTranslationCorpus sentence
ថ្មTHA-COENG-MOstone“stone”wiki:km:ខណ្ឌព្រៃនប់
ស្រែSA-COENG-RO-AErice.field“rice field”wiki:km:ឃុំស្រែចារ
ព្រៃPO-COENG-RO-AIforest“forest”wiki:km:ខណ្ឌព្រៃនប់
ខ្ពស់KHA-COENG-PO-SA-BANTOChigh“high”wiki:km:សាលាដុន បូស្កូ
សត្វSA-TA-COENG-VOanimal“animal”wiki:km:កណ្ដុរភ្នំ

These spellings illustrate three places where visual analysis alone can mislead. The leftmost part of ស្រែ includes the form of subscript RO, even though SA is its first stored character. The O-series subscript in ខ្ពស់ participates in determining the vowel of the onset, and BANTOC is written on the final letter. In សត្វ, the TA–COENG–VO sequence occurs after the vowel of the spoken syllable.

Inherent, dependent and independent vowels

The inherent vowel

When a consonant serves as an onset and the spelling supplies no dependent vowel, it licenses an inherent vowel. In an open syllable the usual reference values are /ɑː/ for series A and /ɔː/ for series O. In a closed syllable, or in a weak syllable of a longer word, the realization can differ from those values. A letter used as a coda has no inherent vowel. The absence of a vowel sign thus gives different results depending on whether the letter begins a syllable or closes one.

Written useVowel reading
Onset in an open syllable with no replacement vowelThe usual open-syllable inherent value for the effective series
Onset without a vowel sign in a closed or weak syllableA realization determined by the syllable environment and the word
Letter serving as a codaNo vowel following that letter
Letter marked silent in the conventional readingIts sound and inherent vowel are absent in that reading

In the word ថ្ម ‘stone’, the vowel is inherent and the cluster belongs to the beginning of the syllable. In សត្វ ‘animal’, the vowel is also inherent, but the syllable ends in a consonant. Their spellings show why supplying the open-syllable value after each unmarked letter would give the wrong reading.

Dependent vowel signs

A dependent vowel sign attaches to a consonant base or cluster. It supplies a vowel in place of the inherent one. The effective series determines which regular reading of the sign applies. Some signs have the same or very similar readings in the two series. The coda can also condition a different reading, so the table records the spelling inventory and visual placement. It leaves fine pronunciation distinctions to the vowel chapter.

The dotted circle shows the attachment point. Each row denotes one encoded vowel sign. A sign with a left-hand part is stored after its base or cluster, including when all of its visible strokes are drawn to the left.

SignLatin labelUnicodeVisual placement
◌ាAAU+17B6Right
◌ិIU+17B7Above
◌ីIIU+17B8Above
◌ឹYU+17B9Above
◌ឺYYU+17BAAbove
◌ុUU+17BBBelow
◌ូUUU+17BCBelow
◌ួUAU+17BDBelow
◌ើOEU+17BELeft with a second component
◌ឿYAU+17BFLeft with a second component
◌ៀIEU+17C0Left with a second component
◌េEU+17C1Left
◌ែAEU+17C2Left
◌ៃAIU+17C3Left
◌ោOOU+17C4Left and right
◌ៅAUU+17C5Left and right

Spelling can combine one of these signs with a diacritic. For example, the ending of ឃុំ consists of the dependent sign U followed by NIKAHIT. The two marks give the vowel and nasal ending of the syllable. A sign that is itself split, such as OO, has a different structure. Its visible parts together represent one encoded vowel sign. These two kinds of spelling can look equally complex on the page while having different character counts.

FormTransliterationGlossTranslationCorpus sentence
ខែលKHA-AE-LOshield“shield”wiki:km:ខែល
ដែកDA-AE-KAiron“iron”wiki:km:ខែល
ឈើCHO-OEwood“wood”wiki:km:ខែល
ឃុំKHO-U-NIKAHITcommune“commune”wiki:km:ស្រុកស្ទឹងហាវ

In ខែល and ដែក, the same preposed vowel sign follows its respective base in the character sequence. The last letter in each spelling is the coda. In ឈើ, the single sign OE supplies both visible parts of the vowel.

Independent vowel letters

Independent vowels are full letters. They supply their own vowel and need no consonant carrier. Several have a conventional initial glottal onset, and the letters ឫ, ឬ, ឭ and ឮ include an initial /r/ or /l/ in their reading. Independent vowels occur in particular words and learned spellings. For a word beginning with a vowel, the choice between an independent letter and អ with a dependent sign is part of the word's spelling. The two strategies can yield similar sounds, so pronunciation alone does not always recover the written choice.

The table covers the encoded independent-vowel letters, including legacy forms. Its Latin labels identify the characters. They are especially useful where multiple letters have similar readings.

LetterLatin labelUnicodeUse or distinction
ឣQAQU+17A3Deprecated independent letter
ឤQAAU+17A4Deprecated independent letter
ឥQIU+17A5Independent vowel
ឦQIIU+17A6Independent vowel, distinct in spelling from ឥ
ឧQUU+17A7Independent vowel, as in ឧបទ្វីប
ឨQUKU+17A8Obsolete independent letter with a consonant included in its traditional value
ឩQUUU+17A9Independent vowel
ឪQUUVU+17AAIndependent vowel
ឫRYU+17ABIndependent letter with an r-onset
ឬRYYU+17ACIndependent letter with an r-onset, as in the word for ‘or’
ឭLYU+17ADIndependent letter with an l-onset
ឮLYYU+17AEIndependent letter with an l-onset
ឯQEU+17AFIndependent vowel
ឰQAIU+17B0Independent vowel
ឱQOO TYPE ONEU+17B1Independent letter with an ao reading
ឲQOO TYPE TWOU+17B2Separate encoded form with an ao reading
ឳQAUU+17B3Independent vowel
FormTransliterationGlossTranslationCorpus sentence
ឬRYYor“or”wiki:km:ខែល
ឧបទ្វីបQU-BA-TO-COENG-VO-II-BApeninsula“peninsula”wiki:km:ឧបទ្វីបកូរ៉េ

The initial ឧ in ឧបទ្វីប is one letter. A spelling-based transliteration preserves that choice, just as it preserves the choice between ឱ and ឲ where those forms have the same reading.

Register shifters and other diacritics

Register shifters

Khmer uses two marks to switch a consonant's effective series. Their conventional uses are concentrated on letters that need a second series value without a separate ordinary letter for that value. The series changes in the marked syllable. The base letter keeps its original code point.

MarkLatin labelUnicodeRegular operationConventional bases
◌៉MUUSIKATOANU+17C9Changes an O-series consonant to series Aង ញ ម យ រ វ
◌៉MUUSIKATOANU+17C9Gives the A-series letter ប a /p/ onset, retaining series Aប
◌៊TRIISAPU+17CAChanges an A-series consonant to series Oប ស ហ អ

With an above-base vowel sign, a shifter commonly takes a below-base form resembling ◌ុ. This shape leaves room for the vowel above. The underlying character is still the shifter, and the above-base vowel still supplies the written vowel. An actual U vowel sign has its own code point, U+17BB. Similarity between the lower shapes does not make the spellings equivalent.

FormTransliterationGlossTranslationCorpus sentence
កូរ៉េKA-UU-RO-MUUSIKATOAN-EKorea“Korea”wiki:km:ឧបទ្វីបកូរ៉េ

In រ៉េ, the characters for RO and MUUSIKATOAN precede the sign E in the stored sequence. The shifter selects the series A value for the syllable built on រ.

Diacritics affecting the reading

Some marks help specify a vowel or coda. Others mark a special or silent letter in conventional spellings. The mark can be drawn on a final consonant even when its main effect is on the preceding vowel. Placement therefore gives the attachment in writing, and the mark's function gives the effect on pronunciation.

MarkLatin labelUnicodeFunction
◌ំNIKAHITU+17C6Marks a nasal ending in a vocalic spelling, commonly /m/. It can follow a dependent vowel sign or occur without one.
◌ះREAHMUKU+17C7Marks an /h/ ending in a vocalic spelling. It can follow a dependent vowel sign or occur without one. The vowel depends on the complete spelling.
◌ៈYUUKALEAPINTUU+17C8Marks a short, glottally closed ending in conventional spellings, including learned vocabulary.
◌់BANTOCU+17CBWritten over a final consonant. It shortens the preceding vowel or selects a different short-vowel quality, according to the series and the vowel spelling.
◌៌ROBATU+17CCRepresents an inherited r element above a consonant in learned spellings. Its contribution to pronunciation depends on the word.
◌៍TOANDAKHIATU+17CDMarks a written letter as silent. In a conventional spelling, its effect can extend to adjacent letters.
◌៎KAKABATU+17CEMarks special intonation or emphasis in occasional spellings, especially interjections.
◌៏AHSDAU+17CFOccurs in particular conventional spellings and signals their special reading.
◌័SAMYOK SANNYAU+17D0Supplies a vowel reading in particular spellings. The vowel depends on the series and syllable environment.
◌៑VIRIAMU+17D1Historical vowel-suppression sign found chiefly in older or learned material.
◌៝ATTHACANU+17DDRare reading mark in traditional spellings. Its interpretation belongs to the spelling of the individual word.

COENG serves a separate structural function. It makes the next consonant subscript. TOANDAKHIAT marks silence, and VIRIAM suppresses a vowel in its historical use. Those operations give different character sequences even when the resulting speech has no vowel after a particular consonant.

FormTransliterationGlossTranslationCorpus sentence
ខ្ពស់KHA-COENG-PO-SA-BANTOChigh“high”wiki:km:សាលាដុន បូស្កូ
ភូមិរហារ៍PHO-UU-MO-I-RO-HA-AA-RO-TOANDAKHIATvillage Rahar“Rahar village”wiki:km:ឃុំស្រែចារ

The first example places BANTOC on final ស, while the vowel belongs to the earlier cluster. The second preserves the final written រ and its silence mark in the place name. In the same phrase, ភូមិ ‘village’ retains a written I sign in a word usually pronounced /pʰuːm/. The absence of that vowel in pronunciation is specific to the conventional reading.

Visual order and Unicode character order

Reading the stored sequence

A Unicode code point identifies a text character. A glyph is the shape the font draws for that character or combination of characters. Khmer shaping can move a glyph away from its character's place in the sequence, draw a different form of the consonant, or use several separated glyph parts for one sign. The underlying characters preserve the spelling.

For an ordinary consonant-based cluster, start from the base. Treat each COENG and following letter as a pair. A dependent vowel follows the consonant or cluster to which it belongs. A register shifter used with that vowel precedes the vowel sign. A mark on a later full consonant, such as BANTOC on a coda, belongs with that later consonant. Final vocalic signs such as NIKAHIT follow the dependent vowel when the spelling has both. An independent vowel is entered as its own letter.

Visible patternHow the text is stored
Vowel drawn entirely to the leftBase or cluster, then the single preposed vowel sign
Vowel with visible parts on different sides or levelsBase or cluster, then the single split vowel sign
Subscript រ drawn to the left of the baseBase, then COENG + RO, with any other cluster members encoded in their spelling order
Above-vowel and lowered shifterThe consonant sequence with the shifter, then the above-vowel sign
Coda bearing BANTOCThe earlier vowel spelling, then the coda letter, then BANTOC
Independent vowelThe independent vowel letter itself

The sequence for a split sign uses its assigned code point. For example, an OO sign is entered as U+17C4. Typing E and AA as separate characters to reproduce its left and right strokes builds a different sequence. The same principle applies to subscript រ. Typing a full រ before the base because the reduced glyph appears on the left changes both the letter's position and its structural role.

FormTransliterationUnicode character sequenceGlossTranslationCorpus sentence
ស្រែSA-COENG-RO-AEU+179F U+17D2 U+179A U+17C2rice.field“rice field”wiki:km:ឃុំស្រែចារ
កូKA-UUU+1780 U+17BCKorea, first syllable“Ko-”, in “Korea”wiki:km:ឧបទ្វីបកូរ៉េ
កូរ៉េKA-UU-RO-MUUSIKATOAN-EU+1780 U+17BC U+179A U+17C9 U+17C1Korea“Korea”wiki:km:ឧបទ្វីបកូរ៉េ
ឈើCHO-OEU+1788 U+17BEwood“wood”wiki:km:ខែល
ឃុំKHO-U-NIKAHITU+1783 U+17BB U+17C6commune“commune”wiki:km:ស្រុកស្ទឹងហាវ
ខ្ពស់KHA-COENG-PO-SA-BANTOCU+1781 U+17D2 U+1796 U+179F U+17CBhigh“high”wiki:km:សាលាដុន បូស្កូ

Two placements can differ from storage order in the same cluster. In ស្រែ both AE and subscript RO have material to the left of the base. The stored characters begin with SA and end with AE. In កូរ៉េ the E sign belongs to the second syllable and is stored at the end, after the shifter.

Character identity and boundaries

The main Khmer Unicode block runs from U+1780 to U+17FF. Its range covers several kinds of character, including consonant and vowel letters, dependent signs, diacritics, digits and other symbols. U+17B4 and U+17B5, named INHERENT AQ and INHERENT AA, are deprecated. Ordinary spelling expresses the inherent vowel through the consonant and its context. An ordinary base with an inherent vowel has no additional inherent-vowel character.

A displayed group may cover several code points. Conversely, the parts of one code point can extend over several positions. Counting visible strokes will therefore give the wrong character count for a split vowel or a cluster. Matching by glyph shape can also merge distinct spellings, as with the two letters whose subscripts share a shape. Character order and identity are needed to distinguish these cases even when two strings look alike in a given font.

The consonant group and the linguistic word have different boundaries. An onset group can occupy only part of a word, and several words can occur together without spaces. In the corpus, the sequence below contains the words for ‘ten’ and ‘village’ without a space between them. Its digits identify one part of the spelling, while the remaining characters include both the sounded and the conventional written material of ‘village’.

FormTransliterationGlossTranslationCorpus sentence
១០ភូមិ10 PHO-UU-MO-Iten village“ten villages”wiki:km:ស្រុកស្ទឹងហាវ

The space in the transliteration separates glossable items. The Khmer form preserves their adjacency in the corpus.

Transliteration and pronunciation transcription

Transliteration records distinctions in the writing. A spelling-based representation can distinguish the two series, identify a consonant as subscript, and retain a vowel sign or letter that has no sound in the usual reading. Pronunciation transcription records distinctions in speech, including vowel quality, length and the consonants actually pronounced. A conventional Latin spelling of a name may serve a third purpose, identifying a place or person across documents. Maspero gives official Latin place-name spellings alongside the Khmer names and his own Latin renderings (1915, § 2, pp. 3–5).

The transliteration in this chapter uses Latin labels derived from the Unicode character names. Each hyphen separates adjacent character labels, and COENG labels the stored sign before the subscript consonant. The labels of longer marks are written as single units in examples. Where a transliteration would otherwise hide the distinction between a full consonant and a subscript letter, the COENG label makes that distinction explicit. An inherent vowel produces no Latin vowel-sign label because the Khmer sequence has none. IPA in slashes gives a broad pronunciation where one is supplied.

FormSpelling transliterationBroad pronunciationGlossTranslationSource
ស្រែSA-COENG-RO-AE/srae/rice.field“rice field”wiki:km:ឃុំស្រែចារ
សត្វSA-TA-COENG-VO/sat/animal“animal”wiki:km:កណ្ដុរភ្នំ
ភូមិPHO-UU-MO-I/pʰuːm/village“village”wiki:km:ស្រុកស្ទឹងហាវ
ឬRYY/rɨː/or“or”wiki:km:ខែល

In សត្វ, the transliteration preserves the final subscript and the transcription ends at /t/. In ភូមិ, the transliteration preserves the final I sign and the transcription ends at /m/. For ឬ, one independent letter corresponds to a spoken sequence of consonant and vowel.

A digraph in Latin-script romanization is a pair of Latin letters used for one value. For instance, a scheme can use kh for aspirated /kʰ/. The pair can correspond to a single Khmer consonant letter, as in the initial consonant of Khmer. The same Roman letters could represent successive consonants under another scheme. A reader needs the conventions of the chosen romanization to tell those cases apart. COENG and a consonant form a two-character sequence within Khmer spelling, with the second character identifying the reduced letter. A split vowel exhibits the reverse relation of one stored Khmer character to several visible parts.

Maspero records the country name built on ‘district, country’ and ‘Khmer’ in § 1. The table gives the expression in current script and applies the chapter's transliteration conventions (Maspero 1915, § 1, p. 1).

FormSpelling transliterationGlossTranslation
ស្រុកខ្មែរSA-COENG-RO-U-KA KHA-COENG-MO-AE-ROcountry Khmer“the Khmer country”, “Cambodia”

In this expression the conventional Latin name Khmer identifies the second word. The character transliteration also identifies its subscript ម, its preposed vowel sign and its final written រ. Those details allow the Khmer spelling to be recovered from the transliteration independently of the spoken form.

How Mova handles Khmer script and character sequences

tools/mova-parse uses tools/langseg to assign a language at level 1. Khmer script falls under other, so this stage does not identify it as km. Mova does not tokenize, tag, lemmatize or parse Khmer. There is no level-2 model for km. The # parse comment reports a missing model, and token rows without a parse have _ in LEMMA, UPOS, XPOS, FEATS, HEAD and DEPREL and Parse=None in MISC.

Mova holds no annotated Khmer treebank and has measured no Khmer treebank baseline. prag and world read English trees and have no Khmer parse to read.

Squid records the manual's grammatical points as claims and queues formalizable ones for implementation. The consonant series, cluster spelling, vowel signs, diacritics and character-order rules described here have no implementation in Mova. The first points needed are those that support a tokenizer, a tagger and a Universal Dependencies treebank baseline.

Sources for this chapter

This page in Markdown https://md.mova.elamur.ai/free/en/docs/languages/km/02-khmer-script/