Hindi (language)
Second-Level Reference Label Generation Rules, 25 October 2024 Current
Summary
| Version | 3 — Second Level Reference LGR |
|---|---|
| Date | |
| Tag |
hi (Hindi)
|
| Unicode | 11.0.0 |
| Source file | lgr-second-level-hindi-language-25oct24-en.xml (36.8kb) |
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 Hindi language
Overview
This document specifies a set of Label Generation Rules (LGR) for the Hindi language for the second level domain or domains identified above. The ultimate starting point for the development of this LGR can be found in the related Root Zone LGR [RZ-LGR-Deva]. Note that while it is the Devanagari Script Root Zone LGR that forms the starting point, the LGR defined here covers the Hindi Language. The format of this file follows [RFC 7940]. This LGR is adapted from the “Reference LGR for the Second Level for the Hindi Language” [Ref-LGR-hi-Deva], for details, see Change History below.
For details and additional background on the Devanagari script, see “Proposal for a Devanagari Script Root Zone Label Generation Rule-Set (LGR)" [Proposal-Devanagari].
Standalone LGR: This LGR is designed to be used in a zone that does not cater to IDNs other than those valid under this LGR. This LGR lacks features that would allow its use in the context of another LGR in the same zone, and it may contain other features incompatible with such use.
Repertoire
The repertoire contains 61 code points for letters for use in the Hindi language in addition to 7 sequences used for in-script variants (see “Variants” below). The repertoire is a subset of [Unicode 11.0.0]. For details, see Section 5, “Repertoire” in [Proposal-Devanagari]. (The proposal cited has been adopted for the Devanagari script portion of the Root Zone LGR.)
For the second level, the repertoire has been augmented with the HYPHEN-MINUS, and two sets of decimal digits:
- European (common) digits
- Devanagari digits
for a total of 91 repertoire elements.
Any code points outside the Hindi Language 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 languages using the code point along with their [EGIDS] level. Additional information, such as an alternate name, is given for some code points.
Variants
This LGR is designed for use in zones shared by more than one script. For details, see Section 3, “Use of Multiple Reference LGRs in the Same Zone” in [Level-2-Overview]. Where appropriate, cross-script variants have been defined to mutually exclude labels from different scripts that could otherwise be substituted by the users. Once a label has been delegated for one script, any of its variant labels consisting entirely of cross-script variants would be blocked. Any label containing at least one code point that is not a cross-script variant would be considered distinct. Because of that, even large numbers of defined cross-script variants generally do not lead to a high percentage of labels experiencing a collision.
This LGR defines in-script variants variants as described in Section 6, “Variants”, in “[Proposal-Devanagari]”. The in-script variants are based on Candrabindu and Candra Vowel Signs followed by Anusvara plus digit variants.
Digit Variants: All Devanagari 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, Devanagari 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.
Note that in addition to a transitive semantic variant relation, Devanagari digits ZERO, TWO, FOUR, FIVE and EIGHT reperesent cross-script homoglyph or near homoglyph forms of the corresponding Gujarati 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”; labels that differ only by these variants are 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.
Context Rules for Variants: some of the variants defined in this LGR are “effective null variants”, that is, some code points in the source map to “nothing” in the target with all other code points unchanged. (Because mappings are symmetric, it does not matter whether it is the forward or reverse mapping that maps to “null”.) Such variants require a context rule to keep the variant set well behaved.
In other cases, the sequences or code points making up source and target are constrained by explicit context rules on the code points (or by implicit context rules defined for the adjacent code points). In such a case, any variants may require context rules that match the intersection between the effective contexts for both source and target; otherwise, a sequence might be considered valid in some variant label when it would not be valid in an equivalent context in an original label. Symmetry requires the same context rule for both forward and reverse mappings.
The specification of variants in this LGR follows the guidelines in [RFC 8228].
Character Classes
Devanagari 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 Devanagari is composed of Consonants, Halant, Vowels, Anusvara, Candrabindu, Nukta and Visarga.
Consonants: Devanagari consonants all contain an implicit schwa /ə/. To make a full syllable, consonants may be followed by certain code points from one or more of the other groups (see “WLE rules” below). See Section 3.3.1, “The Consonants” in [Proposal-Devanagari].
Halant: Because all consonants contain an implicit vowel /ə/, a special sign is needed to denote that this implicit vowel is stripped off. This sign is the Halant, encoded as U+094D DEVANAGARI SIGN VIRAMA. The Halant thus joins two consonants and creates conjuncts, which can be generally from 2 to 4 consonant combinations. In rare cases, it can join up to 5 consonants. However, this LGR will not enforce any length limit. See Section 3.3.2, “The Implicit Vowel Killer: Halant” in [Proposal-Devanagari].
Vowels and Matras: There are separate code points for vowels that are pronounced independently at the beginning of a syllable or after a vowel sound. To indicate a vowel sound following a consonant other than the implicit shwa sound, a vowel sign (matra) is attached to the consonant. There is an equivalent matra for each vowel excepting U+0905 DEVANAGARI VOWEL A. See Section 3.3.3, “Vowels” in [Proposal-Devanagari].
Anusvara: The Anusvara shows a nasal at the end of a syllable. See Section 3.3.4, “The Anusvara” of the [Proposal-Devanagari].
Candrabindu: A Candrabindu denotes nasalization of the preceding vowel. Present-day Hindi users tend to replace the Candrabindu by the Anusvara. See Section 3.3.5, “Nasalization: Candrabindu” in [Proposal-Devanagari].
Nukta: The nukta sign is placed below a certain number of consonants to represent sounds found only in words borrowed from Perso-Arabic, English and other non-Aryan sources. It is also placed under the consonants U+0921 and U+0922 to indicate flapped sounds. See Section 3.3.6, “Nukta” in [Proposal-Devanagari].
Visarga: U+0903 DEVANAGARI SIGN VISARGA, representing an aspiration at the end of a syllable, is frequently used in Sanskrit. See Section 3.3.7, “Visarga and Avagraha” in [Proposal-Devanagari].
Devanagari Digits: U+0966 to U+096F are a set of Devanagari-specific digits. They are used in alternation with the European (common) digits.
Common Digits: U+0030 to U+0039 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 Devanagari 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.
Hindi-specific Rules
These rules ensure that the Hindi label conforms to akshar formation norms for the Devanagari script. These norms are exclusively presented as context rules.
The following symbols are used in the names and comments for WLE rules:
- C → Consonant
- M → Matra
- V → Vowel
- B → Anusvara (Bindu)
- D → Candrabindu
- X → Visarga
- H → Halant / Virama
- N → Nukta
The rules are:
- 1. N: must be preceded by C1
- 2. H: must be preceded by C or CN
- 3. M: must be preceded by C or CN
- 4. X: must be preceded by any of V, C, N or M
- 5. B: must be preceded by any of V, C, N or M
- 6. D: must be preceded by any of V, C, N or M
- 7. V: Can NOT be preceded by H
See Section 7, “Whole Label Evaluation Rules (WLE)” in [Proposal-Devanagari].
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 Hindi Language was developed by Michel Suignard and Asmus Freytag, based on the Root Zone LGR for the Devanagari script and information contained or referenced therein; see [RZ-LGR-Deva]. Suitable extensions for the second level have been applied according to the [Guidelines] and with community input. As part of that process, features have been removed or modified as appropriate for the target language. The original proposal for a Root Zone LGR for the Devanagari script, that this LGR is based on, was developed by the Devanagari Generation Panel. For more information on methodology and contributors to the underlying Root Zone LGR, see Sections 4 and 8 in [Proposal-Devanagari], as well as [RZ-LGR-Overview].
Changes from Version Dated 15 December 2020
Language tag has been updated.
Changes from Version Dated 18 May 2021
Unicode Version has been updated.
Changes from Version Dated 25 October 2024
Adopted from the Second Level Reference LGR for the Hindi Language [Ref-LGR-hi-Deva] 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-Devanagari]
- Neo-Brahmi Generation Panel, “Proposal for a Devanagari Script Root Zone Label Generation Rule-Set (LGR)”, 22 April 2019, https://www.icann.org/en/system/files/files/proposal-devanagari-lgr-22apr19-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
- [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-Deva]
- ICANN, Root Zone Label Generation Rules for the Devanagari Script (und-Deva), 26 May 2022 (XML) https://www.icann.org/sites/default/files/lgr/rz-lgr-5-devanagari-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
- [Ref-LGR-hi-Deva]
- ICANN, Second Level Reference Label Generation Rules for the Hindi Language (hi-Deva), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-hindi-language-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-hindi-language-25oct24-en.html
- [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 Hindi Language for the second level please see details in the Table of References below.
Reference [0] refers to the Unicode Standard versions in which the corresponding code points were initially encoded. References [100] and above correspond to sources given in [Proposal-Devanagari] 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+0966
blocked
Devanagari digit variant
|
| 1 | U+0031 DIGIT ONE 0 DIGIT ONE; |
|
१
U+0967
blocked
Devanagari digit variant
|
| 2 | U+0032 DIGIT TWO 0 DIGIT TWO; |
|
२
U+0968
blocked
Devanagari digit variant
|
| 3 | U+0033 DIGIT THREE 0 DIGIT THREE; |
|
३
U+0969
blocked
Devanagari digit variant
|
| 4 | U+0034 DIGIT FOUR 0 DIGIT FOUR; |
|
४
U+096A
blocked
Devanagari digit variant
|
| 5 | U+0035 DIGIT FIVE 0 DIGIT FIVE; |
|
५
U+096B
blocked
Devanagari digit variant
|
| 6 | U+0036 DIGIT SIX 0 DIGIT SIX; |
|
६
U+096C
blocked
Devanagari digit variant
|
| 7 | U+0037 DIGIT SEVEN 0 DIGIT SEVEN; |
|
७
U+096D
blocked
Devanagari digit variant
|
| 8 | U+0038 DIGIT EIGHT 0 DIGIT EIGHT; |
|
८
U+096E
blocked
Devanagari digit variant
|
| 9 | U+0039 DIGIT NINE 0 DIGIT NINE; |
|
९
U+096F
blocked
Devanagari digit variant
|
| ँ | U+0901 DEVANAGARI SIGN CANDRABINDU 0 101 Hindi (1) |
|
ॅं
U+0945 + U+0902
blocked
Devanagari variant
|
| ं | U+0902 DEVANAGARI SIGN ANUSVARA 0 101 Hindi (1) |
|
|
| ः | U+0903 DEVANAGARI SIGN VISARGA 0 101 Hindi (1) |
|
|
| अ | U+0905 DEVANAGARI LETTER A 0 101 Hindi (1) |
|
|
| आ | U+0906 DEVANAGARI LETTER AA 0 101 Hindi (1) |
|
|
| आँ | U+0906U+0901 sequence of 2 DEVANAGARI LETTER AA + DEVANAGARI SIGN CANDRABINDU DEVANAGARI LETTER AA + DEVANAGARI SIGN CANDRABINDU |
|
ऑं
U+0911 + U+0902
blocked
Devanagari variant
|
| इ | U+0907 DEVANAGARI LETTER I 0 101 Hindi (1) |
|
|
| ई | U+0908 DEVANAGARI LETTER II 0 101 Hindi (1) |
|
|
| उ | U+0909 DEVANAGARI LETTER U 0 101 Hindi (1) |
|
|
| ऊ | U+090A DEVANAGARI LETTER UU 0 101 Hindi (1) |
|
|
| ऋ | U+090B DEVANAGARI LETTER VOCALIC R 0 101 Hindi (1) |
|
|
| ऍ | U+090D DEVANAGARI LETTER CANDRA E 0 101 Hindi (1) |
|
|
| ऍं | U+090DU+0902 sequence of 2 DEVANAGARI LETTER CANDRA E + DEVANAGARI SIGN ANUSVARA |
|
एँ
U+090F + U+0901
blocked
|
| ए | U+090F DEVANAGARI LETTER E 0 101 Hindi (1) |
|
|
| एँ | U+090FU+0901 sequence of 2 DEVANAGARI LETTER E + DEVANAGARI SIGN CANDRABINDU |
|
ऍं
U+090D + U+0902
blocked
|
| ऐ | U+0910 DEVANAGARI LETTER AI 0 101 Hindi (1) |
|
|
| ऑ | U+0911 DEVANAGARI LETTER CANDRA O 0 100 101 Hindi (1) |
|
|
| ऑं | U+0911U+0902 sequence of 2 DEVANAGARI LETTER CANDRA O + DEVANAGARI SIGN ANUSVARA |
|
आँ
U+0906 + U+0901
blocked
|
| ओ | U+0913 DEVANAGARI LETTER O 0 101 Hindi (1) |
|
|
| औ | U+0914 DEVANAGARI LETTER AU 0 101 Hindi (1) |
|
|
| क | U+0915 DEVANAGARI LETTER KA 0 101 Hindi (1) |
|
|
| ख | U+0916 DEVANAGARI LETTER KHA 0 101 Hindi (1) |
|
|
| ग | U+0917 DEVANAGARI LETTER GA 0 101 Hindi (1) |
|
|
| घ | U+0918 DEVANAGARI LETTER GHA 0 101 Hindi (1) |
|
|
| ङ | U+0919 DEVANAGARI LETTER NGA 0 101 Hindi (1) |
|
|
| च | U+091A DEVANAGARI LETTER CA 0 101 Hindi (1) |
|
|
| छ | U+091B DEVANAGARI LETTER CHA 0 101 Hindi (1) |
|
|
| ज | U+091C DEVANAGARI LETTER JA 0 101 Hindi (1) |
|
|
| झ | U+091D DEVANAGARI LETTER JHA 0 101 Hindi (1) |
|
|
| ञ | U+091E DEVANAGARI LETTER NYA 0 101 Hindi (1) |
|
|
| ट | U+091F DEVANAGARI LETTER TTA 0 101 Hindi (1) |
|
|
| ठ | U+0920 DEVANAGARI LETTER TTHA 0 101 Hindi (1) |
|
|
| ड | U+0921 DEVANAGARI LETTER DDA 0 101 Hindi (1) |
|
|
| ढ | U+0922 DEVANAGARI LETTER DDHA 0 101 Hindi (1) |
|
|
| ण | U+0923 DEVANAGARI LETTER NNA 0 101 Hindi (1) |
|
|
| त | U+0924 DEVANAGARI LETTER TA 0 101 Hindi (1) |
|
|
| थ | U+0925 DEVANAGARI LETTER THA 0 101 Hindi (1) |
|
|
| द | U+0926 DEVANAGARI LETTER DA 0 101 Hindi (1) |
|
|
| ध | U+0927 DEVANAGARI LETTER DHA 0 101 Hindi (1) |
|
|
| न | U+0928 DEVANAGARI LETTER NA 0 101 Hindi (1) |
|
|
| प | U+092A DEVANAGARI LETTER PA 0 101 Hindi (1) |
|
|
| फ | U+092B DEVANAGARI LETTER PHA 0 101 Hindi (1) |
|
|
| ब | U+092C DEVANAGARI LETTER BA 0 101 Hindi (1) |
|
|
| भ | U+092D DEVANAGARI LETTER BHA 0 101 Hindi (1) |
|
|
| म | U+092E DEVANAGARI LETTER MA 0 101 Hindi (1) |
|
|
| य | U+092F DEVANAGARI LETTER YA 0 101 Hindi (1) |
|
|
| र | U+0930 DEVANAGARI LETTER RA 0 101 Hindi (1) |
|
|
| ल | U+0932 DEVANAGARI LETTER LA 0 101 Hindi (1) |
|
|
| व | U+0935 DEVANAGARI LETTER VA 0 101 Hindi (1) |
|
|
| श | U+0936 DEVANAGARI LETTER SHA 0 101 Hindi (1) |
|
|
| ष | U+0937 DEVANAGARI LETTER SSA 0 101 Hindi (1) |
|
|
| स | U+0938 DEVANAGARI LETTER SA 0 101 Hindi (1) |
|
|
| ह | U+0939 DEVANAGARI LETTER HA 0 101 Hindi (1) |
|
|
| ़ | U+093C DEVANAGARI SIGN NUKTA 0 101 109 Hindi (1) |
|
|
| ा | U+093E DEVANAGARI VOWEL SIGN AA 0 101 Hindi (1) |
|
|
| ाँ | U+093EU+0901 sequence of 2 DEVANAGARI VOWEL SIGN AA + DEVANAGARI SIGN CANDRABINDU |
|
ॉं
U+0949 + U+0902
blocked
|
| ि | U+093F DEVANAGARI VOWEL SIGN I 0 101 Hindi (1) |
|
|
| ी | U+0940 DEVANAGARI VOWEL SIGN II 0 101 Hindi (1) |
|
|
| ु | U+0941 DEVANAGARI VOWEL SIGN U 0 101 Hindi (1) |
|
|
| ू | U+0942 DEVANAGARI VOWEL SIGN UU 0 101 Hindi (1) |
|
|
| ृ | U+0943 DEVANAGARI VOWEL SIGN VOCALIC R 0 101 Hindi (1) |
|
|
| ॅ | U+0945 DEVANAGARI VOWEL SIGN CANDRA E 0 100 101 = candra; Hindi |
|
|
| ॅं | U+0945U+0902 sequence of 2 DEVANAGARI VOWEL SIGN CANDRA E + DEVANAGARI SIGN ANUSVARA |
|
ँ
U+0901
blocked
Devanagari variant
|
| े | U+0947 DEVANAGARI VOWEL SIGN E 0 101 Hindi (1) |
|
|
| ै | U+0948 DEVANAGARI VOWEL SIGN AI 0 101 Hindi (1) |
|
|
| ॉ | U+0949 DEVANAGARI VOWEL SIGN CANDRA O 0 100 Hindi (1) |
|
|
| ॉं | U+0949U+0902 sequence of 2 DEVANAGARI VOWEL SIGN CANDRA O + DEVANAGARI SIGN ANUSVARA |
|
ाँ
U+093E + U+0901
blocked
|
| ो | U+094B DEVANAGARI VOWEL SIGN O 0 101 Hindi (1) |
|
|
| ौ | U+094C DEVANAGARI VOWEL SIGN AU 0 101 Hindi (1) |
|
|
| ् | U+094D DEVANAGARI SIGN VIRAMA 0 101 = halant; suppresses inherent vowel: Hindi |
|
|
| ० | U+0966 DEVANAGARI DIGIT ZERO 0 DEVANAGARI DIGIT ZERO |
|
0
U+0030
blocked
ASCII digit variant
|
| १ | U+0967 DEVANAGARI DIGIT ONE 0 DEVANAGARI DIGIT ONE |
|
1
U+0031
blocked
ASCII digit variant
|
| २ | U+0968 DEVANAGARI DIGIT TWO 0 DEVANAGARI DIGIT TWO |
|
2
U+0032
blocked
ASCII digit variant
|
| ३ | U+0969 DEVANAGARI DIGIT THREE 0 DEVANAGARI DIGIT THREE |
|
3
U+0033
blocked
ASCII digit variant
|
| ४ | U+096A DEVANAGARI DIGIT FOUR 0 DEVANAGARI DIGIT FOUR |
|
4
U+0034
blocked
ASCII digit variant
|
| ५ | U+096B DEVANAGARI DIGIT FIVE 0 DEVANAGARI DIGIT FIVE |
|
5
U+0035
blocked
ASCII digit variant
|
| ६ | U+096C DEVANAGARI DIGIT SIX 0 DEVANAGARI DIGIT SIX |
|
6
U+0036
blocked
ASCII digit variant
|
| ७ | U+096D DEVANAGARI DIGIT SEVEN 0 DEVANAGARI DIGIT SEVEN |
|
7
U+0037
blocked
ASCII digit variant
|
| ८ | U+096E DEVANAGARI DIGIT EIGHT 0 DEVANAGARI DIGIT EIGHT |
|
8
U+0038
blocked
ASCII digit variant
|
| ९ | U+096F DEVANAGARI DIGIT NINE 0 DEVANAGARI 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.
-
ँॅं
Source Direction Target Disposition Ref Comment ँ U+0901 ↔ ॅं U+0945 + U+0902 blocked conditional Devanagari variant ↔ declared both ways ⇆ both ways, different disposition each way → one direction only
-
आँऑं
Source Direction Target Disposition Ref Comment आँ U+0906 + U+0901 ↔ ऑं U+0911 + U+0902 blocked Devanagari variant ↔ declared both ways ⇆ both ways, different disposition each way → one direction only
-
ऍंएँ
Source Direction Target Disposition Ref Comment ऍं U+090D + U+0902 ↔ एँ U+090F + U+0901 blocked ↔ declared both ways ⇆ both ways, different disposition each way → one direction only
-
ाँॉं
Source Direction Target Disposition Ref Comment ाँ U+093E + U+0901 ↔ ॉं U+0949 + U+0902 blocked ↔ declared both ways ⇆ both ways, different disposition each way → one direction only
Character classes
Named sets of code points that the rules below refer to.
| Name | Definition |
|---|---|
C |
{tag Consonant}
Any Devanagari consonant
|
C1 |
{tag C1}
Consonants followed by Devanagari Nukta
|
V |
{tag Vowel}
Any Devanagari independent vowel
|
M |
{tag Matra}
Any Devanagari vowel sign (matra)
|
H |
{tag Halant}
The Devanagari Halant (VIRAMA)
|
N |
{tag Nukta}
The Devanagari Nukta
|
common-digits |
{tag Common-digit}
Digits from the ASCII range MSR default
|
devanagari-digits |
{tag Devanagari-digit}
Devanagari 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-C1
Section 7, WLE 1: Rule for Nukta which restricts its preceding characters
(?<= {C1} ) ◆
Structure
-
(?<= {C1} )look-behind-
{C1}class
-
-
◆anchor
Referenced by 1 definition
- context of U+093C
follows-C-or-CN
Section 7, WLE 2, 3: Halant or matra characters can only be preceded by consonant or a Nukta which is preceded by a consonant
(?<= ( {C} │ ( {C} {N} ) ) ) ◆
Structure
-
(?<= ( {C} │ ( {C} {N} ) ) )look-behind-
( {C} │ ( {C} {N} ) )choice-
{C}class -
{C} {N}rule-
{C}class -
{N}class
-
-
-
-
◆anchor
Referenced by 18 definitions
- variant condition on U+0901
- context of U+093E
- context of U+093E U+0901
- context of U+093F
- context of U+0940
- context of U+0941
- context of U+0942
- context of U+0943
- context of U+0945
- context of U+0945 U+0902
- variant condition on U+0945 U+0902
- context of U+0947
follows-V-or-C-or-N-or-M
Section 7, WLE 4, 5, 6: Anusvara, Candrabindu or Visarga characters can only be preceded by either vowel or consonant or Nukta or matra
(?<= ( {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 3 definitions
- context of U+0901
- context of U+0902
- context of U+0903
preceded-by-H
Section 7, WLE 7: A vowel is not allowed to follow an H
(?<= {H} ) ◆
Structure
-
(?<= {H} )look-behind-
{H}class
-
-
◆anchor
Referenced by 17 definitions
- negative context of U+0905
- negative context of U+0906
- negative context of U+0906 U+0901
- negative context of U+0907
- negative context of U+0908
- negative context of U+0909
- negative context of U+090A
- negative context of U+090B
- negative context of U+090D
- negative context of U+090D U+0902
- negative context of U+090F
- negative context of U+090F U+0901
digit-mixing
restrictions on mixing digits
( ( {common-digits} .* {devanagari-digits} ) │ ( {devanagari-digits} .* {common-digits} ) )
Structure
-
( ( {common-digits} .* {devanagari-digits} ) │ ( {devanagari-digits} .* {common-digits} ) )choice-
{common-digits} .* {devanagari-digits}rule-
{common-digits}class -
.*any -
{devanagari-digits}class
-
-
{devanagari-digits} .* {common-digits}rule-
{devanagari-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 |