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.

tva1
tva2

module affixdensity:

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" owner="3s"/>
        <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" owner="3s"/>
        <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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" owner="3s"/>
-        <np number="sing" def="def" locus="number">
+        <np number="sing" def="def" locus="number" gender="cl.4">
          <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" gender="cl.5">
      <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:

No change.

module wordorder:

No change.

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" gender="cl.5">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" owner="3s"/>
        <np number="sing" def="def" locus="number" gender="cl.4">
          <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.cl.5" obj="3.plur.cl.5">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <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" gender="cl.5">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" owner="3s"/>
        <np number="sing" def="def" locus="number" gender="cl.4">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </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" gender="cl.5">
-      <word posp="noun" gloss="woman"/>
+      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5"/>
      <pp role="comitative">
-        <word gloss="COMIT" posp="pp" owner="3s"/>
+        <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
        <np number="sing" def="def" locus="number" gender="cl.4">
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.4"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
-      <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.cl.5" obj="3.plur.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5">
-      <word posp="noun" gloss="mouse"/>
-      <word posp="adj" gloss="blind"/>
-      <word posp="num" gloss="three"/>
-      <word posp="det" gloss="yon"/>
+      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
+      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
+      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
+      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for woman/noun/case/obligatory
Got NOM
About to call getSlotValue for knife/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for blind/adj/number/obligatory
Got plur
About to call getSlotValue for yon/det/gender/obligatory
Got cl.5
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" gender="cl.5">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
        <np number="sing" def="def" locus="number" gender="cl.4">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.4"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5">
      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
+      <thingy type="adjnumber" function="suffix" gloss="plur"/>
      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
+      <thingy type="detgender" function="suffix" gloss="cl.5"/>
    </np>
  </s>
</example>

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" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-        <np number="sing" def="def" locus="number" gender="cl.4">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.4"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-      </pp>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5">
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
    <thingy type="adjnumber" function="suffix" gloss="plur"/>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
    <thingy type="detgender" function="suffix" gloss="cl.5"/>
-    </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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.4"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy type="adjnumber" function="suffix" gloss="plur"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy type="detgender" function="suffix" gloss="cl.5"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5" ph="q&#x2BC; i#&#x2D0; &#x330;&#xA716;">qʼi#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n i &#x330;&#xA712; &#x273; i &#x330;&#xA716; s">nḭ꜒ɳḭ꜖s</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.4" ph="j a &#x330;&#xA716;">ja̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="k&#x2B0; au &#xA716;">kʰau꜖</word>
+    <thingy type="adjnumber" function="suffix" gloss="plur" attach="suffix" ph="&#x294;">ʔ</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="q&#x2B0; a# &#xA712; &#x262;">qʰa#꜒ɢ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C1; u&#x2D0; &#x330;&#xA716;">ᵏǁuː̰꜖</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="s">s</thingy>
  </flat>
</example>

vowelharmony:

<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" gender="cl.5" ph="q&#x2BC; i#&#x2D0; &#x330;&#xA716;">qʼi#ː̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n i &#x330;&#xA712; &#x273; i &#x330;&#xA716; s">nḭ꜒ɳḭ꜖s</word>
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.4" ph="j a &#x330;&#xA716;">ja̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="k&#x2B0; au &#xA716;">kʰau꜖</word>
    <thingy type="adjnumber" function="suffix" gloss="plur" attach="suffix" ph="&#x294;">ʔ</thingy>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="q&#x2B0; a# &#xA712; &#x262;">qʰa#꜒ɢ</word>
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C1; u&#x2D0; &#x330;&#xA716;">ᵏǁuː̰꜖</word>
    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="s">s</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" gender="cl.5" ph="q&#x2BC; i#&#x2D0; &#x330;&#xA716;">qʼi#ː̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n i &#x330;&#xA712; &#x273; i &#x330;&#xA716; s">nḭ꜒ɳḭ꜖s</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.4" ph="j a &#x330;&#xA716;">ja̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="k&#x2B0; au &#xA716;">kʰau꜖</word>
-    <thingy type="adjnumber" function="suffix" gloss="plur" attach="suffix" ph="&#x294;">ʔ</thingy>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="q&#x2B0; a# &#xA712; &#x262;">qʰa#꜒ɢ</word>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C1; u&#x2D0; &#x330;&#xA716;">ᵏǁuː̰꜖</word>
-    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="s">s</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="cl.5">qʼi#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">nḭ꜒ɳḭ꜖s</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.4">ja̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5">kʰau꜖</word>
+    <thingy type="adjnumber" function="suffix" gloss="plur">ʔ</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5">qʰa#꜒ɢ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="cl.5">ᵏǁuː̰꜖</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5">s</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʼĩː̰꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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ḭ꜒ɳḭ꜖s&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;ja̰꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;fḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǁuː̰꜒d͡ʑãː̰꜖&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ʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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ʰau꜖&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;-ʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʰã꜒ɢ&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;ᵏǁuː̰꜖&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;-s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.5&lt;/span&gt;&lt;/span&gt;</p>
+  <p>qʼĩː̰꜖qʼ nḭ꜒ɳḭ꜖s ja̰꜖qʼ fḭ꜒t͡ʂ nuː꜖ʋ ᶢǁũː̰꜒d͡ʑãː̰꜖qʼ kʰau꜖ʔ qʰã꜒ɢ ᵏǁuː̰꜖s</p>
+  <p>क़्ऽइँ̉क़्ऽ नि̃णि̉स् य̉क़्ऽ फ़ि̃ट्ष् नू̠व् ळुँ̃जँ̉क़्ऽ खौ̠ऽ ॷअँ̄ग़् क्लू̉स्</p>
+  <il>
+    <w>
+      <o>qʼĩː̰꜖</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>nḭ꜒ɳḭ꜖s</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ja̰꜖</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>fḭ꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǁuː̰꜒d͡ʑãː̰꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>kʰau꜖</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-ʔ</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>qʰã꜒ɢ</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ᵏǁuː̰꜖</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-s</o>
+      <g>cl.5</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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <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" gender="cl.5">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </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" gender="cl.5">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="obj" locus="number" gender="cl.5">
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </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" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </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.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for 3.sing.cl.5/pron/number/optional
Got sing
About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for 3.sing.cl.5/pron/number/optional
Got sing
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number">zṵ꜒</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">ɖʱeː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number">zṵ꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zṵ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖʱeː̰꜒&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;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zṵ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zṵ꜒ ɖʱeː̰꜒t͡ʂ zṵ꜒</p>
+  <p>ज़ु̃ ढै̃ट्ष् ज़ु̃</p>
+  <il>
+    <w>
+      <o>zṵ꜒</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>ɖʱeː̰꜒</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>zṵ꜒</o>
+      <g>3.sing.cl.5</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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <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" gender="cl.5">
      <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.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <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" gender="cl.5">
      <word posp="noun" gloss="NN1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="NN2"/>
    </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" gender="cl.5">
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
-      <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.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for NN1/noun/case/obligatory
Got NOM
About to call getSlotValue for hate/verb/negation/obligatory
Got POS
About to call getSlotValue for NN2/noun/case/obligatory
Got NOM
<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Vona hates Choda.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="Vona" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" propernoun="yes" ph="&#x28B; o &#xA712; n&#x325; a# &#x330;&#xA712;">ʋo꜒n̥a#̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1DA2;&#x1C3; e &#x330;&#xA712; &#x261;&#x2B1; a#&#x2D0; &#x330;&#xA712;">ᶢǃḛ꜒ɡʱa#ː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="Choda" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" propernoun="yes" ph="t&#x361;&#x283; o&#x2D0; &#xA712; &#x256; a# &#x330;&#xA716;">t͡ʃoː꜒ɖa#̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="loveprop" translation="Vona hates Choda.">
  <flat>
-    <word posp="noun" gloss="Vona" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" propernoun="yes" ph="&#x28B; o &#xA712; n&#x325; a# &#x330;&#xA712;">ʋo꜒n̥a#̰꜒</word>
+    <word posp="noun" gloss="Vona" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" propernoun="yes" ph="&#x28B; o# &#xA712; n&#x325; a# &#x330;&#xA712;" underlying="&#x28B; o &#xA712; n&#x325; a# &#x330;&#xA712;">ʋo#꜒n̥a#̰꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1DA2;&#x1C3; e &#x330;&#xA712; &#x261;&#x2B1; a#&#x2D0; &#x330;&#xA712;">ᶢǃḛ꜒ɡʱa#ː̰꜒</word>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1DA2;&#x1C3; e# &#x330;&#xA712; &#x261;&#x2B1; a#&#x2D0; &#x330;&#xA712;" underlying="&#x1DA2;&#x1C3; e &#x330;&#xA712; &#x261;&#x2B1; a#&#x2D0; &#x330;&#xA712;">ᶢǃe#̰꜒ɡʱa#ː̰꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="Choda" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" propernoun="yes" ph="t&#x361;&#x283; o&#x2D0; &#xA712; &#x256; a# &#x330;&#xA716;">t͡ʃoː꜒ɖa#̰꜖</word>
+    <word posp="noun" gloss="Choda" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" propernoun="yes" ph="t&#x361;&#x283; o#&#x2D0; &#xA712; &#x256; a# &#x330;&#xA716;" underlying="t&#x361;&#x283; o&#x2D0; &#xA712; &#x256; a# &#x330;&#xA716;">t͡ʃo#ː꜒ɖa#̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Vona hates Choda.">
  <flat>
