Gurmukhi

Gurmukhi (script)

Second-Level Reference Label Generation Rules, 25 October 2024 Current

Summary

Version2 — Second Level Reference LGR
Date
Tag und-Guru (Gurmukhi)
Unicode11.0.0
Source filelgr-second-level-gurmukhi-script-25oct24-en.xml (30.9kb)

This ruleset is integrated into the Common (integrated set) ruleset of this release.

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

Read the rest of the description Show less

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 Gurmukhi Script

Overview

This document specifies a set of Label Generation Rules (LGR) for the Gurmukhi 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-Guru]. The format of this file follows [RFC 7940]. This LGR is adapted from the “Reference LGR for the Second Level for the Gurmukhi Script” [Ref-LGR-und-Guru], for details, see Change History below.

For details and additional background on the Gurmukhi script, see “Proposal for a Gurmukhi Script Root Zone Label Generation Ruleset (LGR)" [Proposal-Gurmukhi].

Repertoire

The repertoire contains 56 codepoints for letters used by the Punjabi language written using the Gurmukhi script. Punjabi ([EGIDS] level 2) is the only language currently using the Gurmukhi script. The repertoire is a subset of [Unicode 11.0.0]. For details, see Section 5, “Repertoire” in [Proposal-Gurmukhi]. (The proposal cited has been adopted for the Gurmukhi script portion of the Root Zone LGR.)

For the second level, the repertoire has been augmented with the ASCII digits, U+0030 to U+0039, plus U+002D HYPHEN-MINUS, for a total of 67 repertoire elements.

Any code points outside the Gurmukhi Script repertoire that are targets for out-of-repertoire variants would be included here only if the variant is listed in this file. In this case they are identified as a reflexive (identity) variant of type “out-of-repertoire-var”. Whether or not they are listed, they do not form part of the repertoire.

Repertoire Listing: Each code point or range is tagged with the script or scripts with which the code point is used and one or more other character categories. For each repertoire element, one or more references document sufficient justification for inclusion in the repertoire; see the “References” below. For code points that are part of the repertoire, comments identify the language using the code point, as well as alternate names of some code points.

Variants

The variants defined in this LGR are limited to those required for use in zones not shared with any other script. As such, this LGR does not define cross-script variants. However, using this LGR concurrently with any LGR for Bengali and Devanagari in the same zone will create potential cross-script issues. For details, see Section 6, “Variants” in [Proposal-Gurmukhi]. Mitigation of these cross-script variants can be addressed by using the Common LGR. For details, see Section 3, “Use of Multiple Reference LGRs in the Same Zone” in [Level-2-Overview]. In addition to variants defined by this LGR, the full variant information related to this script and required for concurrent use with the Bengali and Devanagari LGR(s) can be found in the following LGR: [Ref-LGR-Devanagari-Full-Variant-Script]

>There are no in-script variants defined for Gurmukhi is Section 6, “Variants” of [Proposal-Gurmukhi]. However, one pair of in-script variants is included here based on highly confusable appearance.

Digit Variants: The Gurmukhi reference LGR does not include native digits, so there are no semantic variants defined.

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 labels 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

Gurmukhi is an alphasyllabary and the heart of the writing system is the akshar. This is the unit which is instinctively recognized by users of the script. The elements of the writing system consist of Consonants, Implicit Vowel Killer: Halant, Vowels, Bindi, Tippi, Addak, Nukta and Visarga.

Consonants: Gurmukhi consonants contain an implicit vowel schwa /ə/. They are also used without any modification to represent consonant sounds without an implicit /ə/ vowel More details in Section 3.3.1, “The Consonants” in [Proposal-Gurmukhi].

Virama: Unlike the Halant in other Neo-Brahmi scripts, U+094D GURMUKHI SIGN VIRAMA is not used in general to strip a consonant letter’s implicit vowel. The Virama is only used to create a conjunct where the letter U+0A39 HA, U+0A30 RA or U+0A35 VA is the second element in a conjunct. More details in Section 3.3.2, “The Implicit Vowel Killer: Virama” in [Proposal-Gurmukhi].

Vowels and Matras: Punjabi has seven long vowels and three short vowels (ਅ /ə/, ਇ /I/, and ਉ /U/) . Each of them, except U+0A05 have a corresponding vowel sign, or matra, which is used to modify the vowel inherent in the preceding consonant. More details in Section 3.3.3, “Vowels” in [Proposal-Gurmukhi].

