initial XML:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp tam="past-punct">
      <verb>catch</verb>
    </vp>
    <np role="subj" number="sing" def="def">
      <noun>woman</noun>
      <pp role="comitative">
        <np number="sing" def="def">
          <noun>knife</noun>
        </np>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme">
      <noun>mouse</noun>
      <adj>blind</adj>
      <num>three</num>
      <det>yon</det>
    </np>
  </s>
</example>

cleanup:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <vp tam="past-punct">
-      <verb>catch</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="catch"/>
    </vp>
-    <np role="subj" number="sing" def="def">
-      <noun>woman</noun>
+    <np role="subj" number="sing" def="def" locus="number">
+      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
-        <np number="sing" def="def">
-          <noun>knife</noun>
+        <np number="sing" def="def" locus="number">
+          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
-    <np role="obj" def="def" number="plur" tr="rheme">
-      <noun>mouse</noun>
-      <adj>blind</adj>
-      <num>three</num>
-      <det>yon</det>
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
+      <word posp="noun" gloss="mouse"/>
+      <word posp="adj" gloss="blind"/>
+      <word posp="num" gloss="three"/>
+      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
+        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module constorder:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="catch"/>
-    </vp>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="catch"/>
+    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module casemarking:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <np role="subj" number="sing" def="def" locus="number">
+    <np role="subj" number="sing" def="def" locus="number" case="ERG">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ERG">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">
-      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
+      <word posp="noun" gloss="mouse"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module wordorder:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ERG">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">
+      <word posp="num" gloss="three"/>
      <word posp="adj" gloss="blind"/>
      <word posp="noun" gloss="mouse"/>
-      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ERG">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">
      <word posp="num" gloss="three"/>
      <word posp="adj" gloss="blind"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ERG">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
-        <np number="sing" def="def" locus="number">
+        <np number="sing" def="def" locus="number" case="ERG">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">
      <word posp="num" gloss="three"/>
      <word posp="adj" gloss="blind"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="det" gloss="yon"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ERG">
-      <word posp="noun" gloss="woman"/>
+      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG"/>
      <pp role="comitative">
-        <word gloss="COMIT" posp="pp"/>
+        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number" case="ERG">
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="ERG"/>
        </np>
      </pp>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">
-      <word posp="num" gloss="three"/>
-      <word posp="adj" gloss="blind"/>
-      <word posp="noun" gloss="mouse"/>
-      <word posp="det" gloss="yon"/>
+      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
+      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
+      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
+      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <np role="subj" number="sing" def="def" locus="number" case="ERG">
+  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np number="sing" def="def" locus="number" case="ERG">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="ERG"/>
-        </np>
-      </pp>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" ph="m &#xF8; n" slots="Cir Cfr">møn</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="x a x&#x2B7; i t&#x32A;&#x2E4;" slots="Cir Cfr">xaxʷit̪ˤ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="ERG" ph="t a# r" slots="Cir Cfr">ta#r</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="n&#x32A;&#x2E4; u# l" slots="Cir Cfr">n̪ˤu#l</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="l y# s" slots="Cir Cfr">ly#s</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="h ai &#x272;" slots="Cir Cfr">haiɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM" ph="l i p&#x2BC;" slots="Cis Cfs">lipʼ</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" ph="m &#xF8; n" slots="Cir Cfr">møn</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="x a x&#x2B7; i t&#x32A;&#x2E4;" slots="Cir Cfr">xaxʷit̪ˤ</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="ERG" ph="t a# r" slots="Cir Cfr">ta#r</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" ph="m &#xF8; n">møn</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="x a x&#x2B7; i t&#x32A;&#x2E4;">xaxʷit̪ˤ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="ERG" ph="t a# r">ta#r</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="n&#x32A;&#x2E4; u# l" slots="Cir Cfr">n̪ˤu#l</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="l y# s" slots="Cir Cfr">ly#s</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="h ai &#x272;" slots="Cir Cfr">haiɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM" ph="l i p&#x2BC;" slots="Cis Cfs">lipʼ</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="n&#x32A;&#x2E4; u# l">n̪ˤu#l</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="l y# s">ly#s</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="h ai &#x272;">haiɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM" ph="l i p&#x2BC;">lipʼ</thingy>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" ph="m &#xF8; n">møn</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="x a x&#x2B7; i t&#x32A;&#x2E4;">xaxʷit̪ˤ</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="ERG" ph="t a# r">ta#r</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="n&#x32A;&#x2E4; u# l">n̪ˤu#l</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="l y# s">ly#s</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" ph="h ai &#x272;">haiɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM" ph="l i p&#x2BC;">lipʼ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG">møn</word>
+    <word gloss="COMIT" posp="pp" role="comitative">xaxʷit̪ˤ</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="ERG">ta#r</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">n̪ˤu#l</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">ly#s</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">teθˤyːtˤ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM">haiɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM">lipʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;møn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;woman&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaxʷit̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tãr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;knife&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼˤĩj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ˤũl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;three&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lỹs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teθˤyːtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;haiɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lipʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>møn xaxʷit̪ˤ tãr xʷøn̪ˤ tʼˤĩj tˤỹm n̪ˤũl lỹs teθˤyːtˤ haiɲ lipʼ</p>
+  <p>म्योन् अख्वित़् तँर् ख्व्योऩ् त्ऽ़इँय् त़्युँम् ऩुँल् ल्युँस् तेथ़्यूत़् हैञ् लिप्ऽ</p>
+  <il>
+    <w>
+      <o>møn</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>xaxʷit̪ˤ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>tãr</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>tʼˤĩj</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>n̪ˤũl</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>lỹs</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>teθˤyːtˤ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>haiɲ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>lipʼ</o>
+      <g>plur.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp tam="gnomic">
      <verb>love</verb>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron">
      <noun>boy</noun>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" output="aspron">
      <noun>girl</noun>
    </np>
  </s>
</example>

cleanup:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <vp tam="gnomic">
-      <verb>love</verb>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron">
-      <noun>boy</noun>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="boy"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron">
-      <noun>girl</noun>
+    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
-      <word posp="verb" gloss="love"/>
-    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="love"/>
+    </vp>
    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module casemarking:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number" case="ACC">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number" case="ACC">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

prodrop:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

addclitics:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
+  <flat>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u p&#x2BC;" slots="Cir Cfr">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8;&#x2E4; o&#x2D0; p" slots="Cir Cfr">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u p&#x2BC;" slots="Cir Cfr">lupʼ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u p&#x2BC;">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8;&#x2E4; o&#x2D0; p" slots="Cir Cfr">θˤoːp</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8;&#x2E4; o&#x2D0; p">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u p&#x2BC;">lupʼ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8;&#x2E4; o&#x2D0; p">θˤoːp</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xal</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC">qøt̪</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lupʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xal&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤoːp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qøt̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lupʼ xal θˤoːp qøt̪</p>
+  <p>लुप्ऽ अल् थ़ौप् क़्योत्</p>
+  <il>
+    <w>
+      <o>lupʼ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>xal</o>
+      <g>PRES.indicative.active</g>
+    </w>
+    <w>
+      <o>θˤoːp</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>qøt̪</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="love2he" translation="*He* loves her.">
  <s>
    <vp tam="gnomic">
      <verb>love</verb>
    </vp>
    <np def="def" number="sing" tr="rheme" role="subj" output="aspron">
      <noun>boy</noun>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" output="aspron">
      <noun>girl</noun>
    </np>
  </s>
</example>

cleanup:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <vp tam="gnomic">
-      <verb>love</verb>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron">
-      <noun>boy</noun>
+    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="boy"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron">
-      <noun>girl</noun>
+    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
-      <word posp="verb" gloss="love"/>
-    </vp>
    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="love"/>
+    </vp>
    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module casemarking:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number" case="ACC">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number" case="ACC">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
      <word posp="pron" number="sing" gloss="3.sing"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC">
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x3B8;&#x2E4; o&#x2D0; p" slots="Cir Cfr">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u p&#x2BC;" slots="Cir Cfr">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8;&#x2E4; o&#x2D0; p" slots="Cir Cfr">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x3B8;&#x2E4; o&#x2D0; p" slots="Cir Cfr">θˤoːp</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u p&#x2BC;" slots="Cir Cfr">lupʼ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x3B8;&#x2E4; o&#x2D0; p">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u p&#x2BC;">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8;&#x2E4; o&#x2D0; p" slots="Cir Cfr">θˤoːp</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8;&#x2E4; o&#x2D0; p">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
  </flat>
</example>

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="&#x3B8;&#x2E4; o&#x2D0; p">θˤoːp</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="l u p&#x2BC;">lupʼ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="&#x3B8;&#x2E4; o&#x2D0; p">θˤoːp</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xal</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" case="ACC">θˤoːp</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC">qøt̪</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤoːp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lupʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xal&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤoːp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qøt̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>θˤoːp θix lupʼ xal θˤoːp qøt̪</p>
+  <p>थ़ौप् थि लुप्ऽ अल् थ़ौप् क़्योत्</p>
+  <il>
+    <w>
+      <o>θˤoːp</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>lupʼ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>xal</o>
+      <g>PRES.indicative.active</g>
+    </w>
+    <w>
+      <o>θˤoːp</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>qøt̪</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <vp tam="gnomic">
      <verb>hate</verb>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj">
      <noun>NN1</noun>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj">
      <noun>NN2</noun>
    </np>
  </s>
</example>

cleanup:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
-    <vp tam="gnomic">
-      <verb>hate</verb>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+      <word posp="verb" gloss="hate"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj">
-      <noun>NN1</noun>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="noun" gloss="NN1"/>
    </np>
-    <np def="def" number="sing" tr="rheme" role="obj">
-      <noun>NN2</noun>
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="NN1"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
-      <word posp="verb" gloss="hate"/>
-    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="NN1"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="hate"/>
+    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

module casemarking:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="NN1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="hate"/>
    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="NN1"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="NN1"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="NN2"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="hate"/>
+      <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="loveprop" translation="NN1 hates NN2.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Minur hates Nanyit.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
+    <word posp="noun" gloss="Minur" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="m i n&#x2E4; u r&#x2E4;" slots="Cir Cfr">minˤurˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="x i &#x28B; a#&#x2D0; r&#x2E4;" slots="Cir Cfr">xiʋa#ːrˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="Nanyit" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="n a &#x272; i&#x2D0; t&#x2BC;" slots="Cir Cfr">naɲiːtʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="loveprop" translation="Minur hates Nanyit.">
  <flat>
-    <word posp="noun" gloss="Minur" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="m i n&#x2E4; u r&#x2E4;" slots="Cir Cfr">minˤurˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="x i &#x28B; a#&#x2D0; r&#x2E4;" slots="Cir Cfr">xiʋa#ːrˤ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <word posp="noun" gloss="Minur" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="m i n&#x2E4; u r&#x2E4;">minˤurˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="x i &#x28B; a#&#x2D0; r&#x2E4;">xiʋa#ːrˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="Nanyit" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="n a &#x272; i&#x2D0; t&#x2BC;" slots="Cir Cfr">naɲiːtʼ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
+    <word posp="noun" gloss="Nanyit" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="n a &#x272; i&#x2D0; t&#x2BC;">naɲiːtʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Minur hates Nanyit.">
  <flat>
-    <word posp="noun" gloss="Minur" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="m i n&#x2E4; u r&#x2E4;">minˤurˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="x i &#x28B; a#&#x2D0; r&#x2E4;">xiʋa#ːrˤ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="Nanyit" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="n a &#x272; i&#x2D0; t&#x2BC;">naɲiːtʼ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
+    <word posp="noun" gloss="Minur" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes">minˤurˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">xiʋa#ːrˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xal</thingy>
+    <word posp="noun" gloss="Nanyit" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes">naɲiːtʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC">qøt̪</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;minˤurˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Minur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xiʋãːrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hate&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xal&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naɲiːtʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Nanyit&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qøt̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>minˤurˤ θix xiʋãːrˤ xal naɲiːtʼ qøt̪</p>
+  <p>मिऩुऱ् थि इवँऱ् अल् नञीत्ऽ क़्योत्</p>
+  <il>
+    <w>
+      <o>minˤurˤ</o>
+      <g>Minur</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>xiʋãːrˤ</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>xal</o>
+      <g>PRES.indicative.active</g>
+    </w>
+    <w>
+      <o>naɲiːtʼ</o>
+      <g>Nanyit</g>
+    </w>
+    <w>
+      <o>qøt̪</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="posso1" translation="the boy's apple">
  <np type="owner_owned">
    <np number="sing" def="def">
      <noun>boy</noun>
    </np>
    <np number="sing" def="def">
      <noun>apple</noun>
    </np>
  </np>
</example>

cleanup:

<example id="posso1" translation="the boy's apple">
  <np type="owner_owned">
-    <np number="sing" def="def">
-      <noun>boy</noun>
+    <np number="sing" def="def" locus="number" role="owner">
+      <word posp="noun" gloss="boy"/>
    </np>
-    <np number="sing" def="def">
-      <noun>apple</noun>
+    <np number="sing" def="def" locus="number" role="owned">
+      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned">
+  <np type="owner_owned" case="NOM">
    <np number="sing" def="def" locus="number" role="owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module propagatenumber:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="NOM">
+  <np type="owner_owned" case="NOM" number="sing">
    <np number="sing" def="def" locus="number" role="owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso1" translation="the boy's apple">
  <np type="owner_owned" case="NOM" number="sing">
-    <np number="sing" def="def" locus="number" role="owner">
+    <np number="sing" def="def" locus="number" role="owner" case="NOM">
      <word posp="noun" gloss="boy"/>
    </np>
-    <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="apple"/>
    </np>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="NOM" number="sing">
  <np number="sing" def="def" locus="number" role="owner" case="NOM">
    <word posp="noun" gloss="boy"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="apple"/>
  </np>
  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-  </np>
</example>

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owner" case="NOM">
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
  </np>
  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
</example>

addaffixes:

No change.

flatten:

