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 complementise:

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">
-        <np number="sing" def="def" locus="number">
+        <word gloss="COMIT" posp="pp" owner="3s"/>
+        <np number="sing" def="def" locus="number" case="LOC">
          <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" case="LOC">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="catch"/>
+    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module casemarking:

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

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" case="ACT">
+    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" owner="3s"/>
-        <np number="sing" def="def" locus="number" case="LOC">
+        <np number="sing" def="def" locus="number" case="LOC" gender="cl.3">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1">
      <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.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" owner="3s"/>
        <np number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner">
          <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.1" obj="3.plur.cl.1">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="det" gloss="yon"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" owner="3s"/>
        <np number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <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.1" obj="3.plur.cl.1">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.1"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="plur"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word posp="det" gloss="yon"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="noun" gloss="woman"/>
+      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
      <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" case="LOC" gender="cl.3" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.plur.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.1"/>
-      <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.1" obj="3.plur.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="plur"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word posp="det" gloss="yon"/>
-      <word posp="noun" gloss="mouse"/>
-      <word posp="adj" gloss="blind"/>
-      <word posp="num" gloss="three"/>
+      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for yon/det/gender/optional
Got cl.1
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
        <np number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.plur.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.1"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.plur.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="plur"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+      <thingy type="detgender" function="suffix" gloss="cl.1"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    </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" case="ACT" gender="cl.1" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-        <np number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner"/>
-        </np>
-      </pp>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.plur.cl.1">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.1"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.plur.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="plur"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.1"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.plur.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="plur"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="k&#x361;x&#x2E4; &#x25B; &#xA716; &#x27D;">k͡xˤɛ꜖ɽ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="c&#x2BC; &#x25E;# z&#x2B2;+ht au &#xA712;&#xA716; &#xE7;">cʼɞ#zʲhtau꜒꜖ç</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner" ph="q&#x2B0;&#x2B7; a &#x330;&#xA716; t&#x2BC;">qʰʷa̰꜖tʼ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.1" ph="&#x26E; &#x254; s">ɮɔs</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.1" obj="3.plur.cl.1" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="plur" ph="&#x3B2;&#x2E4; &#x1D4A; l">βˤᵊl</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="&#x283;+hp&#x2E4; &#x276;# &#xA712;&#xA716; &#x26E;">ʃhpˤɶ#꜒꜖ɮ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="z+&#x261;&#x2E4; e &#xA716; q">zɡˤe꜖q</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="&#x282;+k&#x2B0;&#x2E4; a# &#xA716; &#x265;">ʂkʰˤa#꜖ɥ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner" ph="k&#x361;x&#x2E4; &#x25B; &#xA716; &#x27D;">k͡xˤɛ꜖ɽ</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="c&#x2BC; &#x25E;# z&#x2B2;+ht au &#xA712;&#xA716; &#xE7;">cʼɞ#zʲhtau꜒꜖ç</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner" ph="q&#x2B0;&#x2B7; a &#x330;&#xA716; t&#x2BC;">qʰʷa̰꜖tʼ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.1" ph="&#x26E; &#x254; s">ɮɔs</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.1" obj="3.plur.cl.1" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="plur" ph="&#x3B2;&#x2E4; &#x1D4A; l">βˤᵊl</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="&#x283;+hp&#x2E4; &#x276;# &#xA712;&#xA716; &#x26E;">ʃhpˤɶ#꜒꜖ɮ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="z+&#x261;&#x2E4; e &#xA716; q">zɡˤe꜖q</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="&#x282;+k&#x2B0;&#x2E4; a# &#xA716; &#x265;">ʂkʰˤa#꜖ɥ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.1" possessor="no.owner">k͡xˤɛ꜖ɽ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">cʼɞ#zʲhtau꜒꜖ç</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.3" possessor="no.owner">qʰʷa̰꜖tʼ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.1">ɮɔs</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.1" obj="3.plur.cl.1">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="plur">βˤᵊl</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">ʃhpˤɶ#꜒꜖ɮ</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">zɡˤe꜖q</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">ʂkʰˤa#꜖ɥ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k͡xˤɛ꜖ɽ&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;cʼɞ̃zʲhtau꜒꜖ç&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;qʰʷa̰꜖tʼ&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;ɮɔs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.cl.1.3.sing.cl.1&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;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;βˤᵊl&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃhpˤɶ̃꜒꜖ɮ&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;ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ&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;zɡˤe꜖q&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;ʂkʰˤã꜖ɥ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;three&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ k͡xˤɛ꜖ɽ cʼɞ̃zʲhtau꜒꜖ç qʰʷa̰꜖tʼ ɮɔs ᵏǃʼʉ꜒sʲ htʷɔrˤ βˤᵊl ɖĩʑ ʃhpˤɶ̃꜒꜖ɮ ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ zɡˤe꜖q ʂkʰˤã꜖ɥ</p>
+  <p>زودوڇ کخ࣮ٓړ ڪٔںزۦھتو̀خی قحو̉تٔ لژس نتۡء࣭سۦ ھتوۯ ڤٓل ډںژی شھپٓں̀لژ ڢوزۦڲو࣮ڟ زگ࣮ٓق ښڮٓں࣮ࢫ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>k͡xˤɛ꜖ɽ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>cʼɞ̃zʲhtau꜒꜖ç</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>qʰʷa̰꜖tʼ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>ɮɔs</o>
+      <g>3.plur.cl.1.3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>ᵏǃʼʉ꜒sʲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>βˤᵊl</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʃhpˤɶ̃꜒꜖ɮ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>zɡˤe꜖q</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>ʂkʰˤã꜖ɥ</o>
+      <g>three</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 complementise:

No change.

submodule transform_verb_obj
<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 gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

<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"/>
+      <word gloss="girl" lexposp="noun" posp="verb">
+        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
+        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
+      </word>
    </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 adpositions:

No change.

module constorder:

<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">
+      <word posp="noun" gloss="boy"/>
+    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-      <word posp="noun" gloss="boy"/>
-    </np>
  </s>
</example>

module casemarking:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="STA">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

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" case="STA">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="STA" gender="cl.2">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="STA" gender="cl.2">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="STA" gender="cl.2">
+      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowned:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="STA" gender="cl.2">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#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="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </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.2">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </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" case="STA" gender="cl.2" possessor="no.owner">
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
    </vp>
  </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" case="STA" gender="cl.2" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
+      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="subj" locus="number" case="STA" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
-      <word gloss="girl" lexposp="noun" posp="verb">
+      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="subj" locus="number" case="STA" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
-      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2"/>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="subj" locus="number" case="STA" possessor="no.owner"/>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2"/>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="subj" locus="number" case="STA" possessor="no.owner" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E4; &#x289;&#x2D0; &#xA716; &#x27E;">ᵏǀʰˤʉː꜖ɾ</word>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" ph="&#x288;&#x2BC; &#x1D4A; &#x330;&#xA716; r&#x325;">ʈʼᵊ̰꜖r̥</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x289;#&#x2D0; k&#x361;x">ʉ#ːk͡x</thingy>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="subj" locus="number" case="STA" possessor="no.owner" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E4; &#x289;&#x2D0; &#xA716; &#x27E;">ᵏǀʰˤʉː꜖ɾ</word>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" ph="&#x288;&#x2BC; &#x1D4A; &#x330;&#xA716; r&#x325;">ʈʼᵊ̰꜖r̥</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x289;#&#x2D0; k&#x361;x">ʉ#ːk͡x</thingy>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="subj" locus="number" case="STA" possessor="no.owner">ᵏǀʰˤʉː꜖ɾ</word>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">ʈʼᵊ̰꜖r̥</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb">ʉ#ːk͡x</thingy>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS">sʲhkʷe#ːw</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;3.sing.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈʼᵊ̰꜖r̥&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;-ʉ̃ːk͡x&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;sʲhkʷẽːw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɖĩʑ ᵏǀʰˤʉː꜖ɾ ʈʼᵊ̰꜖r̥ʉ̃ːk͡x sʲhkʷẽːw</p>
+  <p>ډںژی قۡحٓو࣮ر ٹٔ̉رھوںکخ سۦھکويںو</p>
+  <il>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˤʉː꜖ɾ</o>
+      <g>3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>ʈʼᵊ̰꜖r̥</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ʉ̃ːk͡x</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>sʲhkʷẽːw</o>
+      <g>PRES.indicative.active.POS</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 complementise:

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:

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

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" case="ACT">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2">
      <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" case="STA">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
      <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" case="STA" gender="cl.1">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="NN2"/>
    </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="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
      <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.2" obj="3.sing.cl.1">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.2" obj="3.sing.cl.1">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.2"/>
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <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" case="ACT" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.2"/>
-      <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.2" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="loveprop" translation="NN1 hates NN2.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.2"/>
    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Fatoer hates Qozaj.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.2"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="Fatoer" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x278;&#x2E4; a#&#x2D0; t&#x2BC;&#x2B7; &#x153; &#xA716;&#xA712; r&#x2E4;">ɸˤa#ːtʼʷœ꜖꜒rˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.2" ph="&#x1DA2;&#x1C0;&#x2B7; &#x289;&#x2D0; &#x26E;">ᶢǀʷʉːɮ</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.2" obj="3.sing.cl.1" ph="&#x26E; &#x254;&#x2D0; &#x291;+&#x256; &#x1D4A; &#xA712; &#x270;&#x2E4;">ɮɔːʑɖᵊ꜒ɰˤ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="Qozaj" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" propernoun="yes" ph="q&#x2BC;&#x2E4; &#x254; z a&#x2D0; &#xA716;&#xA712; d&#x361;&#x291;">qʼˤɔzaː꜖꜒d͡ʑ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Fatoer hates Qozaj.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="Fatoer" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x278;&#x2E4; a#&#x2D0; t&#x2BC;&#x2B7; &#x153; &#xA716;&#xA712; r&#x2E4;">ɸˤa#ːtʼʷœ꜖꜒rˤ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.2" ph="&#x1DA2;&#x1C0;&#x2B7; &#x289;&#x2D0; &#x26E;">ᶢǀʷʉːɮ</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.2" obj="3.sing.cl.1" ph="&#x26E; &#x254;&#x2D0; &#x291;+&#x256; &#x1D4A; &#xA712; &#x270;&#x2E4;">ɮɔːʑɖᵊ꜒ɰˤ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="noun" gloss="Qozaj" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" propernoun="yes" ph="q&#x2BC;&#x2E4; &#x254; z a&#x2D0; &#xA716;&#xA712; d&#x361;&#x291;">qʼˤɔzaː꜖꜒d͡ʑ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="Fatoer" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" propernoun="yes">ɸˤa#ːtʼʷœ꜖꜒rˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.2">ᶢǀʷʉːɮ</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.2" obj="3.sing.cl.1">ɮɔːʑɖᵊ꜒ɰˤ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS">sʲhkʷe#ːw</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="Qozaj" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" propernoun="yes">qʼˤɔzaː꜖꜒d͡ʑ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɸˤãːtʼʷœ꜖꜒rˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Fatoer&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;3.sing.cl.1.3.sing.cl.2&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;sʲhkʷẽːw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʼˤɔzaː꜖꜒d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Qozaj&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ɸˤãːtʼʷœ꜖꜒rˤ ᶢǀʷʉːɮ ɮɔːʑɖᵊ꜒ɰˤ sʲhkʷẽːw ɖĩʑ qʼˤɔzaː꜖꜒d͡ʑ</p>
+  <p>زودوڇ ڥٓاںتٔو́ۯ ࢁولژ لژوژیډ࣭غوٓ سۦھکويںو ډںژی ݤٓزا́ࣆ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ɸˤãːtʼʷœ꜖꜒rˤ</o>
+      <g>Fatoer</g>
+    </w>
+    <w>
+      <o>ᶢǀʷʉːɮ</o>
+      <g>3.sing.cl.1.3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>ɮɔːʑɖᵊ꜒ɰˤ</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>sʲhkʷẽːw</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>qʼˤɔzaː꜖꜒d͡ʑ</o>
+      <g>Qozaj</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 complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso1" translation="the boy's apple">
  <np type="owner_owned" case="STA" gender="cl.3" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
      <word posp="noun" gloss="apple"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
      <word posp="noun" gloss="boy"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="STA" gender="cl.3" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
    <word posp="noun" gloss="apple"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
    <word posp="noun" gloss="boy"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
  </np>
</example>

addaffixes:

No change.

flatten:

<example id="posso1" translation="the boy's apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2E4; o z">ᵏǃʰˤoz</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA" ph="j u &#x291;+&#x256;&#x2B1; a &#xA712; t&#x361;s">juʑɖʱa꜒t͡s</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner" ph="&#x290;+t&#x2B0; a#&#x2D0; c">ʐtʰa#ːc</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2B1;&#x2E4; a# &#xA716;&#xA712; &#x262;">dʱˤa#꜖꜒ɢ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2E4; o z">ᵏǃʰˤoz</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA" ph="j u &#x291;+&#x256;&#x2B1; a &#xA712; t&#x361;s">juʑɖʱa꜒t͡s</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner" ph="&#x290;+t&#x2B0; a#&#x2D0; c">ʐtʰa#ːc</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2B1;&#x2E4; a# &#xA716;&#xA712; &#x262;">dʱˤa#꜖꜒ɢ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2">ᵏǃʰˤoz</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA">juʑɖʱa꜒t͡s</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner">ʐtʰa#ːc</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">dʱˤa#꜖꜒ɢ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǃʰˤoz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.3.sing.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juʑɖʱa꜒t͡s&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;ʐtʰãːc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʱˤã꜖꜒ɢ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ᵏǃʰˤoz juʑɖʱa꜒t͡s ʐtʰãːc dʱˤã꜖꜒ɢ</p>
+  <p>نتۡحٓز يژیڈھ࣭څ ږٽاںڪ دھٓں́ڲ</p>
+  <il>
+    <w>
+      <o>ᵏǃʰˤoz</o>
+      <g>STA.3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>juʑɖʱa꜒t͡s</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ʐtʰãːc</o>
+      <g>GEN.no.owner</g>
+    </w>
+    <w>
+      <o>dʱˤã꜖꜒ɢ</o>
+      <g>boy</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 complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

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

createpronouns:

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

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned" case="STA" gender="cl.3" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
      <word posp="noun" gloss="apple"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
+      <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" case="STA" gender="cl.3" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
    <word posp="noun" gloss="apple"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
  </np>
</example>

addaffixes:

No change.

flatten:

<example id="posso1b" translation="his (the boy's) apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner"/>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2E4; o z">ᵏǃʰˤoz</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA" ph="j u &#x291;+&#x256;&#x2B1; a &#xA712; t&#x361;s">juʑɖʱa꜒t͡s</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner" ph="&#x290;+t&#x2B0; a#&#x2D0; c">ʐtʰa#ːc</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E4; &#x289;&#x2D0; &#xA716; &#x27E;">ᵏǀʰˤʉː꜖ɾ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2" ph="&#x1D4F;&#x1C3;&#x2B0;&#x2E4; o z">ᵏǃʰˤoz</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA" ph="j u &#x291;+&#x256;&#x2B1; a &#xA712; t&#x361;s">juʑɖʱa꜒t͡s</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner" ph="&#x290;+t&#x2B0; a#&#x2D0; c">ʐtʰa#ːc</thingy>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E4; &#x289;&#x2D0; &#xA716; &#x27E;">ᵏǀʰˤʉː꜖ɾ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.2">ᵏǃʰˤoz</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.2" case="STA">juʑɖʱa꜒t͡s</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.no.owner">ʐtʰa#ːc</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" case="GEN" possessor="no.owner">ᵏǀʰˤʉː꜖ɾ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǃʰˤoz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.3.sing.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juʑɖʱa꜒t͡s&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;ʐtʰãːc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;.no.owner&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;3.sing.cl.2&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ᵏǃʰˤoz juʑɖʱa꜒t͡s ʐtʰãːc ᵏǀʰˤʉː꜖ɾ</p>
+  <p>نتۡحٓز يژیڈھ࣭څ ږٽاںڪ قۡحٓو࣮ر</p>
+  <il>
+    <w>
+      <o>ᵏǃʰˤoz</o>
+      <g>STA.3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>juʑɖʱa꜒t͡s</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ʐtʰãːc</o>
+      <g>GEN.no.owner</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˤʉː꜖ɾ</o>
+      <g>3.sing.cl.2</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 complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="STA">
-    <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" case="STA">
+  <np type="owner_owned" case="STA" gender="cl.3">
    <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.3">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module propagatenumber:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" case="STA" gender="cl.3">
+  <np type="owner_owned" case="STA" gender="cl.3" 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.3">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

createpronouns:

No change.

module markowned:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="STA" gender="cl.3" 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.3">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="STA" gender="cl.3" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.1excl.sing"/>
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" case="STA" gender="cl.3" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.1excl.sing"/>
    <word posp="noun" gloss="apple"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.1excl.sing"/>
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA"/>
  </np>
</example>

addaffixes:

No change.

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.1excl.sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.1excl.sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.1excl.sing" ph="s&#x2B7; &#x275;#&#x2D0; &#x263;&#x2E4;">sʷɵ#ːɣˤ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA" ph="j u &#x291;+&#x256;&#x2B1; a &#xA712; t&#x361;s">juʑɖʱa꜒t͡s</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.1excl.sing" ph="s&#x2B7; &#x275;#&#x2D0; &#x263;&#x2E4;">sʷɵ#ːɣˤ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA" ph="j u &#x291;+&#x256;&#x2B1; a &#xA712; t&#x361;s">juʑɖʱa꜒t͡s</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.1excl.sing">sʷɵ#ːɣˤ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="1excl.sing" case="STA">juʑɖʱa꜒t͡s</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷɵ̃ːɣˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juʑɖʱa꜒t͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sʷɵ̃ːɣˤ juʑɖʱa꜒t͡s</p>
+  <p>سويںغٓ يژیڈھ࣭څ</p>
+  <il>
+    <w>
+      <o>sʷɵ̃ːɣˤ</o>
+      <g>STA.1excl.sing</g>
+    </w>
+    <w>
+      <o>juʑɖʱa꜒t͡s</o>
+      <g>apple</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 complementise:

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:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj">
+    <np role="subj" case="ACT">
      <np type="owner_owned">
        <np number="sing" def="def" locus="number" role="owner">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="STA">
      <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 markowner:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="ACT">
      <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" case="STA">
      <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" case="ACT">
-      <np type="owner_owned">
-        <np number="sing" def="def" locus="number" role="owner" case="GEN">
+      <np type="owner_owned" gender="cl.1">
+        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2">
          <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.1">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
    <np role="obj" case="STA">
-      <np type="owner_owned">
-        <np type="owner_owned" role="owner">
+      <np type="owner_owned" gender="cl.2">
+        <np type="owner_owned" role="owner" gender="cl.4">
          <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.4">
            <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.2">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module propagatenumber:

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

createpronouns:

No change.

module markowned:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" case="ACT" number="sing">
+    <np role="subj" case="ACT" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.1" number="sing">
-        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2">
+        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="hunter"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned" gender="cl.1">
+        <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
-    <np role="obj" case="STA" number="sing">
+    <np role="obj" case="STA" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.2" number="sing">
        <np type="owner_owned" role="owner" gender="cl.4" 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.4">
+          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
-        <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
+        <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module ngen:

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

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="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" case="ACT" number="sing" possessor="no.owner">
+    <np role="subj" case="ACT" number="sing" possessor="no.owner" gender="cl.1">
      <np type="owner_owned" gender="cl.1" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="hunter"/>
        </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.1" obj="3.sing.cl.2">
      <word posp="verb" gloss="kiss"/>
    </vp>
-    <np role="obj" case="STA" number="sing" possessor="no.owner">
+    <np role="obj" case="STA" number="sing" possessor="no.owner" gender="cl.2">
      <np type="owner_owned" gender="cl.2" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4">
          <word posp="noun" gloss="son"/>
        </np>
        <np type="owner_owned" role="owner" gender="cl.4" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="ACT" number="sing" possessor="no.owner" gender="cl.1">
-      <np type="owner_owned" gender="cl.1" number="sing">
-        <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
+      <np type="owner_owned" gender="cl.1" number="sing" case="ACT">
+        <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1"/>
      <word posp="verb" gloss="kiss"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" case="STA" number="sing" possessor="no.owner" gender="cl.2">
-      <np type="owner_owned" gender="cl.2" number="sing">
-        <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4">
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
+      <np type="owner_owned" gender="cl.2" number="sing" case="STA">
+        <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <word posp="noun" gloss="son"/>
        </np>
-        <np type="owner_owned" role="owner" gender="cl.4" number="sing">
+        <np type="owner_owned" role="owner" gender="cl.4" number="sing" case="STA">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
+            <thingy type="npnumber" function="proclitic" gloss="sing"/>
            <word posp="noun" gloss="neighbour"/>
          </np>
        </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" case="ACT" number="sing" possessor="no.owner" gender="cl.1">
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <np type="owner_owned" gender="cl.1" number="sing" case="ACT">
+    <np type="owner_owned" gender="cl.1" number="sing" case="ACT" role="subj" possessor="no.owner">
      <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="daughter"/>
      </np>
      <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="hunter"/>
      </np>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1"/>
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
-    <np role="obj" case="STA" number="sing" possessor="no.owner" gender="cl.2">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <np type="owner_owned" gender="cl.2" number="sing" case="STA">
+    <np type="owner_owned" gender="cl.2" number="sing" case="STA" role="obj" possessor="no.owner">
      <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="son"/>
      </np>
      <np type="owner_owned" role="owner" gender="cl.4" number="sing" case="STA">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <word posp="noun" gloss="neighbour"/>
        </np>
      </np>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <np type="owner_owned" gender="cl.1" number="sing" case="ACT" role="subj" possessor="no.owner">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <word posp="noun" gloss="daughter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <word posp="noun" gloss="hunter"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1"/>
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <np type="owner_owned" gender="cl.2" number="sing" case="STA" role="obj" possessor="no.owner">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <word posp="noun" gloss="son"/>
    </np>
-      <np type="owner_owned" role="owner" gender="cl.4" number="sing" case="STA">
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <word posp="noun" gloss="neighbour"/>
    </np>
-      </np>
-    </np>
  </s>
</example>

movedowntoword:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1"/>
-      <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.1" obj="3.sing.cl.2"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1"/>
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT" ph="z&#x2B2;+q&#x2B7; &#x25B; &#x330;&#xA716; &#x261;&#x2E4;">zʲqʷɛ̰꜖ɡˤ</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="&#x291;+&#x262;&#x2B7; &#x275;&#x2D0; v&#x2E4; &#x276; &#xA712;&#xA716; &#x279;">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1" ph="l&#x32A; a &#x274;">l̪aɴ</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.1" obj="3.sing.cl.2" ph="q&#x361;&#x3C7; &#x1D4A; z&#x2E4;+b&#x2B1; &#x276;&#x2D0; &#xA716; &#x127;">q͡χᵊzˤbʱɶː꜖ħ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA" ph="&#x282;+t&#x2BC; &#x25E;#&#x2D0; &#xA712; p&#x2BC;&#x2E4;">ʂtʼɞ#ː꜒pʼˤ</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing" ph="&#x282;+k&#x2E4; e&#x2D0; &#x261;&#x2B7; &#x289; &#x330;&#xA712; q&#x361;&#x3C7;&#x2E4;">ʂkˤeːɡʷʉ̰꜒q͡χˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT" ph="z&#x2B2;+q&#x2B7; &#x25B; &#x330;&#xA716; &#x261;&#x2E4;">zʲqʷɛ̰꜖ɡˤ</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="&#x291;+&#x262;&#x2B7; &#x275;&#x2D0; v&#x2E4; &#x276; &#xA712;&#xA716; &#x279;">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1" ph="l&#x32A; a &#x274;">l̪aɴ</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.1" obj="3.sing.cl.2" ph="q&#x361;&#x3C7; &#x1D4A; z&#x2E4;+b&#x2B1; &#x276;&#x2D0; &#xA716; &#x127;">q͡χᵊzˤbʱɶː꜖ħ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA" ph="&#x282;+t&#x2BC; &#x25E;#&#x2D0; &#xA712; p&#x2BC;&#x2E4;">ʂtʼɞ#ː꜒pʼˤ</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing" ph="&#x282;+k&#x2E4; e&#x2D0; &#x261;&#x2B7; &#x289; &#x330;&#xA712; q&#x361;&#x3C7;&#x2E4;">ʂkˤeːɡʷʉ̰꜒q͡χˤ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="ACT">zʲqʷɛ̰꜖ɡˤ</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.1">l̪aɴ</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.1" obj="3.sing.cl.2">q͡χᵊzˤbʱɶː꜖ħ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.4" case="STA">ʂtʼɞ#ː꜒pʼˤ</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="2.sing">ʂkˤeːɡʷʉ̰꜒q͡χˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲqʷɛ̰꜖ɡˤ&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;ʑɢʷɵːvˤɶ꜒꜖ɹ&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;l̪aɴ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.3.sing.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;q͡χᵊzˤbʱɶː꜖ħ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂtʼɞ̃ː꜒pʼˤ&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;ʂkˤeːɡʷʉ̰꜒q͡χˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neighbour&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ zʲqʷɛ̰꜖ɡˤ ʑɢʷɵːvˤɶ꜒꜖ɹ l̪aɴ q͡χᵊzˤbʱɶː꜖ħ htʷɔrˤ ɖĩʑ ʂtʼɞ̃ː꜒pʼˤ ʂkˤeːɡʷʉ̰꜒q͡χˤ</p>
+  <p>زودوڇ زۦࣄ̉گٓ ژیڲويڤٓ̀ڕ لنق قخظڀي࣮ݗ ھتوۯ ډںژی ښتٔوں࣭پٔٓ ښكٓيࣅ̃قخٓ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>zʲqʷɛ̰꜖ɡˤ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ʑɢʷɵːvˤɶ꜒꜖ɹ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>l̪aɴ</o>
+      <g>3.sing.cl.2.3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>q͡χᵊzˤbʱɶː꜖ħ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʂtʼɞ̃ː꜒pʼˤ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ʂkˤeːɡʷʉ̰꜒q͡χˤ</o>
+      <g>neighbour</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"/>
+    <word gloss="a" posp="det"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="STA">
+  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3">
    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
  </np>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3">
+  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
  </np>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
-    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
+    <word posp="noun" gloss="lamb"/>
  </np>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
+    <thingy type="npnumber" function="proclitic" gloss="sing"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word gloss="a" posp="det"/>
    <word posp="noun" gloss="lamb"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word gloss="a" posp="det"/>
-    <word posp="noun" gloss="lamb"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for a/det/gender/optional
Got cl.3
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+    <thingy type="detgender" function="suffix" gloss="cl.3"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.3"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3">u#ːbˤ</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;a&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;cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɕɛːʐɡʷi꜒꜖t͡ʃʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɖĩʑ ʐɡʱˤɞ̃꜖kʼˤũːbˤ ɕɛːʐɡʷi꜒꜖t͡ʃʼ</p>
+  <p>ډںژی ږڳٓں࣮ݿٓوںبٓ شیيږࣅ̀ࢻ</p>
+  <il>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʐɡʱˤɞ̃꜖kʼˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ũːbˤ</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>ɕɛːʐɡʷi꜒꜖t͡ʃʼ</o>
+      <g>lamb</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"/>
+    <word gloss="a" posp="det"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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>
    <word gloss="a" posp="det"/>
  </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>
    <word gloss="a" posp="det"/>
  </np>
</example>

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3">
+  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <word gloss="a" posp="det"/>
  </np>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
+    <word gloss="a" posp="det"/>
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
-    <word gloss="a" posp="det"/>
  </np>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
+    <thingy type="npnumber" function="proclitic" gloss="sing"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word gloss="a" posp="det"/>
    <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>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word gloss="a" posp="det"/>
-    <word gloss="lamb" lexposp="noun" posp="noun">
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </np>
</example>

addaffixes:

About to call getSlotValue for a/det/gender/optional
Got cl.3
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+    <thingy type="detgender" function="suffix" gloss="cl.3"/>
    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </np>
</example>

flatten:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
+    <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" case="STA" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e#&#x2D0; &#x127;">e#ːħ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
-    <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" case="STA" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e#&#x2D0; &#x127;">e#ːħ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3">u#ːbˤ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.3" possessor="no.owner">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">e#ːħ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;a&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;cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɕɛːʐɡʷi꜒꜖t͡ʃʼ&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;-ẽːħ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɖĩʑ ʐɡʱˤɞ̃꜖kʼˤũːbˤ ɕɛːʐɡʷi꜒꜖t͡ʃʼẽːħ</p>
+  <p>ډںژی ږڳٓں࣮ݿٓوںبٓ شیيږࣅ̀ࢻيںݗ</p>
+  <il>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʐɡʱˤɞ̃꜖kʼˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ũːbˤ</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>ɕɛːʐɡʷi꜒꜖t͡ʃʼ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ẽːħ</o>
+      <g>little</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"/>
+      <word gloss="a" posp="det"/>
    </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"/>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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>
      <word gloss="a" posp="det"/>
    </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"/>
    </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"/>
+      <word gloss="lamb" lexposp="noun" posp="noun">
+        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+      </word>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<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>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="have"/>
+    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

module casemarking:

<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" case="ACT">
      <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="have"/>
    </vp>
-    <np number="sing" tr="rheme" role="obj" locus="number">
+    <np number="sing" tr="rheme" role="obj" locus="number" case="STA">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

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" case="ACT">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
      <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="have"/>
    </vp>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="STA">
+    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

module propagatenumber:

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" case="ACT" gender="cl.1">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1">
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

module markowned:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3">
+    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
+      <word gloss="a" posp="det"/>
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
-      <word gloss="a" posp="det"/>
    </np>
  </s>
</example>

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" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </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.1" obj="3.sing.cl.3">
      <word posp="verb" gloss="have"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
      <word gloss="a" posp="det"/>
      <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>

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" case="ACT" gender="cl.1" possessor="no.owner">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.1"/>
      <word posp="verb" gloss="have"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word gloss="a" posp="det"/>
      <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>

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" case="ACT" gender="cl.1" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.1"/>
-      <word posp="verb" gloss="have"/>
+      <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word gloss="a" posp="det"/>
-      <word gloss="lamb" lexposp="noun" posp="noun">
+      <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for a/det/gender/optional
Got cl.3
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.1"/>
      <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+      <thingy type="detgender" function="suffix" gloss="cl.3"/>
      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
    </np>
  </s>
</example>

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.1"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-      </word>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.1"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x256;&#x2B1; &#x276; &#xA716; v">ɖʱɶ꜖v</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.1" ph="z&#x2E4;+p i# n&#x32A;">zˤpi#n̪</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3" ph="&#x283;+p&#x2B0;&#x2E4; &#x153;&#x2D0; &#x330;&#xA712; r&#x2B2;">ʃpʰˤœː̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e#&#x2D0; &#x127;">e#ːħ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x256;&#x2B1; &#x276; &#xA716; v">ɖʱɶ꜖v</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.1" ph="z&#x2E4;+p i# n&#x32A;">zˤpi#n̪</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3" ph="&#x283;+p&#x2B0;&#x2E4; &#x153;&#x2D0; &#x330;&#xA712; r&#x2B2;">ʃpʰˤœː̰꜒rʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e#&#x2D0; &#x127;">e#ːħ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner">ɖʱɶ꜖v</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.1">zˤpi#n̪</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.3">ʃpʰˤœː̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3">u#ːbˤ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">e#ːħ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&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;3.sing.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤpĩn̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.3.sing.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃpʰˤœː̰꜒rʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;a&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;cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɕɛːʐɡʷi꜒꜖t͡ʃʼ&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;-ẽːħ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ɖʱɶ꜖v zˤpĩn̪ ʃpʰˤœː̰꜒rʲ htʷɔrˤ ɖĩʑ ʐɡʱˤɞ̃꜖kʼˤũːbˤ ɕɛːʐɡʷi꜒꜖t͡ʃʼẽːħ</p>
+  <p>زودوڇ ڈھ࣮ڤ ظپںن شڦ‎ٓي̃ڒۦ ھتوۯ ډںژی ږڳٓں࣮ݿٓوںبٓ شیيږࣅ̀ࢻيںݗ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ɖʱɶ꜖v</o>
+      <g>3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>zˤpĩn̪</o>
+      <g>3.sing.cl.3.3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>ʃpʰˤœː̰꜒rʲ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʐɡʱˤɞ̃꜖kʼˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ũːbˤ</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>ɕɛːʐɡʷi꜒꜖t͡ʃʼ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ẽːħ</o>
+      <g>little</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
+        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
          <word gloss="a" posp="det"/>
        </np>
      </subs>
    </np>
  </s>
</example>
submodule transform_adj
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <word gloss="lamb" lexposp="noun" posp="noun">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
          <word gloss="a" posp="det"/>
        </np>
      </subs>
    </np>
  </s>
</example>
submodule transform_verb_verb
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" 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="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="want"/>
+      <word gloss="have" lexposp="verb" posp="verb">
+        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
+        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
+      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj">
-      <subs>
-        <word gloss="COMP" posp="pp"/>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-          <word posp="verb" gloss="have"/>
-        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number">
-          <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
-          <word gloss="a" posp="det"/>
-        </np>
-      </subs>
-    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
+    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" 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:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT">
      <word posp="noun" gloss="girl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowner:

No change.

module addgender:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ACT" gender="cl.1">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1">
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowned:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" 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="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </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.1">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
-      <word gloss="have" lexposp="verb" posp="verb">
+      <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.1" possessor="no.owner">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
-      <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1"/>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
-    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1"/>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x256;&#x2B1; &#x276; &#xA716; v">ɖʱɶ꜖v</word>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" ph="&#x283;+p&#x2B0;&#x2E4; &#x153;&#x2D0; &#x330;&#xA712; r&#x2B2;">ʃpʰˤœː̰꜒rʲ</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="&#x25E;&#x2D0; p&#x2B2;">ɞːpʲ</thingy>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x256;&#x2B1; &#x276; &#xA716; v">ɖʱɶ꜖v</word>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" ph="&#x283;+p&#x2B0;&#x2E4; &#x153;&#x2D0; &#x330;&#xA712; r&#x2B2;">ʃpʰˤœː̰꜒rʲ</word>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="&#x25E;&#x2D0; p&#x2B2;">ɞːpʲ</thingy>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" case="ACT" possessor="no.owner">ɖʱɶ꜖v</word>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">ʃpʰˤœː̰꜒rʲ</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb">ɞːpʲ</thingy>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&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;3.sing.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃpʰˤœː̰꜒rʲ&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;-ɞːpʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ɖʱɶ꜖v ʃpʰˤœː̰꜒rʲɞːpʲ htʷɔrˤ</p>
+  <p>زودوڇ ڈھ࣮ڤ شڦ‎ٓي̃ڒۦوپۦ ھتوۯ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ɖʱɶ꜖v</o>
+      <g>3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>ʃpʰˤœː̰꜒rʲ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-ɞːpʲ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
+        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="subj" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
          <word gloss="a" posp="det"/>
        </np>
      </subs>
    </np>
  </s>