-    <word posp="noun" gloss="Vona" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" propernoun="yes" ph="&#x28B; o# &#xA712; n&#x325; a# &#x330;&#xA712;" underlying="&#x28B; o &#xA712; n&#x325; a# &#x330;&#xA712;">ʋo#꜒n̥a#̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1DA2;&#x1C3; e# &#x330;&#xA712; &#x261;&#x2B1; a#&#x2D0; &#x330;&#xA712;" underlying="&#x1DA2;&#x1C3; e &#x330;&#xA712; &#x261;&#x2B1; a#&#x2D0; &#x330;&#xA712;">ᶢǃe#̰꜒ɡʱa#ː̰꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="Choda" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" propernoun="yes" ph="t&#x361;&#x283; o#&#x2D0; &#xA712; &#x256; a# &#x330;&#xA716;" underlying="t&#x361;&#x283; o&#x2D0; &#xA712; &#x256; a# &#x330;&#xA716;">t͡ʃo#ː꜒ɖa#̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="Vona" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" propernoun="yes" underlying="&#x28B; o &#xA712; n&#x325; a# &#x330;&#xA712;">ʋo#꜒n̥a#̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" underlying="&#x1DA2;&#x1C3; e &#x330;&#xA712; &#x261;&#x2B1; a#&#x2D0; &#x330;&#xA712;">ᶢǃe#̰꜒ɡʱa#ː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <word posp="noun" gloss="Choda" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" propernoun="yes" underlying="t&#x361;&#x283; o&#x2D0; &#xA712; &#x256; a# &#x330;&#xA716;">t͡ʃo#ː꜒ɖa#̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋo꜒n̥ã̰꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Vona&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᶢǃḛ꜒ɡʱãː̰꜒&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;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&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;Choda&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʋõ꜒n̥ã̰꜒qʼ ᶢǃḛ̃꜒ɡʱãː̰꜒t͡ʂ t͡ʃõː꜒ɖã̰꜖qʼ</p>
+  <p>वोँ̄ह्नँ̃क़्ऽ शेँ̃घँ̃ट्ष् चोँ̄डँ̉क़्ऽ</p>
+  <il>
+    <w>
+      <o>ʋo꜒n̥ã̰꜒</o>
+      <g>Vona</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ᶢǃḛ꜒ɡʱãː̰꜒</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>t͡ʃoː꜒ɖã̰꜖</o>
+      <g>Choda</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</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 affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" gender="cl.4">
+  <np type="owner_owned" gender="cl.4" number="sing">
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" gender="cl.4" number="sing">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
    <word posp="noun" gloss="boy"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
    <word posp="noun" gloss="apple"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for boy/noun/case/obligatory
Got GEN
About to call getSlotValue for apple/noun/case/obligatory
Got NOM
<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

<example id="posso1" translation="the boy's apple">
-  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </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="GEN" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" ph="&#x27D; a# &#xA712;">ɽa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qiː̰꜖bu#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="posso1" translation="the boy's apple">
  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" ph="&#x27D; a# &#xA712;">ɽa#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qiː̰꜖bu#꜒</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i#&#x2D0; &#x330;&#xA716; b u# &#xA712;" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</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="GEN" gender="cl.5" ph="&#x27D; a# &#xA712;">ɽa#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i#&#x2D0; &#x330;&#xA716; b u# &#xA712;" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">ɽa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">b</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɽã꜒&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;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiː̰꜖bũ꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɽã꜒b qĩː̰꜖bũ꜒qʼ</p>
+  <p>ऱँ̄ब् क़िँ̉बुँ̄क़्ऽ</p>
+  <il>
+    <w>
+      <o>ɽã꜒</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>qiː̰꜖bũ꜒</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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 affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" gender="cl.4">
+  <np type="owner_owned" gender="cl.4" number="sing">
    <np number="sing" def="def" output="aspron" locus="number" role="owner" case="GEN" gender="cl.5">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <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" gender="cl.4" number="sing">
-    <np number="sing" def="def" output="aspron" locus="number" role="owner" case="GEN" gender="cl.5">
-      <word posp="noun" gloss="boy"/>
+    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" case="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 3.sing.cl.5/pron/number/optional
Got sing
About to call getSlotValue for apple/noun/case/obligatory
Got NOM
<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" case="GEN"/>
+    <thingy type="pronnumber" function="suffix" gloss="sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" case="GEN" ph="z u &#x330;&#xA712;">zṵ꜒</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qiː̰꜖bu#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" case="GEN" ph="z u &#x330;&#xA712;">zṵ꜒</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qiː̰꜖bu#꜒</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i#&#x2D0; &#x330;&#xA716; b u# &#xA712;" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" case="GEN" ph="z u &#x330;&#xA712;">zṵ꜒</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i#&#x2D0; &#x330;&#xA716; b u# &#xA712;" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" locus="number" role="owner" case="GEN">zṵ꜒</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zṵ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qiː̰꜖bũ꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zṵ꜒ qĩː̰꜖bũ꜒qʼ</p>
+  <p>ज़ु̃ क़िँ̉बुँ̄क़्ऽ</p>
+  <il>
+    <w>
+      <o>zṵ꜒</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>qiː̰꜖bũ꜒</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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 affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

<example id="posso2" translation="my apple">
  <np type="owner_owned">
-    <np number="sing" def="neither" locus="number" role="owner">
+    <np number="sing" def="neither" locus="number" role="owner" case="GEN">
      <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 addgender:

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

module propagatenumber:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" gender="cl.4">
+  <np type="owner_owned" gender="cl.4" number="sing">
    <np number="sing" def="neither" locus="number" role="owner" case="GEN">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <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" gender="cl.4" number="sing">
    <np number="sing" def="neither" locus="number" role="owner" case="GEN">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="posso2" translation="my apple">
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="1excl">
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for apple/noun/case/obligatory
Got NOM
<example id="posso2" translation="my apple">
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="pronnumber" function="suffix" gloss="sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.4">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qiː̰꜖bu#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="posso2" translation="my apple">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qiː̰꜖bu#꜒</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i#&#x2D0; &#x330;&#xA716; b u# &#xA712;" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" ph="q i#&#x2D0; &#x330;&#xA716; b u# &#xA712;" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN">ʔau꜒p</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔau꜒p&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;qiː̰꜖bũ꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔau꜒p qĩː̰꜖bũ꜒qʼ</p>
+  <p>ऽऔ̄प् क़िँ̉बुँ̄क़्ऽ</p>
+  <il>
+    <w>
+      <o>ʔau꜒p</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>qiː̰꜖bũ꜒</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj">
      <np type="owner_owned">
-        <np number="sing" def="def" locus="number" role="owner">
+        <np number="sing" def="def" locus="number" role="owner" case="GEN">
          <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">
+          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
            <word person="2" number="sing" posp="pron"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned">
+          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <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 addgender:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np type="owner_owned" gender="cl.5" number="sing" role="subj">
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="daughter"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np type="owner_owned" gender="cl.5" number="sing" role="obj">
-      <np type="owner_owned" role="owner" gender="cl.5" number="sing">
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
      <word posp="noun" gloss="neighbour"/>
    </np>
-      </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="son"/>
    </np>
-    </np>
  </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="GEN" gender="cl.5">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
-      <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.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for hunter/noun/case/obligatory
Got GEN
About to call getSlotValue for daughter/noun/case/obligatory
Got NOM
About to call getSlotValue for kiss/verb/negation/obligatory
Got POS
About to call getSlotValue for 2.sing/pron/number/optional
Got sing
About to call getSlotValue for neighbour/noun/case/obligatory
Got GEN
About to call getSlotValue for son/noun/case/obligatory
Got NOM
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

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="GEN" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-  </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="GEN" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" ph="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi꜒d͡ʒʱa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="p&#x2B0; i# &#xA716;">pʰi#꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1D51;&#x1C3; u &#x330;&#xA712; &#x295; u#&#x2D0; &#xA716;">ᵑǃṵ꜒ʕu#ː꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="&#x27B; u#&#x2D0; &#x330;&#xA712; &#x279; i# &#x330;&#xA712;">ɻu#ː̰꜒ɹi#̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="d&#x361;&#x291; o &#x330;&#xA712;">d͡ʑo̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<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="GEN" gender="cl.5" ph="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi꜒d͡ʒʱa#꜒</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" ph="&#x288; i# &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="p&#x2B0; i# &#xA716;">pʰi#꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1D51;&#x1C3; u &#x330;&#xA712; &#x295; u#&#x2D0; &#xA716;">ᵑǃṵ꜒ʕu#ː꜖</word>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1D51;&#x1C3; u# &#x330;&#xA712; &#x295; u#&#x2D0; &#xA716;" underlying="&#x1D51;&#x1C3; u &#x330;&#xA712; &#x295; u#&#x2D0; &#xA716;">ᵑǃu#̰꜒ʕu#ː꜖</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="&#x27B; u#&#x2D0; &#x330;&#xA712; &#x279; i# &#x330;&#xA712;">ɻu#ː̰꜒ɹi#̰꜒</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="d&#x361;&#x291; o &#x330;&#xA712;">d͡ʑo̰꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</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="GEN" gender="cl.5" ph="&#x288; i# &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="p&#x2B0; i# &#xA716;">pʰi#꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1D51;&#x1C3; u# &#x330;&#xA712; &#x295; u#&#x2D0; &#xA716;" underlying="&#x1D51;&#x1C3; u &#x330;&#xA712; &#x295; u#&#x2D0; &#xA716;">ᵑǃu#̰꜒ʕu#ː꜖</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="&#x27B; u#&#x2D0; &#x330;&#xA712; &#x279; i# &#x330;&#xA712;">ɻu#ː̰꜒ɹi#̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="d&#x361;&#x291; o &#x330;&#xA712;">d͡ʑo̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">b</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5">pʰi#꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" underlying="&#x1D51;&#x1C3; u &#x330;&#xA712; &#x295; u#&#x2D0; &#xA716;">ᵑǃu#̰꜒ʕu#ː꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN">daː̰꜒d͡z</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">ɻu#ː̰꜒ɹi#̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">b</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.5">d͡ʑo̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈi꜒d͡ʒʱã꜒&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;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰĩ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǃṵ꜒ʕũː꜖&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daː̰꜒d͡z&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;ɻũː̰꜒ɹḭ̃꜒&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;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʑo̰꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʈĩ꜒d͡ʒʱã꜒b pʰĩ꜖qʼ ᵑǃṵ̃꜒ʕũː꜖t͡ʂ nuː꜖ʋ daː̰꜒d͡z ɻũː̰꜒ɹḭ̃꜒b d͡ʑo̰꜒qʼ</p>
+  <p>टिँ̄झँ̄ब् फिँ̠क़्ऽ ङ्टुँ̃ऽउँ̠ट्ष् नू̠व् दा̃द्ज़् ऱुँ̃रिँ̃ब् जो̃क़्ऽ</p>
+  <il>
+    <w>
+      <o>ʈi꜒d͡ʒʱã꜒</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>pʰĩ꜖</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ᵑǃṵ꜒ʕũː꜖</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>daː̰꜒d͡z</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ɻũː̰꜒ɹḭ̃꜒</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>d͡ʑo̰꜒</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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 affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number">
+  <np number="sing" tr="rheme" locus="number" gender="cl.5">
    <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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" gender="cl.5">
-    <word posp="noun" gloss="lamb"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" gender="cl.5">
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀṵ꜒vu#ː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀṵ꜒vu#ː̰꜒</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u# &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u# &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="cl.5" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀṵ꜒vũː̰꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ᵏǀṵ̃꜒vũː̰꜒qʼ</p>
+  <p>क्तुँ̃वुँ̃क़्ऽ</p>
+  <il>
+    <w>
+      <o>ᵏǀṵ꜒vũː̰꜒</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_adj
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </np>
</example>