<example id="posso1" translation="the boy's apple">
-  <np number="sing" def="def" locus="number" role="owner" case="NOM">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="NOM"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-  </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+  </flat>
</example>

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="NOM" ph="x&#x2B7; e l" slots="Cir Cfr">xʷel</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;" slots="Cir Cfr">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="NOM" ph="x&#x2B7; e l" slots="Cir Cfr">xʷel</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;" slots="Cir Cfr">pʼelaiʋ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="NOM" ph="x&#x2B7; e l">xʷel</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="NOM" ph="x&#x2B7; e l">xʷel</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;">pʼelaiʋ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="NOM">xʷel</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʼelaiʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xʷel pʼelaiʋ θix</p>
+  <p>ख्वेल् प्ऽएलैव् थि</p>
+  <il>
+    <w>
+      <o>xʷel</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>pʼelaiʋ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned">
    <np number="sing" def="def" output="aspron">
      <noun>boy</noun>
    </np>
    <np number="sing" def="def">
      <noun>apple</noun>
    </np>
  </np>
</example>

cleanup:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned">
-    <np number="sing" def="def" output="aspron">
-      <noun>boy</noun>
+    <np number="sing" def="def" output="aspron" locus="number" role="owner">
+      <word posp="noun" gloss="boy"/>
    </np>
-    <np number="sing" def="def">
-      <noun>apple</noun>
+    <np number="sing" def="def" locus="number" role="owned">
+      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned">
+  <np type="owner_owned" case="NOM">
    <np number="sing" def="def" output="aspron" locus="number" role="owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module propagatenumber:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" case="NOM">
+  <np type="owner_owned" case="NOM" number="sing">
    <np number="sing" def="def" output="aspron" locus="number" role="owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module simplifynumber:

No change.

createpronouns:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned" case="NOM" number="sing">
-    <np number="sing" def="def" output="aspron" locus="number" role="owner">
-      <word posp="noun" gloss="boy"/>
+    <np number="sing" def="def" locus="number" role="owner">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned" case="NOM" number="sing">
-    <np number="sing" def="def" locus="number" role="owner">
+    <np number="sing" def="def" locus="number" role="owner" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="apple"/>
    </np>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" case="NOM" number="sing">
  <np number="sing" def="def" locus="number" role="owner" case="NOM">
    <word posp="pron" number="sing" gloss="3.sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="apple"/>
  </np>
  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-  </np>
</example>

movedowntoword:

<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owner" case="NOM">
-    <word posp="pron" number="sing" gloss="3.sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
  </np>
  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
</example>

addaffixes:

No change.

flatten:

<example id="posso1b" translation="his (the boy's) apple">
-  <np number="sing" def="def" locus="number" role="owner" case="NOM">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="NOM"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-  </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+  </flat>
</example>

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="NOM" ph="&#x3B8;&#x2E4; o&#x2D0; p" slots="Cir Cfr">θˤoːp</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;" slots="Cir Cfr">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="NOM" ph="&#x3B8;&#x2E4; o&#x2D0; p" slots="Cir Cfr">θˤoːp</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;" slots="Cir Cfr">pʼelaiʋ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="NOM" ph="&#x3B8;&#x2E4; o&#x2D0; p">θˤoːp</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="NOM" ph="&#x3B8;&#x2E4; o&#x2D0; p">θˤoːp</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;">pʼelaiʋ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="NOM">θˤoːp</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤoːp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʼelaiʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>θˤoːp pʼelaiʋ θix</p>
+  <p>थ़ौप् प्ऽएलैव् थि</p>
+  <il>
+    <w>
+      <o>θˤoːp</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>pʼelaiʋ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="posso2" translation="my apple">
  <np type="owner_owned">
    <np number="sing" def="neither">
      <pron person="1excl" number="sing"/>
    </np>
    <np number="sing" def="def">
      <noun>apple</noun>
    </np>
  </np>
</example>

cleanup:

<example id="posso2" translation="my apple">
  <np type="owner_owned">
-    <np number="sing" def="neither">
-      <pron person="1excl" number="sing"/>
+    <np number="sing" def="neither" locus="number" role="owner">
+      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np number="sing" def="def">
-      <noun>apple</noun>
+    <np number="sing" def="def" locus="number" role="owned">
+      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<example id="posso2" translation="my apple">
-  <np type="owner_owned">
+  <np type="owner_owned" case="NOM">
    <np number="sing" def="neither" locus="number" role="owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module propagatenumber:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" case="NOM">
+  <np type="owner_owned" case="NOM" number="sing">
    <np number="sing" def="neither" locus="number" role="owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="NOM" number="sing">
    <np number="sing" def="neither" locus="number" role="owner">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

copyuptophrase:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="NOM" number="sing">
-    <np number="sing" def="neither" locus="number" role="owner">
+    <np number="sing" def="neither" locus="number" role="owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

prodrop:

No change.

addclitics:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="NOM" number="sing">
-    <np number="sing" def="neither" locus="number" role="owner" person="1excl">
+    <np number="sing" def="neither" locus="number" role="owner" person="1excl" case="NOM">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
-    <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="apple"/>
    </np>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" case="NOM" number="sing">
  <np number="sing" def="neither" locus="number" role="owner" person="1excl" case="NOM">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="apple"/>
  </np>
  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-  </np>
</example>

movedowntoword:

<example id="posso2" translation="my apple">
  <np number="sing" def="neither" locus="number" role="owner" person="1excl" case="NOM">
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
  </np>
  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
</example>

addaffixes:

No change.

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="neither" locus="number" role="owner" person="1excl" case="NOM">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="NOM"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-  </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="NOM" ph="&#x3B8;&#x2E4; o k&#x2BC;" slots="Cir Cfr">θˤokʼ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;" slots="Cir Cfr">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="NOM" ph="&#x3B8;&#x2E4; o k&#x2BC;" slots="Cir Cfr">θˤokʼ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;" slots="Cir Cfr">pʼelaiʋ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="NOM" ph="&#x3B8;&#x2E4; o k&#x2BC;">θˤokʼ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="NOM" ph="&#x3B8;&#x2E4; o k&#x2BC;">θˤokʼ</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p&#x2BC; e l ai &#x28B;">pʼelaiʋ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="NOM">θˤokʼ</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤokʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʼelaiʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>θˤokʼ pʼelaiʋ θix</p>
+  <p>थ़ोक़ प्ऽएलैव् थि</p>
+  <il>
+    <w>
+      <o>θˤokʼ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>pʼelaiʋ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <vp tam="past-punct">
      <verb>kiss</verb>
    </vp>
    <np role="subj">
      <np type="owner_owned">
        <np number="sing" def="def">
          <noun>hunter</noun>
        </np>
        <np number="sing" def="def">
          <noun>daughter</noun>
        </np>
      </np>
    </np>
    <np role="obj">
      <np type="owner_owned">
        <np type="owner_owned">
          <np number="sing" def="neither">
            <pron person="2" number="sing"/>
          </np>
          <np number="sing" def="def">
            <noun>neighbour</noun>
          </np>
        </np>
        <np number="sing" def="def">
          <noun>son</noun>
        </np>
      </np>
    </np>
  </s>
</example>

cleanup:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <vp tam="past-punct">
-      <verb>kiss</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="kiss"/>
    </vp>
    <np role="subj">
      <np type="owner_owned">
-        <np number="sing" def="def">
-          <noun>hunter</noun>
+        <np number="sing" def="def" locus="number" role="owner">
+          <word posp="noun" gloss="hunter"/>
        </np>
-        <np number="sing" def="def">
-          <noun>daughter</noun>
+        <np number="sing" def="def" locus="number" role="owned">
+          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <np role="obj">
      <np type="owner_owned">
-        <np type="owner_owned">
-          <np number="sing" def="neither">
-            <pron person="2" number="sing"/>
+        <np type="owner_owned" role="owner">
+          <np number="sing" def="neither" locus="number" role="owner">
+            <word person="2" number="sing" posp="pron"/>
          </np>
-          <np number="sing" def="def">
-            <noun>neighbour</noun>
+          <np number="sing" def="def" locus="number" role="owned">
+            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
-        <np number="sing" def="def">
-          <noun>son</noun>
+        <np number="sing" def="def" locus="number" role="owned">
+          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
    <np role="subj">
      <np type="owner_owned">
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <np role="obj">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
          <np number="sing" def="neither" locus="number" role="owner">
            <word person="2" number="sing" posp="pron"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="kiss"/>
-    </vp>
    <np role="subj">
      <np type="owner_owned">
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="kiss"/>
+    </vp>
    <np role="obj">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
          <np number="sing" def="neither" locus="number" role="owner">
            <word person="2" number="sing" posp="pron"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module casemarking:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj">
+    <np role="subj" case="ERG">
      <np type="owner_owned">
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="NOM">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
          <np number="sing" def="neither" locus="number" role="owner">
            <word person="2" number="sing" posp="pron"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module propagatenumber:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" case="ERG">
-      <np type="owner_owned">
+    <np role="subj" case="ERG" number="sing">
+      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
-    <np role="obj" case="NOM">
-      <np type="owner_owned">
-        <np type="owner_owned" role="owner">
+    <np role="obj" case="NOM" number="sing">
+      <np type="owner_owned" number="sing">
+        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="neither" locus="number" role="owner">
            <word person="2" number="sing" posp="pron"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="ERG" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <np type="owner_owned" number="sing">
        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="neither" locus="number" role="owner">
-            <word person="2" number="sing" posp="pron"/>
+            <word person="2" number="sing" posp="pron" gloss="2.sing"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

copyuptophrase:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="ERG" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kiss"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <np type="owner_owned" number="sing">
        <np type="owner_owned" role="owner" number="sing">
-          <np number="sing" def="neither" locus="number" role="owner">
+          <np number="sing" def="neither" locus="number" role="owner" person="2">
            <word person="2" number="sing" posp="pron" gloss="2.sing"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="ERG" number="sing">
-      <np type="owner_owned" number="sing">
-        <np number="sing" def="def" locus="number" role="owner">
+      <np type="owner_owned" number="sing" case="ERG">
+        <np number="sing" def="def" locus="number" role="owner" case="ERG">
          <word posp="noun" gloss="hunter"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" case="ERG">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kiss"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
-      <np type="owner_owned" number="sing">
-        <np type="owner_owned" role="owner" number="sing">
-          <np number="sing" def="neither" locus="number" role="owner" person="2">
+      <np type="owner_owned" number="sing" case="NOM">
+        <np type="owner_owned" role="owner" number="sing" case="NOM">
+          <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
            <word person="2" number="sing" posp="pron" gloss="2.sing"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned">
+          <np number="sing" def="def" locus="number" role="owned" case="NOM">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" case="NOM">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" case="ERG" number="sing">
-      <np type="owner_owned" number="sing" case="ERG">
+    <np type="owner_owned" number="sing" case="ERG" role="subj">
      <np number="sing" def="def" locus="number" role="owner" case="ERG">
        <word posp="noun" gloss="hunter"/>
      </np>
      <np number="sing" def="def" locus="number" role="owned" case="ERG">
        <word posp="noun" gloss="daughter"/>
      </np>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="NOM" number="sing">
-      <np type="owner_owned" number="sing" case="NOM">
+    <np type="owner_owned" number="sing" case="NOM" role="obj">
      <np type="owner_owned" role="owner" number="sing" case="NOM">
        <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" case="NOM">
          <word posp="noun" gloss="neighbour"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" case="NOM">
        <word posp="noun" gloss="son"/>
      </np>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np type="owner_owned" number="sing" case="ERG" role="subj">
    <np number="sing" def="def" locus="number" role="owner" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ERG">
      <word posp="noun" gloss="daughter"/>
    </np>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np type="owner_owned" number="sing" case="NOM" role="obj">
-      <np type="owner_owned" role="owner" number="sing" case="NOM">
    <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="neighbour"/>
    </np>
-      </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="son"/>
    </np>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </s>
</example>

movedowntoword:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owner" case="ERG">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="ERG"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ERG">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG"/>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="kiss"/>
+      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
-      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM"/>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
-    <np number="sing" def="def" locus="number" role="owner" case="ERG">
+  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="ERG"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="ERG">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG"/>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="ERG"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="ERG" ph="k u k&#x2BC; i n&#x32A;&#x2E4;" slots="Cir Cfr">kukʼin̪ˤ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG" ph="s&#x2E4; a h" slots="Cir Cfr">sˤah</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="p&#x2BC; o r a# n&#x32A;" slots="Cir Cfr">pʼora#n̪</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM" ph="k&#x2BC;&#x2B7; &#xF8; q" slots="Cir Cfr">kʼʷøq</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="NOM" ph="n&#x2E4; a# k&#x2BC; a&#x2D0; t&#x2BC;&#x2E4;" slots="Cir Cfr">nˤa#kʼaːtʼˤ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x u&#x2D0; t&#x2BC;" slots="Cir Cfr">xuːtʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="ERG" ph="k u k&#x2BC; i n&#x32A;&#x2E4;" slots="Cir Cfr">kukʼin̪ˤ</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG" ph="s&#x2E4; a h" slots="Cir Cfr">sˤah</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="p&#x2BC; o r a# n&#x32A;" slots="Cir Cfr">pʼora#n̪</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="ERG" ph="k u k&#x2BC; i n&#x32A;&#x2E4;">kukʼin̪ˤ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG" ph="s&#x2E4; a h">sˤah</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="p&#x2BC; o r a# n&#x32A;">pʼora#n̪</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM" ph="k&#x2BC;&#x2B7; &#xF8; q" slots="Cir Cfr">kʼʷøq</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="NOM" ph="n&#x2E4; a# k&#x2BC; a&#x2D0; t&#x2BC;&#x2E4;" slots="Cir Cfr">nˤa#kʼaːtʼˤ</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x u&#x2D0; t&#x2BC;" slots="Cir Cfr">xuːtʼ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM" ph="k&#x2BC;&#x2B7; &#xF8; q">kʼʷøq</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="NOM" ph="n&#x2E4; a# k&#x2BC; a&#x2D0; t&#x2BC;&#x2E4;">nˤa#kʼaːtʼˤ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x u&#x2D0; t&#x2BC;">xuːtʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="ERG" ph="k u k&#x2BC; i n&#x32A;&#x2E4;">kukʼin̪ˤ</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG" ph="s&#x2E4; a h">sˤah</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="p&#x2BC; o r a# n&#x32A;">pʼora#n̪</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM" ph="k&#x2BC;&#x2B7; &#xF8; q">kʼʷøq</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="NOM" ph="n&#x2E4; a# k&#x2BC; a&#x2D0; t&#x2BC;&#x2E4;">nˤa#kʼaːtʼˤ</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x u&#x2D0; t&#x2BC;">xuːtʼ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="ERG">kukʼin̪ˤ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="ERG">sˤah</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">pʼora#n̪</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM">kʼʷøq</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="NOM">nˤa#kʼaːtʼˤ</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM">xuːtʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kukʼin̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʼorãn̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kiss&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼʷøq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nˤãkʼaːtʼˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neighbour&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xuːtʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kukʼin̪ˤ sˤah xʷøn̪ˤ pʼorãn̪ tˤỹm kʼʷøq nˤãkʼaːtʼˤ xuːtʼ θix</p>
+  <p>कुक़इऩ् स़ह् ख्व्योऩ् प्ऽओरँन् त़्युँम् क़व्योक़् ऩँक़आत्ऽ़ ऊत्ऽ थि</p>
+  <il>
+    <w>
+      <o>kukʼin̪ˤ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>sˤah</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>pʼorãn̪</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>kʼʷøq</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>nˤãkʼaːtʼˤ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>xuːtʼ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="lamb0" translation="a lamb">
  <np def="indef" number="sing" tr="rheme">
    <noun>lamb</noun>
  </np>