</example>
submodule transform_adj
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="subj" 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>
          <word gloss="a" posp="det"/>
        </np>
      </subs>
    </np>
  </s>
</example>
tva1
tva1
tva2
tva1
tva1
tva2

module affixdensity:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="subj" 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>
          <word gloss="a" posp="det"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="lamb4" translation="She often wanted to have 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 posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-      <word posp="noun" gloss="girl"/>
-    </np>
    <np role="obj">
      <subs>
-        <word gloss="COMP" posp="pp"/>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-          <word posp="verb" gloss="have"/>
-        </vp>
        <np number="sing" tr="rheme" role="subj" 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>
          <word gloss="a" posp="det"/>
        </np>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+          <word posp="verb" gloss="have"/>
+        </vp>
+        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module casemarking:

<example id="lamb4" translation="She often wanted to have 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 posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj">
      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number">
+        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT">
          <word gloss="lamb" lexposp="noun" posp="noun">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
          <word gloss="a" posp="det"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
-    <np role="obj">
+    <np role="obj" gender="cl.1" number="sing">
      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT">
+        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3">
          <word gloss="lamb" lexposp="noun" posp="noun">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
          <word gloss="a" posp="det"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" gender="cl.1">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1">
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3">
          <word gloss="lamb" lexposp="noun" posp="noun">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
          <word gloss="a" posp="det"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module markowned:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
-    <np role="obj" gender="cl.1" number="sing">
+    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3">
+        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
          <word gloss="lamb" lexposp="noun" posp="noun">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
          <word gloss="a" posp="det"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+          <word gloss="a" posp="det"/>
          <word gloss="lamb" lexposp="noun" posp="noun">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
-          <word gloss="a" posp="det"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </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.1" obj="3.sing.cl.1">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
          <word gloss="a" posp="det"/>
          <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>
-        <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.3">
          <word posp="verb" gloss="have"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
+          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <word gloss="a" posp="det"/>
          <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>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="have"/>
+          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
-      <word posp="verb" gloss="want"/>
-      <word posp="adv" gloss="often"/>
+      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
+      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-          <word gloss="a" posp="det"/>
-          <word gloss="lamb" lexposp="noun" posp="noun">
+          <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
+          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for a/det/gender/optional
Got cl.3
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
+          <thingy type="detgender" function="suffix" gloss="cl.3"/>
          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="lamb4" translation="She often wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
+  <flat>
    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
-      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-          </word>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-        </vp>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner"/>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner" ph="&#x256;&#x2B1; &#x276; &#xA716; v">ɖʱɶ꜖v</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1" ph="s+p&#x2B0; &#x1D4A; &#x274;&#x2E4;">spʰᵊɴˤ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1" ph="j o &#xA716; d&#x32A;">jo꜖d̪</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1" ph="s&#x2B7;+k&#x2BC;&#x2B7; a&#x2D0; &#x330;&#xA712; w">sʷkʼʷaː̰꜒w</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e#&#x2D0; &#x127;">e#ːħ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="&#x283;+p&#x2B0;&#x2E4; &#x153;&#x2D0; &#x330;&#xA712; r&#x2B2;">ʃpʰˤœː̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner" ph="&#x256;&#x2B1; &#x276; &#xA716; v">ɖʱɶ꜖v</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1" ph="s+p&#x2B0; &#x1D4A; &#x274;&#x2E4;">spʰᵊɴˤ</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1" ph="j o &#xA716; d&#x32A;">jo꜖d̪</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1" ph="s&#x2B7;+k&#x2BC;&#x2B7; a&#x2D0; &#x330;&#xA712; w">sʷkʼʷaː̰꜒w</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e#&#x2D0; &#x127;">e#ːħ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="&#x283;+p&#x2B0;&#x2E4; &#x153;&#x2D0; &#x330;&#xA712; r&#x2B2;">ʃpʰˤœː̰꜒rʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner">ɖʱɶ꜖v</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1">spʰᵊɴˤ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">jo꜖d̪</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">sʷkʼʷaː̰꜒w</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3">u#ːbˤ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">e#ːħ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">ʃpʰˤœː̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner">sˤʉ#ːɸe#꜖ʋˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖʱɶ꜖v&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;spʰᵊɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.3.sing.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jo꜖d̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷkʼʷaː̰꜒w&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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ʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&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;a&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;cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɕɛːʐɡʷi꜒꜖t͡ʃʼ&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;-ẽːħ&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;ʃpʰˤœː̰꜒rʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;sˤʉ̃ːɸẽ꜖ʋˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɖʱɶ꜖v spʰᵊɴˤ jo꜖d̪ sʷkʼʷaː̰꜒w htʷɔrˤ zʷd̪ʷet͡ɕ ʐɡʱˤɞ̃꜖kʼˤũːbˤ ɕɛːʐɡʷi꜒꜖t͡ʃʼẽːħ ʃpʰˤœː̰꜒rʲ htʷɔrˤ sˤʉ̃ːɸẽ꜖ʋˤ</p>
+  <p>ڈھ࣮ڤ سڦ‎نقٓ ي࣮د سوݿوا̃و ھتوۯ زودوڇ ږڳٓں࣮ݿٓوںبٓ شیيږࣅ̀ࢻيںݗ شڦ‎ٓي̃ڒۦ ھتوۯ صوںڥں࣮ۋٓ</p>
+  <il>
+    <w>
+      <o>ɖʱɶ꜖v</o>
+      <g>3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>spʰᵊɴˤ</o>
+      <g>3.sing.cl.1.3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>jo꜖d̪</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>sʷkʼʷaː̰꜒w</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ʐɡʱˤɞ̃꜖kʼˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ũːbˤ</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>ɕɛːʐɡʷi꜒꜖t͡ʃʼ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ẽːħ</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ʃpʰˤœː̰꜒rʲ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>sˤʉ̃ːɸẽ꜖ʋˤ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp tam="pres-state" question="yes" negation="yes">
      <verb>be</verb>
    </vp>
    <np number="sing" def="neither" role="subj">
      <pron person="2" number="sing"/>
    </np>
    <np role="obj">
      <subs>
        <vp tam="past-punct">
          <verb>think</verb>
        </vp>
        <np role="obj">
          <subs>
            <vp tam="past-punct">
              <verb>want</verb>
              <adv>often</adv>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron">
              <noun>girl</noun>
            </np>
            <np role="obj">
              <subs>
                <vp tam="past-punct">
                  <verb>have</verb>
                </vp>
                <np def="indef" number="sing" tr="rheme" role="subj">
                  <noun>lamb</noun>
                  <adj>little</adj>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

cleanup:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <vp tam="pres-state" question="yes" negation="yes">
-      <verb>be</verb>
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active">
+      <word posp="verb" gloss="be"/>
    </vp>
-    <np number="sing" def="neither" role="subj">
-      <pron person="2" number="sing"/>
+    <np number="sing" def="neither" role="subj" locus="number">
+      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
-        <vp tam="past-punct">
-          <verb>think</verb>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
-            <vp tam="past-punct">
-              <verb>want</verb>
-              <adv>often</adv>
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+              <word posp="verb" gloss="want"/>
+              <word posp="adv" gloss="often"/>
            </vp>
-            <np def="def" number="sing" tr="theme" role="subj" output="aspron">
-              <noun>girl</noun>
+            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
-                <vp tam="past-punct">
-                  <verb>have</verb>
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+                  <word posp="verb" gloss="have"/>
                </vp>
-                <np def="indef" number="sing" tr="rheme" role="subj">
-                  <noun>lamb</noun>
-                  <adj>little</adj>
+                <np def="indef" number="sing" tr="rheme" role="subj" locus="number">
+                  <word posp="noun" gloss="lamb"/>
+                  <word posp="adj" gloss="little"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

module articles:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
                  <word posp="verb" gloss="have"/>
                </vp>
-                <np def="indef" number="sing" tr="rheme" role="subj" locus="number">
+                <np number="sing" tr="rheme" role="subj" locus="number">
                  <word posp="noun" gloss="lamb"/>
                  <word posp="adj" gloss="little"/>
+                  <word gloss="a" posp="det"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

module nonpastonly:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active">
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <np number="sing" tr="rheme" role="subj" locus="number">
                  <word posp="noun" gloss="lamb"/>
                  <word posp="adj" gloss="little"/>
                  <word gloss="a" posp="det"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
+        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
+            <word gloss="COMP" posp="pp"/>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
+                <word gloss="COMP" posp="pp"/>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <np number="sing" tr="rheme" role="subj" locus="number">
                  <word posp="noun" gloss="lamb"/>
                  <word posp="adj" gloss="little"/>
                  <word gloss="a" posp="det"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>
submodule transform_adj
<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
            <word gloss="COMP" posp="pp"/>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
                <word gloss="COMP" posp="pp"/>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <np number="sing" tr="rheme" role="subj" 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>
                  <word gloss="a" posp="det"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2
tva1
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva1
tva2

module affixdensity:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
            <word gloss="COMP" posp="pp"/>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
                <word gloss="COMP" posp="pp"/>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <np number="sing" tr="rheme" role="subj" 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>
                  <word gloss="a" posp="det"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
-      <word posp="verb" gloss="be"/>
-    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="be"/>
+    </vp>
    <np role="obj">
      <subs>
-        <word gloss="COMP" posp="pp"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
-            <word gloss="COMP" posp="pp"/>
+            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+              <word posp="noun" gloss="girl"/>
+            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
-            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-              <word posp="noun" gloss="girl"/>
-            </np>
            <np role="obj">
              <subs>
-                <word gloss="COMP" posp="pp"/>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-                  <word posp="verb" gloss="have"/>
-                </vp>
                <np number="sing" tr="rheme" role="subj" 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>
                  <word gloss="a" posp="det"/>
                </np>
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+                  <word posp="verb" gloss="have"/>
+                </vp>
+                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
+            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
+        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module casemarking:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="STA">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
-        <np role="obj">
+        <np role="obj" case="STA">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj">
              <subs>
-                <np number="sing" tr="rheme" role="subj" locus="number">
+                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT">
                  <word gloss="lamb" lexposp="noun" posp="noun">
                    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                  </word>
                  <word gloss="a" posp="det"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="STA">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
-    <np role="obj">
+    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
-        <np role="obj" case="STA">
+        <np role="obj" case="STA" gender="cl.1" number="sing">
          <subs>
-            <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.1">
              <word posp="noun" gloss="girl"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
-            <np role="obj">
+            <np role="obj" gender="cl.1" number="sing">
              <subs>
-                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT">
+                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3">
                  <word gloss="lamb" lexposp="noun" posp="noun">
                    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                  </word>
                  <word gloss="a" posp="det"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="STA">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="STA" gender="cl.1" number="sing">
          <subs>
-            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" gender="cl.1">
-              <word posp="noun" gloss="girl"/>
+            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1">
+              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3">
                  <word gloss="lamb" lexposp="noun" posp="noun">
                    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                  </word>
                  <word gloss="a" posp="det"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module markowned:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="STA">
+    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
-    <np role="obj" gender="cl.1" number="sing">
+    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
-        <np role="obj" case="STA" gender="cl.1" number="sing">
+        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
          <subs>
-            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1">
+            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
-            <np role="obj" gender="cl.1" number="sing">
+            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
              <subs>
-                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3">
+                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                  <word gloss="lamb" lexposp="noun" posp="noun">
                    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                  </word>
                  <word gloss="a" posp="det"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+                  <word gloss="a" posp="det"/>
                  <word gloss="lamb" lexposp="noun" posp="noun">
                    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                  </word>
-                  <word gloss="a" posp="det"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner">
-      <word person="2" number="sing" posp="pron"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                  <word gloss="a" posp="det"/>
                  <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>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

copyuptophrase:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
    </np>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1">
      <word posp="verb" gloss="be"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
            </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.1" obj="3.sing.cl.1">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                  <word gloss="a" posp="det"/>
                  <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>
-                <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.3">
                  <word posp="verb" gloss="have"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner" person="2">
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing"/>
      <word posp="verb" gloss="be"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1">
          <word posp="verb" gloss="think"/>
+          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
+          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
+              <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
+              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+                  <thingy type="npnumber" function="proclitic" gloss="sing"/>
+                  <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
                  <word gloss="a" posp="det"/>
                  <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>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
                  <word posp="verb" gloss="have"/>
+                  <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner" person="2">
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing"/>
      <word posp="verb" gloss="be"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG"/>
    </vp>
-    <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
+    <np role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1">
          <word posp="verb" gloss="think"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
              <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                  <thingy type="npnumber" function="proclitic" gloss="sing"/>
                  <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
                  <word gloss="a" posp="det"/>
                  <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>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
                  <word posp="verb" gloss="have"/>
                  <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
                </vp>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner" person="2">
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="subj" locus="number" case="STA" possessor="no.owner"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing"/>
-      <word posp="verb" gloss="be"/>
+      <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1">
-          <word posp="verb" gloss="think"/>
+          <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
-              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
+              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
              <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
-              <word posp="verb" gloss="want"/>
-              <word posp="adv" gloss="often"/>
+              <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
+              <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                  <thingy type="npnumber" function="proclitic" gloss="sing"/>
                  <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-                  <word gloss="a" posp="det"/>
-                  <word gloss="lamb" lexposp="noun" posp="noun">
+                  <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
+                  <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                  </word>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
-                  <word posp="verb" gloss="have"/>
+                  <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
                  <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
                </vp>
-                <word gloss="COMP" posp="pp"/>
+                <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner"/>
              </subs>
            </np>
-            <word gloss="COMP" posp="pp"/>
+            <word gloss="COMP" posp="pp" role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner"/>
          </subs>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for a/det/gender/optional
Got cl.3
<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner" person="2">
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="subj" locus="number" case="STA" possessor="no.owner"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing"/>
      <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG"/>
    </vp>
    <np role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1">
          <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <subs>
            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
              <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
              <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
              <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
              <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
              <subs>
                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                  <thingy type="npnumber" function="proclitic" gloss="sing"/>
                  <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
                  <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
+                  <thingy type="detgender" function="suffix" gloss="cl.3"/>
                  <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                  </word>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
                  <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
                  <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
                </vp>
                <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp" role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="STA" possessor="no.owner" person="2">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="subj" locus="number" case="STA" possessor="no.owner"/>
-    </np>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing"/>
    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG"/>
-    </vp>
-    <np role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1">
    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-        </vp>
-        <np role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-          <subs>
-            <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.1" possessor="no.owner">
    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-            </vp>