module affixdensity:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number">
-    <word posp="noun" gloss="lamb"/>
-    <word posp="adj" gloss="little"/>
+    <word gloss="lamb" lexposp="noun" posp="noun">
+      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    </word>
  </np>
</example>

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number">
+  <np number="sing" tr="rheme" locus="number" gender="cl.5">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" gender="cl.5">
-    <word gloss="lamb" lexposp="noun" posp="noun">
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" gender="cl.5">
    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" gender="cl.5">
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5">
+  <flat>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀṵ꜒vu#ː̰꜒</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="v e &#xA712;">ve꜒</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb1" translation="a little lamb">
  <flat>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀṵ꜒vu#ː̰꜒</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="v e &#xA712;">ve꜒</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u# &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="v e# &#xA712;" underlying="v e &#xA712;">ve#꜒</thingy>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u# &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="v e# &#xA712;" underlying="v e &#xA712;">ve#꜒</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="cl.5" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="v e &#xA712;">ve#꜒</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀṵ꜒vũː̰꜒&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;-ve꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ᵏǀṵ̃꜒vũː̰꜒vẽ꜒qʼ</p>
+  <p>क्तुँ̃वुँ̃वेँ̄क़्ऽ</p>
+  <il>
+    <w>
+      <o>ᵏǀṵ꜒vũː̰꜒</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ve꜒</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <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="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 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>
  </s>
</example>

module articles:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
      <word posp="verb" gloss="have"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <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>
  </s>
</example>

module nonpastonly:

<example id="lamb2" translation="She had 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="have"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="little"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_adj
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
    </np>
  </s>
</example>
submodule transform_verb_obj
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="have"/>
+      <word gloss="lamb" lexposp="noun" posp="verb">
+        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
+        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
+      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np number="sing" tr="rheme" role="obj" locus="number">
-      <word posp="noun" gloss="lamb"/>
-      <word posp="adj" gloss="little"/>
-    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="lamb2" translation="She had a little lamb.">
  <s>
+    <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 gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-      <word posp="noun" gloss="girl"/>
-    </np>
  </s>
</example>

module casemarking:

No change.

module markowner:

No change.

module addgender:

<example id="lamb2" translation="She had 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" gender="cl.5">
      <word posp="noun" gloss="girl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" gender="cl.5">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </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="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </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.cl.5">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
-      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-      <word gloss="lamb" lexposp="noun" posp="verb">
+      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for 3.sing.cl.5/pron/number/optional
Got sing
About to call getSlotValue for lamb/verb/negation/obligatory
Got POS
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
+  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀṵ꜒vu#ː̰꜒</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="v e &#xA712;">ve꜒</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="l e#&#x2D0; &#xA712;">le#ː꜒</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀṵ꜒vu#ː̰꜒</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="v e &#xA712;">ve꜒</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="&#x1D4F;&#x1C0; u# &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="v e# &#xA712;" underlying="v e &#xA712;">ve#꜒</thingy>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="l e#&#x2D0; &#xA712;">le#ː꜒</thingy>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="&#x1D4F;&#x1C0; u# &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="v e# &#xA712;" underlying="v e &#xA712;">ve#꜒</thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="l e#&#x2D0; &#xA712;">le#ː꜒</thingy>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number">zṵ꜒</word>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="v e &#xA712;">ve#꜒</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb">le#ː꜒</thingy>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zṵ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀṵ꜒vũː̰꜒&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;-ve꜒&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;-lẽː꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zṵ꜒ ᵏǀṵ̃꜒vũː̰꜒vẽ꜒lẽː꜒t͡ʂ nuː꜖ʋ</p>
+  <p>ज़ु̃ क्तुँ̃वुँ̃वेँ̄लेँ̄ट्ष् नू̠व्</p>
+  <il>
+    <w>
+      <o>zṵ꜒</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>ᵏǀṵ꜒vũː̰꜒</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ve꜒</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-lẽː꜒</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <vp tam="past-punct">
      <verb>love</verb>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron">
      <noun>girl</noun>
    </np>
    <np def="indef" number="sing" tr="rheme" role="obj">
      <noun>lamb</noun>
      <adj>black</adj>
    </np>
  </s>
</example>

cleanup:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <vp tam="past-punct">
-      <verb>love</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="love"/>
    </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 def="indef" number="sing" tr="rheme" role="obj">
-      <noun>lamb</noun>
-      <adj>black</adj>
+    <np def="indef" number="sing" tr="rheme" role="obj" locus="number">
+      <word posp="noun" gloss="lamb"/>
+      <word posp="adj" gloss="black"/>
    </np>
  </s>
</example>

module articles:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <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="black"/>
    </np>
  </s>
</example>

module nonpastonly:

<example id="lamb2b" translation="She loved a black 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="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="love"/>
-    </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="love"/>
+    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </np>
  </s>
</example>

module casemarking:

No change.

module markowner:

No change.

module addgender:

<example id="lamb2b" translation="She loved a black 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" gender="cl.5">
      <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="love"/>
    </vp>
-    <np number="sing" tr="rheme" role="obj" locus="number">
+    <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" gender="cl.5">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </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="lamb2b" translation="She loved a black lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </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.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="love"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="lamb"/>
      <word posp="adj" gloss="black"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
-      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
-      <word posp="noun" gloss="lamb"/>
-      <word posp="adj" gloss="black"/>
+      <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
+      <word posp="adj" gloss="black" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 3.sing.cl.5/pron/number/optional
Got sing
About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for black/adj/number/obligatory
Got sing
<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <word posp="adj" gloss="black" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
+      <thingy type="adjnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="lamb2b" translation="She loved a black lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
+  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word posp="adj" gloss="black" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
    <thingy type="adjnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="adj" gloss="black" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
-    <thingy type="adjnumber" function="suffix" gloss="sing"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀṵ꜒vu#ː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="adj" gloss="black" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="&#x1D51;&#x1C0; a# &#x330;&#xA712;">ᵑǀa#̰꜒</word>
+    <thingy type="adjnumber" function="suffix" gloss="sing" attach="suffix" ph="p">p</thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀṵ꜒vu#ː̰꜒</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u# &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="adj" gloss="black" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="&#x1D51;&#x1C0; a# &#x330;&#xA712;">ᵑǀa#̰꜒</word>
    <thingy type="adjnumber" function="suffix" gloss="sing" attach="suffix" ph="p">p</thingy>
  </flat>
</example>

removetags:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" ph="z u &#x330;&#xA712;">zṵ꜒</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="&#x1D4F;&#x1C0; u# &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="adj" gloss="black" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="&#x1D51;&#x1C0; a# &#x330;&#xA712;">ᵑǀa#̰꜒</word>
-    <thingy type="adjnumber" function="suffix" gloss="sing" attach="suffix" ph="p">p</thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number">zṵ꜒</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">ɖʱeː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" underlying="&#x1D4F;&#x1C0; u &#x330;&#xA712; v u#&#x2D0; &#x330;&#xA712;">ᵏǀu#̰꜒vu#ː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="adj" gloss="black" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">ᵑǀa#̰꜒</word>
+    <thingy type="adjnumber" function="suffix" gloss="sing">p</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zṵ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖʱeː̰꜒&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;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀṵ꜒vũː̰꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ᵑǀã̰꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;black&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zṵ꜒ ɖʱeː̰꜒t͡ʂ nuː꜖ʋ ᵏǀṵ̃꜒vũː̰꜒qʼ ᵑǀã̰꜒p</p>
+  <p>ज़ु̃ ढै̃ट्ष् नू̠व् क्तुँ̃वुँ̃क़्ऽ ङ्तँ̃प्</p>
+  <il>
+    <w>
+      <o>zṵ꜒</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>ɖʱeː̰꜒</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᵏǀṵ꜒vũː̰꜒</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ᵑǀã̰꜒</o>
+      <g>black</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>sing</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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

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="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
    </np>
  </s>
</example>

copyuptophrase:

<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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">
+    <np number="sing" def="neither" role="obj" locus="number" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    </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"/>
+      <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" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for 2.sing/pron/number/optional
Got sing
<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="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" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="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" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="neither" role="obj" locus="number" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number">ʔau꜒p</word>
+    <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">ɖʱeː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number">daː̰꜒d͡z</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔau꜒p&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;ɖʱeː̰꜒&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;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daː̰꜒d͡z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔau꜒p ɖʱeː̰꜒t͡ʂ daː̰꜒d͡z</p>
+  <p>ऽऔ̄प् ढै̃ट्ष् दा̃द्ज़्</p>
+  <il>
+    <w>
+      <o>ʔau꜒p</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɖʱeː̰꜒</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>daː̰꜒d͡z</o>
+      <g>2.sing</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 affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in_surface" posp="pp" owner="3s"/>
-    <np def="def" number="sing" locus="number">
+    <np def="def" number="sing" locus="number" gender="cl.7">
      <word posp="noun" gloss="table"/>
    </np>
  </pp>
</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:

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" owner="3s"/>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
    <np def="def" number="sing" locus="number" gender="cl.7">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.7"/>
    </np>
  </pp>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for table/noun/case/obligatory
Got NOM
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
    <np def="def" number="sing" locus="number" gender="cl.7">
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.7"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
+  <flat>
    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
-    <np def="def" number="sing" locus="number" gender="cl.7">
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.7"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.7"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="t&#x361;&#x283;&#x2BC; ai &#xA716; l">t͡ʃʼai꜖l</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.7" ph="&#x295; u#&#x2D0; &#x330;&#xA712;">ʕu#ː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="t&#x361;&#x283;&#x2BC; ai &#xA716; l">t͡ʃʼai꜖l</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.7" ph="&#x295; u#&#x2D0; &#x330;&#xA712;">ʕu#ː̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes">t͡ʃʼai꜖l</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.7">ʕu#ː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼai꜖l&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;ʕũː̰꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃʼai꜖l ʕũː̰꜒qʼ</p>
+  <p>ह़ै̠ल् ऽउँ̃क़्ऽ</p>
+  <il>
+    <w>
+      <o>t͡ʃʼai꜖l</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ʕũː̰꜒</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</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 affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to_inside" posp="pp" owner="3s"/>
-    <np def="def" number="sing" locus="number">
+    <np def="def" number="sing" locus="number" gender="cl.6">
      <word posp="noun" gloss="box"/>
    </np>
  </pp>
</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:

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" owner="3s"/>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
    <np def="def" number="sing" locus="number" gender="cl.6">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.6"/>
    </np>
  </pp>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for box/noun/case/obligatory