</example>

cleanup:

<example id="lamb0" translation="a lamb">
-  <np def="indef" number="sing" tr="rheme">
-    <noun>lamb</noun>
+  <np def="indef" number="sing" tr="rheme" locus="number">
+    <word posp="noun" gloss="lamb"/>
  </np>
</example>

module articles:

<example id="lamb0" translation="a lamb">
-  <np def="indef" number="sing" tr="rheme" locus="number">
+  <np number="sing" tr="rheme" locus="number">
    <word posp="noun" gloss="lamb"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number">
+  <np number="sing" tr="rheme" locus="number" case="NOM">
    <word posp="noun" gloss="lamb"/>
  </np>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM">
    <word posp="noun" gloss="lamb"/>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM">
-    <word posp="noun" gloss="lamb"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </np>
</example>

addaffixes:

No change.

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="s&#x2E4; y p&#x2BC; y# q" slots="Cir Cfr">sˤypʼy#q</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="s&#x2E4; y p&#x2BC; y# q" slots="Cir Cfr">sˤypʼy#q</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="s&#x2E4; y p&#x2BC; y# q">sˤypʼy#q</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="s&#x2E4; y p&#x2BC; y# q">sˤypʼy#q</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM">sˤypʼy#q</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤypʼỹq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sˤypʼỹq θix</p>
+  <p>स़्युप्ऽयुँक़् थि</p>
+  <il>
+    <w>
+      <o>sˤypʼỹq</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp tam="past-punct">
      <verb>want</verb>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron">
      <noun>girl</noun>
    </np>
    <np role="obj">
      <subs>
        <vp tam="past-punct">
          <verb>have</verb>
        </vp>
        <np def="indef" number="sing" tr="rheme" role="obj">
          <noun>lamb</noun>
          <adj>little</adj>
        </np>
      </subs>
    </np>
  </s>
</example>

cleanup:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <vp tam="past-punct">
-      <verb>want</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="want"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron">
-      <noun>girl</noun>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
-        <vp tam="past-punct">
-          <verb>have</verb>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+          <word posp="verb" gloss="have"/>
        </vp>
-        <np def="indef" number="sing" tr="rheme" role="obj">
-          <noun>lamb</noun>
-          <adj>little</adj>
+        <np def="indef" number="sing" tr="rheme" role="obj" locus="number">
+          <word posp="noun" gloss="lamb"/>
+          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module articles:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
      <word posp="verb" gloss="want"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
          <word posp="verb" gloss="have"/>
        </vp>
-        <np def="indef" number="sing" tr="rheme" role="obj" locus="number">
+        <np number="sing" tr="rheme" role="obj" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module nonpastonly:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="want"/>
-    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="want"/>
+    </vp>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module casemarking:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
      <word posp="noun" gloss="girl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="NOM">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number">
+        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module propagatenumber:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
      <word posp="noun" gloss="girl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
-    <np role="obj" case="NOM">
+    <np role="obj" case="NOM" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
-          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
+          <word posp="noun" gloss="lamb"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
          <word posp="adj" gloss="little"/>
          <word posp="noun" gloss="lamb"/>
        </np>
      </subs>
    </np>
  </s>
</example>

prodrop:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
          <word posp="adj" gloss="little"/>
          <word posp="noun" gloss="lamb"/>
        </np>
      </subs>
    </np>
  </s>
</example>

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="have"/>
+          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
          <word posp="adj" gloss="little"/>
          <word posp="noun" gloss="lamb"/>
+          <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
        </np>
      </subs>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="want"/>
+      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
-          <word posp="adj" gloss="little"/>
-          <word posp="noun" gloss="lamb"/>
+          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
+          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
        </np>
      </subs>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+  <flat>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" case="NOM" number="sing">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number" case="NOM">
    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-        </np>
-      </subs>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B7; a t&#x2E4;" slots="Cir Cfr">kʷatˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="n u n&#x32A;" slots="Cir Cfr">nun̪</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="t&#x32A; u# x" slots="Cir Cfr">t̪u#x</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="s&#x2E4; y p&#x2BC; y# q" slots="Cir Cfr">sˤypʼy#q</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B7; a t&#x2E4;" slots="Cir Cfr">kʷatˤ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B7; a t&#x2E4;">kʷatˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="n u n&#x32A;" slots="Cir Cfr">nun̪</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="n u n&#x32A;">nun̪</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="t&#x32A; u# x" slots="Cir Cfr">t̪u#x</word>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="s&#x2E4; y p&#x2BC; y# q" slots="Cir Cfr">sˤypʼy#q</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="t&#x32A; u# x">t̪u#x</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="s&#x2E4; y p&#x2BC; y# q">sˤypʼy#q</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B7; a t&#x2E4;">kʷatˤ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="n u n&#x32A;">nun̪</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="t&#x32A; u# x">t̪u#x</word>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="s&#x2E4; y p&#x2BC; y# q">sˤypʼy#q</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">kʷatˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">nun̪</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="NOM">t̪u#x</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="NOM">sˤypʼy#q</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷatˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nun̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ũx&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤypʼỹq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷatˤ tˤỹm nun̪ tˤỹm t̪ũx sˤypʼỹq θix θix</p>
+  <p>क्वत़् त़्युँम् नुन् त़्युँम् तुँ स़्युप्ऽयुँक़् थि थि</p>
+  <il>
+    <w>
+      <o>kʷatˤ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>nun̪</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t̪ũx</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>sˤypʼỹq</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="love" translation="I love you.">
  <s>
    <vp tam="gnomic">
      <verb>love</verb>
    </vp>
    <np number="sing" def="neither" role="subj">
      <pron person="1excl" number="sing"/>
    </np>
    <np number="sing" def="neither" role="obj">
      <pron person="2" number="sing"/>
    </np>
  </s>
</example>

cleanup:

<example id="love" translation="I love you.">
  <s>
-    <vp tam="gnomic">
-      <verb>love</verb>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+      <word posp="verb" gloss="love"/>
    </vp>
-    <np number="sing" def="neither" role="subj">
-      <pron person="1excl" number="sing"/>
+    <np number="sing" def="neither" role="subj" locus="number">
+      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np number="sing" def="neither" role="obj">
-      <pron person="2" number="sing"/>
+    <np number="sing" def="neither" role="obj" locus="number">
+      <word person="2" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="love" translation="I love you.">
  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np number="sing" def="neither" role="obj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="love" translation="I love you.">
  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
-      <word posp="verb" gloss="love"/>
-    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="love"/>
+    </vp>
    <np number="sing" def="neither" role="obj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module casemarking:

<example id="love" translation="I love you.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np number="sing" def="neither" role="obj" locus="number">
+    <np number="sing" def="neither" role="obj" locus="number" case="ACC">
      <word person="2" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="love"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC">
-      <word person="2" number="sing" posp="pron"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
  </s>
</example>

copyuptophrase:

<example id="love" translation="I love you.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
      <word posp="verb" gloss="love"/>
    </vp>
-    <np number="sing" def="neither" role="obj" locus="number" case="ACC">
+    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
  </s>
</example>

prodrop:

<example id="love" translation="I love you.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
      <word posp="verb" gloss="love"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
  </s>
</example>

addclitics:

<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
+  <flat>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="l u p&#x2BC;" slots="Cir Cfr">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="k&#x2BC;&#x2B7; &#xF8; q" slots="Cir Cfr">kʼʷøq</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="l u p&#x2BC;" slots="Cir Cfr">lupʼ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="l u p&#x2BC;">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="k&#x2BC;&#x2B7; &#xF8; q" slots="Cir Cfr">kʼʷøq</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="k&#x2BC;&#x2B7; &#xF8; q">kʼʷøq</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="l u p&#x2BC;">lupʼ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="k&#x2BC;&#x2B7; &#xF8; q">kʼʷøq</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xal</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">kʼʷøq</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC">qøt̪</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lupʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xal&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼʷøq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qøt̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lupʼ xal kʼʷøq qøt̪</p>
+  <p>लुप्ऽ अल् क़व्योक़् क़्योत्</p>
+  <il>
+    <w>
+      <o>lupʼ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>xal</o>
+      <g>PRES.indicative.active</g>
+    </w>
+    <w>
+      <o>kʼʷøq</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>qøt̪</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" number="sing">
      <noun>table</noun>
    </np>
  </pp>
</example>

cleanup:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <np def="def" number="sing">
-      <noun>table</noun>
+    <np def="def" number="sing" locus="number">
+      <word posp="noun" gloss="table"/>
    </np>
  </pp>
</example>

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
+    <word gloss="in_surface" posp="pp"/>
    <np def="def" number="sing" locus="number">
      <word posp="noun" gloss="table"/>
    </np>
  </pp>
</example>

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <word gloss="in_surface" posp="pp"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
    <np def="def" number="sing" locus="number">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
    </np>
  </pp>
</example>

addaffixes:

No change.

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
+  <flat>
    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <np def="def" number="sing" locus="number">
    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="p&#x2BC; a# r" slots="Cir Cfr">pʼa#r</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="x&#x2B7; a t&#x32A;" slots="Cir Cfr">xʷat̪</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="p&#x2BC; a# r" slots="Cir Cfr">pʼa#r</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="x&#x2B7; a t&#x32A;" slots="Cir Cfr">xʷat̪</word>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="p&#x2BC; a# r">pʼa#r</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="x&#x2B7; a t&#x32A;">xʷat̪</word>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="p&#x2BC; a# r">pʼa#r</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="x&#x2B7; a t&#x32A;">xʷat̪</word>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">pʼa#r</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number">xʷat̪</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʼãr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷat̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʼãr xʷat̪</p>
+  <p>प्ऽअँर् ख्वत्</p>
+  <il>
+    <w>
+      <o>pʼãr</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>xʷat̪</o>
+      <g>table</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" number="sing">
      <noun>box</noun>
    </np>
  </pp>
</example>

cleanup:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <np def="def" number="sing">
-      <noun>box</noun>
+    <np def="def" number="sing" locus="number">
+      <word posp="noun" gloss="box"/>
    </np>
  </pp>
</example>

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
+    <word gloss="to_inside" posp="pp"/>
    <np def="def" number="sing" locus="number">
      <word posp="noun" gloss="box"/>
    </np>
  </pp>
</example>

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <word gloss="to_inside" posp="pp"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
    <np def="def" number="sing" locus="number">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
    </np>
  </pp>
</example>

addaffixes:

No change.

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
+  <flat>
    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <np def="def" number="sing" locus="number">
    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="p&#x2B0; i# t&#x32A;&#x2E4;" slots="Cir Cfr">pʰi#t̪ˤ</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="n&#x32A; a# j ai t&#x2BC;" slots="Cir Cfr">n̪a#jaitʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="p&#x2B0; i# t&#x32A;&#x2E4;" slots="Cir Cfr">pʰi#t̪ˤ</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="n&#x32A; a# j ai t&#x2BC;" slots="Cir Cfr">n̪a#jaitʼ</word>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="p&#x2B0; i# t&#x32A;&#x2E4;">pʰi#t̪ˤ</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="n&#x32A; a# j ai t&#x2BC;">n̪a#jaitʼ</word>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="p&#x2B0; i# t&#x32A;&#x2E4;">pʰi#t̪ˤ</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="n&#x32A; a# j ai t&#x2BC;">n̪a#jaitʼ</word>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">pʰi#t̪ˤ</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number">n̪a#jaitʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰĩt̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ãjaitʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰĩt̪ˤ n̪ãjaitʼ</p>
+  <p>फिँत़् नँयैत्ऽ</p>
+  <il>
+    <w>
+      <o>pʰĩt̪ˤ</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>n̪ãjaitʼ</o>
+      <g>box</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <np number="sing" def="neither">
      <pron person="1excl" number="sing"/>
    </np>
  </pp>
</example>

cleanup:

<example id="adpos3" translation="with me">
  <pp role="comitative">
-    <np number="sing" def="neither">
-      <pron person="1excl" number="sing"/>
+    <np number="sing" def="neither" locus="number">
+      <word person="1excl" number="sing" posp="pron"/>
    </np>
  </pp>
</example>

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

<example id="adpos3" translation="with me">
  <pp role="comitative">
+    <word gloss="COMIT" posp="pp"/>
    <np number="sing" def="neither" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
  </pp>
</example>

module constorder:

No change.

module casemarking:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp"/>
    <np number="sing" def="neither" locus="number">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
  </pp>
</example>

copyuptophrase:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp"/>
-    <np number="sing" def="neither" locus="number">
+    <np number="sing" def="neither" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
  </pp>
</example>

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos3" translation="with me">
  <pp role="comitative">
-    <word gloss="COMIT" posp="pp"/>
+    <word gloss="COMIT" posp="pp" role="comitative"/>
    <np number="sing" def="neither" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
    </np>
  </pp>
</example>

addaffixes:

No change.

flatten:

<example id="adpos3" translation="with me">
-  <pp role="comitative">
+  <flat>
    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <np number="sing" def="neither" locus="number" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="x a x&#x2B7; i t&#x32A;&#x2E4;" slots="Cir Cfr">xaxʷit̪ˤ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x3B8;&#x2E4; o k&#x2BC;" slots="Cir Cfr">θˤokʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="x a x&#x2B7; i t&#x32A;&#x2E4;" slots="Cir Cfr">xaxʷit̪ˤ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x3B8;&#x2E4; o k&#x2BC;" slots="Cir Cfr">θˤokʼ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="x a x&#x2B7; i t&#x32A;&#x2E4;">xaxʷit̪ˤ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x3B8;&#x2E4; o k&#x2BC;">θˤokʼ</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="x a x&#x2B7; i t&#x32A;&#x2E4;">xaxʷit̪ˤ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="&#x3B8;&#x2E4; o k&#x2BC;">θˤokʼ</word>
+    <word gloss="COMIT" posp="pp" role="comitative">xaxʷit̪ˤ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">θˤokʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaxʷit̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤokʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xaxʷit̪ˤ θˤokʼ</p>
+  <p>अख्वित़् थ़ोक़</p>
+  <il>
+    <w>
+      <o>xaxʷit̪ˤ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>θˤokʼ</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <vp tam="past-punct">
      <verb>kill</verb>
    </vp>
    <np number="sing" def="def" role="subj">
      <noun>jaguar</noun>
    </np>
    <np number="sing" def="def" role="obj">
      <noun>hunter</noun>
    </np>
  </s>
</example>

cleanup:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <vp tam="past-punct">
-      <verb>kill</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="kill"/>
    </vp>
-    <np number="sing" def="def" role="subj">
-      <noun>jaguar</noun>
+    <np number="sing" def="def" role="subj" locus="number">
+      <word posp="noun" gloss="jaguar"/>
    </np>
-    <np number="sing" def="def" role="obj">
-      <noun>hunter</noun>
+    <np number="sing" def="def" role="obj" locus="number">
+      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="kill"/>
-    </vp>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="jaguar"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="kill"/>
+    </vp>
    <np number="sing" def="def" role="obj" locus="number">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module casemarking:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <np number="sing" def="def" role="subj" locus="number">
+    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
-    <np number="sing" def="def" role="obj" locus="number">
+    <np number="sing" def="def" role="obj" locus="number" case="NOM">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="jaguar"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="NOM">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="jaguar"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="NOM">
      <word posp="noun" gloss="hunter"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="kill"/>
+      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="NOM">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="ERG">
+  <flat>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" case="NOM">
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" ph="n&#x32A;&#x2E4; y# t i &#x272;" slots="Cir Cfr">n̪ˤy#tiɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="n&#x32A;&#x2E4; i&#x2D0; s" slots="Cir Cfr">n̪ˤiːs</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" ph="k u k&#x2BC; i n&#x32A;&#x2E4;" slots="Cir Cfr">kukʼin̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" ph="n&#x32A;&#x2E4; y# t i &#x272;" slots="Cir Cfr">n̪ˤy#tiɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="n&#x32A;&#x2E4; i&#x2D0; s" slots="Cir Cfr">n̪ˤiːs</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" ph="n&#x32A;&#x2E4; y# t i &#x272;">n̪ˤy#tiɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="n&#x32A;&#x2E4; i&#x2D0; s">n̪ˤiːs</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" ph="k u k&#x2BC; i n&#x32A;&#x2E4;" slots="Cir Cfr">kukʼin̪ˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" ph="k u k&#x2BC; i n&#x32A;&#x2E4;">kukʼin̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" ph="n&#x32A;&#x2E4; y# t i &#x272;">n̪ˤy#tiɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="n&#x32A;&#x2E4; i&#x2D0; s">n̪ˤiːs</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" ph="k u k&#x2BC; i n&#x32A;&#x2E4;">kukʼin̪ˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG">n̪ˤy#tiɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">n̪ˤiːs</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM">kukʼin̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ˤỹtiɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ˤiːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kukʼin̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>n̪ˤỹtiɲ xʷøn̪ˤ n̪ˤiːs tˤỹm kukʼin̪ˤ θix</p>
+  <p>ऩ्युँतिञ् ख्व्योऩ् ऩीस् त़्युँम् कुक़इऩ् थि</p>
+  <il>
+    <w>
+      <o>n̪ˤỹtiɲ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>n̪ˤiːs</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>kukʼin̪ˤ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <vp tam="past-punct">
      <verb>eat</verb>
    </vp>
    <np number="sing" def="def" role="subj">
      <noun>lion</noun>
    </np>
    <np role="obj">
      <np type="owner_owned">
        <np type="owner_owned">
          <np number="sing" def="def">
            <noun>hunter</noun>
          </np>
          <np number="sing" def="def">
            <noun>daughter</noun>
          </np>
        </np>
        <np number="sing" def="def">
          <noun>dog</noun>
        </np>
      </np>
    </np>
  </s>
</example>

cleanup:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
-    <vp tam="past-punct">
-      <verb>eat</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="eat"/>
    </vp>
-    <np number="sing" def="def" role="subj">
-      <noun>lion</noun>
+    <np number="sing" def="def" role="subj" locus="number">
+      <word posp="noun" gloss="lion"/>
    </np>
    <np role="obj">
      <np type="owner_owned">
-        <np type="owner_owned">
-          <np number="sing" def="def">
-            <noun>hunter</noun>
+        <np type="owner_owned" role="owner">
+          <np number="sing" def="def" locus="number" role="owner">
+            <word posp="noun" gloss="hunter"/>
          </np>
-          <np number="sing" def="def">
-            <noun>daughter</noun>
+          <np number="sing" def="def" locus="number" role="owned">
+            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
-        <np number="sing" def="def">
-          <noun>dog</noun>
+        <np number="sing" def="def" locus="number" role="owned">
+          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="lion"/>
    </np>
    <np role="obj">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
          <np number="sing" def="def" locus="number" role="owner">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="eat"/>
-    </vp>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="lion"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="eat"/>
+    </vp>
    <np role="obj">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
          <np number="sing" def="def" locus="number" role="owner">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
  </s>
</example>

module casemarking:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
-    <np number="sing" def="def" role="subj" locus="number">
+    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="NOM">
      <np type="owner_owned">
        <np type="owner_owned" role="owner">
          <np number="sing" def="def" locus="number" role="owner">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
  </s>
</example>

module propagatenumber:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
-    <np role="obj" case="NOM">
-      <np type="owner_owned">
-        <np type="owner_owned" role="owner">
+    <np role="obj" case="NOM" number="sing">
+      <np type="owner_owned" number="sing">
+        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="def" locus="number" role="owner">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
      <np type="owner_owned" number="sing">
        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="def" locus="number" role="owner">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="NOM" number="sing">
-      <np type="owner_owned" number="sing">
-        <np type="owner_owned" role="owner" number="sing">
-          <np number="sing" def="def" locus="number" role="owner">
+      <np type="owner_owned" number="sing" case="NOM">
+        <np type="owner_owned" role="owner" number="sing" case="NOM">
+          <np number="sing" def="def" locus="number" role="owner" case="NOM">
            <word posp="noun" gloss="hunter"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned">
+          <np number="sing" def="def" locus="number" role="owned" case="NOM">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" case="NOM">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="NOM" number="sing">
-      <np type="owner_owned" number="sing" case="NOM">
+    <np type="owner_owned" number="sing" case="NOM" role="obj">
      <np type="owner_owned" role="owner" number="sing" case="NOM">
        <np number="sing" def="def" locus="number" role="owner" case="NOM">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" case="NOM">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" case="NOM">
        <word posp="noun" gloss="dog"/>
      </np>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="lion"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np type="owner_owned" number="sing" case="NOM" role="obj">
-      <np type="owner_owned" role="owner" number="sing" case="NOM">
    <np number="sing" def="def" locus="number" role="owner" case="NOM">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="daughter"/>
    </np>
-      </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="dog"/>
    </np>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </s>
</example>

movedowntoword:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="eat"/>
+      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owner" case="NOM">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="NOM">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="NOM"/>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="ERG">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owner" case="NOM">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="NOM"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" ph="q&#x2BC; a &#x28B; u&#x2D0; &#x3B8;" slots="Cir Cfr">qʼaʋuːθ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;" slots="Cir V1">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="NOM" ph="k u k&#x2BC; i n&#x32A;&#x2E4;" slots="Cir Cfr">kukʼin̪ˤ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4; a h" slots="Cir Cfr">sˤah</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="NOM" ph="t&#x32A;&#x2E4; i# n&#x32A;&#x2E4;" slots="Cir Cfr">t̪ˤi#n̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" ph="q&#x2BC; a &#x28B; u&#x2D0; &#x3B8;" slots="Cir Cfr">qʼaʋuːθ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;" slots="Cir V1">kʰʷø</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" ph="q&#x2BC; a &#x28B; u&#x2D0; &#x3B8;">qʼaʋuːθ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="NOM" ph="k u k&#x2BC; i n&#x32A;&#x2E4;" slots="Cir Cfr">kukʼin̪ˤ</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4; a h" slots="Cir Cfr">sˤah</word>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="NOM" ph="t&#x32A;&#x2E4; i# n&#x32A;&#x2E4;" slots="Cir Cfr">t̪ˤi#n̪ˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="NOM" ph="k u k&#x2BC; i n&#x32A;&#x2E4;">kukʼin̪ˤ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4; a h">sˤah</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="NOM" ph="t&#x32A;&#x2E4; i# n&#x32A;&#x2E4;">t̪ˤi#n̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" ph="q&#x2BC; a &#x28B; u&#x2D0; &#x3B8;">qʼaʋuːθ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;">kʰʷø</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="NOM" ph="k u k&#x2BC; i n&#x32A;&#x2E4;">kukʼin̪ˤ</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s&#x2E4; a h">sˤah</word>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="NOM" ph="t&#x32A;&#x2E4; i# n&#x32A;&#x2E4;">t̪ˤi#n̪ˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG">qʼaʋuːθ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="NOM">kukʼin̪ˤ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM">sˤah</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="NOM">t̪ˤi#n̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʼaʋuːθ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰʷø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kukʼin̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤah&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤĩn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qʼaʋuːθ xʷøn̪ˤ kʰʷø tˤỹm kukʼin̪ˤ sˤah t̪ˤĩn̪ˤ θix</p>
+  <p>क़्ऽअवूथ् ख्व्योऩ् ख्व्यो त़्युँम् कुक़इऩ् स़ह् त़िँऩ् थि</p>
+  <il>
+    <w>
+      <o>qʼaʋuːθ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>kʰʷø</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>kukʼin̪ˤ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>sˤah</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>t̪ˤĩn̪ˤ</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned">
    <np type="owner_owned">
      <np type="owner_owned">
        <np number="sing" def="neither">
          <pron person="2" number="sing"/>
        </np>
        <np number="sing" def="def">
          <noun>son</noun>
        </np>
      </np>
      <np number="sing" def="def">
        <noun>friend</noun>
      </np>
    </np>
    <np number="sing" def="def">
      <noun>book</noun>
    </np>
  </np>
</example>

cleanup:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned">
-    <np type="owner_owned">
-      <np type="owner_owned">
-        <np number="sing" def="neither">
-          <pron person="2" number="sing"/>
+    <np type="owner_owned" role="owner">
+      <np type="owner_owned" role="owner">
+        <np number="sing" def="neither" locus="number" role="owner">
+          <word person="2" number="sing" posp="pron"/>
        </np>
-        <np number="sing" def="def">
-          <noun>son</noun>
+        <np number="sing" def="def" locus="number" role="owned">
+          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def">
-        <noun>friend</noun>
+      <np number="sing" def="def" locus="number" role="owned">
+        <word posp="noun" gloss="friend"/>
      </np>
    </np>
-    <np number="sing" def="def">
-      <noun>book</noun>
+    <np number="sing" def="def" locus="number" role="owned">
+      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned">
+  <np type="owner_owned" case="NOM">
    <np type="owner_owned" role="owner">
      <np type="owner_owned" role="owner">
        <np number="sing" def="neither" locus="number" role="owner">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module propagatenumber:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="NOM">
-    <np type="owner_owned" role="owner">
-      <np type="owner_owned" role="owner">
+  <np type="owner_owned" case="NOM" number="sing">
+    <np type="owner_owned" role="owner" number="sing">
+      <np type="owner_owned" role="owner" number="sing">
        <np number="sing" def="neither" locus="number" role="owner">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" case="NOM" number="sing">
    <np type="owner_owned" role="owner" number="sing">
      <np type="owner_owned" role="owner" number="sing">
        <np number="sing" def="neither" locus="number" role="owner">
-          <word person="2" number="sing" posp="pron"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

copyuptophrase:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" case="NOM" number="sing">
    <np type="owner_owned" role="owner" number="sing">
      <np type="owner_owned" role="owner" number="sing">
-        <np number="sing" def="neither" locus="number" role="owner">
+        <np number="sing" def="neither" locus="number" role="owner" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

prodrop:

No change.

addclitics:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" case="NOM" number="sing">
-    <np type="owner_owned" role="owner" number="sing">
-      <np type="owner_owned" role="owner" number="sing">
-        <np number="sing" def="neither" locus="number" role="owner" person="2">
+    <np type="owner_owned" role="owner" number="sing" case="NOM">
+      <np type="owner_owned" role="owner" number="sing" case="NOM">
+        <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" case="NOM">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned">
+      <np number="sing" def="def" locus="number" role="owned" case="NOM">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
-    <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" case="NOM">
      <word posp="noun" gloss="book"/>
    </np>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="NOM" number="sing">