-            <np role="obj" gender="cl.1" number="sing" possessor="no.owner">
-              <subs>
-                <np number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-                  <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-                  </word>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-                </vp>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner"/>
-              </subs>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner"/>
-          </subs>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="subj" locus="number" case="STA" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing"/>
-    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG"/>
-    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="subj" locus="number" case="STA" possessor="no.owner" ph="&#x29B; y &#xA716;&#xA712; w&#x2E4;">ʛy꜖꜒wˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing" ph="z&#x2B2;+t&#x2BC; a b&#x2B2;">zʲtʼabʲ</thingy>
+    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1" ph="&#x263; &#xF8; &#xA716;&#xA712; r">ɣø꜖꜒r</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG" ph="s&#x2E4;+ht&#x2B7; i m&#x2B2;">sˤhtʷimʲ</thingy>
+    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" ph="&#x3C7; i &#x330;&#xA716; d&#x361;&#x292;">χḭ꜖d͡ʒ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner" ph="&#x256;&#x2B1; &#x276; &#xA716; v">ɖʱɶ꜖v</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1" ph="s+p&#x2B0; &#x1D4A; &#x274;&#x2E4;">spʰᵊɴˤ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1" ph="j o &#xA716; d&#x32A;">jo꜖d̪</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1" ph="s&#x2B7;+k&#x2BC;&#x2B7; a&#x2D0; &#x330;&#xA712; w">sʷkʼʷaː̰꜒w</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e#&#x2D0; &#x127;">e#ːħ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="&#x283;+p&#x2B0;&#x2E4; &#x153;&#x2D0; &#x330;&#xA712; r&#x2B2;">ʃpʰˤœː̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
+    <word gloss="COMP" posp="pp" role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="subj" locus="number" case="STA" possessor="no.owner" ph="&#x29B; y &#xA716;&#xA712; w&#x2E4;">ʛy꜖꜒wˤ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing" ph="z&#x2B2;+t&#x2BC; a b&#x2B2;">zʲtʼabʲ</thingy>
-    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1" ph="&#x263; &#xF8; &#xA716;&#xA712; r">ɣø꜖꜒r</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG" ph="s&#x2E4;+ht&#x2B7; i m&#x2B2;">sˤhtʷimʲ</thingy>
-    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1" ph="&#x3C7; i &#x330;&#xA716; d&#x361;&#x292;">χḭ꜖d͡ʒ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner" ph="&#x256;&#x2B1; &#x276; &#xA716; v">ɖʱɶ꜖v</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1" ph="s+p&#x2B0; &#x1D4A; &#x274;&#x2E4;">spʰᵊɴˤ</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1" ph="j o &#xA716; d&#x32A;">jo꜖d̪</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1" ph="s&#x2B7;+k&#x2BC;&#x2B7; a&#x2D0; &#x330;&#xA712; w">sʷkʼʷaː̰꜒w</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="&#x255; &#x25B;&#x2D0; &#x290;+&#x261;&#x2B7; i &#xA712;&#xA716; t&#x361;&#x283;&#x2BC;">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e#&#x2D0; &#x127;">e#ːħ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" ph="&#x283;+p&#x2B0;&#x2E4; &#x153;&#x2D0; &#x330;&#xA712; r&#x2B2;">ʃpʰˤœː̰꜒rʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
-    <word gloss="COMP" posp="pp" role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="subj" locus="number" case="STA" possessor="no.owner">ʛy꜖꜒wˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.2.sing">zʲtʼabʲ</thingy>
+    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.1">ɣø꜖꜒r</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.NEG">sˤhtʷimʲ</thingy>
+    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.1">χḭ꜖d͡ʒ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="subj" locus="number" possessor="no.owner">ɖʱɶ꜖v</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.1">spʰᵊɴˤ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">jo꜖d̪</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.1">sʷkʼʷaː̰꜒w</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3">u#ːbˤ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">ɕɛːʐɡʷi꜒꜖t͡ʃʼ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">e#ːħ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3">ʃpʰˤœː̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner">sˤʉ#ːɸe#꜖ʋˤ</word>
+    <word gloss="COMP" posp="pp" role="obj" case="STA" gender="cl.1" number="sing" possessor="no.owner">sˤʉ#ːɸe#꜖ʋˤ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.1" number="sing" possessor="no.owner" case="STA">sˤʉ#ːɸe#꜖ʋˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛy꜖꜒wˤ&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;zʲtʼabʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɣø꜖꜒r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;be&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤhtʷimʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;NEG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;χḭ꜖d͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;think&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;3.sing.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;spʰᵊɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.3.sing.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jo꜖d̪&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷkʼʷaː̰꜒w&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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ʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&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;a&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;cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɕɛːʐɡʷi꜒꜖t͡ʃʼ&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;-ẽːħ&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;ʃpʰˤœː̰꜒rʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;sˤʉ̃ːɸẽ꜖ʋˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&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;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&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;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɖĩʑ ʛy꜖꜒wˤ zʲtʼabʲ ɣø꜖꜒r sˤhtʷimʲ χḭ꜖d͡ʒ htʷɔrˤ ɖĩʑ ɖʱɶ꜖v spʰᵊɴˤ jo꜖d̪ sʷkʼʷaː̰꜒w htʷɔrˤ zʷd̪ʷet͡ɕ ʐɡʱˤɞ̃꜖kʼˤũːbˤ ɕɛːʐɡʷi꜒꜖t͡ʃʼẽːħ ʃpʰˤœː̰꜒rʲ htʷɔrˤ sˤʉ̃ːɸẽ꜖ʋˤ sˤʉ̃ːɸẽ꜖ʋˤ sˤʉ̃ːɸẽ꜖ʋˤ</p>
+  <p>ډںژی ڨ́وٓ زۦتٔبۦ غ́ڒ صھتومۦ ݮ̉ج ھتوۯ ډںژی ڈھ࣮ڤ سڦ‎نقٓ ي࣮د سوݿوا̃و ھتوۯ زودوڇ ږڳٓں࣮ݿٓوںبٓ شیيږࣅ̀ࢻيںݗ شڦ‎ٓي̃ڒۦ ھتوۯ صوںڥں࣮ۋٓ صوںڥں࣮ۋٓ صوںڥں࣮ۋٓ</p>
+  <il>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʛy꜖꜒wˤ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>zʲtʼabʲ</o>
+      <g>3.sing.cl.1.2.sing</g>
+    </w>
+    <w>
+      <o>ɣø꜖꜒r</o>
+      <g>be</g>
+    </w>
+    <w>
+      <o>sˤhtʷimʲ</o>
+      <g>PRES.indicative.active.NEG</g>
+    </w>
+    <w>
+      <o>χḭ꜖d͡ʒ</o>
+      <g>think</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ɖʱɶ꜖v</o>
+      <g>3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>spʰᵊɴˤ</o>
+      <g>3.sing.cl.1.3.sing.cl.1</g>
+    </w>
+    <w>
+      <o>jo꜖d̪</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>sʷkʼʷaː̰꜒w</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ʐɡʱˤɞ̃꜖kʼˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ũːbˤ</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>ɕɛːʐɡʷi꜒꜖t͡ʃʼ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ẽːħ</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ʃpʰˤœː̰꜒rʲ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>sˤʉ̃ːɸẽ꜖ʋˤ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>sˤʉ̃ːɸẽ꜖ʋˤ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>sˤʉ̃ːɸẽ꜖ʋˤ</o>
+      <g>COMP</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 complementise:

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:

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

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="love" translation="I love you.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
      <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" case="STA">
+    <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner">
      <word person="2" number="sing" posp="pron"/>
    </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:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
+      <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
    </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" case="ACT" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
      <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.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="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
-    </vp>
-    <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.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="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing" ph="t&#x361;&#x255;&#x2B0; a&#x2D0; r&#x2B2;">t͡ɕʰaːrʲ</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="z&#x2E4;+p&#x2B0; &#x289;# &#x330;&#xA712; r&#x2B2;">zˤpʰʉ#̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" ph="&#x29B; y &#xA716;&#xA712; w&#x2E4;">ʛy꜖꜒wˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing" ph="t&#x361;&#x255;&#x2B0; a&#x2D0; r&#x2B2;">t͡ɕʰaːrʲ</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="z&#x2E4;+p&#x2B0; &#x289;# &#x330;&#xA712; r&#x2B2;">zˤpʰʉ#̰꜒rʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" ph="&#x29B; y &#xA716;&#xA712; w&#x2E4;">ʛy꜖꜒wˤ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">ᵑǁʼau꜒ɢˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing">t͡ɕʰaːrʲ</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">zˤpʰʉ#̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS">sʲhkʷe#ːw</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner">ʛy꜖꜒wˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʼau꜒ɢˤ&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;t͡ɕʰaːrʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤpʰʉ̰̃꜒rʲ&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;sʲhkʷẽːw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛy꜖꜒wˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ᵑǁʼau꜒ɢˤ t͡ɕʰaːrʲ zˤpʰʉ̰̃꜒rʲ sʲhkʷẽːw ɖĩʑ ʛy꜖꜒wˤ</p>
+  <p>زودوڇ نۡلءو࣭ڲٓ ڇحاڒۦ ظڦ‎ں̃ڒۦ سۦھکويںو ډںژی ڨ́وٓ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʼau꜒ɢˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>t͡ɕʰaːrʲ</o>
+      <g>2.sing.1excl.sing</g>
+    </w>
+    <w>
+      <o>zˤpʰʉ̰̃꜒rʲ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>sʲhkʷẽːw</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʛy꜖꜒wˤ</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 complementise:

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" posp="pp" owner="3s"/>
+    <np type="owner_owned" case="LOC">
      <np def="def" number="sing" locus="number">
        <word posp="noun" gloss="table"/>
      </np>
+      <np def="def" number="sing">
+        <word posp="noun" gloss="surface"/>
+      </np>
+    </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" posp="pp" owner="3s"/>
    <np type="owner_owned" case="LOC">
-      <np def="def" number="sing" locus="number">
+      <np def="def" number="sing" locus="number" gender="cl.4">
        <word posp="noun" gloss="table"/>
      </np>
-      <np def="def" number="sing">
+      <np def="def" number="sing" gender="cl.3">
        <word posp="noun" gloss="surface"/>
      </np>
    </np>
  </pp>
</example>

module propagatenumber:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in" posp="pp" owner="3s"/>
-    <np type="owner_owned" case="LOC">
+    <np type="owner_owned" case="LOC" number="sing">
      <np def="def" number="sing" locus="number" gender="cl.4">
        <word posp="noun" gloss="table"/>
      </np>
      <np def="def" number="sing" gender="cl.3">
        <word posp="noun" gloss="surface"/>
      </np>
    </np>
  </pp>
</example>

createpronouns:

No change.

module markowned:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in" posp="pp" owner="3s"/>
    <np type="owner_owned" case="LOC" number="sing">
-      <np def="def" number="sing" locus="number" gender="cl.4">
+      <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="table"/>
      </np>
-      <np def="def" number="sing" gender="cl.3">
+      <np def="def" number="sing" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="surface"/>
      </np>
    </np>
  </pp>
</example>

module ngen:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in" posp="pp" owner="3s"/>
    <np type="owner_owned" case="LOC" number="sing">
-      <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
-        <word posp="noun" gloss="table"/>
-      </np>
      <np def="def" number="sing" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="surface"/>
      </np>
+      <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
+        <word posp="noun" gloss="table"/>
      </np>
+    </np>
  </pp>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in" posp="pp" owner="3s"/>
    <np type="owner_owned" case="LOC" number="sing">
      <np def="def" number="sing" gender="cl.3" possessor="no.owner">
+        <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
        <word posp="noun" gloss="surface"/>
      </np>
      <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
+        <thingy type="npnumber" function="proclitic" gloss="sing"/>
+        <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
        <word posp="noun" gloss="table"/>
      </np>
    </np>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in" posp="pp" owner="3s"/>
-    <np type="owner_owned" case="LOC" number="sing">
    <np def="def" number="sing" gender="cl.3" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
      <word posp="noun" gloss="surface"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
      <word posp="noun" gloss="table"/>
    </np>
-    </np>
  </pp>
</example>

movedowntoword:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <word gloss="in" posp="pp" owner="3s"/>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
    <np def="def" number="sing" gender="cl.3" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
-      <word posp="noun" gloss="surface"/>
+      <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
    </np>
  </pp>
</example>

addaffixes:

No change.

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
+  <flat>
    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
-    <np def="def" number="sing" gender="cl.3" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner"/>
-    </np>
-    <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="&#x3B8;&#x2B7; &#x25E;&#x2D0; &#x330;&#xA716; t&#x361;&#x255;">θʷɞː̰꜖t͡ɕ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner" ph="t&#x361;s&#x2E4; &#x1D4A; n&#x2B2;">t͡sˤᵊnʲ</thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" ph="z&#x2E4;+&#x25F; &#x275;# &#xA712;&#xA716; &#x281;">zˤɟɵ#꜒꜖ʁ</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner" ph="t&#x361;s&#x2E4; &#x1D4A; n&#x2B2;">t͡sˤᵊnʲ</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="&#x1D4F;&#x1C3; &#xF8;#&#x2D0; &#xA712; &#xF0;">ᵏǃø#ː꜒ð</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="&#x3B8;&#x2B7; &#x25E;&#x2D0; &#x330;&#xA716; t&#x361;&#x255;">θʷɞː̰꜖t͡ɕ</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner" ph="t&#x361;s&#x2E4; &#x1D4A; n&#x2B2;">t͡sˤᵊnʲ</thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" ph="z&#x2E4;+&#x25F; &#x275;# &#xA712;&#xA716; &#x281;">zˤɟɵ#꜒꜖ʁ</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner" ph="t&#x361;s&#x2E4; &#x1D4A; n&#x2B2;">t͡sˤᵊnʲ</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="&#x1D4F;&#x1C3; &#xF8;#&#x2D0; &#xA712; &#xF0;">ᵏǃø#ː꜒ð</word>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes">θʷɞː̰꜖t͡ɕ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner">t͡sˤᵊnʲ</thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner">zˤɟɵ#꜒꜖ʁ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner">t͡sˤᵊnʲ</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">ᵏǃø#ː꜒ð</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θʷɞː̰꜖t͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sˤᵊnʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;.no.owner&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;surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sˤᵊnʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;.no.owner&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;</p>
+  <p>θʷɞː̰꜖t͡ɕ t͡sˤᵊnʲ zˤɟɵ̃꜒꜖ʁ t͡sˤᵊnʲ ᵏǃø̃ː꜒ð</p>
+  <p>ثوو̉ڇ څٓنۦ ظڄں̀ݯ څٓنۦ تۡيں࣭ڈ</p>
+  <il>
+    <w>
+      <o>θʷɞː̰꜖t͡ɕ</o>
+      <g>in</g>
+    </w>
+    <w>
+      <o>t͡sˤᵊnʲ</o>
+      <g>LOC.no.owner</g>
+    </w>
+    <w>
+      <o>zˤɟɵ̃꜒꜖ʁ</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>t͡sˤᵊnʲ</o>
+      <g>LOC.no.owner</g>
+    </w>
+    <w>
+      <o>ᵏǃø̃ː꜒ð</o>
+      <g>table</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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" posp="pp" owner="3s"/>
+    <np type="owner_owned" case="DAT">
      <np def="def" number="sing" locus="number">
        <word posp="noun" gloss="box"/>
      </np>
+      <np def="def" number="sing">
+        <word posp="noun" gloss="inside"/>
+      </np>
+    </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" posp="pp" owner="3s"/>
    <np type="owner_owned" case="DAT">
-      <np def="def" number="sing" locus="number">
+      <np def="def" number="sing" locus="number" gender="cl.4">
        <word posp="noun" gloss="box"/>
      </np>
-      <np def="def" number="sing">
+      <np def="def" number="sing" gender="cl.3">
        <word posp="noun" gloss="inside"/>
      </np>
    </np>
  </pp>
</example>

module propagatenumber:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to" posp="pp" owner="3s"/>
-    <np type="owner_owned" case="DAT">
+    <np type="owner_owned" case="DAT" number="sing">
      <np def="def" number="sing" locus="number" gender="cl.4">
        <word posp="noun" gloss="box"/>
      </np>
      <np def="def" number="sing" gender="cl.3">
        <word posp="noun" gloss="inside"/>
      </np>
    </np>
  </pp>
</example>

createpronouns:

No change.

module markowned:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to" posp="pp" owner="3s"/>
    <np type="owner_owned" case="DAT" number="sing">
-      <np def="def" number="sing" locus="number" gender="cl.4">
+      <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="box"/>
      </np>
-      <np def="def" number="sing" gender="cl.3">
+      <np def="def" number="sing" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="inside"/>
      </np>
    </np>
  </pp>
</example>

module ngen:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to" posp="pp" owner="3s"/>
    <np type="owner_owned" case="DAT" number="sing">
-      <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
-        <word posp="noun" gloss="box"/>
-      </np>
      <np def="def" number="sing" gender="cl.3" possessor="no.owner">
        <word posp="noun" gloss="inside"/>
      </np>
+      <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
+        <word posp="noun" gloss="box"/>
      </np>
+    </np>
  </pp>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to" posp="pp" owner="3s"/>
    <np type="owner_owned" case="DAT" number="sing">
      <np def="def" number="sing" gender="cl.3" possessor="no.owner">
+        <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
        <word posp="noun" gloss="inside"/>
      </np>
      <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
+        <thingy type="npnumber" function="proclitic" gloss="sing"/>
+        <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
        <word posp="noun" gloss="box"/>
      </np>
    </np>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to" posp="pp" owner="3s"/>
-    <np type="owner_owned" case="DAT" number="sing">
    <np def="def" number="sing" gender="cl.3" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
      <word posp="noun" gloss="inside"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
      <word posp="noun" gloss="box"/>
    </np>
-    </np>
  </pp>
</example>

movedowntoword:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <word gloss="to" posp="pp" owner="3s"/>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
    <np def="def" number="sing" gender="cl.3" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-      <word posp="noun" gloss="inside"/>
+      <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
    </np>
  </pp>
</example>

addaffixes:

No change.

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
+  <flat>
    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
-    <np def="def" number="sing" gender="cl.3" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner"/>
-    </np>
-    <np def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner"/>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="&#x282;+t&#x2B2; &#x25B; &#xA716; t&#x361;s&#x2BC;">ʂtʲɛ꜖t͡sʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" ph="&#x1D4F;&#x1C2;&#x2B0; y#&#x2D0; &#xA712;&#xA716; k">ᵏǂʰy#ː꜒꜖k</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="t&#x2B0;&#x2B7; &#x25B; z&#x2E4;+d &#x276;#&#x2D0; &#xA716;&#xA712; n&#x2E4;">tʰʷɛzˤdɶ#ː꜖꜒nˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="&#x282;+t&#x2B2; &#x25B; &#xA716; t&#x361;s&#x2BC;">ʂtʲɛ꜖t͡sʼ</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" ph="&#x1D4F;&#x1C2;&#x2B0; y#&#x2D0; &#xA712;&#xA716; k">ᵏǂʰy#ː꜒꜖k</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner" ph="t&#x2B0;&#x2B7; &#x25B; z&#x2E4;+d &#x276;#&#x2D0; &#xA716;&#xA712; n&#x2E4;">tʰʷɛzˤdɶ#ː꜖꜒nˤ</word>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes">ʂtʲɛ꜖t͡sʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner">ᵏǂʰy#ː꜒꜖k</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.4" possessor="no.owner">tʰʷɛzˤdɶ#ː꜖꜒nˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂtʲɛ꜖t͡sʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʑpʼˤẽs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.no.owner&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;inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʑpʼˤẽs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰʷɛzˤdɶ̃ː꜖꜒nˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʂtʲɛ꜖t͡sʼ ʑpʼˤẽs ᵏǂʰỹː꜒꜖k ʑpʼˤẽs tʰʷɛzˤdɶ̃ː꜖꜒nˤ</p>
+  <p>ښتۦ࣮ڟ ژیپٔٓںس كۡيحيں̀ك ژیپٔٓںس ٽوظديں́نٓ</p>
+  <il>
+    <w>
+      <o>ʂtʲɛ꜖t͡sʼ</o>
+      <g>to</g>
+    </w>
+    <w>
+      <o>ʑpʼˤẽs</o>
+      <g>DAT.no.owner</g>
+    </w>
+    <w>
+      <o>ᵏǂʰỹː꜒꜖k</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>ʑpʼˤẽs</o>
+      <g>DAT.no.owner</g>
+    </w>
+    <w>
+      <o>tʰʷɛzˤdɶ̃ː꜖꜒nˤ</o>
+      <g>box</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

