Gujarati (script)
Second-Level Reference Label Generation Rules, 25 October 2024 Current
Summary
| Version | 2 — Second Level Reference LGR |
|---|---|
| Date | |
| Tag |
und-Gujr (Gujarati)
|
| Unicode | 11.0.0 |
| Source file | lgr-second-level-gujarati-script-25oct24-en.xml (31.7kb) |
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 Gujarati Script
Overview
This document specifies a set of Label Generation Rules (LGR) for the Gujarati 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-Gujr]. The format of this file follows [RFC 7940]. This LGR is adapted from the “Reference LGR for the Second Level for the Gujarati Script” [Ref-LGR-und-Gujr], for details, see Change History below.
For details and additional background on the Gujarati script, see “Proposal for a Gujarati Script Label Generation Ruleset for the Root Zone" [Proposal-Gujarati].
Repertoire
This LGR contains 65 code points for letters covering multiple languages written using the Gujarati script and ranging from 1 to 4 on the [EGIDS] scale. The repertoire is a subset of [Unicode 11.0.0]. For details, see Section 5, “Repertoire” in [Proposal-Gujarati]. (The proposal cited has been adopted for the Gujarati script portion of the Root Zone LGR.)
For the second level, the repertoire has been augmented with the Gujarati digits, U+0AR6 to U+0AEF, ASCII digits U+0030 to U+0039, and U+002D HYPHEN-MINUS, for a total of 86 repertoire elements.
Any code points outside the Gujarati 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.
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 no variants for letters. For details, see Section 6, “Variants” in [Proposal-Gujarati].
Digit Variants: All Gujarati 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, Gujarati 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.
Some Gujarati letters share forms with digits: U+0AB0 GUJARATI LETTER RA is a homoglyph variant of U+0aE8 GUJARATI DIGIT TWO. U+0AAA GUJARATI LETTER PA is a homoglyph variant of U+0AEB GUJARATI DIGIT FIVE. By transitivity, the ASCII digits TWO and FIVE are also variants of the respective letters, and so are all other corresponding native digits TWO and FIVE, even though not explicitly listed here.
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 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
Gujarati 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. As encoded, the writing system of Gujarati is composed of Consonants, the Implicit Vowel Killer: Halant, Vowels, Anusvara, Candrabindu, Nukta, Visarga and Avagraha.
Consonants: Gujarati consonants contain an implicit vowel schwa /ə/. The traditional classification categorizes them according to their phonetic properties. There are 5 Varga groups (classes) and one non-Varga group. Each varga, which corresponds to a particular stop, contains five consonants classified as per their properties. The first four consonants are classified on the basis of Voicing and Aspiration and the last is the corresponding nasal. More details in Section 3.4.1, “The Consonants” of the [Proposal-Gujarati].
Halant: All consonants contain the implicit vowel (schwa). A special sign is needed to denote that this implicit vowel is stripped off. This is known as the Halant (્). The Halant thus joins two consonants and creates conjuncts, which generally combine 2 to 4 consonants. In rare cases the Halant can join up to 5 consonants. More details in Section 3.4.2, “The Implicit Vowel Killer: Halant” in [Proposal-Gujarati].
Vowels and Matras: Separate symbols exist for all Vowels, which are either pronounced independently at the beginning or attached to a consonant. To indicate the latter (other than the implicit one), a Vowel modifier (matra) is attached to the consonant. Since the consonant has a built-in schwa, there are equivalent Matras for all vowels excepting the અ (U+0A85). More details in Section 3.4.3, “Vowels” in [Proposal-Gujarati].
Anusvara: In Gujarati, the Anusvara has a dual function. On the one hand, it acts as homorganic nasal, that is, it replaces a conjunct group of a Nasal Consonant+Halant+Consonant belonging to that particular varga. On the other hand, before a non-varga consonant the anusvara represents a nasal sound. Gujarati and its dialects prefer the anusvara to the corresponding half-nasal. More details in Section 3.4.4, “The Anusvara” in [Proposal-Gujarati].
Nukta: Traditionally Gujarati does not admit the Nukta. Gujarati grammarians in their inventory of the Gujarati alphabet do not admit this diacritic. However, the Nukta is used to represent content where Perso-Arabic characters have to be transliterated. It follows specific consonants listed in set C1. More details in Section 3.4.6, “Nukta” in [Proposal-Gujarati].
Visarga and Avagraha: The Visarga is frequently used in Sanskrit and represents a sound very close to /h/, as in દુઃખ /du:kh/ sorrow, unhappiness. It is used sparingly in Gujarati with a few words borrowed from Sanskrit. The Avagraha is rarely used and excluded from the LGR. More details in Section 3.4.7, “Visarga and Avagraha” in [Proposal-Gujarati].
Common Digits: U+0030 to U+0039 are the set of digits from the ASCII range.
Gujarati Digits: U+0AE6 to U+0AEF are a set of Gujarati-specific digits.
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 Gujarati 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.
Gujarati-specific Rules
These rules have been drafted to ensure that the prospective Gujarati label conforms to akshar formation norms as desired in Gujarati 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 → Anusvara
X → Visarga
H → Halant/Virama
N → Nukta
C1 → Consonants used with Nukta
The rules are:
- 1. N: must be preceded by any of the specific set of Consonants (C1)
- 2. H: must be preceded either by C or N
- 3. X: must be preceded by any of V, C, N or M
- 4. B: must be preceded by any of V, C, N or M
- 5. M: must be preceded either by C or N
More details in Section 7,"Whole Label Evaluation Rules (WLE)" in [Proposal-Gujarati].
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 Gujarati Script was developed by Michel Suignard and Asmus Freytag, based on the Root Zone LGR for the Gujarati script and information contained or referenced therein; see [RZ-LGR-Gujr]. 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 Gujarati 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-Gujarati], 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 Gujarati Script [Ref-LGR-und-Gujr] 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
- [Proposal-Gujarati]
- Neo-Brahmi Generation Panel, “Proposal for a Gujarati Script Root Zone Label Generation Ruleset (LGR)”, 6 March 2019, https://www.icann.org/en/system/files/files/proposal-gujarati-lgr-06mar19-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-Gujr]
- ICANN, Second Level Reference Label Generation Rules for the Gujarati Script (und-Gujr), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-gujarati-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-gujarati-script-25oct24-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-Gujr]
- ICANN, Root Zone Label Generation Rules for the Gujarati Script (und-Gujr), 26 May 2022 (XML) https://www.icann.org/sites/default/files/lgr/rz-lgr-5-gujarati-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 Gujarati 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. Reference [101] corresponds to a source 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; |
|
|
| 0 | U+0030 DIGIT ZERO 0 DIGIT ZERO; |
|
૦
U+0AE6
blocked
Gujarati digit variant
|
| 1 | U+0031 DIGIT ONE 0 DIGIT ONE; |
|
૧
U+0AE7
blocked
Gujarati digit variant
|
| 2 | U+0032 DIGIT TWO 0 DIGIT TWO; |
|
ર
U+0AB0
blocked
Gujarati variant
૨
U+0AE8
blocked
Gujarati digit variant
|
| 3 | U+0033 DIGIT THREE 0 DIGIT THREE; |
|
૩
U+0AE9
blocked
Gujarati digit variant
|
| 4 | U+0034 DIGIT FOUR 0 DIGIT FOUR; |
|
૪
U+0AEA
blocked
Gujarati digit variant
|
| 5 | U+0035 DIGIT FIVE 0 DIGIT FIVE; |
|
પ
U+0AAA
blocked
Gujarati variant
૫
U+0AEB
blocked
Gujarati digit variant
|
| 6 | U+0036 DIGIT SIX 0 DIGIT SIX; |
|
૬
U+0AEC
blocked
Gujarati digit variant
|
| 7 | U+0037 DIGIT SEVEN 0 DIGIT SEVEN; |
|
૭
U+0AED
blocked
Gujarati digit variant
|
| 8 | U+0038 DIGIT EIGHT 0 DIGIT EIGHT; |
|
૮
U+0AEE
blocked
Gujarati digit variant
|
| 9 | U+0039 DIGIT NINE 0 DIGIT NINE; |
|
૯
U+0AEF
blocked
Gujarati digit variant
|
| ં | U+0A82 GUJARATI SIGN ANUSVARA 0 101 |
|
|
| ઃ | U+0A83 GUJARATI SIGN VISARGA 0 101 |
|
|
| અ | U+0A85 GUJARATI LETTER A 0 101 |
|
|
| આ | U+0A86 GUJARATI LETTER AA 0 101 |
|
|
| ઇ | U+0A87 GUJARATI LETTER I 0 101 |
|
|
| ઈ | U+0A88 GUJARATI LETTER II 0 101 |
|
|
| ઉ | U+0A89 GUJARATI LETTER U 0 101 |
|
|
| ઊ | U+0A8A GUJARATI LETTER UU 0 101 |
|
|
| ઋ | U+0A8B GUJARATI LETTER VOCALIC R 0 101 |
|
|
| ઌ | U+0A8C GUJARATI LETTER VOCALIC L 6 101 |
|
|
| ઍ | U+0A8D GUJARATI VOWEL CANDRA E 0 101 |
|
|
| એ | U+0A8F GUJARATI LETTER E 0 101 |
|
|
| ઐ | U+0A90 GUJARATI LETTER AI 0 101 |
|
|
| ઑ | U+0A91 GUJARATI VOWEL CANDRA O 0 101 |
|
|
| ઓ | U+0A93 GUJARATI LETTER O 0 101 |
|
|
| ઔ | U+0A94 GUJARATI LETTER AU 0 101 |
|
|
| ક | U+0A95 GUJARATI LETTER KA 0 101 |
|
|
| ખ | U+0A96 GUJARATI LETTER KHA 0 101 |
|
|
| ગ | U+0A97 GUJARATI LETTER GA 0 101 |
|
|
| ઘ | U+0A98 GUJARATI LETTER GHA 0 101 |
|
|
| ઙ | U+0A99 GUJARATI LETTER NGA 0 101 |
|
|
| ચ | U+0A9A GUJARATI LETTER CA 0 101 |
|
|
| છ | U+0A9B GUJARATI LETTER CHA 0 101 |
|
|
| જ | U+0A9C GUJARATI LETTER JA 0 101 |
|
|
| ઝ | U+0A9D GUJARATI LETTER JHA 0 101 |
|
|
| ઞ | U+0A9E GUJARATI LETTER NYA 0 101 |
|
|
| ટ | U+0A9F GUJARATI LETTER TTA 0 101 |
|
|
| ઠ | U+0AA0 GUJARATI LETTER TTHA 0 101 |
|
|
| ડ | U+0AA1 GUJARATI LETTER DDA 0 101 |
|
|
| ઢ | U+0AA2 GUJARATI LETTER DDHA 0 101 |
|
|
| ણ | U+0AA3 GUJARATI LETTER NNA 0 101 |
|
|
| ત | U+0AA4 GUJARATI LETTER TA 0 101 |
|
|
| થ | U+0AA5 GUJARATI LETTER THA 0 101 |
|
|
| દ | U+0AA6 GUJARATI LETTER DA 0 101 |
|
|
| ધ | U+0AA7 GUJARATI LETTER DHA 0 101 |
|
|
| ન | U+0AA8 GUJARATI LETTER NA 0 101 |
|
|
| પ | U+0AAA GUJARATI LETTER PA 0 101 |
|
5
U+0035
blocked
ASCII digit variant
૫
U+0AEB
blocked
Gujarati digit variant
|
| ફ | U+0AAB GUJARATI LETTER PHA 0 101 |
|
|
| બ | U+0AAC GUJARATI LETTER BA 0 101 |
|
|
| ભ | U+0AAD GUJARATI LETTER BHA 0 101 |
|
|
| મ | U+0AAE GUJARATI LETTER MA 0 101 |
|
|
| ય | U+0AAF GUJARATI LETTER YA 0 101 |
|
|
| ર | U+0AB0 GUJARATI LETTER RA 0 101 |
|
2
U+0032
blocked
ASCII digit variant
૨
U+0AE8
blocked
Gujarati digit variant
|
| લ | U+0AB2 GUJARATI LETTER LA 0 101 |
|
|
| ળ | U+0AB3 GUJARATI LETTER LLA 0 101 |
|
|
| વ | U+0AB5 GUJARATI LETTER VA 0 101 |
|
|
| શ | U+0AB6 GUJARATI LETTER SHA 0 101 |
|
|
| ષ | U+0AB7 GUJARATI LETTER SSA 0 101 |
|
|
| સ | U+0AB8 GUJARATI LETTER SA 0 101 |
|
|
| હ | U+0AB9 GUJARATI LETTER HA 0 101 |
|
|
| ઼ | U+0ABC GUJARATI SIGN NUKTA 0 101 |
|
|
| ા | U+0ABE GUJARATI VOWEL SIGN AA 0 101 |
|
|
| િ | U+0ABF GUJARATI VOWEL SIGN I 0 101 |
|
|
| ી | U+0AC0 GUJARATI VOWEL SIGN II 0 101 |
|
|
| ુ | U+0AC1 GUJARATI VOWEL SIGN U 0 101 |
|
|
| ૂ | U+0AC2 GUJARATI VOWEL SIGN UU 0 101 |
|
|
| ૃ | U+0AC3 GUJARATI VOWEL SIGN VOCALIC R 0 101 |
|
|
| ૄ | U+0AC4 GUJARATI VOWEL SIGN VOCALIC RR 0 101 |
|
|
| ૅ | U+0AC5 GUJARATI VOWEL SIGN CANDRA E 0 101 |
|
|
| ે | U+0AC7 GUJARATI VOWEL SIGN E 0 101 |
|
|
| ૈ | U+0AC8 GUJARATI VOWEL SIGN AI 0 101 |
|
|
| ૉ | U+0AC9 GUJARATI VOWEL SIGN CANDRA O 0 101 |
|
|
| ો | U+0ACB GUJARATI VOWEL SIGN O 0 101 |
|
|
| ૌ | U+0ACC GUJARATI VOWEL SIGN AU 0 101 |
|
|
| ્ | U+0ACD GUJARATI SIGN VIRAMA 0 101 |
|
|
| ૦ | U+0AE6 GUJARATI DIGIT ZERO 0 GUJARATI DIGIT ZERO |
|
0
U+0030
blocked
ASCII digit variant
|
| ૧ | U+0AE7 GUJARATI DIGIT ONE 0 GUJARATI DIGIT ONE |
|
1
U+0031
blocked
ASCII digit variant
|
| ૨ | U+0AE8 GUJARATI DIGIT TWO 0 GUJARATI DIGIT TWO |
|
2
U+0032
blocked
ASCII digit variant
ર
U+0AB0
blocked
Gujarati variant
|
| ૩ | U+0AE9 GUJARATI DIGIT THREE 0 GUJARATI DIGIT THREE |
|
3
U+0033
blocked
ASCII digit variant
|
| ૪ | U+0AEA GUJARATI DIGIT FOUR 0 GUJARATI DIGIT FOUR |
|
4
U+0034
blocked
ASCII digit variant
|
| ૫ | U+0AEB GUJARATI DIGIT FIVE 0 GUJARATI DIGIT FIVE |
|
5
U+0035
blocked
ASCII digit variant
પ
U+0AAA
blocked
Gujarati variant
|
| ૬ | U+0AEC GUJARATI DIGIT SIX 0 GUJARATI DIGIT SIX |
|
6
U+0036
blocked
ASCII digit variant
|
| ૭ | U+0AED GUJARATI DIGIT SEVEN 0 GUJARATI DIGIT SEVEN |
|
7
U+0037
blocked
ASCII digit variant
|
| ૮ | U+0AEE GUJARATI DIGIT EIGHT 0 GUJARATI DIGIT EIGHT |
|
8
U+0038
blocked
ASCII digit variant
|
| ૯ | U+0AEF GUJARATI DIGIT NINE 0 GUJARATI DIGIT NINE |
|
9
U+0039
blocked
ASCII digit variant
|
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.
Character classes
Named sets of code points that the rules below refer to.
| Name | Definition |
|---|---|
C |
{tag Consonant}
Any Gujarati consonant
|
V |
{tag Vowel}
Any Gujarati vowel letter
|
M |
{tag Matra}
Any Gujarati vowel sign
|
N |
{tag Nukta}
The Gujarati Nukta
|
C1 |
{tag C1}
Consonants used with Gujarati Nukta
|
common-digits |
{tag Common-digit}
Digits from the ASCII range MSR default
|
gujarati-digits |
{tag Gujarati-digit}
Gujarati digits
|
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-
(?<= ^ )look-behind-
^start
-
-
◆anchor
-
-
◆ (?= $ )rule-
◆anchor -
(?= $ )look-ahead-
$end
-
-
-
(?<= ^ . . U+002D ) ◆rule-
(?<= ^ . . U+002D )look-behind-
^start -
.any -
.any -
U+002Dchar
-
-
◆anchor
-
-
Referenced by 1 definition
- negative context of U+002D
follows-specific-C
Section 7, WLE 1: N must be preceded by a specific set of Cs
(?<= {C1} ) ◆
Structure
-
(?<= {C1} )look-behind-
{C1}class
-
-
◆anchor
Referenced by 1 definition
- context of U+0ABC
follows-C-or-N
Section 7, WLE 2: Halant must be preceded by C or N; WLE 5: 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 14 definitions
- context of U+0ABE
- context of U+0ABF
- context of U+0AC0
- context of U+0AC1
- context of U+0AC2
- context of U+0AC3
- context of U+0AC4
- context of U+0AC5
- context of U+0AC7
- context of U+0AC8
- context of U+0AC9
- context of U+0ACB
follows-V-C-N-or-M
Section 7, WLE 3 and WLE 4: Visarga and Anusvara must be preceded by V, C, N or M
(?<= ( {V} │ {C} │ {N} │ {M} ) ) ◆
Structure
-
(?<= ( {V} │ {C} │ {N} │ {M} ) )look-behind-
( {V} │ {C} │ {N} │ {M} )choice-
{V}class -
{C}class -
{N}class -
{M}class
-
-
-
◆anchor
Referenced by 2 definitions
- context of U+0A82
- context of U+0A83
digit-mixing
restrictions on mixing digits
( ( {common-digits} .* {gujarati-digits} ) │ ( {gujarati-digits} .* {common-digits} ) )
Structure
-
( ( {common-digits} .* {gujarati-digits} ) │ ( {gujarati-digits} .* {common-digits} ) )choice-
{common-digits} .* {gujarati-digits}rule-
{common-digits}class -
.*any -
{gujarati-digits}class
-
-
{gujarati-digits} .* {common-digits}rule-
{gujarati-digits}class -
.*any -
{common-digits}class
-
-
Referenced by 1 definition
- action 2 (invalid)
Actions
Actions are evaluated in the order shown. The first action whose conditions match determines the disposition of the label.
| # | Disposition | Conditions |
|---|---|---|
| 1 |
invalid
|
label matches leading-combining-mark 150 labels with leading combining marks are invalid MSR default |
| 2 |
invalid
|
label matches digit-mixing a label violating the restriction on digit mixing is invalid |
| 3 |
invalid
|
any variant is out-of-repertoire-var any variant label with a code point out of repertoire is invalid MSR default |
| 4 |
blocked
|
any variant is blocked any variant label containing blocked variants is blocked MSR default |
| 5 |
allocatable
|
all variants are allocatable variant labels with all variants allocatable are allocatable MSR default |
| 6 |
valid
|
any label default catch all (default action) MSR default |
References
| Ref | Source |
|---|---|
| 0 | The Unicode Standard, Version 1.1 |
| 6 | The Unicode Standard, Version 4.0 |
| 101 | Omniglot, "Gujarati", https://www.omniglot.com/writing/gujarati.htm (Accessed on 6 Jan. 2018) |
| 150 | RFC 5891, Internationalized Domain Names in Applications (IDNA): Protocol https://tools.ietf.org/html/rfc5891 |