Reference LGR for script: Khmer (Khmr) | lgr-second-level-khmer-script-24jan24-en |
---|
This document is mechanically formatted from the above XML file for the LGR. It provides additional summary data and explanatory text. The XML file remains the sole normative specification of the LGR.
Date | 2024-01-24 |
---|---|
LGR Version | 2 (Second Level Reference LGR) |
Language | und-Khmr (Khmer Script) |
Unicode Version | 11.0.0 |
Description
INSTRUCTIONS
- These instructions cover how to adopt an LGR based on this reference LGR for a given zone and how to prepare the file for deposit in the IANA Repository of IDN Practices.
- As described the IANA procedure
(https://www.iana.org/help/idn-repository-procedure)
an LGR MUST contain the following elements in its header:- Script or Language Designator (see below for guidance)
- Version Number (this must increase with each amendment to the LGR, even if the updates are limited to the header itself)
- Effective Date (the date at which the policy becomes applicable in operational use)
- Registry Contact Details (contact name, email address, and/or phone number)
- The following information is optional:
- Document creation date
- Applicable Domain(s)
- Changes made to the Reference LGR before adopting
Please add or modify the following items in the XML source code for this file before
depositing the document in the IANA Repository.
(https://www.iana.org/domains/idn-tables)
Meta Data
Note: version numbers start at 1. RFC 7940 recommends using simple integers. The version comment is optional, please replace or delete the default comment. Version comments may be used by some tools as part of the page header.
<version comment="
[Please replace (or delete) the optional comment]">
[Please fill in version number, starting at 1]</version>
<date>
[Please fill in with publication date, in YYYY-MM-DD format]</date>
<validity-start>
[Please fill in effective date, in YYYY-MM-DD format]</validity-start>
Note: the scope element may be repeated, so that the same document can serve for multiple domains.
<scope type="domain">
[Please provide, in ".domain" format]</scope>
Registry Contact Information:
Please fill in the Registry Contact Details.
Change History
If you made technical modifications to the LGR, please summarize them in the Change History (and also note the details in the appropriate section of the description).
PLEASE DELETE THESE INSTRUCTIONS BEFORE DEPOSITING THE DOCUMENT
Registry Contact Details
- Contact Name: [Please fill in Contact Name]
- Email address: [Please fill in Email address]
- Phone Number: [Please fill in optional Phone Number]
Label Generation Rules for the Khmer Script
Overview
This document specifies a set of Label Generation Rules (LGR) for the Khmer script for the second level domain or domains identified above. The starting point for the development of this LGR can be found in the related Root Zone LGR [RZ-LGR-Khmr]. The format of this file follows [RFC 7940]. This LGR is adapted from the “Reference LGR for the Second Level for the Khmer Script” [Ref-LGR-und-Khmr], for details, see Change History below.
For details and additional background on the Khmer script, see “Proposal for a Khmer Script Root Zone LGR” [Proposal-Khmer].
Repertoire
The repertoire contains 71 code points for letters used for writing languages in the Khmer script; in addition, two Khmer subscript consonant sequences have been defined. The repertoire only includes code points used by languages that are actively written in the Khmer script. The repertoire is a subset of [Unicode 11.0.0]. For details, see Section 5, “Repertoire” in [Proposal-Khmer]. (The proposal cited has been adopted for the Khmer script portion of the Root Zone LGR.)
For the second level, the repertoire has been augmented with the ASCII digits, U+0030 0 to U+0039 9, plus U+002D - HYPHEN-MINUS, for a total of 94 repertoire elements.
Repertoire Listing: Each code point or range is tagged with the script or scripts with which the code point is used, one or more tag values denoting character category, and one or more references documenting sufficient justification for inclusion in the repertoire, see “References” below.
Variants
The variants defined in this LGR are limited to those required for use in zones not shared with any other script. However, because it does not share cross-script variants with other script LGRs, this LGR can be mixed easily with other LGRs in the same zone.
This LGR defines two Khmer consonants as variants of each other in their subscript form only. This is captured by a variant relation between the two subscript sequences, which are listed explicitly in the repertoire. See Section 6, “Variants” in [Proposal-Khmer],
Digit Variants: All Khmer digits are treated as semantic variants of the corresponding common (ASCII) digits. By transitivity, they are also semantic variants of any native digits in scripts that also include the common digits. Such variant relations are deemed to exist implicitly by transitivity but are not listed explicitly in each reference LGR. Instead, if needed, they are applied by using the Common LGR in label processing.
In particular, Khmer digit ZERO is a cross-script homoglyph or near homoglyph of digit ZERO in many other scripts; these are already implicit semantic variants by transitivity and therefore not listed here.
There is a strong resemblance between Thai and Khmer digits, anas well as with certain Lao digits.
To keep digit variant sets manageable in zones where multiple scripts are present, no attempt has been made at identifying cross-script variants among digits of different numeric value or between a digit in one script and a letter in another, such as between digit zero and Latin letter ‘o’. Other mechanisms may be required to prevent homograph labels.
Variant Disposition: All variants are of type “blocked”, making labels that differ only by these variants mutually exclusive: whichever label containing either of these variants is chosen earlier would be delegated, while any other equivalent label should be blocked. There is no preference among these labels.
This LGR does not define allocatable variants.
The specification of variants in this LGR follows the guidelines in [RFC 8228].
Character Classes
Consonants: When more than one consonant occur together in the onset of a grapheme cluster, the additional consonants are written in subscript form, joined with the first consonant in the sequence. In Unicode, this is indicated by preceding each additional consonant with U+17D2 ្ KHMER SIGN COENG. Some consonants have been given the tag “base-only”; these do not take subscript form. Consonants can have light or strong pronunciation indicated by two shifter signs; additionally there are six signs for phonological modifications as discussed below. See Section 5.2, “Consonants” in [Proposal-Khmer].
Independent vowels: These occur independently and cannot combine with any of the marks including dependent vowels and sign. The use of a subscript form, while defined in Unicode, is not supported here. See Section 5.2, “Independent Vowels” in [Proposal-Khmer].
Dependent vowels: The 16 dependent vowels included in the Khmer LGR have been further classified into three subcategories namely dependent vowel 1, dependent vowel 2 and dependent vowel 3, see below. Dependent vowels must follow a consonant, shifter or the Robat sign. They cannot occur independently. See Section 5.3, “Dependent Vowels” in [Proposal-Khmer].
Shifters: the character U+17C9 ៉ KHMER SIGN MUUSIKATOAN is used with a subset of first series consonants, code points from this subset have been given the tag “series-one”. The character U+17CA ៊ KHMER SIGN TRIISAP is used with subset of second series consonants and with U+1794 ប KHMER LETTER BA. Code points from this subset have been given the tag “series-two”. The two characters are collectively known as consonant shifters and have been given the tag “shifter”. See Section 5.5, “Shifters” in [Proposal-Khmer] and reference [210].
Robat: The character U+17CC ៌ KHMER SIGN ROBAT has been given the tag “robat”. It follows consonants but unlike other signs may be followed by a dependent vowel. See Sections 5.3, “Dependent Vowels” and 5.4, “Signs” in [Proposal-Khmer].
Signs (Bantoc): The character U+17CB ់ KHMER SIGN BANTOC is used with a subset of consonants, that subset has been given the tag “series-three”, see Section 5.4, “Signs” in [Proposal-Khmer] and reference [205].
Signs (Yuukalepintu and Samyoksannya): The character U+17C8 ៈ KHMER SIGN YUUKALEAPINTU is written after a consonant to indicate that it is to be followed by a short vowel and a glottal stop. The sign is used with all the consonants. The character U+17D0 ័ KHMER SIGN SAMYOKSANNYA is written above a consonant or a shifter to indicate that the syllable contains a particular short vowel. The sign is used with all the consonants or all the shifters. See Section 5.4, “Signs” in [Proposal-Khmer].
Signs (Nikahit and Reahmuk): The character U+17C6 ំ KHMER SIGN NIKAHIT is used with consonants and some dependent vowels. These dependent vowels have been given a tag “dependent-vowel-1” (see Sections 5.3 and 5.4 in [Proposal-Khmer]). The character U+17C7 ះ KHMER SIGN REAHMUK is used with consonants and some dependent vowels. These dependent vowels have been given a tag “dependent-vowel-2” (see Sections 5.3 and 5.4 in [Proposal-Khmer]).
Signs (Toandakhiat): The sign U+17CD ៍ KHMER SIGN TOANDAKHIAT is written over a final consonant to indicate that it is unpronounced. It is used with all consonants or U+17B7 ិ KHMER VOWEL SIGN I. The latter has been given a tag “dependent-vowel-3”. See Section 5.4, “Signs” in [Proposal-Khmer].
Khmer Digits: U+17E0 ០ to U+17E9 ៩ are a set of Khmer-specific digits. They are used in alternation with the European (common) digits.
Common Digits: U+0030 0 to U+0039 9 are the set of digits from the ASCII range.
Whole Label Evaluation (WLE) and Context Rules
Common Rules
The LGR includes the rules and actions to implement the following restrictions, some of which are mandated by the IDNA protocol. They are marked with ⍟ and included here by default.
- Hyphen Restrictions — restrictions on the allowable placement of hyphens (no leading/ending hyphen and no hyphen in positions 3 and 4). These restrictions are described in Section 4.2.3.1 of RFC 5891 [150]. They are implemented here as context rule on U+002D (-) HYPHEN-MINUS.
- Leading Combining Marks — restrictions on the allowable placement of combining marks (no leading combining mark). This rule is described in Section 4.2.3.2 of RFC 5891 [150].
- Digit-mixing — no mixing between different digit sets (European and Khmer digits) is allowed; implemented here as a WLE rule with associated action.
Default Actions
This LGR includes the complete set default actions for LGRs as well as the action needed to invalidate labels with misplaced combining marks. They are marked with ⍟. For a description see [RFC 7940] and [150]. An additional action is triggered by mixed digit labels.
Khmer-specific Rules and Action
Rules described in Section 7 of [Proposal-Khmer] constrain possible labels so that they reasonably conform to Khmer syllable structure. These constraints are presented as context rules on the affected code points, except for the whole-label rule and associated action that enforce the limit on the number of consecutive subscripted consonants.
An aditional rule has been added to ensure that subscript RO is always at the end of a syllable because many fonts render an out-of-order subscript RO without any visual distinction. For any rule that is not a pure context rule, a suitable action has been added that invalidates any label matching the rule.
The rules are:
- Subscript-consonant — A rule that specifies allowable consonant sequence. See Section 7.2 in [Proposal-Khmer]
- Subscript-consonant-limit — A rule that limits the occurrence of subscript-consonant to two. In case of three, the associate action gives the label the disposition invalid. See Section 7.3 in [Proposal-Khmer]
- Coeng after subscript Ro — A rule that ensure that subscript RO is not followed by further subscript consonants
- Coeng-context — A context rule for U+17D2 ្ that requires a consonant before it and a consonant other than base-only after it. See Section 7.4 in [Proposal-Khmer]
- Follows-consonant-robat-shifter — A context rule for those code points that must follow a consonant, robat or shifter. See Section 7.5 in [Proposal-Khmer]
- Follows-series-two — A context rule for those code points that must follow series-two consonants. See Section 7.6 in [Proposal-Khmer]
- Follows-series-one — A context rule for those code points that must follow series-one consonants. See Section 7.7 in [Proposal-Khmer]
- Follows-consonant — A context rule for those code points that must always follow a consonant. See Section 7.8 in [Proposal-Khmer]
- Follows-consonant-shifter A context rule for those code points that must always follow a consonant or shifter. See Section 7.9 in [Proposal-Khmer]
- Follows-consonant-depvowel-1-shifter — A context rule for those code points that must follow consonant, shifter or dependent-vowel-1. See Section 7.10 in [Proposal-Khmer]
- Follows-consonant-depvowel-2-shifter — A context rule for those code points that must follow consonant, shifter or dependent-vowel-2. See Section 7.11 in [Proposal-Khmer]
- Follows-series-three — A context rule for those code points that must follow series-three consonants. See Section 7.12 in [Proposal-Khmer]
- Follows-consonant-or-vowel-i — A context rule for those code points that must follow a consonant or U+17B7 ិ KHMER VOWEL SIGN I. See Section 7.13 in [Proposal-Khmer]
Methodology and Contributors
The LGR in this document has been adapted from the corresponding Reference LGR for the Second Level. The Second Level Reference LGR for the Khmer Script was developed by Michel Suignard and Asmus Freytag, based on the Root Zone LGR for the Khmer script and information contained or referenced therein; see [RZ-LGR-Khmr]. Suitable extensions for the second level have been applied according to the [Guidelines] and with community input. The original proposal for a Root Zone LGR for the Khmer script, that this LGR is based on, was developed by the Khmer Generation Panel. For more information on methodology and contributors to the underlying Root Zone LGR, see Sections 4 and 8 in [Proposal-Khmer], as well as [RZ-LGR-Overview].
Changes from Version Dated 15 December 2020
Unicode Version has been updated.
Added WLE rule and action to ensure subscript RO is at end of a syllable.
Changes from Version Dated 24 January 2024
Adopted from the Second Level Reference LGR for the Khmer Script [Ref-LGR-und-Khmr] without normative changes.
References
The following general references are cited in this document:
- [Guidelines]
- ICANN, “Guidelines for Developing Reference LGRs for the Second Level”, (Los Angeles, California: ICANN, 27 May 2020),
https://www.icann.org/en/system/files/files/lgr-guidelines-second-level-27may20-en.pdf - [Level-2-Overview]
- Internet Corporation for Assigned Names and Numbers, (ICANN),“Reference Label Generation Rules (LGR) for the Second Level: Overview and Summary” (PDF),
(Los Angeles, California: ICANN, 24 January 2024),
https://www.icann.org/en/system/files/files/level2-lgr-overview-summary-24jan24-en.pdf - [Proposal-Khmer]
- Proposal for Khmer Script Root Zone LGR, 15 August 2016,
https://www.icann.org/en/system/files/files/proposal-khmer-lgr-15aug16-en.pdf - [RFC 7940]
- Davies, K. and A. Freytag, “Representing Label Generation Rulesets Using XML”,
RFC 7940, August 2016,
https://www.rfc-editor.org/info/rfc7940 - [RFC 8228]
- A. Freytag, “Guidance on Designing Label Generation Rulesets (LGRs) Supporting Variant Labels”, RFC 8228, August 2017,
https://www.rfc-editor.org/info/rfc8228 - [Ref-LGR-und-Khmr]
- ICANN, Second Level Reference Label Generation Rules for the Khmer Script (und-Khmr), 24 January 2024 (XML)
https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-khmer-script-24jan24-en.xml
non-normative HTML presentation:
https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-khmer-script-24jan24-en.html - [RZ-LGR-Overview]
- Integration Panel, “Root Zone Label Generation Rules (RZ LGR-5): Overview and Summary”, 26 May 2022 (PDF),
https://www.icann.org/sites/default/files/lgr/rz-lgr-5-overview-26may22-en.pdf - [RZ-LGR-Khmr]
- ICANN, Root Zone Label Generation Rules for the Khmer Script (und-Khmr), 26 May 2022 (XML)
https://www.icann.org/sites/default/files/lgr/rz-lgr-5-khmer-script-26may22-en.xml - [Unicode 11.0.0]
- The Unicode Consortium. The Unicode Standard, Version 11.0.0, (Mountain View, CA: The Unicode Consortium, 2018. ISBN 978-1-936213-19-1)
https://www.unicode.org/versions/Unicode11.0.0/
For references consulted particularly in designing the repertoire for the Khmer Script for the second level please see details in the Table of References below.
Reference [3] refers to the Unicode Standard version in which the corresponding code points were initially encoded. References [100], [203], [204], [205], [206], [207], [208], [209] & [210] correspond to sources justifying the inclusion of or classification for the corresponding code points. Entries in the table may have multiple source reference values. In the listing of whole label evaluation and context rules, reference [150] indicates the source for common rules.
Repertoire
Repertoire Summary
Number of elements in repertoire | 94 | ||||
---|---|---|---|---|---|
Number of code points for each script |
|
||||
Number of code points | 92 | ||||
Number of sequences | 2 | ||||
Longest code point sequence | 2 |
Repertoire by Code Point
The following table lists the repertoire by code point (or code point sequence). The data in the Script and Name column are extracted from the Unicode character database. Where a comment in the original LGR is equal to the character name, it has been suppressed.
For any code point or sequence for which a variant is defined, additional information is provided in the Variants column. See also the legend provided below the table.
Code Point |
Glyph | Script | Name | Ref | Tags | Required Context | Variants | Comment |
---|---|---|---|---|---|---|---|---|
U+002D | - | Common | HYPHEN-MINUS | [0] | not: hyphen-minus-disallowed | ⍟ | ||
U+0030 | 0 | Common | DIGIT ZERO | [0] | Common-digit | set 1 | ⍟ | |
U+0031 | 1 | Common | DIGIT ONE | [0] | Common-digit | set 2 | ⍟ | |
U+0032 | 2 | Common | DIGIT TWO | [0] | Common-digit | set 3 | ⍟ | |
U+0033 | 3 | Common | DIGIT THREE | [0] | Common-digit | set 4 | ⍟ | |
U+0034 | 4 | Common | DIGIT FOUR | [0] | Common-digit | set 5 | ⍟ | |
U+0035 | 5 | Common | DIGIT FIVE | [0] | Common-digit | set 6 | ⍟ | |
U+0036 | 6 | Common | DIGIT SIX | [0] | Common-digit | set 7 | ⍟ | |
U+0037 | 7 | Common | DIGIT SEVEN | [0] | Common-digit | set 8 | ⍟ | |
U+0038 | 8 | Common | DIGIT EIGHT | [0] | Common-digit | set 9 | ⍟ | |
U+0039 | 9 | Common | DIGIT NINE | [0] | Common-digit | set 10 | ⍟ | |
U+1780 | ក | Khmer | KHMER LETTER KA | [3], [203], [205] | consonant, series-three | Khmer | ||
U+1781 | ខ | Khmer | KHMER LETTER KHA | [3], [203] | consonant | Khmer | ||
U+1782 | គ | Khmer | KHMER LETTER KO | [3], [203] | consonant | Khmer | ||
U+1783 | ឃ | Khmer | KHMER LETTER KHO | [3], [203] | consonant | Khmer | ||
U+1784 | ង | Khmer | KHMER LETTER NGO | [3], [203], [205], [210] | consonant, series-three, series-two | Khmer | ||
U+1785 | ច | Khmer | KHMER LETTER CA | [3], [203], [205] | consonant, series-three | Khmer | ||
U+1786 | ឆ | Khmer | KHMER LETTER CHA | [3], [203] | consonant | Khmer | ||
U+1787 | ជ | Khmer | KHMER LETTER CO | [3], [203] | consonant | Khmer | ||
U+1788 | ឈ | Khmer | KHMER LETTER CHO | [3], [203] | consonant | Khmer | ||
U+1789 | ញ | Khmer | KHMER LETTER NYO | [3], [203], [205], [210] | consonant, series-three, series-two | Khmer | ||
U+178A | ដ | Khmer | KHMER LETTER DA | [3], [203] | consonant | Khmer | ||
U+178B | ឋ | Khmer | KHMER LETTER TTHA | [3], [203] | consonant | Khmer | ||
U+178C | ឌ | Khmer | KHMER LETTER DO | [3], [203] | consonant | Khmer | ||
U+178D | ឍ | Khmer | KHMER LETTER TTHO | [3], [203] | consonant | Khmer | ||
U+178E | ណ | Khmer | KHMER LETTER NNO | [3], [203] | consonant | Khmer | ||
U+178F | ត | Khmer | KHMER LETTER TA | [3], [203], [205] | consonant, series-three | Khmer | ||
U+1790 | ថ | Khmer | KHMER LETTER THA | [3], [203] | consonant | Khmer | ||
U+1791 | ទ | Khmer | KHMER LETTER TO | [3], [203] | consonant | Khmer | ||
U+1792 | ធ | Khmer | KHMER LETTER THO | [3], [203] | consonant | Khmer | ||
U+1793 | ន | Khmer | KHMER LETTER NO | [3], [203], [205] | consonant, series-three | Khmer | ||
U+1794 | ប | Khmer | KHMER LETTER BA | [3], [203], [205], [210] | consonant, series-one, series-three, series-two | Khmer | ||
U+1795 | ផ | Khmer | KHMER LETTER PHA | [3], [203] | consonant | Khmer | ||
U+1796 | ព | Khmer | KHMER LETTER PO | [3], [203] | consonant | Khmer | ||
U+1797 | ភ | Khmer | KHMER LETTER PHO | [3], [203] | consonant | Khmer | ||
U+1798 | ម | Khmer | KHMER LETTER MO | [3], [203], [210] | consonant, series-two | Khmer | ||
U+1799 | យ | Khmer | KHMER LETTER YO | [3], [203], [210] | consonant, series-two | Khmer | ||
U+179A | រ | Khmer | KHMER LETTER RO | [3], [203], [210] | consonant, series-two | Khmer | ||
U+179B | ល | Khmer | KHMER LETTER LO | [3], [203], [205] | consonant, series-three | Khmer | ||
U+179C | វ | Khmer | KHMER LETTER VO | [3], [203], [210] | consonant, series-two | Khmer | ||
U+179F | ស | Khmer | KHMER LETTER SA | [3], [203], [205], [210] | consonant, series-one, series-three | Khmer | ||
U+17A0 | ហ | Khmer | KHMER LETTER HA | [3], [203], [210] | consonant, series-one | Khmer | ||
U+17A1 | ឡ | Khmer | KHMER LETTER LA | [3], [203] | base-only, consonant | Khmer | ||
U+17A2 | អ | Khmer | KHMER LETTER QA | [3], [203], [210] | consonant, series-one | Khmer | ||
U+17A5 | ឥ | Khmer | KHMER INDEPENDENT VOWEL QI | [3], [206] | independent-vowel | Khmer | ||
U+17A6 | ឦ | Khmer | KHMER INDEPENDENT VOWEL QII | [3], [206] | independent-vowel | Khmer | ||
U+17A7 | ឧ | Khmer | KHMER INDEPENDENT VOWEL QU | [3], [206] | independent-vowel | Khmer | ||
U+17AA | ឪ | Khmer | KHMER INDEPENDENT VOWEL QUUV | [3], [206] | independent-vowel | Khmer | ||
U+17AB | ឫ | Khmer | KHMER INDEPENDENT VOWEL RY | [3], [206] | independent-vowel | Khmer | ||
U+17AC | ឬ | Khmer | KHMER INDEPENDENT VOWEL RYY | [3], [206] | independent-vowel | Khmer | ||
U+17AD | ឭ | Khmer | KHMER INDEPENDENT VOWEL LY | [3], [206] | independent-vowel | Khmer | ||
U+17AE | ឮ | Khmer | KHMER INDEPENDENT VOWEL LYY | [3], [206] | independent-vowel | Khmer | ||
U+17AF | ឯ | Khmer | KHMER INDEPENDENT VOWEL QE | [3], [206] | independent-vowel | Khmer | ||
U+17B0 | ឰ | Khmer | KHMER INDEPENDENT VOWEL QAI | [3], [206] | independent-vowel | Khmer | ||
U+17B1 | ឱ | Khmer | KHMER INDEPENDENT VOWEL QOO TYPE ONE | [3], [206] | independent-vowel | Khmer | ||
U+17B3 | ឳ | Khmer | KHMER INDEPENDENT VOWEL QAU | [3], [206] | independent-vowel | Khmer | ||
U+17B6 | ា | Khmer | KHMER VOWEL SIGN AA | [3], [204] | dependent-vowel, dependent-vowel-1 | follows-consonant-robat-shifter | Khmer | |
U+17B7 | ិ | Khmer | KHMER VOWEL SIGN I | [3], [204] | dependent-vowel, dependent-vowel-2, dependent-vowel-3 | follows-consonant-robat-shifter | Khmer | |
U+17B8 | ី | Khmer | KHMER VOWEL SIGN II | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17B9 | ឹ | Khmer | KHMER VOWEL SIGN Y | [3], [204] | dependent-vowel, dependent-vowel-2 | follows-consonant-robat-shifter | Khmer | |
U+17BA | ឺ | Khmer | KHMER VOWEL SIGN YY | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17BB | ុ | Khmer | KHMER VOWEL SIGN U | [3], [204] | dependent-vowel, dependent-vowel-1, dependent-vowel-2 | follows-consonant-robat-shifter | Khmer | |
U+17BC | ូ | Khmer | KHMER VOWEL SIGN UU | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17BD | ួ | Khmer | KHMER VOWEL SIGN UA | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17BE | ើ | Khmer | KHMER VOWEL SIGN OE | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17BF | ឿ | Khmer | KHMER VOWEL SIGN YA | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17C0 | ៀ | Khmer | KHMER VOWEL SIGN IE | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17C1 | េ | Khmer | KHMER VOWEL SIGN E | [3], [204] | dependent-vowel, dependent-vowel-2 | follows-consonant-robat-shifter | Khmer | |
U+17C2 | ែ | Khmer | KHMER VOWEL SIGN AE | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17C3 | ៃ | Khmer | KHMER VOWEL SIGN AI | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17C4 | ោ | Khmer | KHMER VOWEL SIGN OO | [3], [204] | dependent-vowel, dependent-vowel-2 | follows-consonant-robat-shifter | Khmer | |
U+17C5 | ៅ | Khmer | KHMER VOWEL SIGN AU | [3], [204] | dependent-vowel | follows-consonant-robat-shifter | Khmer | |
U+17C6 | ំ | Khmer | KHMER SIGN NIKAHIT | [3], [204] | sign | follows-consonant-depvowel-1-shifter | Khmer | |
U+17C7 | ះ | Khmer | KHMER SIGN REAHMUK | [3], [208] | sign | follows-consonant-depvowel-2-shifter | Khmer | |
U+17C8 | ៈ | Khmer | KHMER SIGN YUUKALEAPINTU | [3], [207], [208], [209] | sign | follows-consonant | Khmer | |
U+17C9 | ៉ | Khmer | KHMER SIGN MUUSIKATOAN | [3], [207], [208], [209], [210] | shifter | follows-series-two | Khmer | |
U+17CA | ៊ | Khmer | KHMER SIGN TRIISAP | [3], [207], [208], [209], [210] | shifter | follows-series-one | Khmer | |
U+17CB | ់ | Khmer | KHMER SIGN BANTOC | [3], [205], [207], [208], [209] | sign | follows-series-three | Khmer | |
U+17CC | ៌ | Khmer | KHMER SIGN ROBAT | [3], [207], [208], [209] | robat | follows-consonant | Khmer | |
U+17CD | ៍ | Khmer | KHMER SIGN TOANDAKHIAT | [3], [207], [208], [209] | sign | follows-consonant-or-vowel-i | Khmer | |
U+17D0 | ័ | Khmer | KHMER SIGN SAMYOK SANNYA | [3], [207], [208], [209] | sign | follows-consonant-shifter | Khmer | |
U+17D2 | ្ | Khmer | KHMER SIGN COENG | [3], [100] | coeng | coeng-context | Khmer | |
U+17D2 U+178A | ្ដ | {Khmer} | KHMER CONSONANT SIGN COENG DA | [3] | [coeng] + [consonant] | follows-consonant | set 11 | Khmer |
U+17D2 U+178F | ្ត | {Khmer} | KHMER CONSONANT SIGN COENG TA | [3] | [coeng] + [consonant, series-three] | follows-consonant | set 11 | Khmer |
U+17E0 | ០ | Khmer | KHMER DIGIT ZERO | [3] | Khmer-digit | set 1 | ||
U+17E1 | ១ | Khmer | KHMER DIGIT ONE | [3] | Khmer-digit | set 2 | ||
U+17E2 | ២ | Khmer | KHMER DIGIT TWO | [3] | Khmer-digit | set 3 | ||
U+17E3 | ៣ | Khmer | KHMER DIGIT THREE | [3] | Khmer-digit | set 4 | ||
U+17E4 | ៤ | Khmer | KHMER DIGIT FOUR | [3] | Khmer-digit | set 5 | ||
U+17E5 | ៥ | Khmer | KHMER DIGIT FIVE | [3] | Khmer-digit | set 6 | ||
U+17E6 | ៦ | Khmer | KHMER DIGIT SIX | [3] | Khmer-digit | set 7 | ||
U+17E7 | ៧ | Khmer | KHMER DIGIT SEVEN | [3] | Khmer-digit | set 8 | ||
U+17E8 | ៨ | Khmer | KHMER DIGIT EIGHT | [3] | Khmer-digit | set 9 | ||
U+17E9 | ៩ | Khmer | KHMER DIGIT NINE | [3] | Khmer-digit | set 10 |
Throughout this LGR, a code point sequence may be annotated with a string in ALL CAPS that is constructed on the same principle as a name for a Unicode Named Sequence. No claim is made that a sequence thus annotated is in fact a named sequence, nor that the annotation in such case actually corresponds to the formal name of a named sequence.
- Code Point
- A code point or code point sequence.
- Glyph
- The shape displayed depends on the fonts available to your browser.
- Script
- Shows the script property value from the Unicode Character Database. Combining marks may have the value Inherited and code points used with more than one script may have the value Common. Sequences are annotated with a set of all distinct script values.
- Name
- Shows the character or sequence name from the Unicode Character Database. Named sequences are listed with their normative names, for ad-hoc sequences the individual names are shown separated by “+”.
- Ref
- Links to the references associated with the code point or sequence, if any.
- Tags
- LGR-defined tag values. Any tags matching the Unicode script property are suppressed in this view. For sequences, the tags for all member code points are shown in [] for information; sequences as such do not have tags.
- Required Context
- Link to a rule defining the required context a code point or sequence must satisfy. If prefixed by “not:” identifies a context that must not occur.
- Variants
- Link to the variant set the code point or sequence is a member of, except where a coded point or sequence maps only to itself, in which case the type of that mapping is listed.
- Comment
- The comment as given in the XML file. However, if the comment for this row consists only of the code point or sequence name, it is suppressed in this view. By convention, comments starting with “=” denote an alias. If present, the symbol ⍟ marks a default item shared among a set of LGRs.
Variants
Variant Set Summary
Number of variant sets | 11 | |
---|---|---|
Largest variant set | 2 | |
Variants by Type |
|
Variant Sets
The following tables list all variant sets defined in this LGR, except for singleton sets. Each table lists all variant mapping pairs of the set; one per row. Mappings are assumed to be symmetric: each row documents both forward (→) and reverse (←) mapping directions. In each table, the mappings are sorted by Source value in ascending code point order; shading is used to group mappings from the same source code point or sequence.
Where the type of both forward and reverse mappings are the same, a single value is given in the Type column; otherwise the types for forward and reverse mappings, as well as comments and references, are listed above one another. For summary counts, both forward and reverse mappings are always counted separately.
In any LGR with variant specifications that are well behaved, all members within each variant set are defined as variants of each other; the mappings in each set are symmetric and transitive; and all variant sets are disjoint.
- Source
- By convention, the smaller of the two code points in a variant mapping pair.
- Target
- By convention, the larger of the two code points in a variant mapping pair.
- Glyph
- The shape displayed for source or target depends on the fonts available to your browser.
- → - forward
- Indicates that Type, Ref and Comment apply to the mapping from source to target.
- ← - reverse
- Indicates that Type, Ref and Comment apply to the reverse mapping from target to source.
- ↔ - both
- Indicates that Type, Ref and Comment apply to both forward and reverse mapping.
- Type
- The type of the variant mapping, including predefined variant types such as “allocatable” and “blocked”; or any that are defined specifically for this LGR.
- Ref
- One or more reference IDs (optional). A “/” separates references for reverse / forward mappings, if different.
- Comment
- A descriptive comment (optional). A “/” separates comments for reverse / forward mappings, if different.
Variant Set 1 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0030 | 0 | 17E0 | ០ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 2 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0031 | 1 | 17E1 | ១ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 3 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0032 | 2 | 17E2 | ២ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 4 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0033 | 3 | 17E3 | ៣ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 5 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0034 | 4 | 17E4 | ៤ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 6 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0035 | 5 | 17E5 | ៥ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 7 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0036 | 6 | 17E6 | ៦ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 8 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0037 | 7 | 17E7 | ៧ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 9 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0038 | 8 | 17E8 | ៨ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 10 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
0039 | 9 | 17E9 | ៩ | ↔ | blocked | ASCII digit variant / Khmer digit variant |
Variant Set 11 — 2 Members
Source | Glyph | Target | Glyph | Type | Ref | Comment | |
---|---|---|---|---|---|---|---|
17D2 178A | ្ដ | 17D2 178F | ្ត | ↔ | blocked | Khmer subscript form homoglyph |
Classes, Rules and Actions
Character Classes
Number of named classes | 12 |
---|---|
Implicit (except script) | 5 |
Implict defined by script tag | 2 |
The following table lists all named and implicit classes with their definition and a list of their members intersected with the current repertoire (for larger classes, this list is elided).
Name | Definition | Count | Members or Ranges | Ref | Comment |
---|---|---|---|---|---|
consonant | Tag=consonant | 33 | {1780-179C 179F-17A2} | Any Khmer consonant | |
consonant-but-not-base-only | combined = [[:consonant:] ∖ [:base-only:]] |
32 | {1780-179C 179F-17A0 17A2} | Any Khmer consonant that is not base-only | |
dependent-vowel-1 | Tag=dependent-vowel-1 | 2 | {17B6 17BB} | Dependent Khmer vowels used with NIKAHIT | |
dependent-vowel-2 | Tag=dependent-vowel-2 | 5 | {17B7 17B9 17BB 17C1 17C4} | Dependent Khmer vowels used with REAHMUK | |
dependent-vowel-3 | Tag=dependent-vowel-3 | 1 | {17B7} | Dependent Khmer vowel used with TOANDAKHIAT | |
robat | Tag=robat | 1 | {17CC} | Khmer ROBAT | |
series-one | Tag=series-one | 4 | {1794 179F-17A0 17A2} | Khmer consonants used with MUUSIKATOAN | |
series-three | Tag=series-three | 9 | {1780 1784-1785 1789 178F 1793-1794 179B 179F} | Khmer consonants used with BANTOC | |
series-two | Tag=series-two | 7 | {1784 1789 1794 1798-179A 179C} | Khmer consonants used with TRIISAP | |
shifter | Tag=shifter | 2 | {17C9-17CA} | Any Khmer shifter (MUUSIKATOAN or TRIISAP) | |
common-digits | Tag=Common-digit | 10 | {0030-0039} | Digits from the ASCII range; ⍟ | |
khmer-digits | Tag=Khmer-digit | 10 | {17E0-17E9} | Khmer digits | |
implicit | Tag=base-only | 1 | {17A1} | The character tagged as base-only | |
implicit | Tag=coeng | 1 | {17D2} | The character tagged as coeng | |
implicit | Tag=dependent-vowel | 16 | {17B6-17C5} | Any character tagged as dependent-vowel | |
implicit | Tag=independent-vowel | 12 | {17A5-17A7 17AA-17B1 17B3} | Any character tagged as independent-vowel | |
implicit | Tag=sign | 6 | {17C6-17C8 17CB 17CD 17D0} | Any character tagged as sign | |
implicit | Tag=sc:Khmr | 81 | {1780-179C 179F-17A2 17A5-17A7 17AA-17B1 17B3 17B6-17CD 17D0 17D2 17E0-17E9} | Any character tagged as Khmer | |
implicit | Tag=sc:Zyyy | 11 | {002D 0030-0039} | Any character tagged as Common |
- Members or Ranges
- Lists the members of the class as code points (xxx) or as ranges of code points (xxx-yyy). Any class too numerous to list in full is elided with "...".
- Tag=ttt
- A named or implicit class defined by all code points that share the given tag value (ttt).
- Implicit
- An anonymous class implicitly defined based on tag value and for which there is no named equivalent.
- Combined
- A named class defined by set operations on other classes using the following syntax:
- [: :] - named or implicit character set
- Reference to a named character set [:name:] or an implicit character set [:tag:]. A leading “^” before name or tag indicates the set complement.
- ∪, ∩, ∖, ∆ - set operators
- Sets may be combined by set operators (∪ = union, ∩ = intersection, ∖ = difference, ∆ = symmetric difference).
Whole label evaluation and context rules
Number of rules | 16 |
---|---|
Used to trigger actions | 4 |
Used as context rule (C) | 11 |
Anchored context rules | 11 |
Used only in another rule | 1 |
The following table lists all named rules defined in the LGR and indicates whether they are used as trigger in an action or as context (when or not-when) for a code point or variant.
Name | Regular Expression | Used as Trigger |
Anchor | Used as Context |
Ref | Comment |
---|---|---|---|---|---|---|
leading-combining-mark | (start)[[\p{gc=Mn}] ∪ [\p{gc=Mc}]] |
✔ | [150] | RFC 5891 restrictions on placement of combining marks ⍟ | ||
hyphen-minus-disallowed | (((start))← ⚓︎)|(⚓︎ →((end)))|(((start)..\u002D)← ⚓︎) |
✔ | C | [150] | RFC 5891 restrictions on placement of U+002D - ⍟ | |
subscript-consonant | \u17D2[:consonant-but-not-base-only:] |
WLE Rule 2: allowable subscript consonant sequence | ||||
subscript-consonant-limit | (:subscript-consonant:){3,3} |
✔ | WLE Rule 3: more than two subscript consonants | |||
coeng-after-subscript-ro | \u17D2\u179A\u17D2 |
✔ | subscript ro must be last in a syllable | |||
coeng-context | ([:consonant:])← ⚓︎ →([:consonant-but-not-base-only:]) |
✔ | C | WLE Rule 4: checks for U+17D2 ្ and its surrounding code points | ||
follows-consonant-robat-shifter | ([:shifter:]|[:consonant:]|[:robat:])← ⚓︎ |
✔ | C | WLE Rule 5: makes sure that dependent vowel follows a consonant or a shifter or a robat | ||
follows-series-two | ([:series-two:])← ⚓︎ |
✔ | C | WLE Rule 6: checks sequence for shifter U+17C9 ៉ MUUSIKATOAN | ||
follows-series-one | ([:series-one:])← ⚓︎ |
✔ | C | WLE Rule 7: checks sequence for shifter U+17CA ៊ TRIISAP | ||
follows-consonant | ([:consonant:])← ⚓︎ |
✔ | C | WLE Rule 8: checks if sign code point or subscript consonant follows a consonant | ||
follows-consonant-shifter | ([:consonant:]|[:shifter:])← ⚓︎ |
✔ | C | WLE Rule 9: checks if U+17D0 ័ KHMER SIGN SAMYOKSANNYA follows a consonant or a shifter | ||
follows-consonant-depvowel-1-shifter | ([:consonant:]|[:dependent-vowel-1:]|[:shifter:])← ⚓︎ |
✔ | C | WLE Rule 10: checks if U+17C6 ំ KHMER SIGN NIKAHIT follows a consonant or a dependent vowel-1 or a shifter | ||
follows-consonant-depvowel-2-shifter | ([:consonant:]|[:dependent-vowel-2:]|[:shifter:])← ⚓︎ |
✔ | C | WLE Rule 11: checks if U+17C7 ះ KHMER SIGN REAHMUK follows a consonant or a dependent vowel-2 or a shifter | ||
follows-series-three | ([:series-three:])← ⚓︎ |
✔ | C | WLE Rule 12: checks if U+17CB ់ KHMER SIGN BANTOC code point follows a series-three consonant | ||
follows-consonant-or-vowel-i | ([:consonant:][:dependent-vowel-3:]?)← ⚓︎ |
✔ | C | WLE Rule 13: checks if U+17CD ៍ KHMER SIGN TOANDAKHIAT follows a consonant or U+17B7 ិ KHMER VOWEL SIGN I (Dependent-vowel-3) | ||
digit-mixing | ([:common-digits:].*[:khmer-digits:])|([:khmer-digits:].*[:common-digits:]) |
✔ | restrictions on mixing digits |
- Used as Trigger
- This rule triggers one of the actions listed below.
- Used as Context
- This rule defines a required or prohibited context for a code point C or variant V.
- Anchor
- This rule has a placeholder for the code point for which it is evaluated.
- Regular Expression
- A regular expression equivalent to the rule, shown in a modified notation as noted:
- ⚓︎ - context anchor
- Placeholder for the actual code point when a context is evaluated. The code point must occur at the position corresponding to the anchor. Rules containing an anchor cannot be used as triggers.
- (...)← - look-behind
- If present encloses required context preceding the anchor.
- →(..) - look-ahead
- If present encloses required context following the anchor.
- (: :) - rule reference
- Non-recursive reference to a named rule.
- ( ) - group
- An anonymous nested rule is used to group match operators.
- (... | ...) - choice
- When there is more than one alternative in a rule, the choices are separated by the alternation operator (...|...).
- start or end
- (start) matches the start of the label; (end) matches the end of the label.
- . - any code point
- . matches any code point.
- *, +, ?, {n,m} - count operators
- * indicates 0 or more, + indicates one or more, and ? indicates up to one instance. {n,m} indicates at least n and at most m instances.
- [: :] - named or implicit character set
- Reference to a named character set [:name:] or an implicit character set [:tag:]. A leading “^” before name or tag indicates the set complement.
- [\p{ }] - property
- Set of all characters matching a given value for a Unicode property [\p{prop=val}]. Note: uppercase “\P” defines the complement of a property set.
- ∪, ∩, ∖, ∆ - set operators
- Sets may be combined by set operators (∪ = union, ∩ = intersection, ∖ = difference, ∆ = symmetric difference).
- ⍟ - default rule
- Rules marked with ⍟ are included by default and may or may not be triggered by any possible label under this LGR.
Actions
The following table lists the actions that are used to assign dispositions to labels and variant labels based on the specified conditions. The order of actions defines their precedence: the first action triggered by a label is the one defining its disposition.
# | Condition | Rule / Variant Set | Disposition | Ref | Comment | |
---|---|---|---|---|---|---|
1 | if label matches | leading-combining-mark | → | invalid | [150] | labels with leading combining marks are invalid ⍟ |
2 | if label matches | digit-mixing | → | invalid | a label violating the restriction on digit mixing is invalid | |
3 | if at least one variant is in | {out-of-repertoire-var} | → | invalid | any variant label with a code point out of repertoire is invalid ⍟ | |
4 | if label matches | subscript-consonant-limit | → | invalid | any label with more than two subscript consonants in a row is invalid | |
5 | if label matches | coeng-after-subscript-ro | → | invalid | subscript ro must be last in syllable | |
6 | if at least one variant is in | {blocked} | → | blocked | any variant label containing blocked variants is blocked ⍟ | |
7 | if each variant is in | {allocatable} | → | allocatable | variant labels with all variants allocatable are allocatable ⍟ | |
8 | if any label (catch-all) | → | valid | catch all (default action) ⍟ |
- {...} - variant type set
- In the “Rule/Variant Set” column, the notation {...} means a set of variant types.
- ⍟ - default action
- Actions marked with ⍟ are included by default and may or may not be triggered by any possible label under this LGR.
Note: The following variant types are used in one or more actions, but are not defined in this LGR: allocatable, out-of-repertoire-var. This is not necessarily an error.
Table of References
The following lists the references cited for specific code points, variants, classes, rules or actions in this LGR. For General references refer to the References section in the Description.
[0] | The Unicode Standard, Version 1.1 Any code point originally encoded in Unicode 1.1 |
[3] | The Unicode Standard, Version 3.1 Any code point originally encoded in Unicode 3.0 |
[100] | The Unicode Consortium. The Unicode Standard, Version 8.0.0, (Mountain View, CA: The Unicode Consortium, 2015. ISBN 978-1-936213-10-8), Chapter 16: Southeast Asia, Section 16.4: Khmer, https://www.unicode.org/versions/Unicode8.0.0/ch16.pdf Subsection, Subscript Consonant Signs, pages 616-618 |
[203] | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 1 Any code point cited is for consonant characters |
[204] | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 2 Any code point cited is for vowel signs |
[205] | Dr. Prum Mol (Khmer Linguist), Grammar of Modern Khmer Language, Linguist of National Institute of Language, Royal Academy of Cambodia, 2006, page 37 Bantoc sign section starts towards the bottom of the page, page 38 list the context of the Bantoc sign BANTOC sign and its context |
[206] | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 6 Any code point cited is for independent vowel characters |
[207] | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 7 Any code point cited is for diacritics |
[208] | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 8 Any code point cited is for diacritics |
[209] | PRIMARY SCHOOL GRADE 1, MOEYS, ISBN 9-789-995-001-674, Publication 2015, Figure 9 Any code point cited is for diacritics |
[210] | Franklin E. Huffman, Cambodian System of Writing and Beginning Reader, Yale University, 1970, reprinted 1987 Sets of codepoints used with certain signs |
[150] | RFC 5891, Internationalized Domain Names in Applications (IDNA): Protocol https://tools.ietf.org/html/rfc5891 |