<example id="adpos3" translation="with me">
  <pp role="comitative">
-    <np number="sing" def="neither" locus="number">
+    <word gloss="COMIT" posp="pp" owner="3s"/>
+    <np number="sing" def="neither" locus="number" case="LOC">
      <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.

createpronouns:

No change.

module markowned:

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

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

prodrop:

No change.

addclitics:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp" owner="3s"/>
    <np number="sing" def="neither" locus="number" case="LOC" possessor="no.owner" person="1excl">
+      <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </np>
  </pp>
</example>

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" case="LOC" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner"/>
    </np>
  </pp>
</example>

addaffixes:

No change.

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" case="LOC" possessor="no.owner" person="1excl">
    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner"/>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="c&#x2BC; &#x25E;# z&#x2B2;+ht au &#xA712;&#xA716; &#xE7;">cʼɞ#zʲhtau꜒꜖ç</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner" ph="t&#x361;s&#x2E4; &#x1D4A; n&#x2B2;">t͡sˤᵊnʲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="c&#x2BC; &#x25E;# z&#x2B2;+ht au &#xA712;&#xA716; &#xE7;">cʼɞ#zʲhtau꜒꜖ç</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner" ph="t&#x361;s&#x2E4; &#x1D4A; n&#x2B2;">t͡sˤᵊnʲ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">cʼɞ#zʲhtau꜒꜖ç</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="LOC.no.owner">t͡sˤᵊnʲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" locus="number" case="LOC" possessor="no.owner">ᵑǁʼau꜒ɢˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;cʼɞ̃zʲhtau꜒꜖ç&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sˤᵊnʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʼau꜒ɢˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>cʼɞ̃zʲhtau꜒꜖ç t͡sˤᵊnʲ ᵑǁʼau꜒ɢˤ</p>
+  <p>ڪٔںزۦھتو̀خی څٓنۦ نۡلءو࣭ڲٓ</p>
+  <il>
+    <w>
+      <o>cʼɞ̃zʲhtau꜒꜖ç</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>t͡sˤᵊnʲ</o>
+      <g>LOC.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʼau꜒ɢˤ</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 complementise:

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:

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

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" case="ACT">
+    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3">
      <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" case="STA">
+    <np number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3">
+    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
      <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" case="STA" gender="cl.2">
+    <np number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter"/>
    </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="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
      <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.3" obj="3.sing.cl.2">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.3" obj="3.sing.cl.2">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.3"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <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" case="ACT" gender="cl.3" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.3"/>
-      <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.3" obj="3.sing.cl.2"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.3"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.3"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.2"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="d&#x2E4; &#x25E;#&#x2D0; q&#x2B0;&#x2E4; &#xF8; &#x330;&#xA716; &#x2A1;">dˤɞ#ːqʰˤø̰꜖ʡ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.3" ph="z&#x2B2;+t&#x2BC;&#x2E4; &#x1D4A; h">zʲtʼˤᵊh</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.3" obj="3.sing.cl.2" ph="d&#x361;&#x290; &#x153;&#x2D0; &#xA716; &#x278;">d͡ʐœː꜖ɸ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner" ph="&#x291;+&#x262;&#x2B7; &#x275;&#x2D0; v&#x2E4; &#x276; &#xA712;&#xA716; &#x279;">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="d&#x2E4; &#x25E;#&#x2D0; q&#x2B0;&#x2E4; &#xF8; &#x330;&#xA716; &#x2A1;">dˤɞ#ːqʰˤø̰꜖ʡ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.3" ph="z&#x2B2;+t&#x2BC;&#x2E4; &#x1D4A; h">zʲtʼˤᵊh</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.3" obj="3.sing.cl.2" ph="d&#x361;&#x290; &#x153;&#x2D0; &#xA716; &#x278;">d͡ʐœː꜖ɸ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner" ph="&#x291;+&#x262;&#x2B7; &#x275;&#x2D0; v&#x2E4; &#x276; &#xA712;&#xA716; &#x279;">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">dˤɞ#ːqʰˤø̰꜖ʡ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.2.3.sing.cl.3">zʲtʼˤᵊh</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.3" obj="3.sing.cl.2">d͡ʐœː꜖ɸ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.2" possessor="no.owner">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dˤɞ̃ːqʰˤø̰꜖ʡ&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;zʲtʼˤᵊh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.3.sing.cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʐœː꜖ɸ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ dˤɞ̃ːqʰˤø̰꜖ʡ zʲtʼˤᵊh d͡ʐœː꜖ɸ htʷɔrˤ ɖĩʑ ʑɢʷɵːvˤɶ꜒꜖ɹ</p>
+  <p>زودوڇ ضوںقحٓ̉عٔ زۦتٔٓح ڈژي࣮ڥ ھتوۯ ډںژی ژیڲويڤٓ̀ڕ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>dˤɞ̃ːqʰˤø̰꜖ʡ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>zʲtʼˤᵊh</o>
+      <g>3.sing.cl.2.3.sing.cl.3</g>
+    </w>
+    <w>
+      <o>d͡ʐœː꜖ɸ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʑɢʷɵːvˤɶ꜒꜖ɹ</o>
+      <g>hunter</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 complementise:

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:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
-    <np number="sing" def="def" role="subj" locus="number">
+    <np number="sing" def="def" role="subj" locus="number" case="ACT">
      <word posp="noun" gloss="lion"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="STA">
      <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 markowner:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ACT">
      <word posp="noun" gloss="lion"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np role="obj" case="STA">
      <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" case="ACT">
+    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3">
      <word posp="noun" gloss="lion"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np role="obj" case="STA">
-      <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.3">
+        <np type="owner_owned" role="owner" gender="cl.1">
+          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2">
            <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.1">
            <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.3">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
  </s>
</example>

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
      <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.3" obj="3.sing.cl.3">
      <word posp="verb" gloss="eat"/>
    </vp>
-    <np role="obj" case="STA" number="sing" possessor="no.owner">
+    <np role="obj" case="STA" number="sing" possessor="no.owner" gender="cl.3">
      <np type="owner_owned" gender="cl.3" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1">
          <word posp="noun" gloss="dog"/>
        </np>
        <np type="owner_owned" role="owner" gender="cl.1" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">
            <word posp="noun" gloss="daughter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
            <word posp="noun" gloss="hunter"/>
          </np>
        </np>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.3" obj="3.sing.cl.3">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3"/>
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" case="STA" number="sing" possessor="no.owner" gender="cl.3">
-      <np type="owner_owned" gender="cl.3" number="sing">
-        <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1">
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
+      <np type="owner_owned" gender="cl.3" number="sing" case="STA">
+        <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <word posp="noun" gloss="dog"/>
        </np>
-        <np type="owner_owned" role="owner" gender="cl.1" number="sing">
+        <np type="owner_owned" role="owner" gender="cl.1" number="sing" case="STA">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">
+            <thingy type="npnumber" function="proclitic" gloss="sing"/>
            <word posp="noun" gloss="daughter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
+            <thingy type="npnumber" function="proclitic" gloss="sing"/>
            <word posp="noun" gloss="hunter"/>
          </np>
        </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" case="ACT" gender="cl.3" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.3" obj="3.sing.cl.3">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
-    <np role="obj" case="STA" number="sing" possessor="no.owner" gender="cl.3">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <np type="owner_owned" gender="cl.3" number="sing" case="STA">
+    <np type="owner_owned" gender="cl.3" number="sing" case="STA" role="obj" possessor="no.owner">
      <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="dog"/>
      </np>
      <np type="owner_owned" role="owner" gender="cl.1" number="sing" case="STA">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <word posp="noun" gloss="hunter"/>
        </np>
      </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" case="ACT" gender="cl.3" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.3" obj="3.sing.cl.3">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <np type="owner_owned" gender="cl.3" number="sing" case="STA" role="obj" possessor="no.owner">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <word posp="noun" gloss="dog"/>
    </np>
-      <np type="owner_owned" role="owner" gender="cl.1" number="sing" case="STA">
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <word posp="noun" gloss="daughter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <word posp="noun" gloss="hunter"/>
    </np>
-      </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" case="ACT" gender="cl.3" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3"/>
-      <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.3" obj="3.sing.cl.3"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" obj="3.sing.cl.3"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="s&#x2E4;+t&#x2B0;&#x2E4; e# &#x27A; &#xF8;# &#xA712;&#xA716; r">sˤtʰˤe#ɺø#꜒꜖r</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3" ph="&#x279;&#x2E4; &#x1D4A; &#x261;">ɹˤᵊɡ</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.3" obj="3.sing.cl.3" ph="&#x292;+d&#x2B1;&#x2B7; &#x25B;# &#xA712; &#x3B2;">ʒdʱʷɛ#꜒β</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA" ph="w&#x2E4; ai &#xA716; p&#x361;f&#x2E4;">wˤai꜖p͡fˤ</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2" ph="z&#x2B2;+q&#x2B7; &#x25B; &#x330;&#xA716; &#x261;&#x2E4;">zʲqʷɛ̰꜖ɡˤ</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="&#x291;+&#x262;&#x2B7; &#x275;&#x2D0; v&#x2E4; &#x276; &#xA712;&#xA716; &#x279;">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" ph="s&#x2E4;+t&#x2B0;&#x2E4; e# &#x27A; &#xF8;# &#xA712;&#xA716; r">sˤtʰˤe#ɺø#꜒꜖r</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3" ph="&#x279;&#x2E4; &#x1D4A; &#x261;">ɹˤᵊɡ</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.3" obj="3.sing.cl.3" ph="&#x292;+d&#x2B1;&#x2B7; &#x25B;# &#xA712; &#x3B2;">ʒdʱʷɛ#꜒β</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA" ph="w&#x2E4; ai &#xA716; p&#x361;f&#x2E4;">wˤai꜖p͡fˤ</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2" ph="z&#x2B2;+q&#x2B7; &#x25B; &#x330;&#xA716; &#x261;&#x2E4;">zʲqʷɛ̰꜖ɡˤ</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="&#x291;+&#x262;&#x2B7; &#x275;&#x2D0; v&#x2E4; &#x276; &#xA712;&#xA716; &#x279;">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">sˤtʰˤe#ɺø#꜒꜖r</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.3">ɹˤᵊɡ</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.3" obj="3.sing.cl.3">ʒdʱʷɛ#꜒β</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.3" possessor="3.sing.cl.1" case="STA">wˤai꜖p͡fˤ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.1" possessor="3.sing.cl.2">zʲqʷɛ̰꜖ɡˤ</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤtʰˤẽɺø̃꜒꜖r&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;ɹˤᵊɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.3.sing.cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒdʱʷɛ̃꜒β&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wˤai꜖p͡fˤ&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;zʲqʷɛ̰꜖ɡˤ&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;ʑɢʷɵːvˤɶ꜒꜖ɹ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ sˤtʰˤẽɺø̃꜒꜖r ɹˤᵊɡ ʒdʱʷɛ̃꜒β htʷɔrˤ ɖĩʑ wˤai꜖p͡fˤ zʲqʷɛ̰꜖ɡˤ ʑɢʷɵːvˤɶ꜒꜖ɹ</p>
+  <p>زودوڇ صٽٓںڵں̀ڒ ڕٓگ ژدھوں࣭ڤ ھتوۯ ډںژی وٓي࣮پفٓ زۦࣄ̉گٓ ژیڲويڤٓ̀ڕ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>sˤtʰˤẽɺø̃꜒꜖r</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>ɹˤᵊɡ</o>
+      <g>3.sing.cl.3.3.sing.cl.3</g>
+    </w>
+    <w>
+      <o>ʒdʱʷɛ̃꜒β</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>wˤai꜖p͡fˤ</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>zʲqʷɛ̰꜖ɡˤ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ʑɢʷɵːvˤɶ꜒꜖ɹ</o>
+      <g>hunter</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 complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" case="STA">
    <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" case="STA">
-    <np type="owner_owned" role="owner">
-      <np type="owner_owned" role="owner">
+  <np type="owner_owned" case="STA" gender="cl.4">
+    <np type="owner_owned" role="owner" gender="cl.4">
+      <np type="owner_owned" role="owner" gender="cl.2">
        <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.2">
          <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.4">
        <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.4">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="poss3" translation="your son's friend's book">
  <np type="owner_owned" case="STA" gender="cl.4" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.4"/>
      <word posp="noun" gloss="book"/>
    </np>
    <np type="owner_owned" role="owner" gender="cl.4" number="sing">
      <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2">
+        <thingy type="npnumber" function="proclitic" gloss="sing"/>
+        <thingy type="npcase.possessor" function="proclitic" gloss="GEN.3.sing.cl.2"/>
        <word posp="noun" gloss="friend"/>
      </np>
      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
+          <thingy type="npcase.possessor" function="proclitic" gloss="GEN.2.sing"/>
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="STA" gender="cl.4" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.4"/>
    <word posp="noun" gloss="book"/>
  </np>
-    <np type="owner_owned" role="owner" gender="cl.4" number="sing">
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.3.sing.cl.2"/>
    <word posp="noun" gloss="friend"/>
  </np>
-      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.2.sing"/>
    <word posp="noun" gloss="son"/>
  </np>
-      </np>
-    </np>
-  </np>
</example>

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.4"/>
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.3.sing.cl.2"/>
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.2.sing"/>
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing"/>
  </np>
</example>

addaffixes:

No change.

flatten:

<example id="poss3" translation="your son's friend's book">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.4"/>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.3.sing.cl.2"/>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.2.sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.4"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.3.sing.cl.2"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.2.sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.4" ph="z&#x2B7; a#&#x2D0; c&#x2BC;">zʷa#ːcʼ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA" ph="b&#x2B1; u&#x2D0; k">bʱuːk</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.3.sing.cl.2" ph="&#x14B;&#x325;&#x2B7; &#x275;&#x2D0; x&#x2E4;">ŋ̥ʷɵːxˤ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2" ph="d&#x2E4; &#x25B;&#x2D0; &#x330;&#xA712; n">dˤɛː̰꜒n</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.2.sing" ph="s+c &#x1D4A; &#x26D;">scᵊɭ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="&#x282;+t&#x2BC; &#x25E;#&#x2D0; &#xA712; p&#x2BC;&#x2E4;">ʂtʼɞ#ː꜒pʼˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.4" ph="z&#x2B7; a#&#x2D0; c&#x2BC;">zʷa#ːcʼ</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA" ph="b&#x2B1; u&#x2D0; k">bʱuːk</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.3.sing.cl.2" ph="&#x14B;&#x325;&#x2B7; &#x275;&#x2D0; x&#x2E4;">ŋ̥ʷɵːxˤ</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2" ph="d&#x2E4; &#x25B;&#x2D0; &#x330;&#xA712; n">dˤɛː̰꜒n</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.2.sing" ph="s+c &#x1D4A; &#x26D;">scᵊɭ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="&#x282;+t&#x2BC; &#x25E;#&#x2D0; &#xA712; p&#x2BC;&#x2E4;">ʂtʼɞ#ː꜒pʼˤ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.3.sing.cl.4">zʷa#ːcʼ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.4" case="STA">bʱuːk</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.3.sing.cl.2">ŋ̥ʷɵːxˤ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.4" possessor="3.sing.cl.2">dˤɛː̰꜒n</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="GEN.2.sing">scᵊɭ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">ʂtʼɞ#ː꜒pʼˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷãːcʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.3.sing.cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bʱuːk&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;ŋ̥ʷɵːxˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;.3.sing.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dˤɛː̰꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;scᵊɭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;.2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂtʼɞ̃ː꜒pʼˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷãːcʼ bʱuːk ŋ̥ʷɵːxˤ dˤɛː̰꜒n scᵊɭ ʂtʼɞ̃ː꜒pʼˤ</p>
+  <p>زواںڪٔ ڀوك ڭھويخٓ ضي̃ن سڪڸ ښتٔوں࣭پٔٓ</p>
+  <il>
+    <w>
+      <o>zʷãːcʼ</o>
+      <g>STA.3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>bʱuːk</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>ŋ̥ʷɵːxˤ</o>
+      <g>GEN.3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>dˤɛː̰꜒n</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>scᵊɭ</o>
+      <g>GEN.2.sing</g>
+    </w>
+    <w>
+      <o>ʂtʼɞ̃ː꜒pʼˤ</o>
+      <g>son</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 complementise:

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:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA">
      <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 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" case="STA">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4">
      <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.

createpronouns:

No change.

