Malayalam

Malayalam (script)

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

Summary

Version2 — Second Level Reference LGR
Date
Tag und-Mlym (Malayalam)
Unicode11.0.0
Source filelgr-second-level-malayalam-script-25oct24-en.xml (39.2kb)

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

Overview

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

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

Repertoire

The repertoire contains 70 code points for letters used in the Malayalam language in addition to ten sequences used in defining variants. The repertoire is a subset of [Unicode 11.0.0]. For details, see Section 5, “Repertoire” in [Proposal-Malayalam]. (The proposal cited has been adopted for the Malayalam 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 91 repertoire elements.

Any code points outside the Malayalam 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. As such, this LGR does not define cross-script variants. However, using this LGR concurrently with any LGR for Tamil, Oriya, and Myanmar in the same zone will create potential cross-script issues. For details, see Section 6, “Variants” in [Proposal-Malayalam]. 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 added by concurrent use with the Tamil, Oriya, and Myanmar LGR(s) can be found in the following LGRs: [Ref-LGR-Tamil-Full-Variant-Script] and [Ref-LGR-Myanmar-Full-Variant-Script].

This LGR defines in-script variants as described in Section 6, “Variants”, in “[Proposal-Malayalam]”. One in-script variant is due to the multiple ways to write the conjunct “nta” in Malayalam.

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

By transitivity, all ASCII digits are semantic variants of any cross-script native digits. Any Malayalam label that is otherwise a cross-script variant of a label in another script, will remain a variant if both labels add digits of the same value in the same position, irrespective of whether they are ASCII digits or (in the case of the other script) native digits.

However, some Malayalam letters are homoglyphs of Malayalam native digits. For example, U+0D6A MALAYALAM DIGIT FOUR and U+0D6F MALAYALAM DIGIT NINE are homoglyphs of U+0D7C MALAYALAM CHILLU RR and U+0D7D MALAYALAM CHILLU N respectively.

Should an extension be contemplated that adds native digits, these might require variant relations. At the same time, however, any native digits would normally be semantic variants of the ASCII digits. In any zone containing multiple scripts, these two types of variant relation for digits may lead to complication once transitivity is applied.

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.

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

The basic characters in Malayalam are classified here into the following categories: Consonants, Vowels, Matra and Reordrant Vowel Diacritics, Halant, Visargam, Anusvaram and Chillu letters.

Consonant: Malayalam is written in an abugida script derived ultimately from Brahmi in which every consonant carries an inherent /a/. More details in Section 3.8, “The Structure of Malayalam Script" of [Proposal-Malayalam].

Vowels: Like consonants, the independent vowels can follow any other class of code points in a label.

Matra: Vowels other than the inherent vowel are written as vowel diacritics. They are referred to as Matras, when they follow consonants. More details in Section 3.8, “The Structure of Malayalam Script” of [Proposal-Malayalam].

Halant: A consonant can be combined with another consonant or conjunct using the halant encoded as U+0D4D MALAYALAM SIGN VIRAMA. This strips off the implicit vowel. More details in Section 3.8, “The Structure of Malayalam Script” of [Proposal-Malayalam].

Anusvaram: In Malayalam, anusvara represented as U+0D02, simply represents a consonant /m/ after a vowel, though this /m/ may be assimilated to another nasal consonant. More details in Section 3.8, “The Structure of Malayalam Script" of [Proposal-Malayalam].

Visargam: The visarga represents a consonant /h/ after a vowel, and is transliterated as ḥ. Like the anusvara, it is a special symbol, and is never followed by an inherent vowel or another vowel. More details in Section 3.8, “The Structure of Malayalam Script" of [Proposal-Malayalam].

Chillu: Chillu letters, aka “Chillaksharam”, represent pure consonants without any vowel sound. More details in Section 3.8, “The Structure of Malayalam Script” of [Proposal-Malayalam].

Reordrant: Vowel diacritics, part of which reorder around the preceding character or conjunct. More details in Sections 6.1 “In-script Variants” and 7.1.1 “Variables or definitions” of [Proposal-Malayalam].

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

Malayalam-specific Rules

There are constraints on the context for many of the character classes in Malayalam. A corresponding set of context and whole label rules has been formulated for LGR specification, as described in Section 7, “Whole Label Evaluation (WLE) Rules” in [Proposal-Malayalam].

The following symbols are used in the WLE rules:
C → Consonant
M → Matra
V → Vowel
B → Anusvara
X → Visarga
D → Chandrabindu
H → Halant
L → Chillu
R → Reordrant Matra

Note: the Reordrant Matras include one sequence. That requires an auxiliary rule R in addition to class R.

The rules are:

  • 1. H: must be preceded by C or U+0D41 VOWEL SIGN U
  • 2. M: must be preceded by C
  • 3. B: must be preceded by C, V or M
  • 4. X: must be preceded by C, V or M
  • 5. L: cannot be preceded by B, X or H
  • 6. A label does not begin with L

The following context rules apply to Consonants U+0D33 RRA and U+0D31 LLA as well as to sequences ending in these code points:

  • 7. The character U+0D33 cannot immediately follow U+0D33, except as part of a defined sequence
  • 8. The character U+0D31 cannot immediately follow U+0D31, except as part of a defined sequence

Note: the implementation of Rules 7 & 8 relies on the fact that a context rule is not evaluated between code points in the same sequence. For example, if a label contains two adjacent U+0D33 U+0D33 surrounded by other code points , the two code points can only be interpreted as the sequence U+0D33 U+0D33 because a singleton U+0D33 is not allowed to be followed by another U+0D33.

The following context rule applies to the sequence Chillu N + Halant (U+0D7B U+0D4D):

  • 9. The sequence U+0D7B U+0D4D must be preceded by C, L, M, V and must be followed by U+0D31 RRA

The following context rules apply to variants:

  • V1: A variant is defined when followed by U+0D31
  • V2: A variant preceded by U+0D33 + Halant or followed by R or Halant + U+0D33 is not defined
  • V3: A variant preceded by U+0D31 + Halant or followed by R or Halant + U+0D31 is not defined

These rules ensure that the variant label sets are well-behaved in cases where variant sequences overlap.

Note: any sequences ending with U+0D31 RRA would overlap with the various variant sequences beginning with 0D31, therefore this LGR drops the U+0D31 from the end of these sequences, but adds context rule V1, when="followed-by-0D31" instead. Because all the variants also end in U+0D31, this results in the same generated variants as if the sequences had been defined with trailing U+0D31, but now the variants are well-behaved in all contexts.

More details in Section 6.1, “In-script Variants” and Section 7, “Whole Label Evaluation Rules (WLE)” of [Proposal-Malayalam].

There are a number of cross-script homoglyphs to U+0D31 RRA, which would interact with the definition of in-script sequences and variants, leading to unacceptable complexity. These variants would affect only labels made solely of letters RRA, and no other labels. Rule 8 already restricts labels consisting solely of copies of the letter RRA to either “റ” or “ററ”, thus allowing only two such labels. The following rule disallows the remaining two possible labels, obviating any need to define these cross-script variants.

  • 10. A label cannot consist solely of letters U+0D31 RRA

Malayalam-specific actions

WLE rules 6 and 10 trigger Malayalam-specific actions to invalidate any original and variant labels not satisfying the constraints. See Section 7, “Whole Label Evaluation (WLE) Rules” in [Proposal-Malayalam].

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 Malayalam Script was developed by Michel Suignard and Asmus Freytag, based on the Root Zone LGR for the Malayalam script and information contained or referenced therein; see [RZ-LGR-Mlym]. 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 Malayalam 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-Malayalam], 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 Malayalam Script [Ref-LGR-und-Mlym] 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, 25 October 2024), https://www.icann.org/en/system/files/files/level2-lgr-overview-summary-25oct24-en.pdf
[Proposal-Malayalam]
Neo-Brahmi Generation Panel, “Proposal for a Malayalam Script Root Zone Label Generation Ruleset (LGR)”, 7 May 2020, https://www.icann.org/en/system/files/files/proposal-malayalam-lgr-07may19-en.pdf
[Ref-LGR-und-Mlym]
ICANN, Second Level Reference Label Generation Rules for the Malayalam Script (und-Mlym), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-malayalam-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-malayalam-script-25oct24-en.html
[Ref-LGR-Myanmar-Full-Variant-Script]
ICANN, Second Level Reference Label Generation Rules for the Myanmar Script (und-Mymr), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-myanmar-full-variant-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-myanmar-full-variant-script-25oct24-en.html
[Ref-LGR-Tamil-Full-Variant-Script]
ICANN, Second Level Reference Label Generation Rules for the Tamil Script (und-Taml), 25 October 2024 (XML) https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-tamil-full-variant-script-25oct24-en.xml non-normative HTML presentation: https://www.icann.org/sites/default/files/packages/lgr/lgr-second-level-tamil-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-Mlym]
ICANN, Root Zone Label Generation Rules for the Malayalam Script (und-Mlym), 26 May 2022 (XML) https://www.icann.org/sites/default/files/lgr/rz-lgr-5-malayalam-script-26may22-en.xml
[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
[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 Malayalam Script for the second level please see details in the Table of References below.

References [0] to [9] refer to the Unicode Standard versions in which the corresponding code points were initially encoded. Reference [106] corresponds to a source given in [Proposal-Malayalam] 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+0D02 MALAYALAM SIGN ANUSVARA 0 106 MALAYALAM SIGN ANUSVARA TagAnusvaramTagsc:Mlym Contextfollows-C-V-or-M
ഃ U+0D03 MALAYALAM SIGN VISARGA 0 106 MALAYALAM SIGN VISARGA Tagsc:MlymTagVisargam Contextfollows-C-V-or-M
അ U+0D05 MALAYALAM LETTER A 0 106 MALAYALAM LETTER A Tagsc:MlymTagVowel
ആ U+0D06 MALAYALAM LETTER AA 0 106 MALAYALAM LETTER AA Tagsc:MlymTagVowel
ഇ U+0D07 MALAYALAM LETTER I 0 106 MALAYALAM LETTER I Tagsc:MlymTagVowel
ഈ U+0D08 MALAYALAM LETTER II 0 106 MALAYALAM LETTER II Tagsc:MlymTagVowel
ഉ U+0D09 MALAYALAM LETTER U 0 106 MALAYALAM LETTER U Tagsc:MlymTagVowel
ഊ U+0D0A MALAYALAM LETTER UU 0 106 MALAYALAM LETTER UU Tagsc:MlymTagVowel
ഋ U+0D0B MALAYALAM LETTER VOCALIC R 0 106 MALAYALAM LETTER VOCALIC R Tagsc:MlymTagVowel
എ U+0D0E MALAYALAM LETTER E 0 106 MALAYALAM LETTER E Tagsc:MlymTagVowel
ഏ U+0D0F MALAYALAM LETTER EE 0 106 MALAYALAM LETTER EE Tagsc:MlymTagVowel
ഐ U+0D10 MALAYALAM LETTER AI 0 106 MALAYALAM LETTER AI Tagsc:MlymTagVowel
ഒ U+0D12 MALAYALAM LETTER O 0 106 MALAYALAM LETTER O Tagsc:MlymTagVowel
ഓ U+0D13 MALAYALAM LETTER OO 0 106 MALAYALAM LETTER OO Tagsc:MlymTagVowel
ഔ U+0D14 MALAYALAM LETTER AU 0 106 MALAYALAM LETTER AU Tagsc:MlymTagVowel
ക U+0D15 MALAYALAM LETTER KA 0 106 MALAYALAM LETTER KA TagConsonantTagsc:Mlym
ഖ U+0D16 MALAYALAM LETTER KHA 0 106 MALAYALAM LETTER KHA TagConsonantTagsc:Mlym
ഗ U+0D17 MALAYALAM LETTER GA 0 106 MALAYALAM LETTER GA TagConsonantTagsc:Mlym
ഘ U+0D18 MALAYALAM LETTER GHA 0 106 MALAYALAM LETTER GHA TagConsonantTagsc:Mlym
ങ U+0D19 MALAYALAM LETTER NGA 0 106 MALAYALAM LETTER NGA TagConsonantTagsc:Mlym
ച U+0D1A MALAYALAM LETTER CA 0 106 MALAYALAM LETTER CA TagConsonantTagsc:Mlym
ഛ U+0D1B MALAYALAM LETTER CHA 0 106 MALAYALAM LETTER CHA TagConsonantTagsc:Mlym
ജ U+0D1C MALAYALAM LETTER JA 0 106 MALAYALAM LETTER JA TagConsonantTagsc:Mlym
ഝ U+0D1D MALAYALAM LETTER JHA 0 106 MALAYALAM LETTER JHA TagConsonantTagsc:Mlym
ഞ U+0D1E MALAYALAM LETTER NYA 0 106 MALAYALAM LETTER NYA TagConsonantTagsc:Mlym
ട U+0D1F MALAYALAM LETTER TTA 0 106 MALAYALAM LETTER TTA TagConsonantTagsc:Mlym
ഠ U+0D20 MALAYALAM LETTER TTHA 0 106 MALAYALAM LETTER TTHA TagConsonantTagsc:Mlym
ഡ U+0D21 MALAYALAM LETTER DDA 0 106 MALAYALAM LETTER DDA TagConsonantTagsc:Mlym
ഢ U+0D22 MALAYALAM LETTER DDHA 0 106 MALAYALAM LETTER DDHA TagConsonantTagsc:Mlym
ണ U+0D23 MALAYALAM LETTER NNA 0 106 MALAYALAM LETTER NNA TagConsonantTagsc:Mlym
ത U+0D24 MALAYALAM LETTER TA 0 106 MALAYALAM LETTER TA TagConsonantTagsc:Mlym
ഥ U+0D25 MALAYALAM LETTER THA 0 106 MALAYALAM LETTER THA TagConsonantTagsc:Mlym
ദ U+0D26 MALAYALAM LETTER DA 0 106 MALAYALAM LETTER DA TagConsonantTagsc:Mlym
ധ U+0D27 MALAYALAM LETTER DHA 0 106 MALAYALAM LETTER DHA TagConsonantTagsc:Mlym
ന U+0D28 MALAYALAM LETTER NA 0 106 MALAYALAM LETTER NA TagConsonantTagsc:Mlym
ന് U+0D28U+0D4D sequence of 2 MALAYALAM LETTER NA + MALAYALAM SIGN VIRAMA 0 106 Contextnot follows-B-X-or-H ൻ U+0D7B blocked ൻ് U+0D7B + U+0D4D blocked
പ U+0D2A MALAYALAM LETTER PA 0 106 MALAYALAM LETTER PA TagConsonantTagsc:Mlym
ഫ U+0D2B MALAYALAM LETTER PHA 0 106 MALAYALAM LETTER PHA TagConsonantTagsc:Mlym
ബ U+0D2C MALAYALAM LETTER BA 0 106 MALAYALAM LETTER BA TagConsonantTagsc:Mlym
ഭ U+0D2D MALAYALAM LETTER BHA 0 106 MALAYALAM LETTER BHA TagConsonantTagsc:Mlym
മ U+0D2E MALAYALAM LETTER MA 0 106 MALAYALAM LETTER MA TagConsonantTagsc:Mlym
യ U+0D2F MALAYALAM LETTER YA 0 106 MALAYALAM LETTER YA TagConsonantTagsc:Mlym
ര U+0D30 MALAYALAM LETTER RA 0 106 MALAYALAM LETTER RA TagConsonantTagsc:Mlym
റ U+0D31 MALAYALAM LETTER RRA 0 106 MALAYALAM LETTER RRA TagConsonantTagsc:Mlym Contextnot follows-0D31
ററ U+0D31U+0D31 sequence of 2 MALAYALAM LETTER RRA + MALAYALAM LETTER RRA Contextnot follows-0D31 റ്റ U+0D31 + U+0D4D + U+0D31 blocked
ററ്റ U+0D31U+0D31U+0D4DU+0D31 sequence of 4 MALAYALAM LETTER RRA + MALAYALAM LETTER RRA + MALAYALAM SIGN VIRAMA + MALAYALAM LETTER RRA Contextnot follows-0D31 റ്ററ U+0D31 + U+0D4D + U+0D31 + U+0D31 blocked
റ്റ U+0D31U+0D4DU+0D31 sequence of 3 MALAYALAM LETTER RRA + MALAYALAM SIGN VIRAMA + MALAYALAM LETTER RRA Contextnot follows-0D31 ററ U+0D31 + U+0D31 blocked
റ്ററ U+0D31U+0D4DU+0D31U+0D31 sequence of 4 MALAYALAM LETTER RRA + MALAYALAM SIGN VIRAMA + MALAYALAM LETTER RRA + MALAYALAM LETTER RRA Contextnot follows-0D31 ററ്റ U+0D31 + U+0D31 + U+0D4D + U+0D31 blocked
ല U+0D32 MALAYALAM LETTER LA 0 106 MALAYALAM LETTER LA TagConsonantTagsc:Mlym
ള U+0D33 MALAYALAM LETTER LLA 0 106 MALAYALAM LETTER LLA TagConsonantTagsc:Mlym Contextnot follows-0D33
ളള U+0D33U+0D33 sequence of 2 MALAYALAM LETTER LLA + MALAYALAM LETTER LLA Contextnot follows-0D33 ള്ള U+0D33 + U+0D4D + U+0D33 blocked
ളള്ള U+0D33U+0D33U+0D4DU+0D33 sequence of 4 MALAYALAM LETTER LLA + MALAYALAM LETTER LLA + MALAYALAM SIGN VIRAMA + MALAYALAM LETTER LLA Contextnot follows-0D33 ള്ളള U+0D33 + U+0D4D + U+0D33 + U+0D33 blocked
ള്ള U+0D33U+0D4DU+0D33 sequence of 3 MALAYALAM LETTER LLA + MALAYALAM SIGN VIRAMA + MALAYALAM LETTER LLA Contextnot follows-0D33 ളള U+0D33 + U+0D33 blocked
ള്ളള U+0D33U+0D4DU+0D33U+0D33 sequence of 4 MALAYALAM LETTER LLA + MALAYALAM SIGN VIRAMA + MALAYALAM LETTER LLA + MALAYALAM LETTER LLA Contextnot follows-0D33 ളള്ള U+0D33 + U+0D33 + U+0D4D + U+0D33 blocked
ഴ U+0D34 MALAYALAM LETTER LLLA 0 106 MALAYALAM LETTER LLLA TagConsonantTagsc:Mlym
വ U+0D35 MALAYALAM LETTER VA 0 106 MALAYALAM LETTER VA TagConsonantTagsc:Mlym
ശ U+0D36 MALAYALAM LETTER SHA 0 106 MALAYALAM LETTER SHA TagConsonantTagsc:Mlym
ഷ U+0D37 MALAYALAM LETTER SSA 0 106 MALAYALAM LETTER SSA TagConsonantTagsc:Mlym
സ U+0D38 MALAYALAM LETTER SA 0 106 MALAYALAM LETTER SA TagConsonantTagsc:Mlym
ഹ U+0D39 MALAYALAM LETTER HA 0 106 MALAYALAM LETTER HA TagConsonantTagsc:Mlym
ാ U+0D3E MALAYALAM VOWEL SIGN AA 0 106 MALAYALAM VOWEL SIGN AA TagMatraTagsc:Mlym Contextfollows-C
ി U+0D3F MALAYALAM VOWEL SIGN I 0 106 MALAYALAM VOWEL SIGN I TagMatraTagsc:Mlym Contextfollows-C
ീ U+0D40 MALAYALAM VOWEL SIGN II 0 106 MALAYALAM VOWEL SIGN II TagMatraTagsc:Mlym Contextfollows-C
ു U+0D41 MALAYALAM VOWEL SIGN U 0 106 MALAYALAM VOWEL SIGN U TagMatraTagsc:Mlym Contextfollows-C
ൂ U+0D42 MALAYALAM VOWEL SIGN UU 0 106 MALAYALAM VOWEL SIGN UU TagMatraTagsc:Mlym Contextfollows-C
ൃ U+0D43 MALAYALAM VOWEL SIGN VOCALIC R 0 106 MALAYALAM VOWEL SIGN VOCALIC R TagMatraTagsc:Mlym Contextfollows-C
െ U+0D46 MALAYALAM VOWEL SIGN E 0 106 MALAYALAM VOWEL SIGN E TagMatraTagRTagsc:Mlym Contextfollows-C
േ U+0D47 MALAYALAM VOWEL SIGN EE 0 106 MALAYALAM VOWEL SIGN EE TagMatraTagRTagsc:Mlym Contextfollows-C
ൈ U+0D48 MALAYALAM VOWEL SIGN AI 0 106 MALAYALAM VOWEL SIGN AI TagMatraTagRTagsc:Mlym Contextfollows-C
ൊ U+0D4A MALAYALAM VOWEL SIGN O 0 106 MALAYALAM VOWEL SIGN O TagMatraTagRTagsc:Mlym Contextfollows-C
ോ U+0D4B MALAYALAM VOWEL SIGN OO 0 106 MALAYALAM VOWEL SIGN OO TagMatraTagRTagsc:Mlym Contextfollows-C
് U+0D4D MALAYALAM SIGN VIRAMA 0 106 MALAYALAM SIGN VIRAMA TagHalantTagsc:Mlym Contextfollows-C-or-0D41
ൗ U+0D57 MALAYALAM AU LENGTH MARK 0 106 MALAYALAM AU LENGTH MARK TagMatraTagsc:Mlym Contextfollows-C
ൺ U+0D7A MALAYALAM LETTER CHILLU NN 9 106 MALAYALAM LETTER CHILLU NN TagChilluTagsc:Mlym Contextnot follows-B-X-or-H
ൻ U+0D7B MALAYALAM LETTER CHILLU N 9 106 MALAYALAM LETTER CHILLU N TagChilluTagsc:Mlym Contextnot follows-B-X-or-H ന് U+0D28 + U+0D4D blocked ൻ് U+0D7B + U+0D4D blocked
ൻ് U+0D7BU+0D4D sequence of 2 MALAYALAM LETTER CHILLU N + MALAYALAM SIGN VIRAMA Contextfollows-C-L-M-V-and-followed-by-03D1 ന് U+0D28 + U+0D4D blocked ൻ U+0D7B blocked
ർ U+0D7C MALAYALAM LETTER CHILLU RR 9 106 MALAYALAM LETTER CHILLU RR TagChilluTagsc:Mlym Contextnot follows-B-X-or-H
ൽ U+0D7D MALAYALAM LETTER CHILLU L 9 106 MALAYALAM LETTER CHILLU L TagChilluTagsc:Mlym Contextnot follows-B-X-or-H
ൾ U+0D7E MALAYALAM LETTER CHILLU LL 9 106 MALAYALAM LETTER CHILLU LL TagChilluTagsc:Mlym Contextnot follows-B-X-or-H
ൿ U+0D7F MALAYALAM LETTER CHILLU K 9 106 MALAYALAM LETTER CHILLU K TagChilluTagsc:Mlym Contextnot follows-B-X-or-H

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.

5 variant sets, containing 14 variants.

Character classes

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

NameDefinition
C {tag Consonant} Any Malayalam consonant
V {tag Vowel} Any Malayalam independent vowel
M {tag Matra} Any Malayalam vowel sign (matra)
H {tag Halant} The Malayalam Halant/Virama
B {tag Anusvaram} The Malayalam Anusvaram
X {tag Visargam} The Malayalam Visargam
L {tag Chillu} Any Malayalam chillu (consonant without any vowel sound)
R {tag R} Any Malayalam reordrant vowel sign

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-C-or-0D41

Section 7, WLE 1: Rule 1: H must be preceded by C or U+0D41

(?<= ( {C} │ U+0D41 ) ) ◆
Structure
  • (?<= ( {C} │ U+0D41 ) ) look-behind
    • ( {C} │ U+0D41 ) choice
      • {C} class
      • U+0D41 char MALAYALAM VOWEL SIGN U
  • ◆ anchor
Referenced by 1 definition
  • context of U+0D4D

follows-C

Section 7, WLE 2: M must be preceded by C

(?<= {C} ) ◆
Structure
  • (?<= {C} ) look-behind
    • {C} class
  • ◆ anchor
Referenced by 12 definitions
  • context of U+0D3E
  • context of U+0D3F
  • context of U+0D40
  • context of U+0D41
  • context of U+0D42
  • context of U+0D43
  • context of U+0D46
  • context of U+0D47
  • context of U+0D48
  • context of U+0D4A
  • context of U+0D4B
  • context of U+0D57

follows-C-V-or-M

Section 7, WLE 3: B must be preceded by C, V or M and WLE 4: X must be preceded by C, V or M

(?<= ( {C} │ {V} │ {M} ) ) ◆
Structure
  • (?<= ( {C} │ {V} │ {M} ) ) look-behind
    • ( {C} │ {V} │ {M} ) choice
      • {C} class
      • {V} class
      • {M} class
  • ◆ anchor
Referenced by 2 definitions
  • context of U+0D02
  • context of U+0D03

follows-B-X-or-H

Section 7, WLE 5: L cannot be preceded by B, X or H

(?<= ( {B} │ {X} │ {H} ) ) ◆
Structure
  • (?<= ( {B} │ {X} │ {H} ) ) look-behind
    • ( {B} │ {X} │ {H} ) choice
      • {B} class
      • {X} class
      • {H} class
  • ◆ anchor
Referenced by 7 definitions
  • negative context of U+0D28 U+0D4D
  • negative context of U+0D7A
  • negative context of U+0D7B
  • negative context of U+0D7C
  • negative context of U+0D7D
  • negative context of U+0D7E
  • negative context of U+0D7F

begins-with-L

Section 7, WLE 6: Label does not begin with L

^ {L}
Referenced by 1 definition
  • action 2 (invalid)

follows-0D33

Section 7, WLE 7. The character U+0D33 cannot immediately follow U+0D33, except as part of a defined sequence

(?<= U+0D33 ) ◆
Structure
  • (?<= U+0D33 ) look-behind
    • U+0D33 char
  • ◆ anchor
Referenced by 5 definitions
  • negative context of U+0D33
  • negative context of U+0D33 U+0D33
  • negative context of U+0D33 U+0D33 U+0D4D U+0D33
  • negative context of U+0D33 U+0D4D U+0D33
  • negative context of U+0D33 U+0D4D U+0D33 U+0D33

follows-0D31

Section 7, WLE 8. The character U+0D31 cannot immediately follow U+0D31, except as part of a defined sequence

(?<= U+0D31 ) ◆
Structure
  • (?<= U+0D31 ) look-behind
    • U+0D31 char
  • ◆ anchor
Referenced by 5 definitions
  • negative context of U+0D31
  • negative context of U+0D31 U+0D31
  • negative context of U+0D31 U+0D31 U+0D4D U+0D31
  • negative context of U+0D31 U+0D4D U+0D31
  • negative context of U+0D31 U+0D4D U+0D31 U+0D31

follows-C-L-M-V-and-followed-by-03D1

Section 7, WLE 9: Sequence U+0D7B U+0D4D must be preceded by C, L, M, V and must be followed by U+0D31

(?<= ( {C} │ {L} │ {M} │ {V} ) ) ◆ (?= U+0D31 )
Structure
  • (?<= ( {C} │ {L} │ {M} │ {V} ) ) look-behind
    • ( {C} │ {L} │ {M} │ {V} ) choice
      • {C} class
      • {L} class
      • {M} class
      • {V} class
  • ◆ anchor
  • (?= U+0D31 ) look-ahead
    • U+0D31 char
Referenced by 1 definition
  • context of U+0D7B U+0D4D

reordrant-matra

Reordrant matras, including sequence U+0D4D U+0D30

( {R} │ U+0D4D U+0D30 )
Structure
  • ( {R} │ U+0D4D U+0D30 ) choice
    • {R} class
    • U+0D4D U+0D30 char
Referenced by 3 definitions
  • rule followed-by-R
  • rule follows-0D33-0D4D-or-followed-by-0D4D-0D33-or-R
  • rule follows-0D31-0D4D-or-followed-by-0D4D-0D31-or-R

followed-by-R

variant not defined if followed by reordrant matra

◆ (?= ⟨reordrant-matra⟩ )
Structure
  • ◆ anchor
  • (?= ⟨reordrant-matra⟩ ) look-ahead
    • ⟨reordrant-matra⟩ rule
Referenced by 4 definitions
  • negative variant condition on U+0D31 U+0D31 U+0D4D U+0D31
  • negative variant condition on U+0D31 U+0D4D U+0D31 U+0D31
  • negative variant condition on U+0D33 U+0D33 U+0D4D U+0D33
  • negative variant condition on U+0D33 U+0D4D U+0D33 U+0D33

followed-by-0D31

Section 6.1, V1: A variant is defined when followed by U+0D31

◆ (?= U+0D31 )
Structure
  • ◆ anchor
  • (?= U+0D31 ) look-ahead
    • U+0D31 char
Referenced by 6 definitions
  • variant condition on U+0D28 U+0D4D
  • variant condition on U+0D28 U+0D4D
  • variant condition on U+0D7B
  • variant condition on U+0D7B
  • variant condition on U+0D7B U+0D4D
  • variant condition on U+0D7B U+0D4D

follows-0D33-0D4D-or-followed-by-0D4D-0D33-or-R

Section 6.1, V2: variant not defined if preceded by U+0D33 + Halant or followed by Halant + U+0D33 or R

( ( (?<= U+0D33 U+0D4D ) ◆ ) │ ( ◆ (?= ( U+0D4D U+0D33 │ ⟨reordrant-matra⟩ ) ) ) )
Structure
  • ( ( (?<= U+0D33 U+0D4D ) ◆ ) │ ( ◆ (?= ( U+0D4D U+0D33 │ ⟨reordrant-matra⟩ ) ) ) ) choice
    • (?<= U+0D33 U+0D4D ) ◆ rule
      • (?<= U+0D33 U+0D4D ) look-behind
        • U+0D33 U+0D4D char
      • ◆ anchor
    • ◆ (?= ( U+0D4D U+0D33 │ ⟨reordrant-matra⟩ ) ) rule
      • ◆ anchor
      • (?= ( U+0D4D U+0D33 │ ⟨reordrant-matra⟩ ) ) look-ahead
        • ( U+0D4D U+0D33 │ ⟨reordrant-matra⟩ ) choice
          • U+0D4D U+0D33 char
          • ⟨reordrant-matra⟩ rule
Referenced by 2 definitions
  • negative variant condition on U+0D33 U+0D33
  • negative variant condition on U+0D33 U+0D4D U+0D33

follows-0D31-0D4D-or-followed-by-0D4D-0D31-or-R

Section 6.1, V3: variant not defined if preceded by U+0D31 + Halant or followed by Halant + U+0D31 or R

( ( (?<= U+0D31 U+0D4D ) ◆ ) │ ( ◆ (?= ( U+0D4D U+0D31 │ ⟨reordrant-matra⟩ ) ) ) )
Structure
  • ( ( (?<= U+0D31 U+0D4D ) ◆ ) │ ( ◆ (?= ( U+0D4D U+0D31 │ ⟨reordrant-matra⟩ ) ) ) ) choice
    • (?<= U+0D31 U+0D4D ) ◆ rule
      • (?<= U+0D31 U+0D4D ) look-behind
        • U+0D31 U+0D4D char
      • ◆ anchor
    • ◆ (?= ( U+0D4D U+0D31 │ ⟨reordrant-matra⟩ ) ) rule
      • ◆ anchor
      • (?= ( U+0D4D U+0D31 │ ⟨reordrant-matra⟩ ) ) look-ahead
        • ( U+0D4D U+0D31 │ ⟨reordrant-matra⟩ ) choice
          • U+0D4D U+0D31 char
          • ⟨reordrant-matra⟩ rule
Referenced by 2 definitions
  • negative variant condition on U+0D31 U+0D31
  • negative variant condition on U+0D31 U+0D4D U+0D31

only-RRA

Section 7, WLE 10: Labels consisting solely of the letter RRA are disallowed to limit cross-script interaction

^ U+0D31+ $
Referenced by 1 definition
  • action 3 (invalid)

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 label matches begins-with-L Section 7, WLE 6: Label does not begin with L
3 invalid label matches only-RRA Section 7, WLE 10: Label cannot contain only RRA
4 invalid any variant is out-of-repertoire-var any variant label with a code point out of repertoire is invalid MSR default
5 blocked any variant is blocked any variant label containing blocked variants is blocked MSR default
6 allocatable all variants are allocatable variant labels with all variants allocatable are allocatable MSR default
7 valid any label default catch all; default action MSR default

References

RefSource
0 The Unicode Standard, Version 1.1
Any code point originally encoded in Unicode Version 1.1
9 The Unicode Standard, Version 5.1
Any code point originally encoded in Unicode Version 5.1
106 Omniglot, “Malayalam (മലയാളം):” https://www.omniglot.com/writing/malayalam.htm (Accessed on 5th July, 2018)
150 RFC 5891, Internationalized Domain Names in Applications (IDNA): Protocol https://tools.ietf.org/html/rfc5891