-    <np type="owner_owned" role="owner" number="sing" case="NOM">
-      <np type="owner_owned" role="owner" number="sing" case="NOM">
  <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
    <word person="2" number="sing" posp="pron" gloss="2.sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="son"/>
  </np>
-      </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="friend"/>
  </np>
-    </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="book"/>
  </np>
  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-  </np>
</example>

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
-    <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="NOM"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM"/>
  </np>
  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
</example>

addaffixes:

No change.

flatten:

<example id="poss3" translation="your son's friend's book">
-  <np number="sing" def="neither" locus="number" role="owner" person="2" case="NOM">
+  <flat>
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="NOM">
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-  </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+  </flat>
</example>

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM" ph="k&#x2BC;&#x2B7; &#xF8; q" slots="Cir Cfr">kʼʷøq</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x u&#x2D0; t&#x2BC;" slots="Cir Cfr">xuːtʼ</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="NOM" ph="n y# n&#x32A;" slots="Cir Cfr">ny#n̪</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s i h o&#x2D0; h" slots="C C">sihoːh</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM" ph="k&#x2BC;&#x2B7; &#xF8; q" slots="Cir Cfr">kʼʷøq</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x u&#x2D0; t&#x2BC;" slots="Cir Cfr">xuːtʼ</word>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="NOM" ph="n y# n&#x32A;" slots="Cir Cfr">ny#n̪</word>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s i h o&#x2D0; h" slots="C C">sihoːh</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM" ph="k&#x2BC;&#x2B7; &#xF8; q">kʼʷøq</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x u&#x2D0; t&#x2BC;">xuːtʼ</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="NOM" ph="n y# n&#x32A;">ny#n̪</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s i h o&#x2D0; h">sihoːh</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM" ph="k&#x2BC;&#x2B7; &#xF8; q">kʼʷøq</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x u&#x2D0; t&#x2BC;">xuːtʼ</word>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="NOM" ph="n y# n&#x32A;">ny#n̪</word>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="s i h o&#x2D0; h">sihoːh</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="NOM">kʼʷøq</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="NOM">xuːtʼ</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="NOM">ny#n̪</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM">sihoːh</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼʷøq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xuːtʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nỹn̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sihoːh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʼʷøq xuːtʼ nỹn̪ sihoːh θix</p>
+  <p>क़व्योक़् ऊत्ऽ न्युँन् सिहौह् थि</p>
+  <il>
+    <w>
+      <o>kʼʷøq</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>xuːtʼ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>nỹn̪</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>sihoːh</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <vp tam="pres-state">
      <verb>sleep</verb>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme">
      <noun>cat</noun>
    </np>
  </s>
</example>

cleanup:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <vp tam="pres-state">
-      <verb>sleep</verb>
+    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active">
+      <word posp="verb" gloss="sleep"/>
    </vp>
-    <np number="sing" def="def" role="subj" tr="theme">
-      <noun>cat</noun>
+    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="sleep"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
-      <word posp="verb" gloss="sleep"/>
-    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="sleep"/>
+    </vp>
  </s>
</example>

module casemarking:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
-      <word posp="verb" gloss="sleep"/>
+      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="intr_stat" translation="The cat is sleeping.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="&#x3B8; i#&#x2D0; k" slots="Cir Cfr">θi#ːk</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="&#x3B8; i#&#x2D0; k" slots="Cir Cfr">θi#ːk</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="&#x3B8; i#&#x2D0; k">θi#ːk</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="&#x3B8; i#&#x2D0; k">θi#ːk</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">θi#ːk</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xal</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θĩːk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xal&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t̪ˤoːɲ θix θĩːk xal</p>
+  <p>त़ौञ् थि थिँक् अल्</p>
+  <il>
+    <w>
+      <o>t̪ˤoːɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>θĩːk</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>xal</o>
+      <g>PRES.indicative.active</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="intr_act" translation="The cat is running.">
  <s>
    <vp tam="pres-cont">
      <verb>run</verb>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme">
      <noun>cat</noun>
    </np>
  </s>
</example>

cleanup:

<example id="intr_act" translation="The cat is running.">
  <s>
-    <vp tam="pres-cont">
-      <verb>run</verb>
+    <vp tam="pres-cont" negation="POS" question="not.Q">
+      <word posp="verb" gloss="run"/>
    </vp>
-    <np number="sing" def="def" role="subj" tr="theme">
-      <noun>cat</noun>
+    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="intr_act" translation="The cat is running.">
  <s>
-    <vp tam="pres-cont" negation="POS" question="not.Q">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word posp="verb" gloss="run"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="intr_act" translation="The cat is running.">
  <s>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
-      <word posp="verb" gloss="run"/>
-    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+      <word posp="verb" gloss="run"/>
+    </vp>
  </s>
</example>

module casemarking:

<example id="intr_act" translation="The cat is running.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <word posp="verb" gloss="run"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="intr_act" translation="The cat is running.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="&#x28B; a &#x3B8;&#x2E4;" slots="Cir Cfr">ʋaθˤ</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="&#x28B; a &#x3B8;&#x2E4;" slots="Cir Cfr">ʋaθˤ</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="&#x28B; a &#x3B8;&#x2E4;">ʋaθˤ</word>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="&#x28B; a &#x3B8;&#x2E4;">ʋaθˤ</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">ʋaθˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋaθˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t̪ˤoːɲ θix ʋaθˤ</p>
+  <p>त़ौञ् थि वथ़्</p>
+  <il>
+    <w>
+      <o>t̪ˤoːɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ʋaθˤ</o>
+      <g>run</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <vp tam="pres-cont">
      <verb>chase</verb>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme">
      <noun>cat</noun>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme">
      <noun>mouse</noun>
    </np>
  </s>
</example>

cleanup:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <vp tam="pres-cont">
-      <verb>chase</verb>
+    <vp tam="pres-cont" negation="POS" question="not.Q">
+      <word posp="verb" gloss="chase"/>
    </vp>
-    <np number="sing" def="def" role="subj" tr="theme">
-      <noun>cat</noun>
+    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+      <word posp="noun" gloss="cat"/>
    </np>
-    <np number="sing" def="def" role="obj" tr="rheme">
-      <noun>mouse</noun>
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
+      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <vp tam="pres-cont" negation="POS" question="not.Q">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
-      <word posp="verb" gloss="chase"/>
-    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+      <word posp="verb" gloss="chase"/>
+    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module casemarking:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word posp="verb" gloss="chase"/>
    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="chase"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="chase"/>
+      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="n i q y&#x2D0; r&#x2E4;" slots="Cir Cfr">niqyːrˤ</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="n i q y&#x2D0; r&#x2E4;" slots="Cir Cfr">niqyːrˤ</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="n i q y&#x2D0; r&#x2E4;">niqyːrˤ</word>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="n i q y&#x2D0; r&#x2E4;">niqyːrˤ</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">niqyːrˤ</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC">qøt̪</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niqyːrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teθˤyːtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qøt̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t̪ˤoːɲ θix niqyːrˤ teθˤyːtˤ qøt̪</p>
+  <p>त़ौञ् थि निक़्यूऱ् तेथ़्यूत़् क़्योत्</p>
+  <il>
+    <w>
+      <o>t̪ˤoːɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>niqyːrˤ</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>teθˤyːtˤ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>qøt̪</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <vp tam="past-punct">
      <verb>catch</verb>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme">
      <noun>cat</noun>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme">
      <noun>mouse</noun>
    </np>
  </s>
</example>

cleanup:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
-    <vp tam="past-punct">
-      <verb>catch</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="catch"/>
    </vp>
-    <np number="sing" def="def" role="subj" tr="theme">
-      <noun>cat</noun>
+    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+      <word posp="noun" gloss="cat"/>
    </np>
-    <np number="sing" def="def" role="obj" tr="rheme">
-      <noun>mouse</noun>
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
+      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="catch"/>
-    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="catch"/>
+    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module casemarking:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
      <word posp="noun" gloss="cat"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM">
      <word posp="noun" gloss="mouse"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="tr_past" translation="The cat caught the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼˤĩj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teθˤyːtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t̪ˤoːɲ xʷøn̪ˤ tʼˤĩj tˤỹm teθˤyːtˤ θix</p>
+  <p>त़ौञ् ख्व्योऩ् त्ऽ़इँय् त़्युँम् तेथ़्यूत़् थि</p>
+  <il>
+    <w>
+      <o>t̪ˤoːɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>tʼˤĩj</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>teθˤyːtˤ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <vp tam="past-punct">
      <verb>kill</verb>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj">
      <noun>hunter</noun>
    </np>
    <np role="obj" tr="rheme">
      <conjp conj="and">
        <np def="def" number="plur">
          <noun>jaguar</noun>
        </np>
        <np def="def" number="plur">
          <noun>tiger</noun>
        </np>
        <np def="def" number="plur">
          <noun>lion</noun>
        </np>
      </conjp>
    </np>
  </s>
</example>

cleanup:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
-    <vp tam="past-punct">
-      <verb>kill</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="kill"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj">
-      <noun>hunter</noun>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="noun" gloss="hunter"/>
    </np>
    <np role="obj" tr="rheme">
      <conjp conj="and">
-        <np def="def" number="plur">
-          <noun>jaguar</noun>
+        <np def="def" number="plur" locus="number">
+          <word posp="noun" gloss="jaguar"/>
        </np>
-        <np def="def" number="plur">
-          <noun>tiger</noun>
+        <np def="def" number="plur" locus="number">
+          <word posp="noun" gloss="tiger"/>
        </np>
-        <np def="def" number="plur">
-          <noun>lion</noun>
+        <np def="def" number="plur" locus="number">
+          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np role="obj" tr="rheme">
      <conjp conj="and">
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="kill"/>
-    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="hunter"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="kill"/>
+    </vp>
    <np role="obj" tr="rheme">
      <conjp conj="and">
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

module casemarking:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
-    <np role="obj" tr="rheme">
+    <np role="obj" tr="rheme" case="NOM">
      <conjp conj="and">
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
-    <np role="obj" tr="rheme" case="NOM">
+    <np role="obj" tr="rheme" case="NOM" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" case="NOM" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="jaguar"/>
        </np>
+        <word posp="conj" gloss="and"/>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="tiger"/>
        </np>
+        <word posp="conj" gloss="and"/>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

flattenconjp:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" case="NOM" number="plur">
-      <conjp conj="and">
-        <np def="def" number="plur" locus="number">
+      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" number="plur" locus="number">
+      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" number="plur" locus="number">
+      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="lion"/>
      </np>
-      </conjp>
    </np>
  </s>
</example>

fixpronouns:

No change.

copyuptophrase:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" case="NOM" number="plur">
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="lion"/>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="NOM" number="plur">
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
        <word posp="noun" gloss="lion"/>
      </np>
+      <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="hunter"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="kill"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" tr="rheme" case="NOM" number="plur">
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
      <word posp="noun" gloss="lion"/>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
-      <word posp="verb" gloss="kill"/>
+      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
-      <word posp="noun" gloss="tiger"/>
+      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
+  <flat>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="k u k&#x2BC; i n&#x32A;&#x2E4;" slots="Cir Cfr">kukʼin̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="n&#x32A;&#x2E4; i&#x2D0; s" slots="Cir Cfr">n̪ˤiːs</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="n&#x32A;&#x2E4; y# t i &#x272;" slots="Cir Cfr">n̪ˤy#tiɲ</word>
+    <word posp="conj" gloss="and" ph="k&#x2BC;&#x2B7; &#xF8; m" slots="Cir Cfr">kʼʷøm</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="t &#xF8; t&#x2BC; y j" slots="Cir Cfr">tøtʼyj</word>
+    <word posp="conj" gloss="and" ph="k&#x2BC;&#x2B7; &#xF8; m" slots="Cir Cfr">kʼʷøm</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="q&#x2BC; a &#x28B; u&#x2D0; &#x3B8;" slots="Cir Cfr">qʼaʋuːθ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM" ph="l i p&#x2BC;" slots="Cis Cfs">lipʼ</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="k u k&#x2BC; i n&#x32A;&#x2E4;" slots="Cir Cfr">kukʼin̪ˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="n&#x32A;&#x2E4; i&#x2D0; s" slots="Cir Cfr">n̪ˤiːs</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="k u k&#x2BC; i n&#x32A;&#x2E4;">kukʼin̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="n&#x32A;&#x2E4; i&#x2D0; s">n̪ˤiːs</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="n&#x32A;&#x2E4; y# t i &#x272;" slots="Cir Cfr">n̪ˤy#tiɲ</word>
-    <word posp="conj" gloss="and" ph="k&#x2BC;&#x2B7; &#xF8; m" slots="Cir Cfr">kʼʷøm</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="t &#xF8; t&#x2BC; y j" slots="Cir Cfr">tøtʼyj</word>
-    <word posp="conj" gloss="and" ph="k&#x2BC;&#x2B7; &#xF8; m" slots="Cir Cfr">kʼʷøm</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="q&#x2BC; a &#x28B; u&#x2D0; &#x3B8;" slots="Cir Cfr">qʼaʋuːθ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM" ph="l i p&#x2BC;" slots="Cis Cfs">lipʼ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="n&#x32A;&#x2E4; y# t i &#x272;">n̪ˤy#tiɲ</word>
+    <word posp="conj" gloss="and" ph="k&#x2BC;&#x2B7; &#xF8; m">kʼʷøm</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="t &#xF8; t&#x2BC; y j">tøtʼyj</word>
+    <word posp="conj" gloss="and" ph="k&#x2BC;&#x2B7; &#xF8; m">kʼʷøm</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="q&#x2BC; a &#x28B; u&#x2D0; &#x3B8;">qʼaʋuːθ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM" ph="l i p&#x2BC;">lipʼ</thingy>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="k u k&#x2BC; i n&#x32A;&#x2E4;">kukʼin̪ˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="n&#x32A;&#x2E4; i&#x2D0; s">n̪ˤiːs</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="n&#x32A;&#x2E4; y# t i &#x272;">n̪ˤy#tiɲ</word>
-    <word posp="conj" gloss="and" ph="k&#x2BC;&#x2B7; &#xF8; m">kʼʷøm</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="t &#xF8; t&#x2BC; y j">tøtʼyj</word>
-    <word posp="conj" gloss="and" ph="k&#x2BC;&#x2B7; &#xF8; m">kʼʷøm</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM" ph="q&#x2BC; a &#x28B; u&#x2D0; &#x3B8;">qʼaʋuːθ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM" ph="l i p&#x2BC;">lipʼ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">kukʼin̪ˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">n̪ˤiːs</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">n̪ˤy#tiɲ</word>
+    <word posp="conj" gloss="and">kʼʷøm</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">tøtʼyj</word>
+    <word posp="conj" gloss="and">kʼʷøm</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="NOM">qʼaʋuːθ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="plur.NOM">lipʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kukʼin̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ˤiːs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ˤỹtiɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼʷøm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tøtʼyj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tiger&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼʷøm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʼaʋuːθ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lipʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kukʼin̪ˤ xʷøn̪ˤ n̪ˤiːs tˤỹm n̪ˤỹtiɲ kʼʷøm tøtʼyj kʼʷøm qʼaʋuːθ lipʼ</p>
+  <p>कुक़इऩ् ख्व्योऩ् ऩीस् त़्युँम् ऩ्युँतिञ् क़व्योम् त्योत्ऽयुय् क़व्योम् क़्ऽअवूथ् लिप्ऽ</p>
+  <il>
+    <w>
+      <o>kukʼin̪ˤ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>n̪ˤiːs</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>n̪ˤỹtiɲ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>kʼʷøm</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>tøtʼyj</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>kʼʷøm</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>qʼaʋuːθ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>lipʼ</o>
+      <g>plur.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="relp1" translation="I patted the cat.">
  <s>
    <vp tam="past-punct">
      <verb>pat</verb>
    </vp>
    <np number="sing" def="neither" role="subj">
      <pron person="1excl" number="sing"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj">
      <noun>cat</noun>
    </np>
  </s>