Got NOM
<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
    <np def="def" number="sing" locus="number" gender="cl.6">
      <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.6"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
+  <flat>
    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
-    <np def="def" number="sing" locus="number" gender="cl.6">
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.6"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.6"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="h u &#xA716; t&#x361;&#x283;&#x2BC;">hu꜖t͡ʃʼ</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.6" ph="j u &#x330;&#xA716; n a &#xA716;">jṵ꜖na꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="h u &#xA716; t&#x361;&#x283;&#x2BC;">hu꜖t͡ʃʼ</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.6" ph="j u &#x330;&#xA716; n a &#xA716;">jṵ꜖na꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes">hu꜖t͡ʃʼ</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.6">jṵ꜖na꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu꜖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;jṵ꜖na꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hu꜖t͡ʃʼ jṵ꜖na꜖qʼ</p>
+  <p>हु̠ह़् यु̉न̠क़्ऽ</p>
+  <il>
+    <w>
+      <o>hu꜖t͡ʃʼ</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>jṵ꜖na꜖</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</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 affixdensity:

No change.

module adpositions:

<example id="adpos3" translation="with me">
  <pp role="comitative">
+    <word gloss="COMIT" posp="pp" owner="3s"/>
    <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 markowner:

No change.

module addgender:

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" owner="3s"/>
    <np number="sing" def="neither" locus="number">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </np>
  </pp>
</example>

copyuptophrase:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp" owner="3s"/>
-    <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" gender="cl.5"/>
    </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" owner="3s"/>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
    <np number="sing" def="neither" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number"/>
    </np>
  </pp>
</example>

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
    <np number="sing" def="neither" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos3" translation="with me">
-  <pp role="comitative">
+  <flat>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <np number="sing" def="neither" locus="number" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n i &#x330;&#xA712; &#x273; i &#x330;&#xA716; s">nḭ꜒ɳḭ꜖s</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="n i &#x330;&#xA712; &#x273; i &#x330;&#xA716; s">nḭ꜒ɳḭ꜖s</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">nḭ꜒ɳḭ꜖s</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number">ʔau꜒p</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nḭ꜒ɳḭ꜖s&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;ʔau꜒p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nḭ꜒ɳḭ꜖s ʔau꜒p</p>
+  <p>नि̃णि̉स् ऽऔ̄प्</p>
+  <il>
+    <w>
+      <o>nḭ꜒ɳḭ꜖s</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ʔau꜒p</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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <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" gender="cl.5">
      <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.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" gender="cl.5">
      <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" gender="cl.5">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="hunter"/>
    </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" gender="cl.5">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
-      <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.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" gender="cl.5">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for jaguar/noun/case/obligatory
Got NOM
About to call getSlotValue for kill/verb/negation/obligatory
Got POS
About to call getSlotValue for hunter/noun/case/obligatory
Got NOM
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="cl.5">
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" gender="cl.5">
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.5" ph="t&#x361;&#x282; i &#x330;&#xA712; t&#x361;&#x283; i &#xA712;">t͡ʂḭ꜒t͡ʃi꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1D4F;&#x1C1; a &#xA716;">ᵏǁa꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5" ph="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi꜒d͡ʒʱa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.5" ph="t&#x361;&#x282; i &#x330;&#xA712; t&#x361;&#x283; i &#xA712;">t͡ʂḭ꜒t͡ʃi꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1D4F;&#x1C1; a &#xA716;">ᵏǁa꜖</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5" ph="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi꜒d͡ʒʱa#꜒</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5" ph="&#x288; i# &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</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" gender="cl.5" ph="t&#x361;&#x282; i &#x330;&#xA712; t&#x361;&#x283; i &#xA712;">t͡ʂḭ꜒t͡ʃi꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="&#x1D4F;&#x1C1; a &#xA716;">ᵏǁa꜖</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5" ph="&#x288; i# &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="cl.5">t͡ʂḭ꜒t͡ʃi꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">ᵏǁa꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="cl.5" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂḭ꜒t͡ʃi꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈi꜒d͡ʒʱã꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʂḭ꜒t͡ʃi꜒qʼ ᵏǁa꜖t͡ʂ nuː꜖ʋ ʈĩ꜒d͡ʒʱã꜒qʼ</p>
+  <p>ट्षि̃चि̄क़्ऽ क्ल̠ट्ष् नू̠व् टिँ̄झँ̄क़्ऽ</p>
+  <il>
+    <w>
+      <o>t͡ʂḭ꜒t͡ʃi꜒</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ᵏǁa꜖</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʈi꜒d͡ʒʱã꜒</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <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">
+          <np number="sing" def="def" locus="number" role="owner" case="GEN">
            <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="GEN">
            <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 addgender:

<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" gender="cl.5">
      <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" case="GEN">
+      <np type="owner_owned" gender="cl.5">
+        <np type="owner_owned" role="owner" gender="cl.5">
+          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
            <word posp="noun" gloss="hunter"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned" case="GEN">
+          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
            <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" gender="cl.5">
          <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" gender="cl.5">
      <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" gender="cl.5">
-        <np type="owner_owned" role="owner" gender="cl.5">
+    <np role="obj" number="sing">
+      <np type="owner_owned" gender="cl.5" number="sing">
+        <np type="owner_owned" role="owner" gender="cl.5" number="sing">
          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
          <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" gender="cl.5">
      <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.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="eat"/>
    </vp>
-    <np role="obj" number="sing">
+    <np role="obj" number="sing" gender="cl.5">
      <np type="owner_owned" gender="cl.5" number="sing">
        <np type="owner_owned" role="owner" gender="cl.5" number="sing">
          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
          <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" gender="cl.5">
      <word posp="noun" gloss="lion"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" number="sing" gender="cl.5">
      <np type="owner_owned" gender="cl.5" number="sing">
        <np type="owner_owned" role="owner" gender="cl.5" number="sing">
          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
            <word posp="noun" gloss="hunter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
            <word posp="noun" gloss="daughter"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </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" gender="cl.5">
      <word posp="noun" gloss="lion"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" number="sing" gender="cl.5">
-      <np type="owner_owned" gender="cl.5" number="sing">
+    <np type="owner_owned" gender="cl.5" number="sing" role="obj">
      <np type="owner_owned" role="owner" gender="cl.5" number="sing">
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
        <word posp="noun" gloss="dog"/>
      </np>
    </np>
-    </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" gender="cl.5">
      <word posp="noun" gloss="lion"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np type="owner_owned" gender="cl.5" number="sing" role="obj">
-      <np type="owner_owned" role="owner" gender="cl.5" number="sing">
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
      <word posp="noun" gloss="daughter"/>
    </np>
-      </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="dog"/>
    </np>
-    </np>
  </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" gender="cl.5">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
-      <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.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for lion/noun/case/obligatory
Got NOM
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for hunter/noun/case/obligatory
Got GEN
About to call getSlotValue for daughter/noun/case/obligatory
Got GEN
About to call getSlotValue for dog/noun/case/obligatory
Got NOM
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="cl.5">
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-  </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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.5" ph="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s e &#xA712;">se꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" ph="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi꜒d͡ʒʱa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="p&#x2B0; i# &#xA716;">pʰi#꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="&#x1D51;&#x1C0; u &#x330;&#xA716;">ᵑǀṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<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" gender="cl.5" ph="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe꜒</word>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.5" ph="n&#x325; u# &#xA716; p&#x2B0; e# &#xA712;" underlying="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s e &#xA712;">se꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" ph="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi꜒d͡ʒʱa#꜒</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" ph="&#x288; i# &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="p&#x2B0; i# &#xA716;">pʰi#꜖</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="&#x1D51;&#x1C0; u &#x330;&#xA716;">ᵑǀṵ꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</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" gender="cl.5" ph="n&#x325; u# &#xA716; p&#x2B0; e# &#xA712;" underlying="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s e &#xA712;">se꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" ph="&#x288; i# &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="p&#x2B0; i# &#xA716;">pʰi#꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5" ph="&#x1D51;&#x1C0; u &#x330;&#xA716;">ᵑǀṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="cl.5" underlying="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">se꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.5" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">b</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">pʰi#꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">b</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5">ᵑǀṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̥ũ꜖pʰe꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;se꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈi꜒d͡ʒʱã꜒&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;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰĩ꜖&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;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǀṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>n̥ũ꜖pʰẽ꜒qʼ se꜒t͡ʂ nuː꜖ʋ ʈĩ꜒d͡ʒʱã꜒b pʰĩ꜖b ᵑǀṵ꜖qʼ</p>
+  <p>ह्नुँ̠फेँ̄क़्ऽ से̄ट्ष् नू̠व् टिँ̄झँ̄ब् फिँ̠ब् ङ्तु̉क़्ऽ</p>
+  <il>
+    <w>
+      <o>n̥ũ꜖pʰe꜒</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>se꜒</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʈi꜒d͡ʒʱã꜒</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>pʰĩ꜖</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ᵑǀṵ꜖</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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 affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned">
    <np type="owner_owned" role="owner">
      <np type="owner_owned" role="owner">
-        <np number="sing" def="neither" locus="number" role="owner">
+        <np number="sing" def="neither" locus="number" role="owner" case="GEN">
          <word person="2" number="sing" posp="pron"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" case="GEN">
          <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="GEN">
        <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 addgender:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned">
-    <np type="owner_owned" role="owner">
-      <np type="owner_owned" role="owner">
+  <np type="owner_owned" gender="cl.6">
+    <np type="owner_owned" role="owner" gender="cl.5">
+      <np type="owner_owned" role="owner" gender="cl.5">
        <np number="sing" def="neither" locus="number" role="owner" case="GEN">
          <word person="2" number="sing" posp="pron"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned" case="GEN">
+        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned" case="GEN">
+      <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
        <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" gender="cl.6">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module propagatenumber:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" gender="cl.6">
-    <np type="owner_owned" role="owner" gender="cl.5">
-      <np type="owner_owned" role="owner" gender="cl.5">
+  <np type="owner_owned" gender="cl.6" number="sing">
+    <np type="owner_owned" role="owner" gender="cl.5" number="sing">
+      <np type="owner_owned" role="owner" gender="cl.5" number="sing">
        <np number="sing" def="neither" locus="number" role="owner" case="GEN">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.6">
      <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" gender="cl.6" number="sing">
    <np type="owner_owned" role="owner" gender="cl.5" number="sing">
      <np type="owner_owned" role="owner" gender="cl.5" number="sing">
        <np number="sing" def="neither" locus="number" role="owner" case="GEN">
-          <word person="2" number="sing" posp="pron"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.6">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.6">
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6"/>
  </np>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 2.sing/pron/number/optional