Bindi: Bindi represents a homo-organic nasal. Bindi is used with all long vowels and the short vowel U+0A09, as well as with the matras of long vowels, except the matra U+0A42. More details in Section 3.3.4.1, “The Bindi” in [Proposal-Gurmukhi].

Tippi: Tippi is used to nasalize short vowels /ə/ and /I/ at all places, as well as /U/ and /u/ after a consonant. Therefore, Tippi comes after consonants without a vowel sign (representing the matra of /ə/ “mukta”) and after the matra of /I/ ( ਿ ) following vowel carriers and consonants, such as in ਸੰ and ਸਿੰ. The matras of /U/ ( ੁ,) and /u/ ( ੂ ) following a consonant also take a Tippi. In addition, Tippi is used in gemination for nasal consonants ਙ, ਞ, ਨ and ਮ. More details in Section 3.3.4.2, “The Tippi” in [Proposal-Gurmukhi].

Addak: Addak is used to mark the gemination of the following consonant. In Punjabi, addak usually can follow mukta, aunkar ( ੁ ) and sihari ( ਿ ), and the vowel signs of the short vowels /ə/, /u/ and /i/. It geminates the consonant that follows it; therefore it cannot occur at the end of a label. More details in Section 3.3.4.3 “The Addak” in [Proposal-Gurmukhi].

Nukta: Called pairin bindi in Punjabi, Nukta is used with the six consonants (ਸ, ਖ, ਗ, ਜ, ਫ and ਲ ) defined as set C1 to represent the phonemes of words of Sanskrit and Perso-Arabic sources. More details in Section 3.3.4.4, “Nukta” in [Proposal-Gurmukhi].

Whole Label Evaluation (WLE) and Context Rules

Common Rules

By default, the LGR includes the rules and actions to implement the following restrictions mandated by the IDNA protocol. They are marked with ⍟.

  • 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].

Default Actions

This LGR includes the 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].

Gurmukhi-specific Rules

These rules have been drafted to ensure that the prospective Gurmukhi label conforms to akshar formation norms as desired in Gurmukhi script. These norms are exclusively presented as context rules.

The following symbols are used in the WLE rules:
C → Consonant
M → Matra
V → Vowel
B → Bindi
D → Tippi
A → Addak
H → Virama / Halant
N → Nukta
M1 → { ਿ(U+0A3F), ੁ (U+0A41) } (Short matras)
M2 → M - M1 (Long matras)
V1 → { ਅ (U+0A05), ਇ (U+0A07), ਉ (U+0A09)} (Short Vowels)
V2 → V - V1 (Long Vowel)
C1 → {ਖ (U+0A16), ਗ (U+0A17), ਜ (U+0A1C), ਫ (U+0A2B), ਲ (U+0A32), ਸ (U+0A38)}
C2 → { ਰ (U+0A30), ਵ (U+0A35), ਹ (U+0A39)}
C3 → C – {ਙ (U+0A19), ਞ (U+0A1E), ਣ (U+0A23), ਹ (U+0A39), ੜ (U+0A5C)}

The rules are:

  • 7.1 N: must be preceded by C1
  • 7.2 H: must be preceded by C or N and followed by C2
  • 7.3 M: must be preceded by C or N
  • 7.4 B: must be preceded by specific V or M
  • 7.5 D: must be preceded by C, N or specific V or M
  • 7.6 A: must be preceded by C, N or specific V or M and followed by C3

More details in Section 7, “Whole Label Evaluation Rules (WLE)” in [Proposal-Gurmukhi].

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 Gurmukhi Script was developed by Michel Suignard and Asmus Freytag, based on the Root Zone LGR for the Gurmukhi script and information contained or referenced therein; see [RZ-LGR-Guru]. 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 Gurmukhi script, that this reference LGR is based on, was developed by the Neo-Brahmi Generation Panel (NBGP). For more information on methodology and contributors to the underlying Root Zone LGR, see Sections 4 and 8 in [Proposal-Gurmukhi], as well as [RZ-LGR-Overview].

Changes from Version Dated 15 December 2020

Unicode Version has been updated.

Changes from Version Dated 25 October 2024

Adopted from the Second Level Reference LGR for the Gurmukhi Script [Ref-LGR-und-Guru] without normative changes.

References

The following general references are cited in this document:

[EGIDS]
Lewis and Simons, “EGIDS: Expanded Graded Intergenerational Disruption Scale,” documented in [SIL-Ethnologue] and summarized here: https://en.wikipedia.org/wiki/Expanded_Graded_Intergenerational_Disruption_Scale_(EGIDS)
[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, 25 October 2024), https://www.icann.org/en/system/files/files/level2-lgr-overview-summary-25oct24-en.pdf
[Gurmukhi-Chart]
Gurmukhi Unicode chart (Accessed on 21 May 2018) https://unicode.org/charts/PDF/U0A00.pdf
[Proposal-Gurmukhi]
Neo-Brahmi Generation Panel, “Proposal for a Gurmukhi Script Root Zone Label Generation Ruleset (LGR)”, 22 April 2019, https://www.icann.org/en/system/files/files/proposal-gurmukhi-lgr-22apr19-en.pdf
[Ref-LGR-und-Guru]
ICANN, Second Level Reference Label Generation Rules for the Gurmukhi Script (und-Guru), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-gurmukhi-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-gurmukhi-script-25oct24-en.html
[Ref-LGR-Devanagari-Full-Variant-Script]
ICANN, Second Level Reference Label Generation Rules for the Devanagari Script (und-Deva), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-devanagari-full-variant-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-devanagari-full-variant-script-25oct24-en.html
[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
[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-Guru]
ICANN, Root Zone Label Generation Rules for the Gurmukhi Script (und-Guru), 26 May 2022 (XML) https://www.icann.org/sites/default/files/lgr/rz-lgr-5-gurmukhi-script-26may22-en.xml
[SIL-Ethnologue]
David M. Eberhard, Gary F. Simons & Charles D. Fennig (eds.). 2021. Ethnologue: Languages of the World, Twenty fourth edition. Dallas, Texas: SIL International. Online version available as https://www.ethnologue.com
[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 Gurmukhi Script for the second level please see details in the Table of References below.

Reference [0] refers to the Unicode Standard version in which the corresponding code points were initially encoded. References [105] and above correspond to sources given in [Proposal-Gurmukhi] justifying the inclusion of 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

Glyph Code point Tags and context Variants
- U+002D HYPHEN-MINUS 0 HYPHEN-MINUS; Tagsc:Zyyy Contextnot hyphen-minus-disallowed
0 U+0030 DIGIT ZERO 0 DIGIT ZERO; TagCommon-digitTagsc:Zyyy
1 U+0031 DIGIT ONE 0 DIGIT ONE; TagCommon-digitTagsc:Zyyy
2 U+0032 DIGIT TWO 0 DIGIT TWO; TagCommon-digitTagsc:Zyyy
3 U+0033 DIGIT THREE 0 DIGIT THREE; TagCommon-digitTagsc:Zyyy
4 U+0034 DIGIT FOUR 0 DIGIT FOUR; TagCommon-digitTagsc:Zyyy
5 U+0035 DIGIT FIVE 0 DIGIT FIVE; TagCommon-digitTagsc:Zyyy
6 U+0036 DIGIT SIX 0 DIGIT SIX; TagCommon-digitTagsc:Zyyy
7 U+0037 DIGIT SEVEN 0 DIGIT SEVEN; TagCommon-digitTagsc:Zyyy
8 U+0038 DIGIT EIGHT 0 DIGIT EIGHT; TagCommon-digitTagsc:Zyyy
9 U+0039 DIGIT NINE 0 DIGIT NINE; TagCommon-digitTagsc:Zyyy
ਂ U+0A02 GURMUKHI SIGN BINDI 0 105 112 Punjabi TagBindiTagsc:Guru Contextfollows-specific-V-or-M
ਅ U+0A05 GURMUKHI LETTER A 0 105 112 = aira; Punjabi Tagsc:GuruTagV1TagVowel
ਆ U+0A06 GURMUKHI LETTER AA 0 105 112 Punjabi Tagsc:GuruTagVowel
ਇ U+0A07 GURMUKHI LETTER I 0 105 112 Punjabi Tagsc:GuruTagV1TagVowel
ਈ U+0A08 GURMUKHI LETTER II 0 105 112 Punjabi Tagsc:GuruTagVowel
ਉ U+0A09 GURMUKHI LETTER U 0 105 112 Punjabi Tagsc:GuruTagV1TagVowel
ਊ U+0A0A GURMUKHI LETTER UU 0 105 112 Punjabi Tagsc:GuruTagVowel
ਏ U+0A0F GURMUKHI LETTER EE 0 105 112 Punjabi Tagsc:GuruTagVowel
ਐ U+0A10 GURMUKHI LETTER AI 0 105 112 Punjabi Tagsc:GuruTagVowel
ਓ U+0A13 GURMUKHI LETTER OO 0 105 112 Punjabi Tagsc:GuruTagVowel
ਔ U+0A14 GURMUKHI LETTER AU 0 105 112 Punjabi Tagsc:GuruTagVowel
ਕ U+0A15 GURMUKHI LETTER KA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਖ U+0A16 GURMUKHI LETTER KHA 0 105 112 Punjabi TagC1TagConsonantTagsc:Guru
ਗ U+0A17 GURMUKHI LETTER GA 0 105 112 Punjabi TagC1TagConsonantTagsc:Guru
ਘ U+0A18 GURMUKHI LETTER GHA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਙ U+0A19 GURMUKHI LETTER NGA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਚ U+0A1A GURMUKHI LETTER CA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਛ U+0A1B GURMUKHI LETTER CHA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਜ U+0A1C GURMUKHI LETTER JA 0 105 112 Punjabi TagC1TagConsonantTagsc:Guru
ਝ U+0A1D GURMUKHI LETTER JHA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਞ U+0A1E GURMUKHI LETTER NYA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਟ U+0A1F GURMUKHI LETTER TTA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਠ U+0A20 GURMUKHI LETTER TTHA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਡ U+0A21 GURMUKHI LETTER DDA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਢ U+0A22 GURMUKHI LETTER DDHA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਣ U+0A23 GURMUKHI LETTER NNA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਤ U+0A24 GURMUKHI LETTER TA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਥ U+0A25 GURMUKHI LETTER THA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਦ U+0A26 GURMUKHI LETTER DA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਧ U+0A27 GURMUKHI LETTER DHA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਨ U+0A28 GURMUKHI LETTER NA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਪ U+0A2A GURMUKHI LETTER PA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਫ U+0A2B GURMUKHI LETTER PHA 0 105 112 Punjabi TagC1TagConsonantTagsc:Guru
ਬ U+0A2C GURMUKHI LETTER BA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਭ U+0A2D GURMUKHI LETTER BHA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਮ U+0A2E GURMUKHI LETTER MA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਯ U+0A2F GURMUKHI LETTER YA 0 105 112 Punjabi TagConsonantTagsc:Guru
ਰ U+0A30 GURMUKHI LETTER RA 0 105 112 Punjabi TagC2TagConsonantTagsc:Guru
ਲ U+0A32 GURMUKHI LETTER LA 0 105 112 Punjabi TagC1TagConsonantTagsc:Guru
ਵ U+0A35 GURMUKHI LETTER VA 0 105 112 Punjabi TagC2TagConsonantTagsc:Guru
ਸ U+0A38 GURMUKHI LETTER SA 0 105 112 Punjabi TagC1TagConsonantTagsc:Guru
ਹ U+0A39 GURMUKHI LETTER HA 0 105 112 Punjabi TagC2TagConsonantTagsc:Guru
਼ U+0A3C GURMUKHI SIGN NUKTA 0 105 112 = pairin bindi; Punjabi TagNuktaTagsc:Guru Contextfollows-C1
ਾ U+0A3E GURMUKHI VOWEL SIGN AA 0 105 110 112 = kanna; Punjabi TagMatraTagsc:Guru Contextfollows-C-or-N
ਿ U+0A3F GURMUKHI VOWEL SIGN I 0 105 112 = sihari; Punjabi TagM1TagMatraTagsc:Guru Contextfollows-C-or-N
ੀ U+0A40 GURMUKHI VOWEL SIGN II 0 105 112 = bihari; Punjabi TagMatraTagsc:Guru Contextfollows-C-or-N
ੁ U+0A41 GURMUKHI VOWEL SIGN U 0 105 112 = aunkar; Punjabi TagM1TagMatraTagsc:Guru Contextfollows-C-or-N
ੂ U+0A42 GURMUKHI VOWEL SIGN UU 0 105 112 = dulainkar; Punjabi TagMatraTagsc:Guru Contextfollows-C-or-N
ੇ U+0A47 GURMUKHI VOWEL SIGN EE 0 105 112 = lanvan; Punjabi TagMatraTagsc:Guru Contextfollows-C-or-N ੋ U+0A4B blocked Gurmukhi variant
ੈ U+0A48 GURMUKHI VOWEL SIGN AI 0 105 112 = dulavan; Punjabi TagMatraTagsc:Guru Contextfollows-C-or-N
ੋ U+0A4B GURMUKHI VOWEL SIGN OO 0 105 112 = hora; Punjabi TagMatraTagsc:Guru Contextfollows-C-or-N ੇ U+0A47 blocked Gurmukhi variant
ੌ U+0A4C GURMUKHI VOWEL SIGN AU 0 105 112 = kanaura; Punjabi TagMatraTagsc:Guru Contextfollows-C-or-N
੍ U+0A4D GURMUKHI SIGN VIRAMA 0 105 112 Punjabi Tagsc:GuruTagVirama Contextfollows-C-or-N-and-precedes-C2
ੜ U+0A5C GURMUKHI LETTER RRA 0 105 112 Punjabi TagConsonantTagsc:Guru
ੰ U+0A70 GURMUKHI TIPPI 0 105 112 Punjabi Tagsc:GuruTagTippi Contextfollows-C-N-or-specific-V-or-M
ੱ U+0A71 GURMUKHI ADDAK 0 105 112 Punjabi TagAddakTagsc:Guru Contextfollows-C-N-or-specific-V-or-M-and-precedes-C3

Variants

Code points grouped into sets of mutual variants. Every member of a set produces the same set of variant labels, so a registration of one has implications for all the others. Sets of a single member are omitted, as are the identity mappings RFC 7940 requires each member to declare.

1 variant set, containing 2 variants.

Character classes

Named sets of code points that the rules below refer to.

NameDefinition
C {tag Consonant} Any Gurmukhi consonant
V {tag Vowel} Any Gurmukhi independent vowel
M {tag Matra} Any Gurmukhi vowel sign (matra)
N {tag Nukta} The Gurmukhi Nukta
V1 {tag V1} Specific vowels that are used with Gurmukhi Addak
V2 ({V} ∖ {V1}) Specific vowels that are used with Gurmukhi Bindi
M1 {tag M1} Gurmukhi short matras
M2 ({M} ∖ {M1}) Gurmukhi long matras
C1 {tag C1} Specific consonants preceding Gurmukhi Nukta
C2 {tag C2} Specific consonants following Gurmukhi Halant
C3 ({C} ∖ [U+0A19 U+0A1E U+0A23 U+0A39 U+0A5C]) Specific consonants following Gurmukhi Addak

Rules

Conditions evaluated against a whole label, or against the context around a single code point. The notation borrows from regular expressions: ^ and $ anchor to the start and end of a label, . matches any code point, (?= ) and (?<= ) look ahead and behind, and * and + repeat. Two symbols are specific to rulesets: ◆ is the code point being tested, and ⟨name⟩ refers to another rule.

leading-combining-mark MSR default 150

RFC 5891 restrictions on placement of combining marks

^ ({gc:Mn} ∪ {gc:Mc})
Structure
  • ^ start
  • ({gc:Mn} ∪ {gc:Mc}) union
    • {gc:Mn} class
    • {gc:Mc} class
Referenced by 1 definition
  • action 1 (invalid)

hyphen-minus-disallowed MSR default 150

RFC 5891 restrictions on placement of U+002D HYPHEN-MINUS

( ( (?<= ^ ) ◆ ) │ ( ◆ (?= $ ) ) │ ( (?<= ^ . . U+002D ) ◆ ) )
Structure
  • ( ( (?<= ^ ) ◆ ) │ ( ◆ (?= $ ) ) │ ( (?<= ^ . . U+002D ) ◆ ) ) choice
    • (?<= ^ ) ◆ rule no leading hyphen
      • (?<= ^ ) look-behind
        • ^ start
      • ◆ anchor
    • ◆ (?= $ ) rule no trailing hyphen
      • ◆ anchor
      • (?= $ ) look-ahead
        • $ end
    • (?<= ^ . . U+002D ) ◆ rule no consecutive hyphens in third and fourth position in the label
      • (?<= ^ . . U+002D ) look-behind
        • ^ start
        • . any
        • . any
        • U+002D char hyphen-minus
      • ◆ anchor
Referenced by 1 definition
  • negative context of U+002D

follows-C1

Section 7.1. N: must be preceded by C1

(?<= {C1} ) ◆
Structure
  • (?<= {C1} ) look-behind
    • {C1} class
  • ◆ anchor
Referenced by 1 definition
  • context of U+0A3C

follows-C-or-N-and-precedes-C2

Section 7.2. H: must be preceded by C or N and followed by C2

(?<= ( {C} │ {N} ) ) ◆ (?= {C2} )
Structure
  • (?<= ( {C} │ {N} ) ) look-behind
    • ( {C} │ {N} ) choice
      • {C} class
      • {N} class
  • ◆ anchor
  • (?= {C2} ) look-ahead
    • {C2} class
Referenced by 1 definition
  • context of U+0A4D

follows-C-or-N

Section 7.3. M: must be preceded by C or N

(?<= ( {C} │ {N} ) ) ◆
Structure
  • (?<= ( {C} │ {N} ) ) look-behind
    • ( {C} │ {N} ) choice
      • {C} class
      • {N} class
  • ◆ anchor
Referenced by 9 definitions
  • context of U+0A3E
  • context of U+0A3F
  • context of U+0A40
  • context of U+0A41
  • context of U+0A42
  • context of U+0A47
  • context of U+0A48
  • context of U+0A4B
  • context of U+0A4C

follows-specific-V-or-M

Section 7.4. Bindi must be preceded by specific V or M

(?<= ( {V2} │ U+0A09 │ ( ({M2} ∖ [U+0A42]) ) ) ) ◆
Structure
  • (?<= ( {V2} │ U+0A09 │ ( ({M2} ∖ [U+0A42]) ) ) ) look-behind
    • ( {V2} │ U+0A09 │ ( ({M2} ∖ [U+0A42]) ) ) choice
      • {V2} class
      • U+0A09 char GURMUKHI LETTER U
      • ({M2} ∖ [U+0A42]) rule
        • ({M2} ∖ [U+0A42]) difference
          • {M2} class
          • [U+0A42] class
  • ◆ anchor
Referenced by 1 definition
  • context of U+0A02

follows-C-N-or-specific-V-or-M

Section 7.5. Tippi must be preceded by C, N or specific V or M

(?<= ( {C} │ {N} │ ( ({V1} ∖ [U+0A09]) ) │ {M1} │ U+0A42 ) ) ◆
Structure
  • (?<= ( {C} │ {N} │ ( ({V1} ∖ [U+0A09]) ) │ {M1} │ U+0A42 ) ) look-behind
    • ( {C} │ {N} │ ( ({V1} ∖ [U+0A09]) ) │ {M1} │ U+0A42 ) choice
      • {C} class
      • {N} class
      • ({V1} ∖ [U+0A09]) rule
        • ({V1} ∖ [U+0A09]) difference
          • {V1} class
          • [U+0A09] class
      • {M1} class
      • U+0A42 char GURMUKHI LETTER SIGN DULAINKAR
  • ◆ anchor
Referenced by 1 definition
  • context of U+0A70

follows-C-N-or-specific-V-or-M-and-precedes-C3

Section 7.6. Addak must be preceded by C, N or specific V or M and followed by C3

(?<= ( {C} │ {N} │ {V1} │ U+0A10 │ {M1} │ U+0A48 ) ) ◆ (?= {C3} )
Structure
  • (?<= ( {C} │ {N} │ {V1} │ U+0A10 │ {M1} │ U+0A48 ) ) look-behind
    • ( {C} │ {N} │ {V1} │ U+0A10 │ {M1} │ U+0A48 ) choice
      • {C} class
      • {N} class
      • {V1} class
      • U+0A10 char GURMUKHI LETTER AI
      • {M1} class
      • U+0A48 char GURMUKHI VOWEL SIGN AI
  • ◆ anchor
  • (?= {C3} ) look-ahead
    • {C3} class
Referenced by 1 definition
  • context of U+0A71

Actions

Actions are evaluated in the order shown. The first action whose conditions match determines the disposition of the label.

Actions in precedence order
# Disposition Conditions
1 invalid label matches leading-combining-mark 150 labels with leading combining marks are invalid MSR default
2 invalid any variant is out-of-repertoire-var any variant label with a code point out of repertoire is invalid MSR default
3 blocked any variant is blocked any variant label containing blocked variants is blocked MSR default
4 allocatable all variants are allocatable variant labels with all variants allocatable are allocatable MSR default
5 valid any label default catch all (default action) MSR default

References