module markowned:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <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 ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <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.4">
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <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.4">
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4">
-      <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.4"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" ph="&#x291;+p&#x2B2; o#&#x2D0; &#xA716; w">ʑpʲo#ː꜖w</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" ph="&#x291;+p&#x2B2; o#&#x2D0; &#xA716; w">ʑpʲo#ː꜖w</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">kʼʷʉ̰꜖ʈʼ</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4">ʑpʲo#ː꜖w</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS">sʲhkʷe#ːw</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʑpʲõː꜖w&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;sʲhkʷẽːw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɖĩʑ kʼʷʉ̰꜖ʈʼ ʑpʲõː꜖w sʲhkʷẽːw</p>
+  <p>ډںژی ݿو̉ٹٔ ژیپۦوں࣮و سۦھکويںو</p>
+  <il>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>kʼʷʉ̰꜖ʈʼ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ʑpʲõː꜖w</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>sʲhkʷẽːw</o>
+      <g>PRES.indicative.active.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 complementise:

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:

<example id="intr_act" translation="The cat is running.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT">
      <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 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" case="ACT">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4">
      <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.

createpronouns:

No change.

module markowned:

<example id="intr_act" translation="The cat is running.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
      <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 ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
      <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.4">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="intr_act" translation="The cat is running.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" ph="z&#x2B2;+t&#x2B7; e#&#x2D0; &#x330;&#xA712; &#x288;&#x2BC;">zʲtʷe#ː̰꜒ʈʼ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" ph="z&#x2B2;+t&#x2B7; e#&#x2D0; &#x330;&#xA712; &#x288;&#x2BC;">zʲtʷe#ː̰꜒ʈʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">kʼʷʉ̰꜖ʈʼ</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">zʲtʷe#ː̰꜒ʈʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&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;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲtʷẽː̰꜒ʈʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ kʼʷʉ̰꜖ʈʼ zʲtʷẽː̰꜒ʈʼ</p>
+  <p>زودوڇ ݿو̉ٹٔ زۦࢿيں̃ٹٔ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>kʼʷʉ̰꜖ʈʼ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʲtʷẽː̰꜒ʈʼ</o>
+      <g>run</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

submodule transform_verb_obj
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

<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"/>
+      <word gloss="mouse" lexposp="noun" posp="verb">
+        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
+        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
+      </word>
    </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 adpositions:

No change.

module constorder:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
+    <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 gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
-      <word posp="noun" gloss="cat"/>
-    </np>
  </s>
</example>

module casemarking:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

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" case="STA">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#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="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <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.4">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
-      <word gloss="mouse" lexposp="noun" posp="verb">
+      <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
-      <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">
    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
+    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="i&#x2D0; &#x28B;&#x2E4;">iːʋˤ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="i&#x2D0; &#x28B;&#x2E4;">iːʋˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.4" possessor="no.owner">kʼʷʉ̰꜖ʈʼ</word>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
+    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb">iːʋˤ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ&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;-iːʋˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɖĩʑ kʼʷʉ̰꜖ʈʼ ᵑǁʱɞːzʲɢʷœ꜖t͡sʼiːʋˤ</p>
+  <p>ډںژی ݿو̉ٹٔ ڢوزۦڲو࣮ڟيۋٓ</p>
+  <il>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>kʼʷʉ̰꜖ʈʼ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-iːʋˤ</o>
+      <g>chase</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 complementise:

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:

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

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" case="ACT">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4">
      <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" case="STA">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
      <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" case="STA" gender="cl.1">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </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="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
      <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.4" obj="3.sing.cl.1">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.4" obj="3.sing.cl.1">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <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" case="ACT" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
-      <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.4" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="tr_past" translation="The cat caught the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4" ph="&#x1D4F;&#x1C2; i# v&#x2E4;">ᵏǂi#vˤ</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.4" obj="3.sing.cl.1" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4" ph="&#x1D4F;&#x1C2; i# v&#x2E4;">ᵏǂi#vˤ</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.4" obj="3.sing.cl.1" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.4" possessor="no.owner">kʼʷʉ̰꜖ʈʼ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4">ᵏǂi#vˤ</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.4" obj="3.sing.cl.1">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.1" possessor="no.owner">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&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;cat&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;3.sing.cl.1.3.sing.cl.4&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;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ kʼʷʉ̰꜖ʈʼ ᵏǂĩvˤ ᵏǃʼʉ꜒sʲ htʷɔrˤ ɖĩʑ ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</p>
+  <p>زودوڇ ݿو̉ٹٔ كۡيںڤٓ نتۡء࣭سۦ ھتوۯ ډںژی ڢوزۦڲو࣮ڟ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>kʼʷʉ̰꜖ʈʼ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ᵏǂĩvˤ</o>
+      <g>3.sing.cl.1.3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ᵏǃʼʉ꜒sʲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</o>
+      <g>mouse</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 complementise:

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:

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

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
      <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.2" obj="3.plur.cl.1">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="plur" possessor="no.owner">
      <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">
        <word posp="noun" gloss="lion"/>
      </np>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.2" obj="3.plur.cl.1">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.2"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="plur" possessor="no.owner">
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">
+        <thingy type="npnumber" function="proclitic" gloss="plur"/>
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA">
+        <thingy type="npnumber" function="proclitic" gloss="plur"/>
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">
+        <thingy type="npnumber" function="proclitic" gloss="plur"/>
        <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" case="ACT" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.2" obj="3.plur.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.2"/>
      <word posp="verb" gloss="kill"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
-    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="plur" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="plur"/>
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="plur"/>
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="plur"/>
      <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" case="ACT" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.1">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.2"/>
-      <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.2" obj="3.plur.cl.1"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="plur"/>
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="plur"/>
-      <word posp="noun" gloss="tiger"/>
+      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">
      <thingy type="npnumber" function="proclitic" gloss="plur"/>
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.2"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <thingy type="npnumber" function="proclitic" gloss="plur"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="npnumber" function="proclitic" gloss="plur"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="npnumber" function="proclitic" gloss="plur"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="&#x291;+&#x262;&#x2B7; &#x275;&#x2D0; v&#x2E4; &#x276; &#xA712;&#xA716; &#x279;">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.2" ph="&#x3B2; e &#x279;&#x2E4;">βeɹˤ</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.2" obj="3.plur.cl.1" ph="d&#x361;&#x290; &#x153;&#x2D0; &#xA716; &#x278;">d͡ʐœː꜖ɸ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="plur" ph="&#x3B2;&#x2E4; &#x1D4A; l">βˤᵊl</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="d&#x2E4; &#x25E;#&#x2D0; q&#x2B0;&#x2E4; &#xF8; &#x330;&#xA716; &#x2A1;">dˤɞ#ːqʰˤø̰꜖ʡ</word>
+    <word posp="conj" gloss="and" ph="s+q&#x2B0; y &#xA716;&#xA712; r&#x2B2;">sqʰy꜖꜒rʲ</word>
+    <thingy type="npnumber" function="proclitic" gloss="plur" ph="&#x3B2;&#x2E4; &#x1D4A; l">βˤᵊl</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="t&#x2B0; &#x25E;&#x2D0; s+t&#x2B0;&#x2B7; e#&#x2D0; &#xA716;&#xA712; d&#x361;&#x291;">tʰɞːstʰʷe#ː꜖꜒d͡ʑ</word>
+    <word posp="conj" gloss="and" ph="s+q&#x2B0; y &#xA716;&#xA712; r&#x2B2;">sqʰy꜖꜒rʲ</word>
+    <thingy type="npnumber" function="proclitic" gloss="plur" ph="&#x3B2;&#x2E4; &#x1D4A; l">βˤᵊl</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="s&#x2E4;+t&#x2B0;&#x2E4; e# &#x27A; &#xF8;# &#xA712;&#xA716; r">sˤtʰˤe#ɺø#꜒꜖r</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="&#x291;+&#x262;&#x2B7; &#x275;&#x2D0; v&#x2E4; &#x276; &#xA712;&#xA716; &#x279;">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.2" ph="&#x3B2; e &#x279;&#x2E4;">βeɹˤ</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.2" obj="3.plur.cl.1" ph="d&#x361;&#x290; &#x153;&#x2D0; &#xA716; &#x278;">d͡ʐœː꜖ɸ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="plur" ph="&#x3B2;&#x2E4; &#x1D4A; l">βˤᵊl</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="d&#x2E4; &#x25E;#&#x2D0; q&#x2B0;&#x2E4; &#xF8; &#x330;&#xA716; &#x2A1;">dˤɞ#ːqʰˤø̰꜖ʡ</word>
-    <word posp="conj" gloss="and" ph="s+q&#x2B0; y &#xA716;&#xA712; r&#x2B2;">sqʰy꜖꜒rʲ</word>
-    <thingy type="npnumber" function="proclitic" gloss="plur" ph="&#x3B2;&#x2E4; &#x1D4A; l">βˤᵊl</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="t&#x2B0; &#x25E;&#x2D0; s+t&#x2B0;&#x2B7; e#&#x2D0; &#xA716;&#xA712; d&#x361;&#x291;">tʰɞːstʰʷe#ː꜖꜒d͡ʑ</word>
-    <word posp="conj" gloss="and" ph="s+q&#x2B0; y &#xA716;&#xA712; r&#x2B2;">sqʰy꜖꜒rʲ</word>
-    <thingy type="npnumber" function="proclitic" gloss="plur" ph="&#x3B2;&#x2E4; &#x1D4A; l">βˤᵊl</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA" ph="s&#x2E4;+t&#x2B0;&#x2E4; e# &#x27A; &#xF8;# &#xA712;&#xA716; r">sˤtʰˤe#ɺø#꜒꜖r</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">ʑɢʷɵːvˤɶ꜒꜖ɹ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.plur.cl.1.3.sing.cl.2">βeɹˤ</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.2" obj="3.plur.cl.1">d͡ʐœː꜖ɸ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="plur">βˤᵊl</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">dˤɞ#ːqʰˤø̰꜖ʡ</word>
+    <word posp="conj" gloss="and">sqʰy꜖꜒rʲ</word>
+    <thingy type="npnumber" function="proclitic" gloss="plur">βˤᵊl</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.1" possessor="no.owner" role="obj" tr="rheme" case="STA">tʰɞːstʰʷe#ː꜖꜒d͡ʑ</word>
+    <word posp="conj" gloss="and">sqʰy꜖꜒rʲ</word>
+    <thingy type="npnumber" function="proclitic" gloss="plur">βˤᵊl</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.3" possessor="no.owner" role="obj" tr="rheme" case="STA">sˤtʰˤe#ɺø#꜒꜖r</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&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;hunter&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;3.plur.cl.1.3.sing.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʐœː꜖ɸ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dˤɞ̃ːqʰˤø̰꜖ʡ&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;sqʰy꜖꜒rʲ&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;βˤᵊl&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;tʰɞːstʰʷẽː꜖꜒d͡ʑ&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;sqʰy꜖꜒rʲ&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;βˤᵊl&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;sˤtʰˤẽɺø̃꜒꜖r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ʑɢʷɵːvˤɶ꜒꜖ɹ βeɹˤ d͡ʐœː꜖ɸ htʷɔrˤ ɖĩʑ βˤᵊl dˤɞ̃ːqʰˤø̰꜖ʡ sqʰy꜖꜒rʲ βˤᵊl tʰɞːstʰʷẽː꜖꜒d͡ʑ sqʰy꜖꜒rʲ βˤᵊl sˤtʰˤẽɺø̃꜒꜖r</p>
+  <p>زودوڇ ژیڲويڤٓ̀ڕ ڤڕٓ ڈژي࣮ڥ ھتوۯ ډںژی ڤٓل ضوںقحٓ̉عٔ سقح́ڒۦ ڤٓل ٽوسٽويں́ࣆ سقح́ڒۦ ڤٓل صٽٓںڵں̀ڒ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ʑɢʷɵːvˤɶ꜒꜖ɹ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>βeɹˤ</o>
+      <g>3.plur.cl.1.3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>d͡ʐœː꜖ɸ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>βˤᵊl</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>dˤɞ̃ːqʰˤø̰꜖ʡ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>sqʰy꜖꜒rʲ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>βˤᵊl</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>tʰɞːstʰʷẽː꜖꜒d͡ʑ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>sqʰy꜖꜒rʲ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>βˤᵊl</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>sˤtʰˤẽɺø̃꜒꜖r</o>
+      <g>lion</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 complementise:

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:

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

module markowner:

No change.

module addgender:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT">
      <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" case="STA">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
      <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" case="STA" gender="cl.4">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </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:

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

copyuptophrase:

<example id="relp1" translation="I patted the cat.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.4">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <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" case="ACT" possessor="no.owner" person="1excl">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
+      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.4.1excl.sing"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <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" case="ACT" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.4.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" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.4.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" obj="3.sing.cl.4"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.4.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" obj="3.sing.cl.4"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.4.1excl.sing" ph="s&#x2E4; o x&#x2E4;">sˤoxˤ</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.4" ph="&#x1D51;&#x1C1;&#x2B1; o#&#x2D0; q&#x2E4; &#x254;i &#xA712;&#xA716; &#x261;&#x2B2;">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.4.1excl.sing" ph="s&#x2E4; o x&#x2E4;">sˤoxˤ</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.4" ph="&#x1D51;&#x1C1;&#x2B1; o#&#x2D0; q&#x2E4; &#x254;i &#xA712;&#xA716; &#x261;&#x2B2;">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">ᵑǁʼau꜒ɢˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.4.1excl.sing">sˤoxˤ</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.4">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" possessor="no.owner">kʼʷʉ̰꜖ʈʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʼau꜒ɢˤ&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;sˤoxˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʱõːqˤɔi꜒꜖ɡʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ᵑǁʼau꜒ɢˤ sˤoxˤ ᵑǁʱõːqˤɔi꜒꜖ɡʲ htʷɔrˤ ɖĩʑ kʼʷʉ̰꜖ʈʼ</p>
+  <p>زودوڇ نۡلءو࣭ڲٓ صخٓ ڢوںقٓي̀گۦ ھتوۯ ډںژی ݿو̉ٹٔ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʼau꜒ɢˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>sˤoxˤ</o>
+      <g>3.sing.cl.4.1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǁʱõːqˤɔi꜒꜖ɡʲ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>kʼʷʉ̰꜖ʈʼ</o>
+      <g>cat</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 complementise:

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:

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

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" case="ACT">
      <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.4">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" 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="catch"/>
        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="STA">
+        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT">
      <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.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="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" 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="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

createpronouns:

No change.

module markowned:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
      <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.4" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
+    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1">
+        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </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:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <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.4" obj="3.sing.cl.1">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
          <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" case="ACT" possessor="no.owner" person="1excl">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
+        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
+          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <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.4" obj="3.sing.cl.1">
+          <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
+          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
-    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
+    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <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.4" obj="3.sing.cl.1">
          <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
          <word posp="verb" gloss="catch"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

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" case="ACT" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
          <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
-          <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.4" obj="3.sing.cl.1"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    </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="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner"/>
-        </np>
-      </relp>
-    </np>
-  </s>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" comma="after"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x1D51;&#x1C1;&#x2B1; o#&#x2D0; q&#x2E4; &#x254;i &#xA712;&#xA716; &#x261;&#x2B2;">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4" ph="&#x1D4F;&#x1C2; i# v&#x2E4;">ᵏǂi#vˤ</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.4" obj="3.sing.cl.1" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" comma="after" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x1D51;&#x1C1;&#x2B1; o#&#x2D0; q&#x2E4; &#x254;i &#xA712;&#xA716; &#x261;&#x2B2;">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4" ph="&#x1D4F;&#x1C2; i# v&#x2E4;">ᵏǂi#vˤ</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.4" obj="3.sing.cl.1" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" comma="after" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">ᵑǁʼau꜒ɢˤ</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#ːqˤɔi꜒꜖ɡʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner">kʼʷʉ̰꜖ʈʼ,</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">d͡ʒʱuː꜖꜒ʁ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.1.3.sing.cl.4">ᵏǂi#vˤ</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.4" obj="3.sing.cl.1">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.1" possessor="no.owner" comma="after">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʼau꜒ɢˤ&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;ᵑǁʱõːqˤɔi꜒꜖ɡʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;kʼʷʉ̰꜖ʈʼ&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;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒʱuː꜖꜒ʁ&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;ᵏǂĩvˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.3.sing.cl.4&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;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ᵑǁʼau꜒ɢˤ ᵑǁʱõːqˤɔi꜒꜖ɡʲ htʷɔrˤ kʼʷʉ̰꜖ʈʼ, zʷd̪ʷet͡ɕ d͡ʒʱuː꜖꜒ʁ ᵏǂĩvˤ ᵏǃʼʉ꜒sʲ htʷɔrˤ ɖĩʑ ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</p>
+  <p>زودوڇ نۡلءو࣭ڲٓ ڢوںقٓي̀گۦ ھتوۯ ݿو̉ٹٔ, زودوڇ ڽو́ݯ كۡيںڤٓ نتۡء࣭سۦ ھتوۯ ډںژی ڢوزۦڲو࣮ڟ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʼau꜒ɢˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǁʱõːqˤɔi꜒꜖ɡʲ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>kʼʷʉ̰꜖ʈʼ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>d͡ʒʱuː꜖꜒ʁ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵏǂĩvˤ</o>
+      <g>3.sing.cl.1.3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ᵏǃʼʉ꜒sʲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</o>
+      <g>mouse</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 complementise:

No change.

submodule transform_verb_obj
<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 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 gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

<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 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"/>
+              <word gloss="cheese" lexposp="noun" posp="verb">
+                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
+                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
+              </word>
            </vp>