Got sing
About to call getSlotValue for son/noun/case/obligatory
Got GEN
About to call getSlotValue for friend/noun/case/obligatory
Got GEN
About to call getSlotValue for book/noun/case/obligatory
Got NOM
<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="pronnumber" function="suffix" gloss="sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.6">
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="d&#x361;&#x291; o &#x330;&#xA712;">d͡ʑo̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="n&#x325; a &#x330;&#xA716;">n̥a̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" ph="l i&#x2D0; &#x295; e&#x2D0;">liːʕeː</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="d&#x361;&#x291; o &#x330;&#xA712;">d͡ʑo̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" ph="n&#x325; a &#x330;&#xA716;">n̥a̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="b">b</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" ph="l i&#x2D0; &#x295; e&#x2D0;">liːʕeː</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" locus="number" role="owner" case="GEN">daː̰꜒d͡z</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">d͡ʑo̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">b</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5">n̥a̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">b</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6">liːʕeː</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daː̰꜒d͡z&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;d͡ʑo̰꜒&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;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̥a̰꜖&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;-b&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liːʕeː&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>daː̰꜒d͡z d͡ʑo̰꜒b n̥a̰꜖b liːʕeːqʼ</p>
+  <p>दा̃द्ज़् जो̃ब् ह्न̉ब् लीऽऐक़्ऽ</p>
+  <il>
+    <w>
+      <o>daː̰꜒d͡z</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>d͡ʑo̰꜒</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>n̥a̰꜖</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-b</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>liːʕeː</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <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.cl.5">
      <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" gender="cl.5">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5">
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <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" gender="cl.5">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5">
-      <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.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for sleep/verb/negation/obligatory
Got POS
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5">
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="intr_stat" translation="The cat is sleeping.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5">
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" ph="n&#x325; a&#x2D0; &#xA716;">n̥aː꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

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" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" ph="n&#x325; a&#x2D0; &#xA716;">n̥aː꜖</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5">n̥aː꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vaṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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̥aː꜖&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;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>vaṵ꜖qʼ n̥aː꜖t͡ʂ</p>
+  <p>वौ̉क़्ऽ ह्ना̠ट्ष्</p>
+  <il>
+    <w>
+      <o>vaṵ꜖</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>n̥aː꜖</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <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.cl.5">
      <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" gender="cl.5">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5">
      <word posp="verb" gloss="run"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <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" gender="cl.5">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5">
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for run/verb/negation/obligatory
Got POS
<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5">
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="intr_act" translation="The cat is running.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5">
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" ph="n&#x325; e&#x2D0; &#xA716;">n̥eː꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

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" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" ph="n&#x325; e&#x2D0; &#xA716;">n̥eː꜖</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5">n̥eː꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vaṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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̥eː꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>vaṵ꜖qʼ n̥eː꜖t͡ʂ</p>
+  <p>वौ̉क़्ऽ ह्नै̠ट्ष्</p>
+  <il>
+    <w>
+      <o>vaṵ꜖</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>n̥eː꜖</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <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" gender="cl.5">
      <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.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
      <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" gender="cl.5">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="chase"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
      <word posp="noun" gloss="mouse"/>
    </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" gender="cl.5">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
-      <word posp="verb" gloss="chase"/>
+      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for chase/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="d&#x361;&#x292;&#x2B1; a# &#xA712; r a&#x2D0; &#x330;&#xA716;">d͡ʒʱa#꜒raː̰꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<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" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="d&#x361;&#x292;&#x2B1; a# &#xA712; r a&#x2D0; &#x330;&#xA716;">d͡ʒʱa#꜒raː̰꜖</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="d&#x361;&#x292;&#x2B1; a# &#xA712; r a#&#x2D0; &#x330;&#xA716;" underlying="d&#x361;&#x292;&#x2B1; a# &#xA712; r a&#x2D0; &#x330;&#xA716;">d͡ʒʱa#꜒ra#ː̰꜖</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</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" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="d&#x361;&#x292;&#x2B1; a# &#xA712; r a#&#x2D0; &#x330;&#xA716;" underlying="d&#x361;&#x292;&#x2B1; a# &#xA712; r a&#x2D0; &#x330;&#xA716;">d͡ʒʱa#꜒ra#ː̰꜖</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" underlying="d&#x361;&#x292;&#x2B1; a# &#xA712; r a&#x2D0; &#x330;&#xA716;">d͡ʒʱa#꜒ra#ː̰꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vaṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;d͡ʒʱã꜒raː̰꜖&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;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǁuː̰꜒d͡ʑãː̰꜖&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ʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>vaṵ꜖qʼ d͡ʒʱã꜒rãː̰꜖t͡ʂ ᶢǁũː̰꜒d͡ʑãː̰꜖qʼ</p>
+  <p>वौ̉क़्ऽ झँ̄रँ̉ट्ष् ळुँ̃जँ̉क़्ऽ</p>
+  <il>
+    <w>
+      <o>vaṵ꜖</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>d͡ʒʱã꜒raː̰꜖</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>ᶢǁuː̰꜒d͡ʑãː̰꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <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" gender="cl.5">
      <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.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
      <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" gender="cl.5">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
      <word posp="noun" gloss="mouse"/>
    </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" gender="cl.5">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
-      <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.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

flatten:

<example id="tr_past" translation="The cat caught the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<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" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</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" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="cl.5">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="cl.5" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vaṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;fḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǁuː̰꜒d͡ʑãː̰꜖&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ʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>vaṵ꜖qʼ fḭ꜒t͡ʂ nuː꜖ʋ ᶢǁũː̰꜒d͡ʑãː̰꜖qʼ</p>
+  <p>वौ̉क़्ऽ फ़ि̃ट्ष् नू̠व् ळुँ̃जँ̉क़्ऽ</p>
+  <il>
+    <w>
+      <o>vaṵ꜖</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>fḭ꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǁuː̰꜒d͡ʑãː̰꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <conjp conj="and">
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="cl.5">
          <word posp="noun" gloss="jaguar"/>
        </np>
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="cl.5">
          <word posp="noun" gloss="tiger"/>
        </np>
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="cl.5">
          <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" gender="cl.5">
      <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" gender="cl.5">
+    <np role="obj" tr="rheme" gender="cl.5" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number" gender="cl.5">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number" gender="cl.5">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number" gender="cl.5">
          <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" gender="cl.5">
      <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" gender="cl.5" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number" gender="cl.5">
          <word posp="noun" gloss="jaguar"/>
        </np>
+        <word posp="conj" gloss="and"/>
        <np def="def" number="plur" locus="number" gender="cl.5">
          <word posp="noun" gloss="tiger"/>
        </np>
+        <word posp="conj" gloss="and"/>
        <np def="def" number="plur" locus="number" gender="cl.5">
          <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" gender="cl.5">
      <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" gender="cl.5" number="plur">
-      <conjp conj="and">
-        <np def="def" number="plur" locus="number" gender="cl.5">
+      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" number="plur" locus="number" gender="cl.5">
+      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" number="plur" locus="number" gender="cl.5">
+      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <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" gender="cl.5">
      <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.cl.5" obj="3.plur.cl.5">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" gender="cl.5" number="plur">
      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <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" gender="cl.5">
      <word posp="noun" gloss="hunter"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" gender="cl.5" number="plur">
      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
        <word posp="noun" gloss="lion"/>
      </np>
    </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" gender="cl.5">
      <word posp="noun" gloss="hunter"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
      <word posp="verb" gloss="kill"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" tr="rheme" gender="cl.5" number="plur">
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
      <word posp="noun" gloss="lion"/>
    </np>
-    </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" gender="cl.5">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
-      <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.cl.5" obj="3.plur.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
-      <word posp="noun" gloss="tiger"/>
+      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for hunter/noun/case/obligatory
Got NOM
About to call getSlotValue for kill/verb/negation/obligatory
Got POS
About to call getSlotValue for jaguar/noun/case/obligatory
Got NOM
About to call getSlotValue for tiger/noun/case/obligatory
Got NOM
About to call getSlotValue for lion/noun/case/obligatory
Got NOM
<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" gender="cl.5">
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

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" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-  </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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" ph="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi꜒d͡ʒʱa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5" ph="&#x1D4F;&#x1C1; a &#xA716;">ᵏǁa꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="t&#x361;&#x282; i &#x330;&#xA712; t&#x361;&#x283; i &#xA712;">t͡ʂḭ꜒t͡ʃi꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="conj" gloss="and" ph="t&#x361;&#x283; ai &#xA716; d&#x361;z">t͡ʃai꜖d͡z</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="&#x288;&#x2B0; e# &#x330;&#xA712; k i# &#xA712;">ʈʰe#̰꜒ki#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="conj" gloss="and" ph="t&#x361;&#x283; ai &#xA716; d&#x361;z">t͡ʃai꜖d͡z</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<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" gender="cl.5" ph="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi꜒d͡ʒʱa#꜒</word>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" ph="&#x288; i# &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5" ph="&#x1D4F;&#x1C1; a &#xA716;">ᵏǁa꜖</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="t&#x361;&#x282; i &#x330;&#xA712; t&#x361;&#x283; i &#xA712;">t͡ʂḭ꜒t͡ʃi꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="conj" gloss="and" ph="t&#x361;&#x283; ai &#xA716; d&#x361;z">t͡ʃai꜖d͡z</word>
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="&#x288;&#x2B0; e# &#x330;&#xA712; k i# &#xA712;">ʈʰe#̰꜒ki#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="conj" gloss="and" ph="t&#x361;&#x283; ai &#xA716; d&#x361;z">t͡ʃai꜖d͡z</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe꜒</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="n&#x325; u# &#xA716; p&#x2B0; e# &#xA712;" underlying="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</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" gender="cl.5" ph="&#x288; i# &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5" ph="&#x1D4F;&#x1C1; a &#xA716;">ᵏǁa꜖</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="t&#x361;&#x282; i &#x330;&#xA712; t&#x361;&#x283; i &#xA712;">t͡ʂḭ꜒t͡ʃi꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="conj" gloss="and" ph="t&#x361;&#x283; ai &#xA716; d&#x361;z">t͡ʃai꜖d͡z</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="&#x288;&#x2B0; e# &#x330;&#xA712; k i# &#xA712;">ʈʰe#̰꜒ki#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="conj" gloss="and" ph="t&#x361;&#x283; ai &#xA716; d&#x361;z">t͡ʃai꜖d͡z</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" ph="n&#x325; u# &#xA716; p&#x2B0; e# &#xA712;" underlying="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" underlying="&#x288; i &#xA712; d&#x361;&#x292;&#x2B1; a# &#xA712;">ʈi#꜒d͡ʒʱa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.plur.cl.5">ᵏǁa꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">t͡ʂḭ꜒t͡ʃi꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="conj" gloss="and">t͡ʃai꜖d͡z</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme">ʈʰe#̰꜒ki#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="conj" gloss="and">t͡ʃai꜖d͡z</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" role="obj" tr="rheme" underlying="n&#x325; u# &#xA716; p&#x2B0; e &#xA712;">n̥u#꜖pʰe#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈi꜒d͡ʒʱã꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂḭ꜒t͡ʃi꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;t͡ʃai꜖d͡z&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;ʈʰḛ̃꜒kĩ꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;t͡ʃai꜖d͡z&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;n̥ũ꜖pʰe꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʈĩ꜒d͡ʒʱã꜒qʼ ᵏǁa꜖t͡ʂ nuː꜖ʋ t͡ʂḭ꜒t͡ʃi꜒qʼ t͡ʃai꜖d͡z ʈʰḛ̃꜒kĩ꜒qʼ t͡ʃai꜖d͡z n̥ũ꜖pʰẽ꜒qʼ</p>
+  <p>टिँ̄झँ̄क़्ऽ क्ल̠ट्ष् नू̠व् ट्षि̃चि̄क़्ऽ चै̠द्ज़् ठेँ̃किँ̄क़्ऽ चै̠द्ज़् ह्नुँ̠फेँ̄क़्ऽ</p>
+  <il>
+    <w>
+      <o>ʈi꜒d͡ʒʱã꜒</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ᵏǁa꜖</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʂḭ꜒t͡ʃi꜒</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃai꜖d͡z</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ʈʰḛ̃꜒kĩ꜒</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>t͡ʃai꜖d͡z</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>n̥ũ꜖pʰe꜒</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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.

tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<example id="relp1" translation="I patted the cat.">
  <s>
    <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">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <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">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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" gender="cl.5">
      <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">
+    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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.cl.5">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.5">
-      <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.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.5">
      <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.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.5">
    <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.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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.cl.5" ph="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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.cl.5" ph="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number">ʔau꜒p</word>
+    <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.cl.5">ᵏǁʰo̰꜖sḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="cl.5">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔau꜒p&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;ᵏǁʰo̰꜖sḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vaṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔau꜒p ᵏǁʰo̰꜖sḭ꜒t͡ʂ nuː꜖ʋ vaṵ꜖qʼ</p>
+  <p>ऽऔ̄प् क्ल्हो̉सि̃ट्ष् नू̠व् वौ̉क़्ऽ</p>
+  <il>
+    <w>
+      <o>ʔau꜒p</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵏǁʰo̰꜖sḭ꜒</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>vaṵ꜖</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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.

tva1
tva2
tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <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="">
+    <np id="parent" gender="cl.5">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <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" gender="cl.5">
          <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" gender="cl.5">
          <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">
      <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" gender="cl.5">
+    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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" gender="cl.5">
          <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">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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" gender="cl.5">
          <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">
+    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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.cl.5" obj="3.sing.cl.5">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.5">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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.cl.5" obj="3.sing.cl.5">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.5">
          <word posp="noun" gloss="mouse"/>
        </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>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    </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"/>
+      <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" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
-          <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.cl.5" obj="3.sing.cl.5"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.5">
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5"/>
        </np>
      </relp>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="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" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
+        <thingy type="nouncase" function="suffix" gloss="NOM"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.5">
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="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" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np id="parent" gender="cl.5" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" gender="cl.5">
-          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5"/>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5" comma="after"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-      </relp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5" comma="after"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5" comma="after" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5" comma="after" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5" comma="after" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5" comma="after" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number">ʔau꜒p</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ᵏǁʰo̰꜖sḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">tʰe#꜒kʼ</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.5" comma="after" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔau꜒p&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;ᵏǁʰo̰꜖sḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vaṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;tʰẽ꜒kʼ&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;fḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǁuː̰꜒d͡ʑãː̰꜖&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ʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔau꜒p ᵏǁʰo̰꜖sḭ꜒t͡ʂ nuː꜖ʋ vaṵ꜖qʼ, tʰẽ꜒kʼ fḭ꜒t͡ʂ nuː꜖ʋ ᶢǁũː̰꜒d͡ʑãː̰꜖qʼ</p>
+  <p>ऽऔ̄प् क्ल्हो̉सि̃ट्ष् नू̠व् वौ̉क़्ऽ, थेँ̄क़ फ़ि̃ट्ष् नू̠व् ळुँ̃जँ̉क़्ऽ</p>
+  <il>
+    <w>
+      <o>ʔau꜒p</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵏǁʰo̰꜖sḭ꜒</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>vaṵ꜖</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tʰẽ꜒kʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>fḭ꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǁuː̰꜒d͡ʑãː̰꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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.

tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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">
      <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="">
+    <np id="parent" gender="cl.5">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <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" gender="cl.5">
          <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="">
+        <np id="parent" gender="cl.5">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <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" gender="cl.5">
              <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" gender="cl.4">
              <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">
      <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" gender="cl.5">
+    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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" gender="cl.5">
+        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <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" gender="cl.4">
              <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">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <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" gender="cl.4">
              <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">
+    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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.cl.5">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <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.cl.5" obj="3.sing.cl.4">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="cl.4">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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.cl.5">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <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.cl.5" obj="3.sing.cl.4">
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpta" function="enclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="enclitic" gloss="active"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="cl.4">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    </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"/>
+      <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" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-          <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.cl.5"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4">
-              <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.cl.5" obj="3.sing.cl.4"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="cl.4">
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for cheese/noun/case/obligatory
Got NOM
<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="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" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
+        <thingy type="nouncase" function="suffix" gloss="NOM"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
+            <thingy type="nouncase" function="suffix" gloss="NOM"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
+              <thingy type="pronnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4">
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4"/>
+              <thingy type="verbnegation" function="suffix" gloss="POS"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="cl.4">
              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4"/>
+              <thingy type="nouncase" function="suffix" gloss="NOM"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

<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" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="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" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np id="parent" gender="cl.5" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np id="parent" gender="cl.5" number="sing">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-            <np def="def" number="sing" role="obj" locus="number" gender="cl.4">
-              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4"/>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4" comma="after"/>
    <thingy type="nouncase" function="suffix" gloss="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 person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4" comma="after"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4" ph="s e &#xA712;">se꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4" comma="after" ph="&#x1DA2;&#x1C3; u# &#x330;&#xA712; t&#x361;&#x283;&#x2BC; o#&#x2D0; &#xA712;">ᶢǃu#̰꜒t͡ʃʼo#ː꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4" ph="s e &#xA712;">se꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4" comma="after" ph="&#x1DA2;&#x1C3; u# &#x330;&#xA712; t&#x361;&#x283;&#x2BC; o#&#x2D0; &#xA712;">ᶢǃu#̰꜒t͡ʃʼo#ː꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4" ph="s e &#xA712;">se꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4" comma="after" ph="&#x1DA2;&#x1C3; u# &#x330;&#xA712; t&#x361;&#x283;&#x2BC; o#&#x2D0; &#xA712;">ᶢǃu#̰꜒t͡ʃʼo#ː꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number">ʔau꜒p</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ᵏǁʰo̰꜖sḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">tʰe#꜒kʼ</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">tʰe#꜒kʼ</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.4">se꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.4" comma="after">ᶢǃu#̰꜒t͡ʃʼo#ː꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔau꜒p&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;ᵏǁʰo̰꜖sḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vaṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;tʰẽ꜒kʼ&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;fḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǁuː̰꜒d͡ʑãː̰꜖&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ʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;tʰẽ꜒kʼ&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;se꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǃṵ̃꜒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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔau꜒p ᵏǁʰo̰꜖sḭ꜒t͡ʂ nuː꜖ʋ vaṵ꜖qʼ, tʰẽ꜒kʼ fḭ꜒t͡ʂ nuː꜖ʋ ᶢǁũː̰꜒d͡ʑãː̰꜖qʼ, tʰẽ꜒kʼ se꜒t͡ʂ nuː꜖ʋ ᶢǃṵ̃꜒t͡ʃʼõː꜒qʼ</p>
+  <p>ऽऔ̄प् क्ल्हो̉सि̃ट्ष् नू̠व् वौ̉क़्ऽ, थेँ̄क़ फ़ि̃ट्ष् नू̠व् ळुँ̃जँ̉क़्ऽ, थेँ̄क़ से̄ट्ष् नू̠व् शुँ̃ह़ोँ̄क़्ऽ</p>
+  <il>
+    <w>
+      <o>ʔau꜒p</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵏǁʰo̰꜖sḭ꜒</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>vaṵ꜖</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tʰẽ꜒kʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>fḭ꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǁuː̰꜒d͡ʑãː̰꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tʰẽ꜒kʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>se꜒</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǃṵ̃꜒t͡ʃʼõː꜒</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>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.

tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

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:

No change.

module markowner:

No change.

module addgender:

<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">
      <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="">
+    <np id="parent" gender="cl.5">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <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" gender="cl.5">
          <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="">
+        <np id="parent" gender="cl.5">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <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" gender="cl.5">
              <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="">
+            <np id="parent" gender="cl.4">
+              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
                <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" gender="cl.4">
                  <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" gender="cl.4">
                  <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">
      <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" gender="cl.5">
+    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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" gender="cl.5">
+        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <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" gender="cl.4">
+            <np id="parent" gender="cl.4" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4">
                  <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" gender="cl.4">
                  <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">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <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" gender="cl.4" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4">
                  <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" gender="cl.4">
-                  <word person="1excl" number="sing" posp="pron"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
                </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">
+    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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.cl.5">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <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.cl.5">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4">
                  <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.cl.4" subj="1excl.sing">
                  <word posp="verb" gloss="buy"/>
                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" gender="cl.4">
+                <np number="sing" def="neither" role="subj" locus="number" gender="cl.4" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </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"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <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.cl.5">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <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.cl.5">
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpta" function="enclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="enclitic" gloss="active"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4">
                  <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.cl.4" subj="1excl.sing">
                  <word posp="verb" gloss="buy"/>
+                  <thingy type="vpta" function="enclitic" gloss="PAST"/>
+                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+                  <thingy type="vpvoice" function="enclitic" gloss="active"/>
+                  <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" gender="cl.4" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

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>
    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    </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"/>