</example>

cleanup:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <vp tam="past-punct">
-      <verb>pat</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="pat"/>
    </vp>
-    <np number="sing" def="neither" role="subj">
-      <pron person="1excl" number="sing"/>
+    <np number="sing" def="neither" role="subj" locus="number">
+      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np def="def" number="sing" tr="rheme" role="obj">
-      <noun>cat</noun>
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="pat"/>
-    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module casemarking:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

addclitics:

<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM">
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r" slots="Cir Cfr">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r" slots="Cir Cfr">tʼin̪ˤa#r</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r">tʼin̪ˤa#r</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM">t̪ˤoːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼin̪ˤãr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʼin̪ˤãr tˤỹm t̪ˤoːɲ θix</p>
+  <p>त्ऽइऩँर् त़्युँम् त़ौञ् थि</p>
+  <il>
+    <w>
+      <o>tʼin̪ˤãr</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t̪ˤoːɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp tam="past-punct">
      <verb>pat</verb>
    </vp>
    <np number="sing" def="neither" role="subj">
      <pron person="1excl" number="sing"/>
    </np>
    <np role="obj">
      <relp>
        <vp tam="past-punct">
          <verb>catch</verb>
        </vp>
        <np def="def" number="sing" role="subj" head="this">
          <noun>cat</noun>
        </np>
        <np def="def" number="sing" role="obj">
          <noun>mouse</noun>
        </np>
      </relp>
    </np>
  </s>
</example>

cleanup:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <vp tam="past-punct">
-      <verb>pat</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="pat"/>
    </vp>
-    <np number="sing" def="neither" role="subj">
-      <pron person="1excl" number="sing"/>
+    <np number="sing" def="neither" role="subj" locus="number">
+      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <relp>
-        <vp tam="past-punct">
-          <verb>catch</verb>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this">
-          <noun>cat</noun>
+        <np def="def" number="sing" role="subj" head="this" locus="number">
+          <word posp="noun" gloss="cat"/>
        </np>
-        <np def="def" number="sing" role="obj">
-          <noun>mouse</noun>
+        <np def="def" number="sing" role="obj" locus="number">
+          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <relp>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="subj" head="this" locus="number">
          <word posp="noun" gloss="cat"/>
        </np>
        <np def="def" number="sing" role="obj" locus="number">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np role="obj">
-      <relp>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
-          <word posp="noun" gloss="cat"/>
-        </np>
        <np def="def" number="sing" role="obj" locus="number">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="pat"/>
-    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module casemarking:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="obj" locus="number">
+        <np def="def" number="sing" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent">
+    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
+          <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="mouse"/>
+          <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="NOM">
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np id="parent" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="NOM">
-          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM"/>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-        </np>
-      </relp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r" slots="Cir Cfr">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r" slots="Cir Cfr">tʼin̪ˤa#r</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r">tʼin̪ˤa#r</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">t̪ˤoːɲ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after">teθˤyːtˤ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼin̪ˤãr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪em&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼˤĩj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teθˤyːtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʼin̪ˤãr tˤỹm t̪ˤoːɲ, t̪em xʷøn̪ˤ tʼˤĩj tˤỹm teθˤyːtˤ θix</p>
+  <p>त्ऽइऩँर् त़्युँम् त़ौञ्, तेम् ख्व्योऩ् त्ऽ़इँय् त़्युँम् तेथ़्यूत़् थि</p>
+  <il>
+    <w>
+      <o>tʼin̪ˤãr</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t̪ˤoːɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>t̪em</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>tʼˤĩj</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>teθˤyːtˤ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp tam="past-punct">
      <verb>pat</verb>
    </vp>
    <np number="sing" def="neither" role="subj">
      <pron person="1excl" number="sing"/>
    </np>
    <np role="obj">
      <relp>
        <vp tam="past-punct">
          <verb>catch</verb>
        </vp>
        <np def="def" number="sing" role="subj" head="this">
          <noun>cat</noun>
        </np>
        <np role="obj">
          <relp>
            <vp tam="past-punct">
              <verb>eat</verb>
            </vp>
            <np def="def" number="sing" role="subj" head="this">
              <noun>mouse</noun>
            </np>
            <np def="def" number="sing" role="obj">
              <noun>cheese</noun>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

cleanup:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <vp tam="past-punct">
-      <verb>pat</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="pat"/>
    </vp>
-    <np number="sing" def="neither" role="subj">
-      <pron person="1excl" number="sing"/>
+    <np number="sing" def="neither" role="subj" locus="number">
+      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <relp>
-        <vp tam="past-punct">
-          <verb>catch</verb>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this">
-          <noun>cat</noun>
+        <np def="def" number="sing" role="subj" head="this" locus="number">
+          <word posp="noun" gloss="cat"/>
        </np>
        <np role="obj">
          <relp>
-            <vp tam="past-punct">
-              <verb>eat</verb>
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="subj" head="this">
-              <noun>mouse</noun>
+            <np def="def" number="sing" role="subj" head="this" locus="number">
+              <word posp="noun" gloss="mouse"/>
            </np>
-            <np def="def" number="sing" role="obj">
-              <noun>cheese</noun>
+            <np def="def" number="sing" role="obj" locus="number">
+              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <relp>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="subj" head="this" locus="number">
          <word posp="noun" gloss="cat"/>
        </np>
        <np role="obj">
          <relp>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="subj" head="this" locus="number">
              <word posp="noun" gloss="mouse"/>
            </np>
            <np def="def" number="sing" role="obj" locus="number">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np role="obj">
-      <relp>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
-          <word posp="noun" gloss="cat"/>
+        <np id="parent">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <word posp="noun" gloss="mouse"/>
          </np>
-        <np role="obj">
-          <relp>
+          <relp comma="after">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+              <word posp="pron" gloss="RELPRON"/>
+            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="subj" head="this" locus="number">
-              <word posp="noun" gloss="mouse"/>
-            </np>
            <np def="def" number="sing" role="obj" locus="number">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="pat"/>
-    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module casemarking:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="obj" locus="number">
+            <np def="def" number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent">
+    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent">
+        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
+          <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
+              <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="cheese"/>
+              <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <word posp="verb" gloss="catch"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
-        <np id="parent" number="sing">
+        <np id="parent" number="sing" case="ERG">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
              <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
              <word posp="verb" gloss="eat"/>
              <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="cheese"/>
              <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" number="sing" case="ERG">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
              <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
-              <word posp="verb" gloss="eat"/>
+              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
              <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="NOM">
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM"/>
              <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np id="parent" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np id="parent" number="sing" case="ERG">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-            <np def="def" number="sing" role="obj" locus="number" case="NOM">
-              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM"/>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r" slots="Cir Cfr">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;" slots="Cir V1">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after" ph="&#x3B8;&#x2E4; e q a# t&#x2BC;" slots="Cir Cfr">θˤeqa#tʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r" slots="Cir Cfr">tʼin̪ˤa#r</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;" slots="Cir V1">kʰʷø</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after" ph="&#x3B8;&#x2E4; e q a# t&#x2BC;" slots="Cir Cfr">θˤeqa#tʼ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after" ph="&#x3B8;&#x2E4; e q a# t&#x2BC;">θˤeqa#tʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r">tʼin̪ˤa#r</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;">kʰʷø</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after" ph="&#x3B8;&#x2E4; e q a# t&#x2BC;">θˤeqa#tʼ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">t̪ˤoːɲ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">teθˤyːtˤ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="NOM" comma="after">θˤeqa#tʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼin̪ˤãr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪em&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼˤĩj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teθˤyːtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪em&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰʷø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤeqãtʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cheese&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʼin̪ˤãr tˤỹm t̪ˤoːɲ, t̪em xʷøn̪ˤ tʼˤĩj tˤỹm teθˤyːtˤ, t̪em xʷøn̪ˤ kʰʷø tˤỹm θˤeqãtʼ θix</p>
+  <p>त्ऽइऩँर् त़्युँम् त़ौञ्, तेम् ख्व्योऩ् त्ऽ़इँय् त़्युँम् तेथ़्यूत़्, तेम् ख्व्योऩ् ख्व्यो त़्युँम् थ़ेक़ँत्ऽ थि</p>
+  <il>
+    <w>
+      <o>tʼin̪ˤãr</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t̪ˤoːɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>t̪em</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>tʼˤĩj</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>teθˤyːtˤ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>t̪em</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>kʰʷø</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>θˤeqãtʼ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp tam="past-punct">
      <verb>pat</verb>
    </vp>
    <np number="sing" def="neither" role="subj">
      <pron person="1excl" number="sing"/>
    </np>
    <np role="obj">
      <relp>
        <vp tam="past-punct">
          <verb>catch</verb>
        </vp>
        <np def="def" number="sing" role="subj" head="this">
          <noun>cat</noun>
        </np>
        <np role="obj">
          <relp>
            <vp tam="past-punct">
              <verb>eat</verb>
            </vp>
            <np def="def" number="sing" role="subj" head="this">
              <noun>mouse</noun>
            </np>
            <np role="obj">
              <relp>
                <vp tam="past-punct">
                  <verb>buy</verb>
                </vp>
                <np number="sing" def="neither" role="subj">
                  <pron person="1excl" number="sing"/>
                </np>
                <np def="def" number="sing" role="obj" head="this">
                  <noun>cheese</noun>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

cleanup:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <vp tam="past-punct">
-      <verb>pat</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="pat"/>
    </vp>
-    <np number="sing" def="neither" role="subj">
-      <pron person="1excl" number="sing"/>
+    <np number="sing" def="neither" role="subj" locus="number">
+      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <relp>
-        <vp tam="past-punct">
-          <verb>catch</verb>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this">
-          <noun>cat</noun>
+        <np def="def" number="sing" role="subj" head="this" locus="number">
+          <word posp="noun" gloss="cat"/>
        </np>
        <np role="obj">
          <relp>
-            <vp tam="past-punct">
-              <verb>eat</verb>
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="subj" head="this">
-              <noun>mouse</noun>
+            <np def="def" number="sing" role="subj" head="this" locus="number">
+              <word posp="noun" gloss="mouse"/>
            </np>
            <np role="obj">
              <relp>
-                <vp tam="past-punct">
-                  <verb>buy</verb>
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+                  <word posp="verb" gloss="buy"/>
                </vp>
-                <np number="sing" def="neither" role="subj">
-                  <pron person="1excl" number="sing"/>
+                <np number="sing" def="neither" role="subj" locus="number">
+                  <word person="1excl" number="sing" posp="pron"/>
                </np>
-                <np def="def" number="sing" role="obj" head="this">
-                  <noun>cheese</noun>
+                <np def="def" number="sing" role="obj" head="this" locus="number">
+                  <word posp="noun" gloss="cheese"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <relp>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="subj" head="this" locus="number">
          <word posp="noun" gloss="cat"/>
        </np>
        <np role="obj">
          <relp>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="subj" head="this" locus="number">
              <word posp="noun" gloss="mouse"/>
            </np>
            <np role="obj">
              <relp>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
                <np def="def" number="sing" role="obj" head="this" locus="number">
                  <word posp="noun" gloss="cheese"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np role="obj">
-      <relp>
+    <np id="parent">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <word posp="noun" gloss="cat"/>
+      </np>
+      <relp comma="after">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
-          <word posp="noun" gloss="cat"/>
+        <np id="parent">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+            <word posp="noun" gloss="mouse"/>
          </np>
-        <np role="obj">
-          <relp>
+          <relp comma="after">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+              <word posp="pron" gloss="RELPRON"/>
+            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np def="def" number="sing" role="subj" head="this" locus="number">
-              <word posp="noun" gloss="mouse"/>
+            <np id="parent">
+              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+                <word posp="noun" gloss="cheese"/>
              </np>