-            <np def="def" number="sing" role="obj" locus="number">
-              <word posp="noun" gloss="cheese"/>
-            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

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 gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module casemarking:

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

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" case="ACT">
      <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.4">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" 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="catch"/>
        </vp>
-        <np id="parent">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <np id="parent" gender="cl.1">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT">
      <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.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="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" 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="catch"/>
        </vp>
-        <np id="parent" gender="cl.1">
+        <np id="parent" gender="cl.1" number="sing">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

createpronouns:

No change.

module markowned:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
      <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.4" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
+    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <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.1" number="sing">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1">
+        <np id="parent" gender="cl.1" number="sing" possessor="no.owner">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </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:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <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.1" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <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.4">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.1" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner">
              <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.1">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </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" case="ACT" possessor="no.owner" person="1excl">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
+        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
+          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <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.4">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np id="parent" gender="cl.1" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
+            <thingy type="npnumber" function="proclitic" gloss="sing"/>
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner">
+              <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
              <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.1">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
+              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
-    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
+    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <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.4">
          <word posp="verb" gloss="catch"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
-        <np id="parent" gender="cl.1" number="sing" possessor="no.owner">
+        <np id="parent" gender="cl.1" number="sing" possessor="no.owner" case="ACT">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <thingy type="npnumber" function="proclitic" gloss="sing"/>
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner">
              <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
              <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.1">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4">
-          <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.4"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np id="parent" gender="cl.1" number="sing" possessor="no.owner" case="ACT">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <thingy type="npnumber" function="proclitic" gloss="sing"/>
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner">
              <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
-              <word gloss="cheese" lexposp="noun" posp="verb">
+              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    </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="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-        </vp>
-        <np id="parent" gender="cl.1" number="sing" possessor="no.owner" case="ACT">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
-              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" comma="after"/>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-              </word>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-            </vp>
-          </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>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner"/>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" comma="after"/>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x1D51;&#x1C1;&#x2B1; o#&#x2D0; q&#x2E4; &#x254;i &#xA712;&#xA716; &#x261;&#x2B2;">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</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.4" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</word>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" comma="after" ph="z&#x2B2;+q&#x2B0; a&#x2D0; p&#x2B2; &#x25E; &#xA712; t&#x2B2;">zʲqʰaːpʲɞ꜒tʲ</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x275;&#x2D0; h">ɵːh</thingy>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x1D51;&#x1C1;&#x2B1; o#&#x2D0; q&#x2E4; &#x254;i &#xA712;&#xA716; &#x261;&#x2B2;">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</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.4" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</word>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" comma="after" ph="z&#x2B2;+q&#x2B0; a&#x2D0; p&#x2B2; &#x25E; &#xA712; t&#x2B2;">zʲqʰaːpʲɞ꜒tʲ</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x275;&#x2D0; h">ɵːh</thingy>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">ᵑǁʼau꜒ɢˤ</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#ːqˤɔi꜒꜖ɡʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner">kʼʷʉ̰꜖ʈʼ,</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">d͡ʒʱuː꜖꜒ʁ</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.4">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ,</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="STA" gender="cl.1" possessor="no.owner">d͡ʒʱuː꜖꜒ʁ</word>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" comma="after">zʲqʰaːpʲɞ꜒tʲ,</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb">ɵːh</thingy>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʼau꜒ɢˤ&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;ᵑǁʱõːqˤɔi꜒꜖ɡʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;kʼʷʉ̰꜖ʈʼ&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;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒʱuː꜖꜒ʁ&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;ᵏǃʼʉ꜒sʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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ʲɢʷœ꜖t͡sʼ&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒʱuː꜖꜒ʁ&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;zʲqʰaːpʲɞ꜒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;-ɵːh&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ᵑǁʼau꜒ɢˤ ᵑǁʱõːqˤɔi꜒꜖ɡʲ htʷɔrˤ kʼʷʉ̰꜖ʈʼ, zʷd̪ʷet͡ɕ d͡ʒʱuː꜖꜒ʁ ᵏǃʼʉ꜒sʲ htʷɔrˤ ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ, ɖĩʑ d͡ʒʱuː꜖꜒ʁ zʲqʰaːpʲɞ꜒tʲ,ɵːh htʷɔrˤ</p>
+  <p>زودوڇ نۡلءو࣭ڲٓ ڢوںقٓي̀گۦ ھتوۯ ݿو̉ٹٔ, زودوڇ ڽو́ݯ نتۡء࣭سۦ ھتوۯ ڢوزۦڲو࣮ڟ, ډںژی ڽو́ݯ زۦقحاپۦ࣭تۦ,يح ھتوۯ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʼau꜒ɢˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǁʱõːqˤɔi꜒꜖ɡʲ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>kʼʷʉ̰꜖ʈʼ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>d͡ʒʱuː꜖꜒ʁ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵏǃʼʉ꜒sʲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>d͡ʒʱuː꜖꜒ʁ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>zʲqʰaːpʲɞ꜒tʲ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-ɵːh</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</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 complementise:

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:

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

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" case="ACT">
      <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.4">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" 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="catch"/>
        </vp>
-        <np id="parent">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="">
+        <np id="parent" gender="cl.1">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1">
              <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.3">
+              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="ACT">
+                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

module propagatenumber:

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

createpronouns:

No change.

module markowned:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
      <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.4" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4">
+    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <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.1" number="sing">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1">
+        <np id="parent" gender="cl.1" number="sing" possessor="no.owner">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner">
              <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.3" number="sing">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3">
+            <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
+              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3">
+                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3">
+                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </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:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <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.1" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner">
              <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.3" number="sing" possessor="no.owner">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner">
                  <word posp="pron" gloss="RELPRON"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
-                  <word person="1excl" number="sing" posp="pron"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

copyuptophrase:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <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.4">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.1" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner">
              <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.1">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner">
                  <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.3" subj="1excl.sing">
                  <word posp="verb" gloss="buy"/>
                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner">
+                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
                </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" case="ACT" possessor="no.owner" person="1excl">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
+        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
+          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <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.4">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np id="parent" gender="cl.1" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
+            <thingy type="npnumber" function="proclitic" gloss="sing"/>
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner">
+              <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
              <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.1">
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
            <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
+                <thingy type="npnumber" function="proclitic" gloss="sing"/>
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner">
+                  <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
                  <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.3" subj="1excl.sing">
+                  <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.1excl.sing"/>
                  <word posp="verb" gloss="buy"/>
+                  <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" person="1excl">
+                  <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
-    <np id="parent" gender="cl.4" number="sing" possessor="no.owner">
+    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <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.4">
          <word posp="verb" gloss="catch"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
-        <np id="parent" gender="cl.1" number="sing" possessor="no.owner">
+        <np id="parent" gender="cl.1" number="sing" possessor="no.owner" case="ACT">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <thingy type="npnumber" function="proclitic" gloss="sing"/>
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner">
              <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
              <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.1">
              <word posp="verb" gloss="eat"/>
              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
-            <np id="parent" gender="cl.3" number="sing" possessor="no.owner">
+            <np id="parent" gender="cl.3" number="sing" possessor="no.owner" case="ACT">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
                <thingy type="npnumber" function="proclitic" gloss="sing"/>
                <word posp="noun" gloss="cheese"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner">
                  <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
                  <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.3" subj="1excl.sing">
                  <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.1excl.sing"/>
                  <word posp="verb" gloss="buy"/>
                  <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" person="1excl">
                  <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
    </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.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    </vp>
    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
        <thingy type="npnumber" function="proclitic" gloss="sing"/>
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4">
-          <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.4"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
        </vp>
        <np id="parent" gender="cl.1" number="sing" possessor="no.owner" case="ACT">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
            <thingy type="npnumber" function="proclitic" gloss="sing"/>
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner">
              <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
-              <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.1"/>
              <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
            </vp>
            <np id="parent" gender="cl.3" number="sing" possessor="no.owner" case="ACT">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
                <thingy type="npnumber" function="proclitic" gloss="sing"/>
-                <word posp="noun" gloss="cheese"/>
+                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner">
                  <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-                  <word posp="pron" gloss="RELPRON"/>
+                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" subj="1excl.sing">
                  <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.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.3" subj="1excl.sing"/>
                  <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" person="1excl">
                  <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    </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="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    </vp>
-    <np id="parent" gender="cl.4" number="sing" possessor="no.owner" case="ACT">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.4" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-        </vp>
-        <np id="parent" gender="cl.1" number="sing" possessor="no.owner" case="ACT">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.1" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-            </vp>
-            <np id="parent" gender="cl.3" number="sing" possessor="no.owner" case="ACT">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
-              </np>
-              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" subj="1excl.sing">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.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.3" subj="1excl.sing"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="ACT" gender="cl.3" possessor="no.owner" person="1excl">
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-                </np>
-              </relp>
-            </np>
-          </relp>
-        </np>
-      </relp>
-    </np>
-  </s>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.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.3" subj="1excl.sing"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" comma="after"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x1D51;&#x1C1;&#x2B1; o#&#x2D0; q&#x2E4; &#x254;i &#xA712;&#xA716; &#x261;&#x2B2;">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</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.4" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</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.1" ph="&#x292;+d&#x2B1;&#x2B7; &#x25B;# &#xA712; &#x3B2;">ʒdʱʷɛ#꜒β</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="z&#x2B2;+q&#x2B0; a&#x2D0; p&#x2B2; &#x25E; &#xA712; t&#x2B2;">zʲqʰaːpʲɞ꜒tʲ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.1excl.sing" ph="&#x292;+d&#x2B1; e d&#x2E4;">ʒdʱedˤ</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.3" subj="1excl.sing" ph="&#x255;+t&#x2B0; e&#x2D0; &#xA712;&#xA716; p">ɕtʰeː꜒꜖p</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" comma="after" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x1D51;&#x1C1;&#x2B1; o#&#x2D0; q&#x2E4; &#x254;i &#xA712;&#xA716; &#x261;&#x2B2;">ᵑǁʱo#ːqˤɔi꜒꜖ɡʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner" ph="k&#x2BC;&#x2B7; &#x289; &#x330;&#xA716; &#x288;&#x2BC;">kʼʷʉ̰꜖ʈʼ</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</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.4" ph="&#x1D4F;&#x1C3;&#x2BC; &#x289; &#xA712; s&#x2B2;">ᵏǃʼʉ꜒sʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2B1; &#x25E;&#x2D0; z&#x2B2;+&#x262;&#x2B7; &#x153; &#xA716; t&#x361;s&#x2BC;">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</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.1" ph="&#x292;+d&#x2B1;&#x2B7; &#x25B;# &#xA712; &#x3B2;">ʒdʱʷɛ#꜒β</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner" ph="z&#x2B2;+q&#x2B0; a&#x2D0; p&#x2B2; &#x25E; &#xA712; t&#x2B2;">zʲqʰaːpʲɞ꜒tʲ</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner" ph="d&#x361;&#x292;&#x2B1; u&#x2D0; &#xA716;&#xA712; &#x281;">d͡ʒʱuː꜖꜒ʁ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.1excl.sing" ph="&#x292;+d&#x2B1; e d&#x2E4;">ʒdʱedˤ</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.3" subj="1excl.sing" ph="&#x255;+t&#x2B0; e&#x2D0; &#xA712;&#xA716; p">ɕtʰeː꜒꜖p</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" comma="after" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">ᵑǁʼau꜒ɢˤ</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#ːqˤɔi꜒꜖ɡʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.4" possessor="no.owner">kʼʷʉ̰꜖ʈʼ,</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.4" possessor="no.owner">d͡ʒʱuː꜖꜒ʁ</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.4">ᵏǃʼʉ꜒sʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.1" possessor="no.owner">ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ,</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="ACT" gender="cl.1" possessor="no.owner">d͡ʒʱuː꜖꜒ʁ</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.1">ʒdʱʷɛ#꜒β</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.3" possessor="no.owner">zʲqʰaːpʲɞ꜒tʲ,</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="STA" gender="cl.3" possessor="no.owner">d͡ʒʱuː꜖꜒ʁ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.1excl.sing">ʒdʱedˤ</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.3" subj="1excl.sing">ɕtʰeː꜒꜖p</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" comma="after">ᵑǁʼau꜒ɢˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʼau꜒ɢˤ&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;ᵑǁʱõːqˤɔi꜒꜖ɡʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;kʼʷʉ̰꜖ʈʼ&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;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒʱuː꜖꜒ʁ&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;ᵏǃʼʉ꜒sʲ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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ʲɢʷœ꜖t͡sʼ&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;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒʱuː꜖꜒ʁ&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ʱʷɛ̃꜒β&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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ʲqʰaːpʲɞ꜒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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒʱuː꜖꜒ʁ&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ʱedˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɕtʰeː꜒꜖p&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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ʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʼau꜒ɢˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ ᵑǁʼau꜒ɢˤ ᵑǁʱõːqˤɔi꜒꜖ɡʲ htʷɔrˤ kʼʷʉ̰꜖ʈʼ, zʷd̪ʷet͡ɕ d͡ʒʱuː꜖꜒ʁ ᵏǃʼʉ꜒sʲ htʷɔrˤ ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ, zʷd̪ʷet͡ɕ d͡ʒʱuː꜖꜒ʁ ʒdʱʷɛ̃꜒β htʷɔrˤ zʲqʰaːpʲɞ꜒tʲ, ɖĩʑ d͡ʒʱuː꜖꜒ʁ ʒdʱedˤ ɕtʰeː꜒꜖p htʷɔrˤ zʷd̪ʷet͡ɕ ᵑǁʼau꜒ɢˤ</p>
+  <p>زودوڇ نۡلءو࣭ڲٓ ڢوںقٓي̀گۦ ھتوۯ ݿو̉ٹٔ, زودوڇ ڽو́ݯ نتۡء࣭سۦ ھتوۯ ڢوزۦڲو࣮ڟ, زودوڇ ڽو́ݯ ژدھوں࣭ڤ ھتوۯ زۦقحاپۦ࣭تۦ, ډںژی ڽو́ݯ ژدھض شیٽي̀پ ھتوۯ زودوڇ نۡلءو࣭ڲٓ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʼau꜒ɢˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ᵑǁʱõːqˤɔi꜒꜖ɡʲ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>kʼʷʉ̰꜖ʈʼ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>d͡ʒʱuː꜖꜒ʁ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ᵏǃʼʉ꜒sʲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ᵑǁʱɞːzʲɢʷœ꜖t͡sʼ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>d͡ʒʱuː꜖꜒ʁ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ʒdʱʷɛ̃꜒β</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>zʲqʰaːpʲɞ꜒tʲ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>d͡ʒʱuː꜖꜒ʁ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>ʒdʱedˤ</o>
+      <g>3.sing.cl.3.1excl.sing</g>
+    </w>
+    <w>
+      <o>ɕtʰeː꜒꜖p</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʼau꜒ɢˤ</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"/>
+          <word gloss="a" posp="det"/>
        </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"/>
          <word gloss="a" posp="det"/>
        </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 complementise:

<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">
      <subs>
+        <word gloss="COMP" posp="pp"/>
        <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"/>
          <word gloss="a" posp="det"/>
        </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>
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">
      <subs>
-        <word gloss="COMP" posp="pp"/>
+        <np number="sing" def="def" head="this" 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="give"/>
        </vp>
-        <np number="sing" def="def" head="this" role="subj" locus="number">
-          <word posp="noun" gloss="boy"/>
+        <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"/>
          <word gloss="a" posp="det"/>
        </np>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
-          <word posp="noun" gloss="girl"/>
-        </np>
+        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="surprise"/>
+    </vp>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module casemarking:

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

module markowner:

No change.

module addgender:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <np role="subj" case="ACT">
+    <np role="subj" case="ACT" gender="cl.1" number="sing">
      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT">
+        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2">
          <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="give"/>
        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
+        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1">
          <word posp="noun" gloss="girl"/>
        </np>
-        <np number="sing" role="obj" locus="number" case="STA">
+        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3">
          <word posp="noun" gloss="apple"/>
          <word gloss="a" posp="det"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
+    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
-    <np role="subj" case="ACT" gender="cl.1" number="sing">
+    <np role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2">
+        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
          <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="give"/>
        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1">
+        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="girl"/>
        </np>
-        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3">
+        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
          <word posp="noun" gloss="apple"/>
          <word gloss="a" posp="det"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4">
+    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
          <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="give"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
-          <word posp="noun" gloss="apple"/>
          <word gloss="a" posp="det"/>
+          <word posp="noun" gloss="apple"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
          <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.2" indobj="3.sing.cl.1" obj="3.sing.cl.3">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="apple"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </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.1" indobj="3.sing.cl.4">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner">
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
+          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <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.2" indobj="3.sing.cl.1" obj="3.sing.cl.3">
+          <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.2"/>
          <word posp="verb" gloss="give"/>
+          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
+          <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
+          <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
+          <thingy type="npnumber" function="proclitic" gloss="sing"/>
+          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="apple"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.4">
      <word posp="verb" gloss="surprise"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
+      <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.4.not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-          <word posp="noun" gloss="boy"/>
+          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
        </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.1" obj="3.sing.cl.3">
          <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.2"/>
-          <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" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.3"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
          <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
        </np>
        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-          <word gloss="a" posp="det"/>
-          <word posp="noun" gloss="apple"/>
+          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.4">
-      <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.1" indobj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
      <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.4.not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for a/det/gender/optional