+      <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" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-          <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.cl.5"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-              <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.cl.5"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
-                <word posp="noun" gloss="cheese"/>
+                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4">
-                  <word posp="pron" gloss="RELPRON"/>
+                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" 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.cl.4" subj="1excl.sing"/>
                  <thingy type="vpta" function="enclitic" gloss="PAST"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                  <thingy type="vpvoice" function="enclitic" gloss="active"/>
                  <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" gender="cl.4" person="1excl">
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for pat/verb/negation/obligatory
Got POS
About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for catch/verb/negation/obligatory
Got POS
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for eat/verb/negation/obligatory
Got POS
About to call getSlotValue for cheese/noun/case/obligatory
Got NOM
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for buy/verb/negation/obligatory
Got POS
About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="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" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
+        <thingy type="nouncase" function="suffix" gloss="NOM"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
+            <thingy type="nouncase" function="suffix" gloss="NOM"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
+              <thingy type="pronnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
+              <thingy type="verbnegation" function="suffix" gloss="POS"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np id="parent" gender="cl.4" number="sing">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4"/>
+                <thingy type="nouncase" function="suffix" gloss="NOM"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4">
                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" 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.cl.4" subj="1excl.sing"/>
+                  <thingy type="verbnegation" function="suffix" gloss="POS"/>
                  <thingy type="vpta" function="enclitic" gloss="PAST"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                  <thingy type="vpvoice" function="enclitic" gloss="active"/>
                  <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" gender="cl.4" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

<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" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="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" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np id="parent" gender="cl.5" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np id="parent" gender="cl.5" number="sing">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-            <np id="parent" gender="cl.4" number="sing">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-              </np>
-              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" 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.cl.4" subj="1excl.sing"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" gender="cl.4" person="1excl">
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" comma="after"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-                </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 person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" comma="after"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s e &#xA712;">se꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" ph="&#x1DA2;&#x1C3; u# &#x330;&#xA712; t&#x361;&#x283;&#x2BC; o#&#x2D0; &#xA712;">ᶢǃu#̰꜒t͡ʃʼo#ː꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="d&#x361;z ai &#x330;&#xA712;">d͡zaḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" comma="after" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁuː̰꜒d͡ʑa#ː̰꜖</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s e &#xA712;">se꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" ph="&#x1DA2;&#x1C3; u# &#x330;&#xA712; t&#x361;&#x283;&#x2BC; o#&#x2D0; &#xA712;">ᶢǃu#̰꜒t͡ʃʼo#ː꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="d&#x361;z ai &#x330;&#xA712;">d͡zaḭ꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" comma="after" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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 person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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="&#x1D4F;&#x1C1;&#x2B0; o &#x330;&#xA716; s i &#x330;&#xA712;">ᵏǁʰo̰꜖sḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="v au &#x330;&#xA716;">vaṵ꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="f i &#x330;&#xA712;">fḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" ph="&#x1DA2;&#x1C1; u#&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s e &#xA712;">se꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" ph="&#x1DA2;&#x1C3; u# &#x330;&#xA712; t&#x361;&#x283;&#x2BC; o#&#x2D0; &#xA712;">ᶢǃu#̰꜒t͡ʃʼo#ː꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4" ph="t&#x2B0; e# &#xA712; k&#x2BC;">tʰe#꜒kʼ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing" ph="d&#x361;z ai &#x330;&#xA712;">d͡zaḭ꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" comma="after" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number">ʔau꜒p</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ᵏǁʰo̰꜖sḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5">vaṵ꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">tʰe#꜒kʼ</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">fḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" underlying="&#x1DA2;&#x1C1; u&#x2D0; &#x330;&#xA712; d&#x361;&#x291; a#&#x2D0; &#x330;&#xA716;">ᶢǁu#ː̰꜒d͡ʑa#ː̰꜖</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" gender="cl.5">tʰe#꜒kʼ</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">se꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4">ᶢǃu#̰꜒t͡ʃʼo#ː꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" gender="cl.4">tʰe#꜒kʼ</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.4" subj="1excl.sing">d͡zaḭ꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" comma="after">ʔau꜒p</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔau꜒p&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;ᵏǁʰo̰꜖sḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;vaṵ꜖&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;tʰẽ꜒kʼ&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;fḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǁuː̰꜒d͡ʑãː̰꜖&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ʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;tʰẽ꜒kʼ&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;se꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǃṵ̃꜒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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;tʰẽ꜒kʼ&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;d͡zaḭ꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔau꜒p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔau꜒p ᵏǁʰo̰꜖sḭ꜒t͡ʂ nuː꜖ʋ vaṵ꜖qʼ, tʰẽ꜒kʼ fḭ꜒t͡ʂ nuː꜖ʋ ᶢǁũː̰꜒d͡ʑãː̰꜖qʼ, tʰẽ꜒kʼ se꜒t͡ʂ nuː꜖ʋ ᶢǃṵ̃꜒t͡ʃʼõː꜒qʼ, tʰẽ꜒kʼ d͡zaḭ꜒t͡ʂ nuː꜖ʋ ʔau꜒p</p>
+  <p>ऽऔ̄प् क्ल्हो̉सि̃ट्ष् नू̠व् वौ̉क़्ऽ, थेँ̄क़ फ़ि̃ट्ष् नू̠व् ळुँ̃जँ̉क़्ऽ, थेँ̄क़ से̄ट्ष् नू̠व् शुँ̃ह़ोँ̄क़्ऽ, थेँ̄क़ द्ज़ै̃ट्ष् नू̠व् ऽऔ̄प्</p>
+  <il>
+    <w>
+      <o>ʔau꜒p</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵏǁʰo̰꜖sḭ꜒</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>vaṵ꜖</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tʰẽ꜒kʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>fḭ꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǁuː̰꜒d͡ʑãː̰꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tʰẽ꜒kʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>se꜒</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǃṵ̃꜒t͡ʃʼõː꜒</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tʰẽ꜒kʼ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>d͡zaḭ꜒</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʔau꜒p</o>
+      <g>1excl.sing</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>
tva1
tva2
tva1
tva2

module affixdensity:

No change.

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:

No change.

module markowner:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <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">
+        <np role="owner" number="sing" case="GEN">
          <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">
              <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 addgender:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <np role="subj">
-      <np type="owner_owned">
-        <np number="sing" def="def" head="this" role="owned" locus="number">
+    <np role="subj" gender="cl.2" number="sing">
+      <np type="owner_owned" gender="cl.5">
+        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5">
          <word posp="noun" gloss="boy"/>
        </np>
-        <np role="owner" number="sing" case="GEN">
+        <np role="owner" number="sing" case="GEN" gender="cl.2">
          <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" gender="cl.5">
              <word posp="noun" gloss="girl"/>
            </np>
-            <np number="sing" role="obj" locus="number">
+            <np number="sing" role="obj" locus="number" gender="cl.4">
              <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" gender="cl.5">
      <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" gender="cl.2" number="sing">
-      <np type="owner_owned" gender="cl.5">
+      <np type="owner_owned" gender="cl.5" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.2">
          <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" gender="cl.5">
              <word posp="noun" gloss="girl"/>
            </np>
            <np number="sing" role="obj" locus="number" gender="cl.4">
              <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" gender="cl.5">
      <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" gender="cl.2" number="sing">
      <np type="owner_owned" gender="cl.5" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.2">
          <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.cl.5" obj="3.sing.cl.4">
              <word posp="verb" gloss="give"/>
            </vp>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
              <word posp="noun" gloss="girl"/>
            </np>
            <np number="sing" role="obj" locus="number" gender="cl.4">
              <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.cl.2" indobj="3.sing.cl.5">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
      <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" gender="cl.2" number="sing">
      <np type="owner_owned" gender="cl.5" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.2">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4">
              <word posp="verb" gloss="give"/>
+              <thingy type="vpta" function="enclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="enclitic" gloss="active"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
              <word posp="noun" gloss="girl"/>
            </np>
            <np number="sing" role="obj" locus="number" gender="cl.4">
              <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" subj="3.sing.cl.2" indobj="3.sing.cl.5">
      <word posp="verb" gloss="surprise"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="teacher"/>
    </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" gender="cl.2" number="sing">
-      <np type="owner_owned" gender="cl.5" number="sing">
+    <np type="owner_owned" gender="cl.5" number="sing" role="subj">
      <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5">
        <word posp="noun" gloss="boy"/>
      </np>
      <np role="owner" number="sing" case="GEN" gender="cl.2">
        <subs>
          <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4">
            <word posp="verb" gloss="give"/>
            <thingy type="vpta" function="enclitic" gloss="PAST"/>
            <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            <thingy type="vpvoice" function="enclitic" gloss="active"/>
            <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          </vp>
          <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
            <word posp="noun" gloss="girl"/>
          </np>
          <np number="sing" role="obj" locus="number" gender="cl.4">
            <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" subj="3.sing.cl.2" indobj="3.sing.cl.5">
      <word posp="verb" gloss="surprise"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="teacher"/>
    </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" gender="cl.5" number="sing" role="subj">
    <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5">
      <word posp="noun" gloss="boy"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.2">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4">
          <word posp="verb" gloss="give"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="cl.4">
          <word posp="noun" gloss="apple"/>
        </np>
      </subs>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5">
      <word posp="verb" gloss="surprise"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="teacher"/>
    </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" gender="cl.5">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.2">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4">
-          <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.cl.5" obj="3.sing.cl.4"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="cl.4">
-          <word posp="noun" gloss="apple"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4"/>
        </np>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5">
-      <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.cl.2" indobj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for boy/noun/case/obligatory
Got NOM
About to call getSlotValue for give/verb/negation/obligatory
Got POS
About to call getSlotValue for girl/noun/case/obligatory
Got NOM
About to call getSlotValue for apple/noun/case/obligatory
Got NOM
About to call getSlotValue for surprise/verb/negation/obligatory
Got POS
About to call getSlotValue for teacher/noun/case/obligatory
Got NOM
<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" gender="cl.5">
      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.2">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4">
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4"/>
+          <thingy type="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="cl.4">
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4"/>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
        </np>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5">
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
  </s>
</example>

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" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np role="owner" number="sing" case="GEN" gender="cl.2">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4">
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-        <np number="sing" role="obj" locus="number" gender="cl.4">
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-        </np>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5">
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" gender="cl.5">
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5" ph="&#x27D; a# &#xA712;">ɽa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4" ph="b o &#x330;&#xA712;">bo̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5" ph="t&#x361;&#x282; i&#x2D0; &#x330;&#xA712;">t͡ʂiː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4" ph="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qiː̰꜖bu#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5" ph="q a &#x330;&#xA716; v a# &#x330;&#xA716;">qa̰꜖va#̰꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5" ph="f e&#x2D0; s e&#x2D0;">feːseː</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
  </flat>
</example>