-            <np role="obj">
-              <relp>
+              <relp comma="after">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before">
+                  <word posp="pron" gloss="RELPRON"/>
+                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
-                <np def="def" number="sing" role="obj" head="this" locus="number">
-                  <word posp="noun" gloss="cheese"/>
-                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

No change.

module adpositions:

No change.

module constorder:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="pat"/>
-    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module casemarking:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
-                <np number="sing" def="neither" role="subj" locus="number">
+                <np number="sing" def="neither" role="subj" locus="number" case="ERG">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent">
+    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent">
+        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
-            <np id="parent">
+            <np id="parent" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ERG">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ERG">
-                  <word person="1excl" number="sing" posp="pron"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
                  <word posp="verb" gloss="buy"/>
                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="ERG">
+                <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
+          <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
+              <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np id="parent" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
                  <word posp="pron" gloss="RELPRON"/>
+                  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
                  <word posp="verb" gloss="buy"/>
+                  <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+                  <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+                  <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
          <word posp="pron" gloss="RELPRON"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
          <word posp="verb" gloss="catch"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
-        <np id="parent" number="sing">
+        <np id="parent" number="sing" case="ERG">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
              <word posp="pron" gloss="RELPRON"/>
              <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
              <word posp="verb" gloss="eat"/>
              <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
-            <np id="parent" number="sing">
+            <np id="parent" number="sing" case="ERG">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
                  <word posp="pron" gloss="RELPRON"/>
                  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
                  <word posp="verb" gloss="buy"/>
                  <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                  <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                  <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" number="sing" case="ERG">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
              <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-              <word posp="verb" gloss="eat"/>
+              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
              <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np id="parent" number="sing" case="ERG">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
-                <word posp="noun" gloss="cheese"/>
+                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
-                  <word posp="pron" gloss="RELPRON"/>
+                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM"/>
                  <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
-                  <word posp="verb" gloss="buy"/>
+                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
                  <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                  <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
                  <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np id="parent" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np id="parent" number="sing" case="ERG">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-            <np id="parent" number="sing" case="ERG">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-              </np>
-              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="ERG" person="1excl">
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" comma="after"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-                </np>
-              </relp>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" comma="after"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r" slots="Cir Cfr">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;" slots="Cir V1">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x3B8;&#x2E4; e q a# t&#x2BC;" slots="Cir Cfr">θˤeqa#tʼ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="n&#x2E4; a# q" slots="Cir Cfr">nˤa#q</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" comma="after" ph="&#x3B8;&#x2E4; o k&#x2BC;" slots="Cir Cfr">θˤokʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r" slots="Cir Cfr">tʼin̪ˤa#r</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;" slots="Cir Cfr">t̪ˤoːɲ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="t&#x2BC;&#x2E4; i# j" slots="Cir Cfr">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;" slots="Cir Cfr">teθˤyːtˤ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;" slots="Cir V1">kʰʷø</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x3B8;&#x2E4; e q a# t&#x2BC;" slots="Cir Cfr">θˤeqa#tʼ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM" ph="t&#x32A; e m" slots="Cir Cfr">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="n&#x2E4; a# q" slots="Cir Cfr">nˤa#q</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x3B8;&#x2E4; e q a# t&#x2BC;">θˤeqa#tʼ</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM" ph="t&#x32A; e m">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="n&#x2E4; a# q">nˤa#q</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" comma="after" ph="&#x3B8;&#x2E4; o k&#x2BC;" slots="Cir Cfr">θˤokʼ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" comma="after" ph="&#x3B8;&#x2E4; o k&#x2BC;">θˤokʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2BC; i n&#x32A;&#x2E4; a# r">tʼin̪ˤa#r</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t&#x32A;&#x2E4; o&#x2D0; &#x272;">t̪ˤoːɲ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="t&#x2BC;&#x2E4; i# j">tʼˤi#j</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="t e &#x3B8;&#x2E4; y&#x2D0; t&#x2E4;">teθˤyːtˤ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG" ph="t&#x32A; e m">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="k&#x2B0;&#x2B7; &#xF8;">kʰʷø</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="&#x3B8;&#x2E4; e q a# t&#x2BC;">θˤeqa#tʼ</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM" ph="t&#x32A; e m">t̪em</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="n&#x2E4; a# q">nˤa#q</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" comma="after" ph="&#x3B8;&#x2E4; o k&#x2BC;">θˤokʼ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">tʼin̪ˤa#r</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">t̪ˤoːɲ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">tʼˤi#j</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">teθˤyːtˤ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ERG">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">kʰʷø</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp">θˤeqa#tʼ,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="NOM">t̪em</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">nˤa#q</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="ERG" comma="after">θˤokʼ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼin̪ˤãr&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪ˤoːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪em&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʼˤĩj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;teθˤyːtˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪em&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰʷø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤeqãtʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cheese&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t̪em&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nˤãq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;buy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤokʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʼin̪ˤãr tˤỹm t̪ˤoːɲ, t̪em xʷøn̪ˤ tʼˤĩj tˤỹm teθˤyːtˤ, t̪em xʷøn̪ˤ kʰʷø tˤỹm θˤeqãtʼ, t̪em θix nˤãq tˤỹm θˤokʼ xʷøn̪ˤ</p>
+  <p>त्ऽइऩँर् त़्युँम् त़ौञ्, तेम् ख्व्योऩ् त्ऽ़इँय् त़्युँम् तेथ़्यूत़्, तेम् ख्व्योऩ् ख्व्यो त़्युँम् थ़ेक़ँत्ऽ, तेम् थि ऩँक़् त़्युँम् थ़ोक़ ख्व्योऩ्</p>
+  <il>
+    <w>
+      <o>tʼin̪ˤãr</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>t̪ˤoːɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>t̪em</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>tʼˤĩj</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>teθˤyːtˤ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>t̪em</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>kʰʷø</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>θˤeqãtʼ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>t̪em</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>nˤãq</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>θˤokʼ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <vp tam="past-punct">
      <verb>surprise</verb>
    </vp>
    <np role="subj">
      <subs>
        <vp tam="past-punct">
          <verb>give</verb>
        </vp>
        <np number="sing" def="def" head="this" role="subj">
          <noun>boy</noun>
        </np>
        <np number="sing" def="indef" role="obj">
          <noun>apple</noun>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme">
          <noun>girl</noun>
        </np>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj">
      <noun>teacher</noun>
    </np>
  </s>
</example>

cleanup:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <vp tam="past-punct">
-      <verb>surprise</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="surprise"/>
    </vp>
    <np role="subj">
      <subs>
-        <vp tam="past-punct">
-          <verb>give</verb>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+          <word posp="verb" gloss="give"/>
        </vp>
-        <np number="sing" def="def" head="this" role="subj">
-          <noun>boy</noun>
+        <np number="sing" def="def" head="this" role="subj" locus="number">
+          <word posp="noun" gloss="boy"/>
        </np>
-        <np number="sing" def="indef" role="obj">
-          <noun>apple</noun>
+        <np number="sing" def="indef" role="obj" locus="number">
+          <word posp="noun" gloss="apple"/>
        </np>
-        <np number="sing" def="def" role="indobj" tr="rheme">
-          <noun>girl</noun>
+        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
+          <word posp="noun" gloss="girl"/>
        </np>
      </subs>
    </np>
-    <np number="sing" def="def" role="indobj">
-      <noun>teacher</noun>
+    <np number="sing" def="def" role="indobj" locus="number">
+      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module articles:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np role="subj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" def="def" head="this" role="subj" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
-        <np number="sing" def="indef" role="obj" locus="number">
+        <np number="sing" role="obj" locus="number">
          <word posp="noun" gloss="apple"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl"/>
        </np>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module nonpastonly:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np role="subj">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" def="def" head="this" role="subj" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
        <np number="sing" role="obj" locus="number">
          <word posp="noun" gloss="apple"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl"/>
        </np>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np role="subj">
+      <np type="owner_owned">
+        <np number="sing" def="def" head="this" role="owned" locus="number">
+          <word posp="noun" gloss="boy"/>
+        </np>
+        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="give"/>
            </vp>
-        <np number="sing" def="def" head="this" role="subj" locus="number">
-          <word posp="noun" gloss="boy"/>
-        </np>
            <np number="sing" role="obj" locus="number">
              <word posp="noun" gloss="apple"/>
            </np>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
          </subs>
        </np>
+      </np>
+    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="surprise"/>
-    </vp>
    <np role="subj">
      <np type="owner_owned">
        <np number="sing" def="def" head="this" role="owned" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="give"/>
            </vp>
-            <np number="sing" role="obj" locus="number">
-              <word posp="noun" gloss="apple"/>
-            </np>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
+            <np number="sing" role="obj" locus="number">
+              <word posp="noun" gloss="apple"/>
+            </np>
          </subs>
        </np>
      </np>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="surprise"/>
+    </vp>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module casemarking:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <np role="subj">
+    <np role="subj" case="ERG">
      <np type="owner_owned">
        <np number="sing" def="def" head="this" role="owned" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="give"/>
            </vp>
-            <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
+            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
              <word posp="noun" gloss="girl"/>
            </np>
-            <np number="sing" role="obj" locus="number">
+            <np number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="apple"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
-    <np number="sing" def="def" role="indobj" locus="number">
+    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module propagatenumber:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <np role="subj" case="ERG">
-      <np type="owner_owned">
+    <np role="subj" case="ERG" number="sing">
+      <np type="owner_owned" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="give"/>
            </vp>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
              <word posp="noun" gloss="girl"/>
            </np>
            <np number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="apple"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="ERG" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing">
          <subs>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">
              <word posp="verb" gloss="give"/>
            </vp>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
              <word posp="noun" gloss="girl"/>
            </np>
            <np number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="apple"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="ERG" number="sing">
-      <np type="owner_owned" number="sing">
-        <np number="sing" def="def" head="this" role="owned" locus="number">
+      <np type="owner_owned" number="sing" case="ERG">
+        <np number="sing" def="def" head="this" role="owned" locus="number" case="ERG">
          <word posp="noun" gloss="boy"/>
        </np>
-        <np role="owner" number="sing">
+        <np role="owner" number="sing" case="ERG">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">
              <word posp="verb" gloss="give"/>
+              <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
              <word posp="noun" gloss="girl"/>
+              <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
            </np>
            <np number="sing" role="obj" locus="number" case="NOM">
              <word posp="noun" gloss="apple"/>
+              <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
            </np>
          </subs>
        </np>
      </np>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
      <word posp="verb" gloss="surprise"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <np role="subj" case="ERG" number="sing">
-      <np type="owner_owned" number="sing" case="ERG">
+    <np type="owner_owned" number="sing" case="ERG" role="subj">
      <np number="sing" def="def" head="this" role="owned" locus="number" case="ERG">
        <word posp="noun" gloss="boy"/>
      </np>
      <np role="owner" number="sing" case="ERG">
        <subs>
          <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">
            <word posp="verb" gloss="give"/>
            <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
            <thingy type="vpnegation" function="enclitic" gloss="POS"/>
            <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          </vp>
          <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
            <word posp="noun" gloss="girl"/>
            <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
          </np>
          <np number="sing" role="obj" locus="number" case="NOM">
            <word posp="noun" gloss="apple"/>
            <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
          </np>
        </subs>
      </np>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
      <word posp="verb" gloss="surprise"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <np type="owner_owned" number="sing" case="ERG" role="subj">
    <np number="sing" def="def" head="this" role="owned" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
    <np role="owner" number="sing" case="ERG">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">
          <word posp="verb" gloss="give"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
          <word posp="noun" gloss="girl"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
        </np>
        <np number="sing" role="obj" locus="number" case="NOM">
          <word posp="noun" gloss="apple"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
        </np>
      </subs>
    </np>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
      <word posp="verb" gloss="surprise"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
    </np>
  </s>
</example>

movedowntoword:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np number="sing" def="def" head="this" role="owned" locus="number" case="ERG">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="ERG"/>
    </np>
    <np role="owner" number="sing" case="ERG">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">
-          <word posp="verb" gloss="give"/>
+          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
        </np>
        <np number="sing" role="obj" locus="number" case="NOM">
-          <word posp="noun" gloss="apple"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
        </np>
      </subs>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