Got cl.3
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner">
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
        </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.1" obj="3.sing.cl.3">
          <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.2"/>
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.3"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
          <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
        </np>
        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
          <thingy type="npnumber" function="proclitic" gloss="sing"/>
          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
+          <thingy type="detgender" function="suffix" gloss="cl.3"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.4">
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
      <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.4.not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
-    <np role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner">
+  <flat>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-        </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.1" obj="3.sing.cl.3">
    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.2"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.3"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-        </np>
-        <np number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.3"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-        </np>
    <word gloss="COMP" posp="pp" role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner"/>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.4">
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.4"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.4.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.2"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.3"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.3"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner"/>
-    <word gloss="COMP" posp="pp" role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" indobj="3.sing.cl.4"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.4.not.Q"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner"/>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="d&#x2B1;&#x2E4; a# &#xA716;&#xA712; &#x262;">dʱˤa#꜖꜒ɢ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.2" ph="&#x253;&#x2E4; &#x254; c&#x2BC;">ɓˤɔcʼ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.3" ph="t&#x361;s&#x2B0;&#x2E4; &#x254; &#xA712; t&#x32A;&#x2E4;">t͡sʰˤɔ꜒t̪ˤ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q" ph="&#x290;+p&#x2E4; a# d&#x2B1;">ʐpˤa#dʱ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x288;&#x2BC; &#x1D4A; &#x330;&#xA716; r&#x325;">ʈʼᵊ̰꜖r̥</word>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="j u &#x291;+&#x256;&#x2B1; a &#xA712; t&#x361;s">juʑɖʱa꜒t͡s</word>
+    <word gloss="COMP" posp="pp" role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</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.1" indobj="3.sing.cl.4" ph="s&#x2B7;+q&#x2BC;&#x2E4; a&#x2D0; q&#x2B0;&#x2B7; a &#xA716; &#x27E;&#x2E4;">sʷqʼˤaːqʰʷa꜖ɾˤ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.4.not.Q" ph="&#x25F; o# &#x261;">ɟo#ɡ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner" ph="b&#x2B1;&#x2E4; i&#x2D0; t&#x361;&#x282; &#x275;&#x2D0; l">bʱˤiːt͡ʂɵːl</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="d&#x2B1;&#x2E4; a# &#xA716;&#xA712; &#x262;">dʱˤa#꜖꜒ɢ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.2" ph="&#x253;&#x2E4; &#x254; c&#x2BC;">ɓˤɔcʼ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.3" ph="t&#x361;s&#x2B0;&#x2E4; &#x254; &#xA712; t&#x32A;&#x2E4;">t͡sʰˤɔ꜒t̪ˤ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q" ph="&#x290;+p&#x2E4; a# d&#x2B1;">ʐpˤa#dʱ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x288;&#x2BC; &#x1D4A; &#x330;&#xA716; r&#x325;">ʈʼᵊ̰꜖r̥</word>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="&#x290;+&#x261;&#x2B1;&#x2E4; &#x25E;# &#xA716; k&#x2BC;&#x2E4;">ʐɡʱˤɞ#꜖kʼˤ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.3" attach="suffix" ph="u#&#x2D0; b&#x2E4;">u#ːbˤ</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner" ph="j u &#x291;+&#x256;&#x2B1; a &#xA712; t&#x361;s">juʑɖʱa꜒t͡s</word>
-    <word gloss="COMP" posp="pp" role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</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.1" indobj="3.sing.cl.4" ph="s&#x2B7;+q&#x2BC;&#x2E4; a&#x2D0; q&#x2B0;&#x2B7; a &#xA716; &#x27E;&#x2E4;">sʷqʼˤaːqʰʷa꜖ɾˤ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.4.not.Q" ph="&#x25F; o# &#x261;">ɟo#ɡ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner" ph="b&#x2B1;&#x2E4; i&#x2D0; t&#x361;&#x282; &#x275;&#x2D0; l">bʱˤiːt͡ʂɵːl</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">dʱˤa#꜖꜒ɢ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="3.sing.cl.3.3.sing.cl.2">ɓˤɔcʼ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.3">t͡sʰˤɔ꜒t̪ˤ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q">ʐpˤa#dʱ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">ʈʼᵊ̰꜖r̥</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">ʐɡʱˤɞ#꜖kʼˤ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.3">u#ːbˤ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.3" possessor="no.owner">juʑɖʱa꜒t͡s</word>
+    <word gloss="COMP" posp="pp" role="subj" case="ACT" gender="cl.1" number="sing" possessor="no.owner">sˤʉ#ːɸe#꜖ʋˤ</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.1" indobj="3.sing.cl.4">sʷqʼˤaːqʰʷa꜖ɾˤ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.4.not.Q">ɟo#ɡ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.4" possessor="no.owner">bʱˤiːt͡ʂɵːl</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʱˤã꜖꜒ɢ&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;ɓˤɔcʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.3.sing.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰˤɔ꜒t̪ˤ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ʐpˤãdʱ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʑpʼˤẽs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈʼᵊ̰꜖r̥&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&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;a&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;cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;juʑɖʱa꜒t͡s&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;sˤʉ̃ːɸẽ꜖ʋˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʷqʼˤaːqʰʷa꜖ɾˤ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ɟõɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʑpʼˤẽs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bʱˤiːt͡ʂɵːl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ zʷd̪ʷet͡ɕ dʱˤã꜖꜒ɢ ɓˤɔcʼ t͡sʰˤɔ꜒t̪ˤ htʷɔrˤ ʐpˤãdʱ ʑpʼˤẽs ʈʼᵊ̰꜖r̥ ɖĩʑ ʐɡʱˤɞ̃꜖kʼˤũːbˤ juʑɖʱa꜒t͡s sˤʉ̃ːɸẽ꜖ʋˤ sʷqʼˤaːqʰʷa꜖ɾˤ htʷɔrˤ ɟõɡ ʑpʼˤẽs bʱˤiːt͡ʂɵːl</p>
+  <p>زودوڇ زودوڇ دھٓں́ڲ ݐٓڪٔ څ࣭ٓط ھتوۯ ږپٓںدھ ژیپٔٓںس ٹٔ̉رھ ډںژی ږڳٓں࣮ݿٓوںبٓ يژیڈھ࣭څ صوںڥں࣮ۋٓ سوݤٓاقحو࣮ݱ ھتوۯ ڄںگ ژیپٔٓںس ڀٓيٹشيل</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>dʱˤã꜖꜒ɢ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ɓˤɔcʼ</o>
+      <g>3.sing.cl.3.3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>t͡sʰˤɔ꜒t̪ˤ</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ʐpˤãdʱ</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>ʑpʼˤẽs</o>
+      <g>DAT.no.owner</g>
+    </w>
+    <w>
+      <o>ʈʼᵊ̰꜖r̥</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʐɡʱˤɞ̃꜖kʼˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-ũːbˤ</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>juʑɖʱa꜒t͡s</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>sˤʉ̃ːɸẽ꜖ʋˤ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>sʷqʼˤaːqʰʷa꜖ɾˤ</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɟõɡ</o>
+      <g>3.sing.cl.4.not.Q</g>
+    </w>
+    <w>
+      <o>ʑpʼˤẽs</o>
+      <g>DAT.no.owner</g>
+    </w>
+    <w>
+      <o>bʱˤiːt͡ʂɵːl</o>
+      <g>teacher</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 complementise:

<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">
      <subs>
+        <word gloss="COMP" posp="pp"/>
        <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>
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">
      <subs>
-        <word gloss="COMP" posp="pp"/>
-        <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>
+        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
-      <word posp="noun" gloss="girl"/>
-    </np>
  </s>
</example>

module casemarking:

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

module markowner:

No change.

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" case="ACT">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
+    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" case="STA">
+    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="sing">
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" case="ACT">
          <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" case="STA">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module propagatenumber:

No change.

createpronouns:

No change.

module markowned:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1">
+    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="sing">
+    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner">
      <subs>
-        <np number="sing" def="neither" role="subj" locus="number" case="ACT">
+        <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
          <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" case="STA">
+        <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </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:

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

copyuptophrase:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
      <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.2" indobj="3.sing.cl.1" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner">
+    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl">
      <subs>
-        <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">
+        <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
          <word posp="verb" gloss="love"/>
        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner">
+        <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
      <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.2" indobj="3.sing.cl.1" obj="1excl.sing">
+      <thingy type="vpobj.subj" function="proclitic" gloss="1excl.sing.3.sing.cl.2"/>
      <word posp="verb" gloss="tell"/>
+      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
+      <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
+      <thingy type="npnumber" function="proclitic" gloss="sing"/>
+      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl">
+      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
+          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
+          <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing"/>
          <word posp="verb" gloss="love"/>
+          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
+          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
    </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.1" obj="1excl.sing">
      <thingy type="vpobj.subj" function="proclitic" gloss="1excl.sing.3.sing.cl.2"/>
-      <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.2" indobj="3.sing.cl.1" obj="1excl.sing"/>
      <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
      <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
      <thingy type="npnumber" function="proclitic" gloss="sing"/>
      <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    </np>
    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl">
      <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
          <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
          <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing"/>
-          <word posp="verb" gloss="love"/>
+          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
          <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
          <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="quot1" translation="The boy told the girl that he loved her.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">
+  <flat>
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    </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.1" obj="1excl.sing">
    <thingy type="vpobj.subj" function="proclitic" gloss="1excl.sing.3.sing.cl.2"/>
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="1excl.sing"/>
    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
    <thingy type="npnumber" function="proclitic" gloss="sing"/>
    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    </np>
-    <np role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-      <subs>
-        <np number="sing" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" person="1excl">
    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.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="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" person="2">
    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="1excl.sing.3.sing.cl.2"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="1excl.sing"/>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS"/>
-    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q"/>
-    <thingy type="npnumber" function="proclitic" gloss="sing"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner"/>
-    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.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="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS"/>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl"/>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="d&#x2B1;&#x2E4; a# &#xA716;&#xA712; &#x262;">dʱˤa#꜖꜒ɢ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="1excl.sing.3.sing.cl.2" ph="l&#x2B2; &#x25E; p&#x2BC;">lʲɞpʼ</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.2" indobj="3.sing.cl.1" obj="1excl.sing" ph="s&#x2B2;+t&#x2B0; &#x289;&#x2D0; &#xA716; &#x288;&#x2BC;">sʲtʰʉː꜖ʈʼ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
+    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q" ph="&#x290;+p&#x2E4; a# d&#x2B1;">ʐpˤa#dʱ</thingy>
+    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x288;&#x2BC; &#x1D4A; &#x330;&#xA716; r&#x325;">ʈʼᵊ̰꜖r̥</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing" ph="t&#x361;&#x255;&#x2B0; a&#x2D0; r&#x2B2;">t͡ɕʰaːrʲ</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="z&#x2E4;+p&#x2B0; &#x289;# &#x330;&#xA712; r&#x2B2;">zˤpʰʉ#̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" ph="&#x29B; y &#xA716;&#xA712; w&#x2E4;">ʛy꜖꜒wˤ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner" ph="d&#x2B1;&#x2E4; a# &#xA716;&#xA712; &#x262;">dʱˤa#꜖꜒ɢ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="1excl.sing.3.sing.cl.2" ph="l&#x2B2; &#x25E; p&#x2BC;">lʲɞpʼ</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.2" indobj="3.sing.cl.1" obj="1excl.sing" ph="s&#x2B2;+t&#x2B0; &#x289;&#x2D0; &#xA716; &#x288;&#x2BC;">sʲtʰʉː꜖ʈʼ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS" ph="ht&#x2B7; &#x254; r&#x2E4;">htʷɔrˤ</thingy>
-    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q" ph="&#x290;+p&#x2E4; a# d&#x2B1;">ʐpˤa#dʱ</thingy>
-    <thingy type="npnumber" function="proclitic" gloss="sing" ph=""></thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner" ph="&#x291;+p&#x2BC;&#x2E4; e# s">ʑpʼˤe#s</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x288;&#x2BC; &#x1D4A; &#x330;&#xA716; r&#x325;">ʈʼᵊ̰꜖r̥</word>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner" ph="z&#x2B7;+d&#x32A;&#x2B7; e t&#x361;&#x255;">zʷd̪ʷet͡ɕ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner" ph="&#x1D51;&#x1C1;&#x2BC; au &#xA712; &#x262;&#x2E4;">ᵑǁʼau꜒ɢˤ</word>
-    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing" ph="t&#x361;&#x255;&#x2B0; a&#x2D0; r&#x2B2;">t͡ɕʰaːrʲ</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="z&#x2E4;+p&#x2B0; &#x289;# &#x330;&#xA712; r&#x2B2;">zˤpʰʉ#̰꜒rʲ</word>
-    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS" ph="s&#x2B2;+hk&#x2B7; e#&#x2D0; w">sʲhkʷe#ːw</thingy>
-    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner" ph="&#x256; i# &#x291;">ɖi#ʑ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner" ph="&#x29B; y &#xA716;&#xA712; w&#x2E4;">ʛy꜖꜒wˤ</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl" ph="s&#x2E4; &#x289;#&#x2D0; &#x278; e# &#xA716; &#x28B;&#x2E4;">sˤʉ#ːɸe#꜖ʋˤ</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.2" possessor="no.owner">dʱˤa#꜖꜒ɢ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="1excl.sing.3.sing.cl.2">lʲɞpʼ</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.2" indobj="3.sing.cl.1" obj="1excl.sing">sʲtʰʉː꜖ʈʼ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PAST.indicative.active.POS">htʷɔrˤ</thingy>
+    <thingy type="vpindobj.question" function="enclitic" gloss="3.sing.cl.1.not.Q">ʐpˤa#dʱ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="DAT.no.owner">ʑpʼˤe#s</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">ʈʼᵊ̰꜖r̥</word>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="ACT.no.owner">zʷd̪ʷet͡ɕ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.4" def="neither" role="subj" locus="number" case="ACT" possessor="no.owner">ᵑǁʼau꜒ɢˤ</word>
+    <thingy type="vpobj.subj" function="proclitic" gloss="2.sing.1excl.sing">t͡ɕʰaːrʲ</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">zˤpʰʉ#̰꜒rʲ</word>
+    <thingy type="vpta.mode.voice.negation" function="enclitic" gloss="PRES.indicative.active.POS">sʲhkʷe#ːw</thingy>
+    <thingy type="npcase.possessor" function="proclitic" gloss="STA.no.owner">ɖi#ʑ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.4" def="neither" role="obj" locus="number" case="STA" possessor="no.owner">ʛy꜖꜒wˤ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="STA" gender="cl.1" number="sing" possessor="no.owner" person="1excl">sˤʉ#ːɸe#꜖ʋˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʱˤã꜖꜒ɢ&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;lʲɞpʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.3.sing.cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʲtʰʉː꜖ʈʼ&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;htʷɔrˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&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;ʐpˤãdʱ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʑpʼˤẽs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈʼᵊ̰꜖r̥&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷd̪ʷet͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʼau꜒ɢˤ&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;t͡ɕʰaːrʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤpʰʉ̰̃꜒rʲ&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;sʲhkʷẽːw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&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;ɖĩʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.no.owner&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛy꜖꜒wˤ&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;sˤʉ̃ːɸẽ꜖ʋˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷd̪ʷet͡ɕ dʱˤã꜖꜒ɢ lʲɞpʼ sʲtʰʉː꜖ʈʼ htʷɔrˤ ʐpˤãdʱ ʑpʼˤẽs ʈʼᵊ̰꜖r̥ ɖĩʑ zʷd̪ʷet͡ɕ ᵑǁʼau꜒ɢˤ t͡ɕʰaːrʲ zˤpʰʉ̰̃꜒rʲ sʲhkʷẽːw ɖĩʑ ʛy꜖꜒wˤ sˤʉ̃ːɸẽ꜖ʋˤ</p>
+  <p>زودوڇ دھٓں́ڲ لۦپٔ سۦٽو࣮ٹٔ ھتوۯ ږپٓںدھ ژیپٔٓںس ٹٔ̉رھ ډںژی زودوڇ نۡلءو࣭ڲٓ ڇحاڒۦ ظڦ‎ں̃ڒۦ سۦھکويںو ډںژی ڨ́وٓ صوںڥں࣮ۋٓ</p>
+  <il>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>dʱˤã꜖꜒ɢ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>lʲɞpʼ</o>
+      <g>1excl.sing.3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>sʲtʰʉː꜖ʈʼ</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>htʷɔrˤ</o>
+      <g>PAST.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ʐpˤãdʱ</o>
+      <g>3.sing.cl.1.not.Q</g>
+    </w>
+    <w>
+      <o>ʑpʼˤẽs</o>
+      <g>DAT.no.owner</g>
+    </w>
+    <w>
+      <o>ʈʼᵊ̰꜖r̥</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>zʷd̪ʷet͡ɕ</o>
+      <g>ACT.no.owner</g>
+    </w>
+    <w>
+      <o>ᵑǁʼau꜒ɢˤ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>t͡ɕʰaːrʲ</o>
+      <g>2.sing.1excl.sing</g>
+    </w>
+    <w>
+      <o>zˤpʰʉ̰̃꜒rʲ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>sʲhkʷẽːw</o>
+      <g>PRES.indicative.active.POS</g>
+    </w>
+    <w>
+      <o>ɖĩʑ</o>
+      <g>STA.no.owner</g>
+    </w>
+    <w>
+      <o>ʛy꜖꜒wˤ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>sˤʉ̃ːɸẽ꜖ʋˤ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>