vowelharmony:

<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" gender="cl.5" ph="&#x27D; a# &#xA712;">ɽa#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4" ph="b o &#x330;&#xA712;">bo̰꜒</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5" ph="t&#x361;&#x282; i&#x2D0; &#x330;&#xA712;">t͡ʂiː̰꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4" ph="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qiː̰꜖bu#꜒</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4" ph="q i#&#x2D0; &#x330;&#xA716; b u# &#xA712;" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5" ph="q a &#x330;&#xA716; v a# &#x330;&#xA716;">qa̰꜖va#̰꜖</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5" ph="q a# &#x330;&#xA716; v a# &#x330;&#xA716;" underlying="q a &#x330;&#xA716; v a# &#x330;&#xA716;">qa#̰꜖va#̰꜖</word>
    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5" ph="f e&#x2D0; s e&#x2D0;">feːseː</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</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" gender="cl.5" ph="&#x27D; a# &#xA712;">ɽa#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4" ph="b o &#x330;&#xA712;">bo̰꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5" ph="t&#x361;&#x282; i&#x2D0; &#x330;&#xA712;">t͡ʂiː̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4" ph="q i#&#x2D0; &#x330;&#xA716; b u# &#xA712;" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5" ph="q a# &#x330;&#xA716; v a# &#x330;&#xA716;" underlying="q a &#x330;&#xA716; v a# &#x330;&#xA716;">qa#̰꜖va#̰꜖</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5" ph="f e&#x2D0; s e&#x2D0;">feːseː</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.5">ɽa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.5" obj="3.sing.cl.4">bo̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="cl.5">t͡ʂiː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="cl.4" underlying="q i&#x2D0; &#x330;&#xA716; b u# &#xA712;">qi#ː̰꜖bu#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.5" underlying="q a &#x330;&#xA716; v a# &#x330;&#xA716;">qa#̰꜖va#̰꜖</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="cl.5">feːseː</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɽã꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;bo̰꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂiː̰꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;qiː̰꜖bũ꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;qa̰꜖vã̰꜖&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;feːseː&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɽã꜒qʼ bo̰꜒t͡ʂ nuː꜖ʋ t͡ʂiː̰꜒qʼ qĩː̰꜖bũ꜒qʼ qã̰꜖vã̰꜖t͡ʂ nuː꜖ʋ feːseːqʼ</p>
+  <p>ऱँ̄क़्ऽ बो̃ट्ष् नू̠व् ट्षी̃क़्ऽ क़िँ̉बुँ̄क़्ऽ क़ँ̉वँ̉ट्ष् नू̠व् फ़ैसैक़्ऽ</p>
+  <il>
+    <w>
+      <o>ɽã꜒</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>bo̰꜒</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʂiː̰꜒</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qiː̰꜖bũ꜒</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>qa̰꜖vã̰꜖</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>feːseː</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</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>
tva1
tva2
tva1
tva2

module affixdensity:

No change.

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:

No change.

module markowner:

<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="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">
+        <np role="owner" number="sing" case="GEN">
          <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>
  </s>
</example>

module addgender:

<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" gender="cl.5">
      <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" gender="cl.5">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme">
-      <np type="owner_owned">
+    <np role="obj" tr="rheme" gender="cl.2" number="sing">
+      <np type="owner_owned" gender="cl.2" number="sing">
        <np number="sing" def="neither" role="owned" locus="number">
          <word person="1excl" number="sing" posp="pron"/>
        </np>
-        <np role="owner" number="sing" case="GEN">
+        <np role="owner" number="sing" case="GEN" gender="cl.2">
          <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>
  </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="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">
      <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" gender="cl.5">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme" gender="cl.2" number="sing">
      <np type="owner_owned" gender="cl.2" 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" gender="cl.5"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.2">
          <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"/>
+              <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
            </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" gender="cl.5">
      <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.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" gender="cl.2" number="sing">
+    <np role="obj" tr="rheme" gender="cl.2" number="sing" person="1excl">
      <np type="owner_owned" gender="cl.2" 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" gender="cl.5"/>
        </np>
-        <np role="owner" number="sing" case="GEN" gender="cl.2">
+        <np role="owner" number="sing" case="GEN" gender="cl.2" 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">
+            <np number="sing" def="neither" role="obj" locus="number" person="2">
              <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
            </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" gender="cl.5">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme" gender="cl.2" number="sing" person="1excl">
      <np type="owner_owned" gender="cl.2" number="sing">
        <np number="sing" def="neither" role="owned" locus="number" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.2" person="2">
          <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" function="enclitic" gloss="PRES"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="enclitic" gloss="active"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np number="sing" def="neither" role="obj" locus="number" person="2">
              <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
            </np>
          </subs>
        </np>
      </np>
    </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" gender="cl.5">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" gender="cl.2" number="sing" person="1excl">
-      <np type="owner_owned" gender="cl.2" number="sing">
+    <np type="owner_owned" gender="cl.2" number="sing" role="obj" tr="rheme" person="1excl">
      <np number="sing" def="neither" role="owned" locus="number" person="1excl">
        <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
      </np>
      <np role="owner" number="sing" case="GEN" gender="cl.2" person="2">
        <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" function="enclitic" gloss="PRES"/>
            <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            <thingy type="vpvoice" function="enclitic" gloss="active"/>
            <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          </vp>
          <np number="sing" def="neither" role="obj" locus="number" person="2">
            <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
          </np>
        </subs>
      </np>
    </np>
-    </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" gender="cl.5">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np type="owner_owned" gender="cl.2" number="sing" role="obj" tr="rheme" person="1excl">
-      <np number="sing" def="neither" role="owned" locus="number" person="1excl">
+    <np number="sing" def="neither" role="owned" locus="number" person="1excl" gender="cl.2" tr="rheme">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.2" person="2">
      <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" function="enclitic" gloss="PRES"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
        </np>
      </subs>
    </np>
-    </np>
  </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" gender="cl.5">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" 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.cl.5" indobj="3.sing.cl.5" obj="1excl.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5"/>
    </np>
    <np number="sing" def="neither" role="owned" locus="number" person="1excl" gender="cl.2" tr="rheme">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="owned" locus="number" tr="rheme"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.2" person="2">
      <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" function="enclitic" gloss="PRES"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
-          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
        </np>
      </subs>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for boy/noun/case/obligatory
Got NOM
About to call getSlotValue for tell/verb/negation/obligatory
Got POS
About to call getSlotValue for girl/noun/case/obligatory
Got NOM
About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for love/verb/negation/obligatory
Got POS
About to call getSlotValue for 2.sing/pron/number/optional
Got sing
<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" gender="cl.5">
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" 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.cl.5" indobj="3.sing.cl.5" obj="1excl.sing"/>
+      <thingy type="verbnegation" function="suffix" gloss="POS"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
    </np>
    <np number="sing" def="neither" role="owned" locus="number" person="1excl" gender="cl.2" tr="rheme">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="owned" locus="number" tr="rheme"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.2" person="2">
      <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="verbnegation" function="suffix" gloss="POS"/>
          <thingy type="vpta" function="enclitic" gloss="PRES"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
      </subs>
    </np>
  </s>
</example>

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" gender="cl.5">
+  <flat>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" 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.cl.5" indobj="3.sing.cl.5" obj="1excl.sing"/>
    <thingy type="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    </np>
-    <np number="sing" def="neither" role="owned" locus="number" person="1excl" gender="cl.2" tr="rheme">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="owned" locus="number" tr="rheme"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np role="owner" number="sing" case="GEN" gender="cl.2" person="2">
-      <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="verbnegation" function="suffix" gloss="POS"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-      </subs>
-    </np>
-  </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" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing"/>
-    <thingy type="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="owned" locus="number" tr="rheme"/>
-    <thingy type="pronnumber" function="suffix" gloss="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="verbnegation" function="suffix" gloss="POS"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" ph="&#x27D; a# &#xA712;">ɽa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing" ph="d&#x361;&#x292;&#x2B1; a &#xA712;">d͡ʒʱa꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5" ph="t&#x361;&#x282; i&#x2D0; &#x330;&#xA712;">t͡ʂiː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="owned" locus="number" tr="rheme" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

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" gender="cl.5" ph="&#x27D; a# &#xA712;">ɽa#꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing" ph="d&#x361;&#x292;&#x2B1; a &#xA712;">d͡ʒʱa꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="n u&#x2D0; &#xA716; &#x28B;">nuː꜖ʋ</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5" ph="t&#x361;&#x282; i&#x2D0; &#x330;&#xA712;">t͡ʂiː̰꜒</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="q&#x2BC;">qʼ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="owned" locus="number" tr="rheme" ph="&#x294; au &#xA712; p">ʔau꜒p</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="&#x256;&#x2B1; e&#x2D0; &#x330;&#xA712;">ɖʱeː̰꜒</word>
-    <thingy type="verbnegation" function="suffix" gloss="POS" attach="suffix" ph="t&#x361;&#x282;">t͡ʂ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" ph="d a&#x2D0; &#x330;&#xA712; d&#x361;z">daː̰꜒d͡z</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5">ɽa#꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" indobj="3.sing.cl.5" obj="1excl.sing">d͡ʒʱa꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">nuː꜖ʋ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="cl.5">t͡ʂiː̰꜒</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">qʼ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="owned" locus="number" tr="rheme">ʔau꜒p</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">ɖʱeː̰꜒</word>
+    <thingy type="verbnegation" function="suffix" gloss="POS">t͡ʂ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number">daː̰꜒d͡z</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɽã꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;d͡ʒʱa꜒&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͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nuː꜖ʋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂiː̰꜒&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;-qʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ʔau꜒p&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;ɖʱeː̰꜒&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;-t͡ʂ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daː̰꜒d͡z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɽã꜒qʼ d͡ʒʱa꜒t͡ʂ nuː꜖ʋ t͡ʂiː̰꜒qʼ ʔau꜒p ɖʱeː̰꜒t͡ʂ daː̰꜒d͡z</p>
+  <p>ऱँ̄क़्ऽ झ̄ट्ष् नू̠व् ट्षी̃क़्ऽ ऽऔ̄प् ढै̃ट्ष् दा̃द्ज़्</p>
+  <il>
+    <w>
+      <o>ɽã꜒</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>d͡ʒʱa꜒</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>nuː꜖ʋ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʂiː̰꜒</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-qʼ</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ʔau꜒p</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɖʱeː̰꜒</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡ʂ</o>
+      <g>POS</g>
+    </w>
+    <w>
+      <o>daː̰꜒d͡z</o>
+      <g>2.sing</g>
+    </w>
+  </il>
</example>