-      <word posp="verb" gloss="surprise"/>
+      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
-    <np number="sing" def="def" head="this" role="owned" locus="number" case="ERG">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="ERG"/>
-    </np>
-    <np role="owner" number="sing" case="ERG">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
-        </np>
-        <np number="sing" role="obj" locus="number" case="NOM">
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-        </np>
-      </subs>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="ERG"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="ERG" ph="x&#x2B7; e l" slots="Cir Cfr">xʷel</word>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing" ph="n&#x32A;&#x2E4; a n&#x2E4;" slots="Cir Cfr">n̪ˤanˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="k&#x2BC; a&#x2D0; t" slots="Cir Cfr">kʼaːt</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x" slots="Cis Cfs">xix</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" ph="p&#x2BC; e l ai &#x28B;" slots="Cir Cfr">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="h &#xF8; q&#x2BC;&#x2B7; a k" slots="Cir Cfr">høqʼʷak</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="s e s a&#x2D0; &#x272;" slots="C C">sesaːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x" slots="Cis Cfs">xix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="ERG" ph="x&#x2B7; e l" slots="Cir Cfr">xʷel</word>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing" ph="n&#x32A;&#x2E4; a n&#x2E4;" slots="Cir Cfr">n̪ˤanˤ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="ERG" ph="x&#x2B7; e l">xʷel</word>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing" ph="n&#x32A;&#x2E4; a n&#x2E4;">n̪ˤanˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="k&#x2BC; a&#x2D0; t" slots="Cir Cfr">kʼaːt</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x" slots="Cis Cfs">xix</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" ph="p&#x2BC; e l ai &#x28B;" slots="Cir Cfr">pʼelaiʋ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="h &#xF8; q&#x2BC;&#x2B7; a k" slots="Cir Cfr">høqʼʷak</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="k&#x2BC; a&#x2D0; t">kʼaːt</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x">xix</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" ph="p&#x2BC; e l ai &#x28B;">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="h &#xF8; q&#x2BC;&#x2B7; a k">høqʼʷak</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="s e s a&#x2D0; &#x272;" slots="C C">sesaːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x" slots="Cis Cfs">xix</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="s e s a&#x2D0; &#x272;">sesaːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x">xix</thingy>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="ERG" ph="x&#x2B7; e l">xʷel</word>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing" ph="n&#x32A;&#x2E4; a n&#x2E4;">n̪ˤanˤ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="k&#x2BC; a&#x2D0; t">kʼaːt</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x">xix</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" ph="p&#x2BC; e l ai &#x28B;">pʼelaiʋ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="h &#xF8; q&#x2BC;&#x2B7; a k">høqʼʷak</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="s e s a&#x2D0; &#x272;">sesaːɲ</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x">xix</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="ERG">xʷel</word>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">n̪ˤanˤ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">kʼaːt</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT">xix</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM">pʼelaiʋ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">høqʼʷak</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT">sesaːɲ</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT">xix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ˤanˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;give&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼaːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʼelaiʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;høqʼʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surprise&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sesaːɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xʷel n̪ˤanˤ tˤỹm kʼaːt xix pʼelaiʋ θix xʷøn̪ˤ høqʼʷak tˤỹm sesaːɲ xix</p>
+  <p>ख्वेल् ऩऩ् त़्युँम् क़आत् इ प्ऽएलैव् थि ख्व्योऩ् ह्योक़्ऽवक् त़्युँम् सेसाञ् इ</p>
+  <il>
+    <w>
+      <o>xʷel</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>n̪ˤanˤ</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>kʼaːt</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>xix</o>
+      <g>sing.DAT</g>
+    </w>
+    <w>
+      <o>pʼelaiʋ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>høqʼʷak</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>sesaːɲ</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>xix</o>
+      <g>sing.DAT</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <vp tam="past-punct">
      <verb>tell</verb>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj">
      <noun>boy</noun>
    </np>
    <np role="obj" tr="rheme">
      <subs>
        <vp tam="gnomic">
          <verb>love</verb>
        </vp>
        <np number="sing" def="neither" role="subj">
          <pron person="1excl" number="sing"/>
        </np>
        <np number="sing" def="neither" role="obj">
          <pron person="2" number="sing"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj">
      <noun>girl</noun>
    </np>
  </s>
</example>

cleanup:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
-    <vp tam="past-punct">
-      <verb>tell</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="tell"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj">
-      <noun>boy</noun>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="noun" gloss="boy"/>
    </np>
    <np role="obj" tr="rheme">
      <subs>
-        <vp tam="gnomic">
-          <verb>love</verb>
+        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+          <word posp="verb" gloss="love"/>
        </vp>
-        <np number="sing" def="neither" role="subj">
-          <pron person="1excl" number="sing"/>
+        <np number="sing" def="neither" role="subj" locus="number">
+          <word person="1excl" number="sing" posp="pron"/>
        </np>
-        <np number="sing" def="neither" role="obj">
-          <pron person="2" number="sing"/>
+        <np number="sing" def="neither" role="obj" locus="number">
+          <word person="2" number="sing" posp="pron"/>
        </np>
      </subs>
    </np>
-    <np def="def" number="sing" tr="theme" role="indobj">
-      <noun>girl</noun>
+    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
+      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module articles:

No change.

module nonpastonly:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
    <np role="obj" tr="rheme">
      <subs>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active">
+        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
          <word posp="verb" gloss="love"/>
        </vp>
        <np number="sing" def="neither" role="subj" locus="number">
          <word person="1excl" number="sing" posp="pron"/>
        </np>
        <np number="sing" def="neither" role="obj" locus="number">
          <word person="2" number="sing" posp="pron"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
    <np role="obj" tr="rheme">
+      <np type="owner_owned">
+        <np number="sing" def="neither" role="owned" locus="number">
+          <word person="1excl" number="sing" posp="pron"/>
+        </np>
+        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
              <word posp="verb" gloss="love"/>
            </vp>
-        <np number="sing" def="neither" role="subj" locus="number">
-          <word person="1excl" number="sing" posp="pron"/>
-        </np>
            <np number="sing" def="neither" role="obj" locus="number">
              <word person="2" number="sing" posp="pron"/>
            </np>
          </subs>
        </np>
+      </np>
+    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="noun" gloss="boy"/>
+    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
+      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme">
      <np type="owner_owned">
        <np number="sing" def="neither" role="owned" locus="number">
          <word person="1excl" number="sing" posp="pron"/>
        </np>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
              <word posp="verb" gloss="love"/>
            </vp>
            <np number="sing" def="neither" role="obj" locus="number">
              <word person="2" number="sing" posp="pron"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
-      <word posp="noun" gloss="girl"/>
-    </np>
  </s>
</example>

module casemarking:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
+    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme">
+    <np role="obj" tr="rheme" case="NOM">
      <np type="owner_owned">
        <np number="sing" def="neither" role="owned" locus="number">
          <word person="1excl" number="sing" posp="pron"/>
        </np>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
              <word posp="verb" gloss="love"/>
            </vp>
-            <np number="sing" def="neither" role="obj" locus="number">
+            <np number="sing" def="neither" role="obj" locus="number" case="ACC">
              <word person="2" number="sing" posp="pron"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
  </s>
</example>

module propagatenumber:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" case="NOM">
-      <np type="owner_owned">
+    <np role="obj" tr="rheme" case="NOM" number="sing">
+      <np type="owner_owned" number="sing">
        <np number="sing" def="neither" role="owned" locus="number">
          <word person="1excl" number="sing" posp="pron"/>
        </np>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
              <word posp="verb" gloss="love"/>
            </vp>
            <np number="sing" def="neither" role="obj" locus="number" case="ACC">
              <word person="2" number="sing" posp="pron"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme" case="NOM" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="neither" role="owned" locus="number">
-          <word person="1excl" number="sing" posp="pron"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
        </np>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
              <word posp="verb" gloss="love"/>
            </vp>
            <np number="sing" def="neither" role="obj" locus="number" case="ACC">
-              <word person="2" number="sing" posp="pron"/>
+              <word person="2" number="sing" posp="pron" gloss="2.sing"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
  </s>
</example>

copyuptophrase:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" case="NOM" number="sing">
+    <np role="obj" tr="rheme" case="NOM" number="sing" person="1excl">
      <np type="owner_owned" number="sing">
-        <np number="sing" def="neither" role="owned" locus="number">
+        <np number="sing" def="neither" role="owned" locus="number" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
        </np>
-        <np role="owner" number="sing">
+        <np role="owner" number="sing" person="2">
          <subs>
-            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
              <word posp="verb" gloss="love"/>
            </vp>
-            <np number="sing" def="neither" role="obj" locus="number" case="ACC">
+            <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
              <word person="2" number="sing" posp="pron" gloss="2.sing"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
+      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
    </np>
    <np role="obj" tr="rheme" case="NOM" number="sing" person="1excl">
-      <np type="owner_owned" number="sing">
-        <np number="sing" def="neither" role="owned" locus="number" person="1excl">
+      <np type="owner_owned" number="sing" case="NOM">
+        <np number="sing" def="neither" role="owned" locus="number" person="1excl" case="NOM">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
        </np>
-        <np role="owner" number="sing" person="2">
+        <np role="owner" number="sing" person="2" case="NOM">
          <subs>
            <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
              <word posp="verb" gloss="love"/>
+              <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
              <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+              <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
            </np>
          </subs>
        </np>
      </np>
+      <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
    </np>
-    <np role="obj" tr="rheme" case="NOM" number="sing" person="1excl">
-      <np type="owner_owned" number="sing" case="NOM">
+    <np type="owner_owned" number="sing" case="NOM" role="obj" tr="rheme" person="1excl">
      <np number="sing" def="neither" role="owned" locus="number" person="1excl" case="NOM">
        <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
      </np>
      <np role="owner" number="sing" person="2" case="NOM">
        <subs>
          <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
            <word posp="verb" gloss="love"/>
            <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
            <thingy type="vpnegation" function="enclitic" gloss="POS"/>
            <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          </vp>
          <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
            <word person="2" number="sing" posp="pron" gloss="2.sing"/>
            <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
          </np>
        </subs>
      </np>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
      <word posp="noun" gloss="boy"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
    </np>
-    <np type="owner_owned" number="sing" case="NOM" role="obj" tr="rheme" person="1excl">
-      <np number="sing" def="neither" role="owned" locus="number" person="1excl" case="NOM">
+    <np number="sing" def="neither" role="owned" locus="number" person="1excl" case="NOM" tr="rheme">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <np role="owner" number="sing" person="2" case="NOM">
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
          <word posp="verb" gloss="love"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
        </np>
      </subs>
    </np>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </s>
</example>

movedowntoword:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">
-      <word posp="verb" gloss="tell"/>
+      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing"/>
      <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
      <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
    </np>
    <np number="sing" def="neither" role="owned" locus="number" person="1excl" case="NOM" tr="rheme">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" case="NOM" tr="rheme"/>
    </np>
    <np role="owner" number="sing" person="2" case="NOM">
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
-          <word posp="verb" gloss="love"/>
+          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
          <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
-          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
          <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
        </np>
      </subs>
    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="quot1" translation="The boy told the girl that he loved her.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">
+  <flat>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
-    </np>
-    <np number="sing" def="neither" role="owned" locus="number" person="1excl" case="NOM" tr="rheme">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" case="NOM" tr="rheme"/>
-    </np>
-    <np role="owner" number="sing" person="2" case="NOM">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
-        </np>
-      </subs>
-    </np>
    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" case="NOM" tr="rheme"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC"/>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="x&#x2B7; e l" slots="Cir Cfr">xʷel</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="n&#x2E4; y&#x2D0; h" slots="Cir Cfr">nˤyːh</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="k&#x2BC; a&#x2D0; t" slots="Cir Cfr">kʼaːt</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x" slots="Cis Cfs">xix</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" case="NOM" tr="rheme" ph="&#x3B8;&#x2E4; o k&#x2BC;" slots="Cir Cfr">θˤokʼ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="l u p&#x2BC;" slots="Cir Cfr">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="k&#x2BC;&#x2B7; &#xF8; q" slots="Cir Cfr">kʼʷøq</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="x&#x2B7; e l" slots="Cir Cfr">xʷel</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;" slots="Cis Cfs">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="n&#x2E4; y&#x2D0; h" slots="Cir Cfr">nˤyːh</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m" slots="Cis Cfs">tˤy#m</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="x&#x2B7; e l">xʷel</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="n&#x2E4; y&#x2D0; h">nˤyːh</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="k&#x2BC; a&#x2D0; t" slots="Cir Cfr">kʼaːt</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x" slots="Cis Cfs">xix</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" case="NOM" tr="rheme" ph="&#x3B8;&#x2E4; o k&#x2BC;" slots="Cir Cfr">θˤokʼ</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="l u p&#x2BC;" slots="Cir Cfr">lupʼ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l" slots="Cis Cfs">xal</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="k&#x2BC; a&#x2D0; t">kʼaːt</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x">xix</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" case="NOM" tr="rheme" ph="&#x3B8;&#x2E4; o k&#x2BC;">θˤokʼ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="l u p&#x2BC;">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="k&#x2BC;&#x2B7; &#xF8; q" slots="Cir Cfr">kʼʷøq</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;" slots="Cis Cfs">qøt̪</thingy>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x" slots="Cis Cfs">θix</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="k&#x2BC;&#x2B7; &#xF8; q">kʼʷøq</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" ph="x&#x2B7; e l">xʷel</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG" ph="x&#x2B7; &#xF8; n&#x32A;&#x2E4;">xʷøn̪ˤ</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing" ph="n&#x2E4; y&#x2D0; h">nˤyːh</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active" ph="t&#x2E4; y# m">tˤy#m</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="k&#x2BC; a&#x2D0; t">kʼaːt</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT" ph="x i x">xix</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" case="NOM" tr="rheme" ph="&#x3B8;&#x2E4; o k&#x2BC;">θˤokʼ</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="l u p&#x2BC;">lupʼ</word>
-    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active" ph="x a l">xal</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph="" slots="Cis Cfs"></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="k&#x2BC;&#x2B7; &#xF8; q">kʼʷøq</word>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC" ph="q &#xF8; t&#x32A;">qøt̪</thingy>
-    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM" ph="&#x3B8; i x">θix</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG">xʷel</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ERG">xʷøn̪ˤ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">nˤyːh</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PAST.indicative.active">tˤy#m</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">kʼaːt</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.DAT">xix</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" case="NOM" tr="rheme">θˤokʼ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">lupʼ</word>
+    <thingy type="vpta.mode.voice" function="enclitic" gloss="PRES.indicative.active">xal</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">kʼʷøq</word>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.ACC">qøt̪</thingy>
+    <thingy type="npnumber.case" function="enclitic" gloss="sing.NOM">θix</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷel&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷøn̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nˤyːh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tell&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tˤỹm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼaːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θˤokʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lupʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xal&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼʷøq&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qøt̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xʷel xʷøn̪ˤ nˤyːh tˤỹm kʼaːt xix θˤokʼ lupʼ xal kʼʷøq qøt̪ θix</p>
+  <p>ख्वेल् ख्व्योऩ् ऩ्यूह् त़्युँम् क़आत् इ थ़ोक़ लुप्ऽ अल् क़व्योक़् क़्योत् थि</p>
+  <il>
+    <w>
+      <o>xʷel</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>xʷøn̪ˤ</o>
+      <g>sing.ERG</g>
+    </w>
+    <w>
+      <o>nˤyːh</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>tˤỹm</o>
+      <g>PAST.indicative.active</g>
+    </w>
+    <w>
+      <o>kʼaːt</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>xix</o>
+      <g>sing.DAT</g>
+    </w>
+    <w>
+      <o>θˤokʼ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>lupʼ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>xal</o>
+      <g>PRES.indicative.active</g>
+    </w>
+    <w>
+      <o>kʼʷøq</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>qøt̪</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>θix</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>