<?xml version='1.0' encoding='utf-8'?>
<lgr xmlns="urn:ietf:params:xml:ns:lgr-1.0">
  <meta>
    <version comment="Proposed LGR for Bengali(Bangla)">4</version>
    <date>2020-05-20</date>
    <unicode-version>6.3.0</unicode-version>
    <language>und-Beng</language>
    <scope type="domain">.</scope>
    <description type="text/html"><![CDATA[
    <h1>Label Generation Rules for Bengali(Bangla) script version 5</h1>
    
	<h2>Overview</h2>
    <p>This file contains Label Generation Rules (LGR) for the Bengali (Bangla) script as would be appropriate for the 
    Root zone. For more details on this proposal see "Proposal for a Bengali Script Root Zone Label Generation Ruleset (LGR)" [Proposal]. 
	The format of this file follows [RFC 7940].</p>
	
    <p>This LGR covers Assamese, Bengali, Manipuri and a number of other languages written with the Bengali script.</p>
	<h2>Repertoire</h2>
    <p>According to Section 5, "Repertoire" in [Proposal], the Bengali LGR contains 61 unique code points, 9 code point sequences.
    Out of nine sequences: two sequences override WLE constraint, three sequences were defined to restrict U+09BC from appearing 
    in any context other that these sequences, the other four sequences were defined for in-script variants. This brings the
    total number of elements in repertoire to 70.”</p>
		
	<p>The repertoire is based on [MSR-4], which is a subset of Unicode 6.3 [Unicode 6.3].</p>
	
	<p>Each code point is tagged with the script or scripts that the code point is used with, a category value, 
	and one or more references documenting sufficient justification for inclusion in the repertoire, see "References" below. 
	For code points that are part of the repertoire, comments identify the languages using the code point.</p>
      
    <h2>Variants</h2>
    <p>According to Section 6 "Variants", in "[Proposal]", this LGR defines in-script variants and cross-script variants 
    which are "Confusing due to deviation from normally perceived character formations by the larger linguistic 
	community". 
	There are three in-script variants; two sequence sets and one set for variation of RA. See section 6.1.
	There are four cross-script variants; two sets with to Gurmukhi and the other two sets with Devanagari. See section 6.2.  
	</p>

	<p>Variant Disposition: The in-script variant pair U+09B0 and U+09F0 is of type &ldquo;allocatable&ldquo;. All other variants are of type &ldquo;blocked&rdquo;, making labels that differ only 
	by these variants mutually exclusive:  whichever label containing either of these variants is chosen earlier, 
	the other one equivalent variant label should be blocked. There is no preference among these variants.</p>
      
    <h2>Character Classes</h2>
	<p>Consonants: All consonants contain an implicit vowel. More 
	details in Section "3.3.1 The Consonants" of the [Proposal].</p>

	<p>Hasanta: A special sign is needed whenever the 
	implicit vowel in the preceding consonant is stripped off. This symbol is also known as the Halant or Virāma’. More 
	details in Section "3.3.2 The Implicit Vowel Killer: Hasanta" of the [Proposal].</p>
	
	<p>Vowels: Separate symbols exist for all ‘Swara’ or Vowels in Bengali, which are pronounced independently 
	either at the beginning of the word or after another vowel or consonant sound. To indicate a Vowel sound 
	other than the implicit one, a Vowel sign (Mātrā) is attached to the consonant. More details in Section 
	"3.3.3 Vowels" of the [Proposal]. </p>

	<p>Anusvara: The Anusvara represents a homorganic nasal. It replaces a conjunct group of a Nasal 
	Consonant+Halant+Consonant belonging to that particular barga or set. Before a non-barga consonant, 
	the anusvara represents a nasal sound. More details in Section "3.3.4 The Anusvara" of the [Proposal]. </p>

	<p>Candrabindu: Candrabindu denotes nasalization of the preceding vowel as in চাঁদ /cãd/ ‘moon’ 
	(U+099A U+09BE U+0981 U+09A6). This sign with a dot inside the half-moon mark is used as nasalization 
	marker in many Indian scripts. More details in Section "3.3.5 Nasalization: Candrabindu" of the [Proposal]. </p>
	
	<p> Visarga and Avagraha: The Visarga U+0983 is frequently used in Bengali  loanwords borrowed from 
	Sanskrit and represents a sound very close to /h/. More details in Section "3.3.7 Visarga and Avagraha" of the [Proposal]. </p>

	<p> Ya-phala are two instances in Bangla where Hasanta is preceded by a full vowel (U+0985 অ - BENGALI LETTER A and U+098F এ - BENGALI LETTER E). 
	More details in Section "3.3.9 Use of Ya-phala" of the [Proposal]. </p>
		
	<p> Ra-phala and Ref Sequences: RA+Hasanta (Repha or Ra-phala sequences). More details in Section "3.3.10 Ra-phala and Ref Sequences" of the [Proposal]. </p>
		
	<p> Nukta is listed by itself in the repertoire, it is only included in three sequences. 
		More details in Section "3.3.6 Nukta" of the [Proposal]. </p>

	<p> Zero Width Non-joiner(ZWNJ),Zero Width Joiner (U+200D), are not included in the repertoire. 
		Section "3.3.8 Zero Width Non-joiner (U+200C) and Zero Width Joiner (U+200D)" of the [Proposal]. </p>

    <h2>Whole Label Evaluation (WLE) rules</h2>
	<h3>Default Whole Label Evaluation Rules</h3>
	<p>The LGR includes the set of required default WLE rules and actions applicable to 
		the Root Zone and defined in [MSR-4]. They are marked with &#x235F;.</p> 
		
	<h3>Bengali specific Rules</h3>
	<p>These rules have been formulated so that they can be adopted for  LGR specification.</p>
	<p>Following symbols are used in the WLE rules: 
	<br/>C	→	Consonant
	<br/>M 	→	Kar (Matra)
	<br/>V	→	Vowel
	<br/>B	→	Onushshar (Anusvara)
	<br/>X	→	Biśarga (Visarga)
    <br/>D	→	Candrabindu		
	<br/>H	→	Hasanta (Halant)
	<br/>Z	→	KhandaTa
	<br/>P	→	Ra-Hasanta  
	<br/>S	→	(a/e) Ya-phalā 
	</p>
	
	<p>The rules are: </p>
	 <ul>
	 	<li>H: must be preceded by C</li>
		<li>M: must be preceded by C</li>
		<li>D: must be preceded by either of V, C, M</li>
		<li>X: must be preceded by either of V, C, M, D</li>
		<li>B: must be preceded by either of V, C, M, D</li>
		<li>Z: must be preceded by V, C, M, D, B, X, P</li>
		<li>V: CANNOT be preceded by H</li>   
		<li>S: CANNOT be preceded by H</li>
		<li>09B0(র)and 09F0(ৰ) CANNOT be mixed
	 </ul>
	
	 <p>More details in Section "7	Whole Label Evaluation Rules (WLE)" of the [Proposal] </p>
	
	<h2>Overall Development Process and Methodology</h2>
	<p>Under the Neo-Brahmi Generation Panel, there are many different scripts 
	belonging to separate Unicode blocks. Each of these scripts has been assigned 
	a separate LGR; however Neo-Brahmi GP ensured that the fundamental philosophy 
	behind building those LGRs are all in sync with all other Brahmi derived 
	scripts. This is the Bengali LGR, which caters to Bengali language written 
	using the Bengali script.</p>
	
	<h2>References</h2> 
	<p>The following references are cited in this document:</p>
	<dl class="references">

	<dt>[MSR-4]</dt>
	 <dd>Integration Panel, "Maximal Starting Repertoire — MSR-4 Overview and Rationale", 7 February 2019
	 https://www.icann.org/en/system/files/files/msr-4-overview-25jan19-en.pdf
	 </dd>

	<dt>[Proposal]</dt> 
	<dd>Neo-Brahmi Generation Panel, “Proposal for a Bangla (Bengali) Script Root Zone Label 
	     Generation Rule-Set (LGR)”, 20 May 2020, https://www.icann.org/en/system/files/files/proposal-bengali-lgr-20may20-en.pdf
	</dd>

	<dt>[RFC 7940]</dt>
	 <dd>Davies, K. and A. Freytag, "Representing Label Generation Rulesets Using XML", RFC 7940, August 2016, http://www.rfc-editor.org/info/rfc7940. 
	 </dd> 
	 
	 <dt>[Unicode 6.3]</dt>
	 <dd>The Unicode Consortium. The Unicode Standard, Version 6.3.0, (Mountain View, CA: The Unicode Consortium, 2013. ISBN 978-1-936213-08-5) 
	 http://www.unicode.org/versions/Unicode6.3.0/</dd>
	 </dl>
	<p>References [101] through [128] listed below document the use of specific code points.</p>
]]></description>
    <references>
      <reference id="101">Bandyopadhyay, Chittaranjan. 1981. Dui Shataker Bangla Mudran o Prakashan.  Kolkata: Ananda Publishers.	  </reference>
      <reference id="102">Banerji, R.D. 1919. The Origin of the bengali Script. Kolkata. New Delhi; Asian Educational Services; 2003 reprint.</reference>
      <reference id="103">Chatterji, S.K. 1926. The Origin and Development of the Bengali Language. Calcutta: Calcutta University Press.	  </reference>
      <reference id="104">-----. 1939. Bhasha-prakash Bangala Vyakaran (A Grammar of the Bengali Language), Calcutta: University of Calcutta</reference>
      <reference id="105">Hai, Muhammad Abdul. 1964. Dhvani Vijnan O Bangla Dhvani-tattwa (Phonetics and Bengali Phonology), Dhaka: Bangla Academy	  </reference>
      <reference id="107">Kostic, Djordje; Das, Rhea S. 1972. A Short Outline of Bengali Phonetics, Calcutta: Statistical Publishing Company. </reference>
      <reference id="108">Majumdar, R.C. 1971. shows, in his History of Ancient Bengal,	  </reference>
      <reference id="109">Mazumdar, Bijaychandra. 1920/2000. The History of the Bengali Language (Repr. Calcutta, 1920. ed.). New Delhi: Asian Educational Services.</reference>
      <reference id="111">Pal, Palash Baran. 2001. Dhwanimala Barnamala. Kolkata: Papyrus.	  </reference>
      <reference id="112">-----.  2007. ‘Bangla Harapher Panch Parba’. In Swapan Chakraborty, ed.  Mudraner Sanskriti O Bangla Boi. Kolkata: Ababhas.</reference>
      <reference id="113">Ross, Fiona. 1999. The Printed Bengali Character and its Evolution. London: Curzon.	  </reference>
      <reference id="114">Shastri, Mahamahopadhyay Hara Prasad. 1916.  Hājār Bacharēr Purāṇa Bāṅgālā Bhāṣāy Bauddha Gān ō Dōhā. Calcutta: Bangiya Sahitya Parishad.</reference>
      <reference id="118">-----. 1980. Scriptal  choice and spelling reform : An essay in language and planning.  Journal of the M.S. University of Baroda, Social Science Number, 29.2 : 173-186.  A modified ver­sion reprinted E. Annamalai, Bjorn Jernudd and Joan Rubin, eds. Language Planning: Proceedings of an Institute. Mysore: CIIL. 405-417.	  </reference>
      <reference id="119">Sripantha. 1996. Jakhan Chapakhana Elo.  Kolkata: Paschim-Banga Bangla Academy.</reference>
      <reference id="120">Sur, Atul. 1986. Bangla Mudraner Dusho Bachar. Kolkata: Jijnasa.</reference>
      <reference id="121">Script Behaviour for Bengali, Version 1.1, TDIL and C-DAC Pune.</reference>
      <reference id="122">Bora, Mahendra. 1981. The Evolution of Assamese Script.  Jorhat: Assam Sahitya Sabha</reference>
      <reference id="124">Ethnologue, Assamese in the Language Cloud, https://www.ethnologue.com/cloud/asm, accessed on 25.11.2017</reference>
      <reference id="125">Bengali alphabet for Manipuri, found in Ethnologue, Manipuri (Meeteilon/ Meithei), https://www.omniglot.com/writing/manipuri.htm, accessed on 20.10.2019</reference>
      <reference id="126">Wikipedia, Bengali alphabet, https://en.wikipedia.org/wiki/Bengali_alphabet, accessed on 25.11.2017</reference>
      <reference id="127">Manipuri Design Guide, http://www.iitg.ernet.in/rcilts/phaseI/manipuridesign.pdf, accessed on 25.11.2017</reference>
      <reference id="128">Assamese Design Guide, http://www.iitg.ernet.in/rcilts/phaseI/newassamesedesign.pdf, accessed on 22.12.2017</reference>
    </references>
  </meta>
  <data>
    <char comment="not part of repertoire" cp="092E">
      <var comment="Out of repertoire" cp="092E" type="out-of-repertoire-var"/>
      <var comment="cross-script homoglyph" cp="09AE" type="blocked"/>
      <var comment="cross-script homoglyph" cp="0A38" type="blocked"/>
    </char>
    <char comment="not part of repertoire" cp="093F">
      <var comment="Out of repertoire" cp="093F" type="out-of-repertoire-var"/>
      <var comment="cross-script homoglyph" cp="09BF" type="blocked"/>
      <var comment="cross-script homoglyph" cp="0A3F" type="blocked"/>
    </char>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0981" ref="112 122 125" tag="Candrabindu" when="follows-only-V-C-M"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0982" ref="112 122 125" tag="Anusvara" when="follows-only-V-C-M-D"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0983" ref="112 122 125" tag="Visarga" when="follows-only-V-C-M-D"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0985" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Ya-Phalaa (s1): Bangla, Assamese" cp="0985 09CD 09AF 09BE" not-when="follows-H"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0986" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0987" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0988" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0989" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="098A" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="098B" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="098F" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Ya-Phalaa (s2): Bangla" cp="098F 09CD 09AF 09BE" not-when="follows-H"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0990" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0993" not-when="follows-H" ref="112 122 125" tag="Vowel"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0994" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0995" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0996" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0997" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0998" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="0999" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="099A" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="099B" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="099C" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="099D" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="099E" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="099F" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09A0" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09A1" ref="112 122 125" tag="Consonant"/>
    <char comment="09DC is the preferred code point, however it is not available for LGR as per the standards governing this LGR development" cp="09A1 09BC" ref="112 122 125"/>
    <char comment="Bangla, Maṇipuri, Assamese," cp="09A2" ref="112 122 125" tag="Consonant"/>
    <char comment="09DD is the preferred code point, however it is not available for LGR as per the standards governing this LGR development" cp="09A2 09BC" ref="112 122 125"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09A3" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09A4" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09A5" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09A6" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09A7" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09A8" ref="112 122 125" tag="Consonant"/>
    <char comment="Bengali variant" cp="09A8 09CD 09A5">
      <var comment="Bengali variant" cp="09A8 09CD 09B9" type="blocked"/>
    </char>
    <char comment="Bengali variant" cp="09A8 09CD 09B9">
      <var comment="Bengali variant" cp="09A8 09CD 09A5" type="blocked"/>
    </char>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09AA" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09AB" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09AC" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09AD" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09AE" ref="112 122 125" tag="Consonant">
      <var comment="cross-script homoglyph" cp="092E" type="blocked"/>
      <var comment="cross-script homoglyph" cp="0A38" type="blocked"/>
    </char>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09AF" ref="112 122 125" tag="Consonant"/>
    <char comment="09DF is the preferred code point, however it is not available for LGR as per the standards governing this LGR development" cp="09AF 09BC" ref="112 122 125"/>
    <char comment="Bangla, Maṇipuri" cp="09B0" ref="112 122" tag="Consonant C2">
      <var comment="Bengali variant" cp="09F0" type="allocatable"/>
    </char>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09B2" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09B6" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09B7" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09B8" ref="112 122 125" tag="Consonant"/>
    <char comment="Bengali variant" cp="09B8 09CD 09A5">
      <var comment="Bengali variant" cp="09B8 09CD 09B9" type="blocked"/>
    </char>
    <char comment="Bengali variant" cp="09B8 09CD 09B9">
      <var comment="Bengali variant" cp="09B8 09CD 09A5" type="blocked"/>
    </char>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09B9" ref="112 122 125" tag="Consonant"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09BE" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09BF" ref="112 122 125" tag="Matra" when="follows-only-C">
      <var comment="cross-script homoglyph" cp="093F" type="blocked"/>
      <var comment="cross-script homoglyph" cp="0A3F" type="blocked"/>
    </char>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09C0" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09C1" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09C2" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09C3" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Assamese" cp="09C4" ref="112 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09C7" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09C8" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09CB" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09CC" ref="112 122 125" tag="Matra" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09CD" ref="112 122 125" tag="Halant" when="follows-only-C"/>
    <char comment="Bangla, Maṇipuri, Assamese" cp="09CE" ref="112 122 125" tag="KhandaTa Consonant" when="follows-only-V-C-M-D-B-X-P"/>
    <char comment="Assamese" cp="09F0" ref="125" tag="Consonant C2">
      <var comment="Bengali variant" cp="09B0" type="allocatable"/>
    </char>
    <char comment="Manipuri, Assamese" cp="09F1" ref="122 125" tag="Consonant"/>
    <char comment="not part of repertoire" cp="0A38">
      <var comment="cross-script homoglyph" cp="092E" type="blocked"/>
      <var comment="cross-script homoglyph" cp="09AE" type="blocked"/>
      <var comment="Out of repertoire" cp="0A38" type="out-of-repertoire-var"/>
    </char>
    <char comment="not part of repertoire" cp="0A3F">
      <var comment="cross-script homoglyph" cp="093F" type="blocked"/>
      <var comment="cross-script homoglyph" cp="09BF" type="blocked"/>
      <var comment="Out of repertoire" cp="0A3F" type="out-of-repertoire-var"/>
    </char>
  </data>
  <rules>
    <class name="C-single" from-tag="Consonant"/>
    <class name="V" from-tag="Vowel"/>
    <class name="M" from-tag="Matra"/>
    <class name="H" from-tag="Halant"/>
    <class name="B" from-tag="Anusvara"/>
    <class name="X" from-tag="Visarga"/>
    <class name="D" from-tag="Candrabindu"/>
    <class name="C2" from-tag="C2"/>
    <rule name="C-RRA" comment="NFC form of BENGALI LETTER RRA">
      <char cp="09A1 09BC"/>
    </rule>
    <rule name="C-RHA" comment="NFC form of BENGALI LETTER RHA">
      <char cp="09A2 09BC"/>
    </rule>
    <rule name="C-YYA" comment="NFC form of BENGALI LETTER YYA">
      <char cp="09AF 09BC"/>
    </rule>
    <rule name="C" comment="Section 7, WLE1: All consonants in the LGR repertoire; single code points and sequences">
      <choice>
          <class by-ref="C-single"/>
          <rule by-ref="C-RRA"/>
          <rule by-ref="C-RHA"/>
          <rule by-ref="C-YYA"/>
      </choice>
	</rule>
    <rule name="leading-combining-mark" comment="Default rule from MSR-4 ⍟">
      <start/>
      <union>
        <class property="gc:Mn"/>
        <class property="gc:Mc"/>
      </union>
    </rule>
    <rule name="follows-only-C" comment="Section 7, WLE 2: H: must be preceded by C ; WLE 3: M: must be preceded by C">
      <look-behind>
        <rule by-ref="C"/>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-only-V-C-M" comment="Section 7, WLE 4: D: must be preceded by either of V, C, M">
      <look-behind>
        <choice>
          <class by-ref="V"/>
          <rule by-ref="C"/>
          <class by-ref="M"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-only-V-C-M-D" comment="Section 7, WLE 5: X: must be preceded by either of V, C, M, D; WLE 6: B: must be preceded by either of V, C, M, D">
      <look-behind>
        <choice>
          <class by-ref="V"/>
          <rule by-ref="C"/>
          <class by-ref="M"/>
          <class by-ref="D"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="P" comment="Ra-Hasanta, defined for use in WLE-7">
           <class by-ref="C2"/>
           <class by-ref="H"/>
    </rule>
    <rule name="follows-only-V-C-M-D-B-X-P" comment="Section 7, WLE 7: Khanda Ta must be preceded by V, C, M, D, B, X, P">
      <look-behind>
        <choice>
          <class by-ref="V"/>
          <rule by-ref="C"/>
          <class by-ref="M"/>
          <class by-ref="D"/>
          <class by-ref="B"/>
          <class by-ref="X"/>
          <rule by-ref="P"/>
        </choice>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="follows-H" comment="Section 7, WLE 8: V cannot be preceded by H, WLE 9: S cannot be preceded by H">
      <look-behind>
        <class by-ref="H"/>
      </look-behind>
      <anchor/>
    </rule>
    <rule name="no-mix-09B0-09F0" comment="WLE 10: 09B0(র)and 09F0(ৰ) cannot be mixed.">
      <choice>
        <rule>
          <char cp="09B0"/>
          <any count="0+"/>  
          <char cp="09F0"/>		
        </rule>
        <rule>
          <char cp="09F0"/>
          <any count="0+"/>  
          <char cp="09B0"/>		
        </rule>
      </choice>
    </rule>
    <action disp="invalid" match="leading-combining-mark" comment="labels with leading combining marks are invalid ⍟"/>
    <action disp="invalid" any-variant="out-of-repertoire-var" comment="any variant label with a code point out of repertoire is invalid ⍟"/>
    <action disp="invalid" match="no-mix-09B0-09F0" comment="WLE 10: 09B0(র)and 09F0(ৰ) cannot be mixed."/>
    <action disp="blocked" any-variant="blocked" comment="default action MSR-4 ⍟"/>
    <action disp="allocatable" any-variant="allocatable" comment="default action MSR-4 ⍟"/>
    <action disp="valid" comment="catch all; default action from MSR-4 ⍟"/>
  </rules>
</lgr>
