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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
-        <np number="sing" def="def" locus="number">
+        <np number="sing" def="def" locus="number" case="LOC">
          <word posp="noun" gloss="knife"/>
        </np>
+        <word gloss="COMIT" posp="pp" owner="3s"/>
      </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">
        <np number="sing" def="def" locus="number" case="LOC">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </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>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="catch"/>
+    </vp>
  </s>
</example>

module casemarking:

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

module ngen:

No change.

module wordorder:

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

module wordorder:

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

module wordorder:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.4"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="adjgender" function="suffix" gloss="cl.7"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="t&#x26C;&#x2B2; e&#x2D0; &#xA716;&#xA712; &#x294;" slots="Cir Cfr">tɬʲeː꜖꜒ʔ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.4" attach="prefix" ph="s&#x2E4;+q&#x2B7; &#x25E;&#x2D0; &#x290;&#x2B2;+d&#x32A;&#x2E0;" slots="Cip Cir">sˤqʷɞːʐʲd̪ˠ</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="z&#x2B2;+&#x262;&#x2B7; &#x25E; &#x330;&#xA716; &#x3C7;&#x2B2;" slots="Cir Cfr">zʲɢʷɞ̰꜖χʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x282;&#x2E0;+t&#x32A;&#x2B2; u# n&#x2B7; i# &#xA716; v&#x2E0;" slots="Cir Cfr">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#xF0;&#x2B2; y# &#x330;&#xA712; &#x3B8;&#x2E4;" slots="Cir Cfr">ðʲy#̰꜒θˤ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x281;&#x2B7; y &#xA716;&#xA712; &#x292;&#x2E0;" slots="Cir Cfr">ʁʷy꜖꜒ʒˠ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x1D4F;&#x1C1;&#x2E0; &#x275;#&#x2D0; &#x330;&#xA712; s&#x2E0;" slots="Cir Cfr">ᵏǁˠɵ#ː̰꜒sˠ</word>
+    <thingy type="adjgender" function="suffix" gloss="cl.7" attach="suffix" ph="p&#x361;f&#x2E0; i&#x2D0; &#x26D;&#x2B2;" slots="Cfr Cfs">p͡fˠiːɭʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ" ph="&#x282;&#x2E0;+t&#x2BC;&#x2B7; &#x289;&#x2D0; &#x282;&#x2B2;" slots="Cip Cfp">ʂˠtʼʷʉːʂʲ</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.2" obj="3.plur.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʼˠ/ + /tɬʲ/ > // + /tɬʲ/
/ʐʲ+d̪ˠ/ + /zʲ+ɢʷ/ > // + /zʲ+ɢʷ/
/sˠ/ + /p͡fˠ/ > // + /fˠ/
/d͡zʲ/ + /ʛˤ/ > // + /q͡χˤ/
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="t&#x26C;&#x2B2; e&#x2D0; &#xA716;&#xA712; &#x294;" slots="Cir Cfr">tɬʲeː꜖꜒ʔ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.4" attach="prefix" ph="s&#x2E4;+q&#x2B7; &#x25E;&#x2D0; &#x290;&#x2B2;+d&#x32A;&#x2E0;" slots="Cip Cir">sˤqʷɞːʐʲd̪ˠ</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="z&#x2B2;+&#x262;&#x2B7; &#x25E; &#x330;&#xA716; &#x3C7;&#x2B2;" slots="Cir Cfr">zʲɢʷɞ̰꜖χʲ</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x282;&#x2E0;+t&#x32A;&#x2B2; u# n&#x2B7; i# &#xA716; v&#x2E0;" slots="Cir Cfr">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="t&#x26C;&#x2B2; e&#x2D0; &#xA716;&#xA712; &#x294;">tɬʲeː꜖꜒ʔ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.4" attach="prefix" ph="s&#x2E4;+q&#x2B7; &#x25E;&#x2D0;" underlying="s&#x2E4;+q&#x2B7; &#x25E;&#x2D0; &#x290;&#x2B2;+d&#x32A;&#x2E0;">sˤqʷɞː</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="z&#x2B2;+&#x262;&#x2B7; &#x25E; &#x330;&#xA716; &#x3C7;&#x2B2;">zʲɢʷɞ̰꜖χʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x282;&#x2E0;+t&#x32A;&#x2B2; u# n&#x2B7; i# &#xA716; v&#x2E0;">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#xF0;&#x2B2; y# &#x330;&#xA712; &#x3B8;&#x2E4;" slots="Cir Cfr">ðʲy#̰꜒θˤ</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x281;&#x2B7; y &#xA716;&#xA712; &#x292;&#x2E0;" slots="Cir Cfr">ʁʷy꜖꜒ʒˠ</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x1D4F;&#x1C1;&#x2E0; &#x275;#&#x2D0; &#x330;&#xA712; s&#x2E0;" slots="Cir Cfr">ᵏǁˠɵ#ː̰꜒sˠ</word>
-    <thingy type="adjgender" function="suffix" gloss="cl.7" attach="suffix" ph="p&#x361;f&#x2E0; i&#x2D0; &#x26D;&#x2B2;" slots="Cfr Cfs">p͡fˠiːɭʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ" ph="&#x282;&#x2E0;+t&#x2BC;&#x2B7; &#x289;&#x2D0; &#x282;&#x2B2;" slots="Cip Cfp">ʂˠtʼʷʉːʂʲ</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.2" obj="3.plur.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#xF0;&#x2B2; y# &#x330;&#xA712; &#x3B8;&#x2E4;">ðʲy#̰꜒θˤ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x281;&#x2B7; y &#xA716;&#xA712; &#x292;&#x2E0;">ʁʷy꜖꜒ʒˠ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x1D4F;&#x1C1;&#x2E0; &#x275;#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C1;&#x2E0; &#x275;#&#x2D0; &#x330;&#xA712; s&#x2E0;">ᵏǁˠɵ#ː̰꜒</word>
+    <thingy type="adjgender" function="suffix" gloss="cl.7" attach="suffix" ph="f&#x2E0; i&#x2D0; &#x26D;&#x2B2;" underlying="p&#x361;f&#x2E0; i&#x2D0; &#x26D;&#x2B2;">fˠiːɭʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ" ph="&#x282;&#x2E0;+t&#x2BC;&#x2B7; &#x289;&#x2D0; &#x282;&#x2B2;">ʂˠtʼʷʉːʂʲ</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.2" obj="3.plur.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="t&#x26C;&#x2B2; e&#x2D0; &#xA716;&#xA712; &#x294;">tɬʲeː꜖꜒ʔ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.4" attach="prefix" ph="s&#x2E4;+q&#x2B7; &#x25E;&#x2D0;" underlying="s&#x2E4;+q&#x2B7; &#x25E;&#x2D0; &#x290;&#x2B2;+d&#x32A;&#x2E0;">sˤqʷɞː</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="z&#x2B2;+&#x262;&#x2B7; &#x25E; &#x330;&#xA716; &#x3C7;&#x2B2;">zʲɢʷɞ̰꜖χʲ</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x282;&#x2E0;+t&#x32A;&#x2B2; u# n&#x2B7; i# &#xA716; v&#x2E0;">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#xF0;&#x2B2; y# &#x330;&#xA712; &#x3B8;&#x2E4;">ðʲy#̰꜒θˤ</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x281;&#x2B7; y &#xA716;&#xA712; &#x292;&#x2E0;">ʁʷy꜖꜒ʒˠ</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x1D4F;&#x1C1;&#x2E0; &#x275;#&#x2D0; &#x330;&#xA712;" underlying="&#x1D4F;&#x1C1;&#x2E0; &#x275;#&#x2D0; &#x330;&#xA712; s&#x2E0;">ᵏǁˠɵ#ː̰꜒</word>
-    <thingy type="adjgender" function="suffix" gloss="cl.7" attach="suffix" ph="f&#x2E0; i&#x2D0; &#x26D;&#x2B2;" underlying="p&#x361;f&#x2E0; i&#x2D0; &#x26D;&#x2B2;">fˠiːɭʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ" ph="&#x282;&#x2E0;+t&#x2BC;&#x2B7; &#x289;&#x2D0; &#x282;&#x2B2;">ʂˠtʼʷʉːʂʲ</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.2" obj="3.plur.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ERG" gender="cl.2" possessor="no.owner">tɬʲeː꜖꜒ʔ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.4" underlying="s&#x2E4;+q&#x2B7; &#x25E;&#x2D0; &#x290;&#x2B2;+d&#x32A;&#x2E0;">sˤqʷɞː</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.4" possessor="no.owner">zʲɢʷɞ̰꜖χʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur">ʃʲɵɢʲ</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">ðʲy#̰꜒θˤ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">ʁʷy꜖꜒ʒˠ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="&#x1D4F;&#x1C1;&#x2E0; &#x275;#&#x2D0; &#x330;&#xA712; s&#x2E0;">ᵏǁˠɵ#ː̰꜒</word>
+    <thingy type="adjgender" function="suffix" gloss="cl.7" underlying="p&#x361;f&#x2E0; i&#x2D0; &#x26D;&#x2B2;">fˠiːɭʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ">ʂˠtʼʷʉːʂʲ</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.2" obj="3.plur.cl.7">zˠpʼˤo#ː꜖fʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀʰˠᵊt͡sʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tɬʲeː꜖꜒ʔ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʷɞːʐʲd̪ˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4&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;knife&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠt̪ʲũnʷĩ꜖vˠ&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;ʃʲɵɢʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.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;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʁʷy꜖꜒ʒˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;three&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǁˠɵ̃ː̰꜒sˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-p͡fˠiːɭʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛˤiːdʱʲɵ꜒꜖ħˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠtʼʷʉːʂʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˠpʼˤõː꜖fʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ᵏǀʰˠᵊt͡sʼˠ ʂˠʈʰʲɛ̃ːtɬʲeː꜖꜒ʔ zʷɢʲutˠ sˤqʷɞːzʲɢʷɞ̰꜖χʲ ʂˠt̪ʲũnʷĩ꜖vˠ ʃʲɵɢʲ ðʲỹ̰꜒θˤ ʁʷy꜖꜒ʒˠ ᵏǁˠɵ̃ː̰꜒fˠiːɭʲ t͡sʼˤɛ̃ːq͡χˤiːdʱʲɵ꜒꜖ħˠ zʲpʼˠuɰˠ t͡ʃʼʲʉkʼˠ ʂˠtʼʷʉːʂʲ zˠpʼˤõː꜖fʲ</p>
+  <p>zwħgiuto chotzʼo rsorthiænæntlhieéq zwħgiuto ṣqwɞɞziħgwɞ̉chi rsotiunnwin̠vo shiɵħgi ðiüñþ̣ qhwǘzho xoɵnɵñfoiiɭi tzʼ̣ænænqqḥiidhiɵ̀ħo zibpouẅo chʼiʉgko rsodtwʉʉrsi zobp̣ónón̠fi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˠᵊt͡sʼˠ</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>tɬʲeː꜖꜒ʔ</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>sˤqʷɞːʐʲd̪ˠ-</o>
+      <g>cl.4</g>
+    </w>
+    <w>
+      <o>zʲɢʷɞ̰꜖χʲ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>ʂˠt̪ʲũnʷĩ꜖vˠ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ʃʲɵɢʲ</o>
+      <g>no.owner.plur</g>
+    </w>
+    <w>
+      <o>ðʲỹ̰꜒θˤ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>ʁʷy꜖꜒ʒˠ</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ᵏǁˠɵ̃ː̰꜒sˠ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-p͡fˠiːɭʲ</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʛˤiːdʱʲɵ꜒꜖ħˠ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>ʂˠtʼʷʉːʂʲ</o>
+      <g>3.plur.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>zˠpʼˤõː꜖fʲ</o>
+      <g>catch</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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="NOM">
      <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="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM" 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="NOM" gender="cl.2">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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="NOM" gender="cl.2">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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="NOM" 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:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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" 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>

addclitics:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <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="vpmode" function="enclitic" gloss="indicative"/>
    </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>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-      <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="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-      <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="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <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="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;" slots="Cip Cir">xˠo#ʒʲpˤ</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ʒʲ+pˤ/ + /ʃʲ+htˠ/ > // + /ʃʲ+htˠ/
<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;" slots="Cip Cir">xˠo#ʒʲpˤ</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o#" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o#" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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">ʃʲhtˠḭ꜖ʈʼˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xˠõʒʲpˤ-&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;ʃʲhtˠḭ꜖ʈʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃʼʲʉkʼˠ xˠõʃʲhtˠḭ꜖ʈʼˠ</p>
+  <p>chʼiʉgko xxoónshihtoỉʈʼo</p>
+  <il>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>xˠõʒʲpˤ-</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʃʲhtˠḭ꜖ʈʼˠ</o>
+      <g>girl</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_verb_obj
<example id="love2he" translation="*He* loves her.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word 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="rheme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word 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="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM">
+    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM" 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="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM" gender="cl.2">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" 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="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.2">
+    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" 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="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" 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="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <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">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <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="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <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="rheme" role="subj" locus="number" case="NOM" 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">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-      <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="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" 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">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-      <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="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <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="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;" slots="Cir Cfr">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;" slots="Cip Cir">xˠo#ʒʲpˤ</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ʒʲ+pˤ/ + /ʃʲ+htˠ/ > // + /ʃʲ+htˠ/
<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;" slots="Cir Cfr">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;">sˠʈʼʲœ꜖꜒bʱˤ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;" slots="Cip Cir">xˠo#ʒʲpˤ</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o#" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;">sˠʈʼʲœ꜖꜒bʱˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o#" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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">ʃʲhtˠḭ꜖ʈʼˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˠʈʼʲœ꜖꜒bʱˤ&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;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xˠõʒʲpˤ-&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;ʃʲhtˠḭ꜖ʈʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ sˠʈʼʲœ꜖꜒bʱˤ t͡ʃʼʲʉkʼˠ xˠõʃʲhtˠḭ꜖ʈʼˠ</p>
+  <p>zwħgiuto soʈʼiœ́bḥ chʼiʉgko xxoónshihtoỉʈʼo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>sˠʈʼʲœ꜖꜒bʱˤ</o>
+      <g>3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>xˠõʒʲpˤ-</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʃʲhtˠḭ꜖ʈʼˠ</o>
+      <g>girl</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="love2her" translation="He loves *her*.">
  <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="rheme" role="obj" output="aspron">
      <noun>girl</noun>
    </np>
  </s>
</example>

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_verb_obj
<example id="love2her" translation="He loves *her*.">
  <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="love2her" translation="He loves *her*.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
-      <word posp="verb" gloss="love"/>
+      <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="rheme" role="obj" output="aspron" locus="number">
-      <word posp="noun" gloss="girl"/>
-    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="love2her" translation="He loves *her*.">
  <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="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word 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="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM" 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="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM" gender="cl.2">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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="love2her" translation="He loves *her*.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" 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" 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>

addclitics:

<example id="love2her" translation="He loves *her*.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <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="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2her" translation="He loves *her*.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-      <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="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2her" translation="He loves *her*.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-      <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="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <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="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;" slots="Cip Cir">xˠo#ʒʲpˤ</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ʒʲ+pˤ/ + /ʃʲ+htˠ/ > // + /ʃʲ+htˠ/
<example id="love2her" translation="He loves *her*.">
  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;" slots="Cip Cir">xˠo#ʒʲpˤ</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o#" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="x&#x2E0; o#" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" underlying="x&#x2E0; o# &#x292;&#x2B2;+p&#x2E4;">xˠo#</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">ʃʲhtˠḭ꜖ʈʼˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xˠõʒʲpˤ-&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;ʃʲhtˠḭ꜖ʈʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃʼʲʉkʼˠ xˠõʃʲhtˠḭ꜖ʈʼˠ</p>
+  <p>chʼiʉgko xxoónshihtoỉʈʼo</p>
+  <il>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>xˠõʒʲpˤ-</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʃʲhtˠḭ꜖ʈʼˠ</o>
+      <g>girl</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

prodrop:

No change.

addclitics:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="NN1"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="NN2"/>
    </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.2">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2"/>
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" 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.2">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="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.2"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for NN1/noun/gender/optional
Got cl.2
About to call getSlotValue for NN2/noun/gender/optional
Got cl.2
<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" 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.2">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="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.2"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

<example id="loveprop" translation="NN1 hates NN2.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <thingy type="noungender" function="prefix" gloss="cl.2"/>
    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
-    </np>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <thingy type="noungender" function="prefix" gloss="cl.2"/>
    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" 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.2">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="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.2"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Zgirr hates Sahkesq.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="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.2"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="Zgirr" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" propernoun="yes" ph="z&#x2B7;+&#x261;&#x2B2; i# r&#x2E4; &#x276; &#xA716; r&#x2E4;" slots="Cir Cfr">zʷɡʲi#rˤɶ꜖rˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;" slots="Cip Cfp">ʒˠʈʲa#ʂʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="Sahkesq" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x283;&#x2E0;+k&#x2B0;&#x2B7; &#x25B; s&#x2B7;+q&#x2B0;&#x2E0; &#x275;#&#x2D0; &#xA712;&#xA716; &#x274;&#x2E4;" slots="Cir Cfr">ʃˠkʰʷɛsʷqʰˠɵ#ː꜒꜖ɴˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;" slots="Cip Cfp">ᶢǀˤɵd͡zʲ</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.2" ph="&#x288;&#x2E0; &#x254; &#x290;&#x2E0; &#x25E; &#xA716; s&#x2E0;" slots="Cir Cfr">ʈˠɔʐˠɞ꜖sˠ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʼˠ/ + /zʷ+ɡʲ/ > /tʼˠ/ + /zʷ+ɡʲ/
/tʼˠ/ + /ʃˠ+kʰʷ/ > /tʼˠ/ + /ʃˠ+kʰʷ/
<example id="loveprop" translation="Zgirr hates Sahkesq.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="Zgirr" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" propernoun="yes" ph="z&#x2B7;+&#x261;&#x2B2; i# r&#x2E4; &#x276; &#xA716; r&#x2E4;" slots="Cir Cfr">zʷɡʲi#rˤɶ꜖rˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;" slots="Cip Cfp">ʒˠʈʲa#ʂʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="Sahkesq" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x283;&#x2E0;+k&#x2B0;&#x2B7; &#x25B; s&#x2B7;+q&#x2B0;&#x2E0; &#x275;#&#x2D0; &#xA712;&#xA716; &#x274;&#x2E4;" slots="Cir Cfr">ʃˠkʰʷɛsʷqʰˠɵ#ː꜒꜖ɴˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="Zgirr" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" propernoun="yes" ph="z&#x2B7;+&#x261;&#x2B2; i# r&#x2E4; &#x276; &#xA716; r&#x2E4;">zʷɡʲi#rˤɶ꜖rˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;">ʒˠʈʲa#ʂʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="Sahkesq" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x283;&#x2E0;+k&#x2B0;&#x2B7; &#x25B; s&#x2B7;+q&#x2B0;&#x2E0; &#x275;#&#x2D0; &#xA712;&#xA716; &#x274;&#x2E4;">ʃˠkʰʷɛsʷqʰˠɵ#ː꜒꜖ɴˤ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;" slots="Cip Cfp">ᶢǀˤɵd͡zʲ</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.2" ph="&#x288;&#x2E0; &#x254; &#x290;&#x2E0; &#x25E; &#xA716; s&#x2E0;" slots="Cir Cfr">ʈˠɔʐˠɞ꜖sˠ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;">ᶢǀˤɵd͡zʲ</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.2" ph="&#x288;&#x2E0; &#x254; &#x290;&#x2E0; &#x25E; &#xA716; s&#x2E0;">ʈˠɔʐˠɞ꜖sˠ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Zgirr hates Sahkesq.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="Zgirr" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" propernoun="yes" ph="z&#x2B7;+&#x261;&#x2B2; i# r&#x2E4; &#x276; &#xA716; r&#x2E4;">zʷɡʲi#rˤɶ꜖rˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;">ʒˠʈʲa#ʂʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="Sahkesq" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" propernoun="yes" ph="&#x283;&#x2E0;+k&#x2B0;&#x2B7; &#x25B; s&#x2B7;+q&#x2B0;&#x2E0; &#x275;#&#x2D0; &#xA712;&#xA716; &#x274;&#x2E4;">ʃˠkʰʷɛsʷqʰˠɵ#ː꜒꜖ɴˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;">ᶢǀˤɵd͡zʲ</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.2" ph="&#x288;&#x2E0; &#x254; &#x290;&#x2E0; &#x25E; &#xA716; s&#x2E0;">ʈˠɔʐˠɞ꜖sˠ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="Zgirr" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" propernoun="yes">zʷɡʲi#rˤɶ꜖rˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">ʒˠʈʲa#ʂʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="Sahkesq" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" propernoun="yes">ʃˠkʰʷɛsʷqʰˠɵ#ː꜒꜖ɴˤ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ">ᶢǀˤɵd͡zʲ</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.2">ʈˠɔʐˠɞ꜖sˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɡʲĩrˤɶ꜖rˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Zgirr&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒˠʈʲãʂʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃˠkʰʷɛsʷqʰˠɵ̃ː꜒꜖ɴˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Sahkesq&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀˤɵd͡zʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;OBJ&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;hate&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ʂˠʈʰʲɛ̃ːtʼˠzʷɡʲĩrˤɶ꜖rˤ zʷɢʲutˠ ʒˠʈʲãʂʲ ʂˠʈʰʲɛ̃ːtʼˠʃˠkʰʷɛsʷqʰˠɵ̃ː꜒꜖ɴˤ t͡ʃʼʲʉkʼˠ ᶢǀˤɵd͡zʲ ʈˠɔʐˠɞ꜖sˠ</p>
+  <p>zwħgiuto rsorthiænændtoZwgiinṛ́ɶ̠ṛ́ zwħgiuto zhortianrsi rsorthiænændtoShoquhæswqhoɵnɵǹrṇ chʼiʉgko gc̣ɵdzi rtoorzoɞ̠so</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>zʷɡʲĩrˤɶ꜖rˤ</o>
+      <g>Zgirr</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʒˠʈʲãʂʲ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>ʃˠkʰʷɛsʷqʰˠɵ̃ː꜒꜖ɴˤ</o>
+      <g>Sahkesq</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>ᶢǀˤɵd͡zʲ</o>
+      <g>3.sing.cl.2.OBJ</g>
+    </w>
+    <w>
+      <o>ʈˠɔʐˠɞ꜖sˠ</o>
+      <g>hate</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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="NOM">
    <np number="sing" def="def" locus="number" role="owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module markowner:

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

module propagatenumber:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/gender/optional
Got cl.2
About to call getSlotValue for apple/noun/gender/optional
Got cl.1
<example id="posso1" translation="the boy's apple">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+    <thingy type="noungender" function="prefix" gloss="cl.2"/>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
+    <thingy type="noungender" function="prefix" gloss="cl.1"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.1"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;" slots="Cir Cfr">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;" slots="Cip Cir">ʡˠiᵏǀʲ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;" slots="Cir Cfr">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʼˠ/ + /qʷ/ > // + /qʷ/
/ᵏǀʲ/ + /ʃʲ+kʲ/ > // + /ʃʲ+kʲ/
<example id="posso1" translation="the boy's apple">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;" slots="Cir Cfr">qʷɞ#ː̰꜒ɾˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;" slots="Cip Cir">ʡˠiᵏǀʲ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;" slots="Cir Cfr">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;">qʷɞ#ː̰꜒ɾˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʷɞ̃ː̰꜒ɾˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&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;3.sing.cl.2.sing&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;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲkʲʉːhpˤe꜖꜒ŋˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ʂˠʈʰʲɛ̃ːqʷɞ̃ː̰꜒ɾˤ ᵑǃˠʉlʲ ʡˠiʃʲkʲʉːhpˤe꜖꜒ŋˠ</p>
+  <p>zwħgiuto rsorthiænænqwɞnɞñṛ nqoʉli ʡoishikiʉʉhp̣éngo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>qʷɞ̃ː̰꜒ɾˤ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ᵑǃˠʉlʲ</o>
+      <g>3.sing.cl.2.sing</g>
+    </w>
+    <w>
+      <o>ʡˠiᵏǀʲ-</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ʃʲkʲʉːhpˤe꜖꜒ŋˠ</o>
+      <g>apple</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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="NOM">
    <np number="sing" def="def" output="aspron" locus="number" role="owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module markowner:

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

module propagatenumber:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" case="NOM" gender="cl.1">
+  <np type="owner_owned" case="NOM" gender="cl.1" 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.1">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

createpronouns:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned" case="NOM" gender="cl.1" 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.1">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module markowned:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned" case="NOM" 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="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </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="apple"/>
    </np>
  </np>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" case="NOM" gender="cl.1" number="sing">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <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.1" possessor="3.sing.cl.2" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
    <word posp="noun" gloss="apple"/>
  </np>
-  </np>
</example>

movedowntoword:

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

addaffixes:

About to call getSlotValue for apple/noun/gender/optional
Got cl.1
<example id="posso1b" translation="his (the boy's) apple">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <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>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
+    <thingy type="noungender" function="prefix" gloss="cl.1"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
  </np>
</example>

flatten:

<example id="posso1b" translation="his (the boy's) apple">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <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>
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
    <thingy type="noungender" function="prefix" gloss="cl.1"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <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="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.1"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</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="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;" slots="Cir Cfr">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;" slots="Cip Cir">ʡˠiᵏǀʲ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;" slots="Cir Cfr">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ᵏǀʲ/ + /ʃʲ+kʲ/ > // + /ʃʲ+kʲ/
<example id="posso1b" translation="his (the boy's) apple">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</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="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;" slots="Cir Cfr">sˠʈʼʲœ꜖꜒bʱˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;" slots="Cip Cir">ʡˠiᵏǀʲ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;" slots="Cir Cfr">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</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="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</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="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;">sˠʈʼʲœ꜖꜒bʱˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</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">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˠʈʼʲœ꜖꜒bʱˤ&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;ᵑǃˠʉlʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.sing&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;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲkʲʉːhpˤe꜖꜒ŋˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ sˠʈʼʲœ꜖꜒bʱˤ ᵑǃˠʉlʲ ʡˠiʃʲkʲʉːhpˤe꜖꜒ŋˠ</p>
+  <p>zwħgiuto soʈʼiœ́bḥ nqoʉli ʡoishikiʉʉhp̣éngo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>sˠʈʼʲœ꜖꜒bʱˤ</o>
+      <g>3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>ᵑǃˠʉlʲ</o>
+      <g>3.sing.cl.2.sing</g>
+    </w>
+    <w>
+      <o>ʡˠiᵏǀʲ-</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ʃʲkʲʉːhpˤe꜖꜒ŋˠ</o>
+      <g>apple</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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="NOM">
    <np number="sing" def="neither" locus="number" role="owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module markowner:

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

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for apple/noun/gender/optional
Got cl.1
<example id="posso2" translation="my apple">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="1excl.sing.sing"/>
+    <thingy type="noungender" function="prefix" gloss="cl.1"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="1excl.sing.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.1"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="1excl.sing.sing" ph="&#x2A1;&#x2E0; &#x25E; &#x265;&#x2E4;" slots="Cip Cfp">ʡˠɞɥˤ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;" slots="Cip Cir">ʡˠiᵏǀʲ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;" slots="Cir Cfr">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ᵏǀʲ/ + /ʃʲ+kʲ/ > // + /ʃʲ+kʲ/
<example id="posso2" translation="my apple">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="1excl.sing.sing" ph="&#x2A1;&#x2E0; &#x25E; &#x265;&#x2E4;" slots="Cip Cfp">ʡˠɞɥˤ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;" slots="Cip Cir">ʡˠiᵏǀʲ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;" slots="Cir Cfr">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="1excl.sing.sing" ph="&#x2A1;&#x2E0; &#x25E; &#x265;&#x2E4;">ʡˠɞɥˤ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="1excl.sing.sing" ph="&#x2A1;&#x2E0; &#x25E; &#x265;&#x2E4;">ʡˠɞɥˤ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="1excl.sing.sing">ʡˠɞɥˤ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.1" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM">ʃʲkʲʉːhpˤ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;1excl.sing.sing&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;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲkʲʉːhpˤe꜖꜒ŋˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʡˠɞɥˤ ʡˠiʃʲkʲʉːhpˤe꜖꜒ŋˠ</p>
+  <p>ʡoɞɥ̣ ʡoishikiʉʉhp̣éngo</p>
+  <il>
+    <w>
+      <o>ʡˠɞɥˤ</o>
+      <g>1excl.sing.sing</g>
+    </w>
+    <w>
+      <o>ʡˠiᵏǀʲ-</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ʃʲkʲʉːhpˤe꜖꜒ŋˠ</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="ERG">
      <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>
    <np role="obj" case="NOM">
      <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
  </s>
</example>

module addgender:

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

module propagatenumber:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for hunter/noun/gender/optional
Got cl.2
About to call getSlotValue for daughter/noun/gender/optional
Got cl.2
About to call getSlotValue for neighbour/noun/gender/optional
Got cl.2
About to call getSlotValue for son/noun/gender/optional
Got cl.2
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="ERG"/>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ERG">
      <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ERG"/>
    </np>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">
      <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.2">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2"/>
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.2"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ERG"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.2"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;" slots="Cir Cfr">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ERG" ph="&#x278;&#x2B2; &#x289;#&#x2D0; &#xA716; k&#x361;x&#x2E0;" slots="Cir Cfr">ɸʲʉ#ː꜖k͡xˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing" ph="t&#x361;s&#x2BC;&#x2B7; o# q&#x2E0;" slots="Cip Cfp">t͡sʼʷo#qˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="p&#x361;f&#x2E4; &#x254; d&#x32A;&#x2E0; i# &#xA712; &#x295;&#x2E0;" slots="Cir Cfr">p͡fˤɔd̪ˠi#꜒ʕˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="NOM" ph="&#x27E;&#x2E4; &#x25B; &#xA716; v&#x2B2;" slots="Cir Cfr">ɾˤɛ꜖vʲ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;" slots="Cip Cfp">ᶢǀˤɵd͡zʲ</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.2" obj="3.sing.cl.2" ph="&#x127;&#x2E0; o &#x292;&#x2E0;+q&#x2E4; i#&#x2D0; &#xA712;&#xA716; n&#x32A;&#x2B2;" slots="Cir Cfr">ħˠoʒˠqˤi#ː꜒꜖n̪ʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʼˠ/ + /dˤ/ > // + /dˤ/
/tʼˠ/ + /ɸʲ/ > /tʼˠ/ + /ɸʲ/
/tʼˠ/ + /p͡fˤ/ > // + /p͡fˤ/
/tʼˠ/ + /ɾˤ/ > /tʼˠ/ + /ɾˤ/
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;" slots="Cir Cfr">dˤa#zˤɖʱˠɛ꜒mˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ERG" ph="&#x278;&#x2B2; &#x289;#&#x2D0; &#xA716; k&#x361;x&#x2E0;" slots="Cir Cfr">ɸʲʉ#ː꜖k͡xˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ERG" ph="&#x278;&#x2B2; &#x289;#&#x2D0; &#xA716; k&#x361;x&#x2E0;">ɸʲʉ#ː꜖k͡xˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing" ph="t&#x361;s&#x2BC;&#x2B7; o# q&#x2E0;" slots="Cip Cfp">t͡sʼʷo#qˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="p&#x361;f&#x2E4; &#x254; d&#x32A;&#x2E0; i# &#xA712; &#x295;&#x2E0;" slots="Cir Cfr">p͡fˤɔd̪ˠi#꜒ʕˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="NOM" ph="&#x27E;&#x2E4; &#x25B; &#xA716; v&#x2B2;" slots="Cir Cfr">ɾˤɛ꜖vʲ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;" slots="Cip Cfp">ᶢǀˤɵd͡zʲ</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.2" obj="3.sing.cl.2" ph="&#x127;&#x2E0; o &#x292;&#x2E0;+q&#x2E4; i#&#x2D0; &#xA712;&#xA716; n&#x32A;&#x2B2;" slots="Cir Cfr">ħˠoʒˠqˤi#ː꜒꜖n̪ʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing" ph="t&#x361;s&#x2BC;&#x2B7; o# q&#x2E0;">t͡sʼʷo#qˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="p&#x361;f&#x2E4; &#x254; d&#x32A;&#x2E0; i# &#xA712; &#x295;&#x2E0;">p͡fˤɔd̪ˠi#꜒ʕˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="NOM" ph="&#x27E;&#x2E4; &#x25B; &#xA716; v&#x2B2;">ɾˤɛ꜖vʲ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;">ᶢǀˤɵd͡zʲ</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.2" obj="3.sing.cl.2" ph="&#x127;&#x2E0; o &#x292;&#x2E0;+q&#x2E4; i#&#x2D0; &#xA712;&#xA716; n&#x32A;&#x2B2;">ħˠoʒˠqˤi#ː꜒꜖n̪ʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;">dˤa#zˤɖʱˠɛ꜒mˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ERG" ph="&#x278;&#x2B2; &#x289;#&#x2D0; &#xA716; k&#x361;x&#x2E0;">ɸʲʉ#ː꜖k͡xˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing" ph="t&#x361;s&#x2BC;&#x2B7; o# q&#x2E0;">t͡sʼʷo#qˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="p&#x361;f&#x2E4; &#x254; d&#x32A;&#x2E0; i# &#xA712; &#x295;&#x2E0;">p͡fˤɔd̪ˠi#꜒ʕˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="NOM" ph="&#x27E;&#x2E4; &#x25B; &#xA716; v&#x2B2;">ɾˤɛ꜖vʲ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;">ᶢǀˤɵd͡zʲ</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.2" obj="3.sing.cl.2" ph="&#x127;&#x2E0; o &#x292;&#x2E0;+q&#x2E4; i#&#x2D0; &#xA712;&#xA716; n&#x32A;&#x2B2;">ħˠoʒˠqˤi#ː꜒꜖n̪ʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="ERG">ɸʲʉ#ː꜖k͡xˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing">t͡sʼʷo#qˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">p͡fˤɔd̪ˠi#꜒ʕˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.2" case="NOM">ɾˤɛ꜖vʲ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ">ᶢǀˤɵd͡zʲ</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.2" obj="3.sing.cl.2">ħˠoʒˠqˤi#ː꜒꜖n̪ʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀʰˠᵊt͡sʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dˤãzˤɖʱˠɛ꜒mˠ&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ʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&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;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼʷõqˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;p͡fˤɔd̪ˠĩ꜒ʕˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;neighbour&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǃˠʉlʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&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;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀˤɵd͡zʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ħˠoʒˠqˤĩː꜒꜖n̪ʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kiss&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ᵏǀʰˠᵊt͡sʼˠ zʷɢʲutˠ ʂˠʈʰʲɛ̃ːdˤãzˤɖʱˠɛ꜒mˠ ᵑǃˠʉlʲ ʂˠʈʰʲɛ̃ːtʼˠɸʲʉ̃ː꜖k͡xˠ zʷɢʲutˠ t͡sʼʷõqˠ ʂˠʈʰʲɛ̃ːp͡fˤɔd̪ˠĩ꜒ʕˠ ᵑǃˠʉlʲ ʂˠʈʰʲɛ̃ːtʼˠɾˤɛ꜖vʲ zʲpʼˠuɰˠ t͡ʃʼʲʉkʼˠ ᶢǀˤɵd͡zʲ ħˠoʒˠqˤĩː꜒꜖n̪ʲ</p>
+  <p>zwħgiuto chotzʼo zwħgiuto rsorthiænænḍanẓrdhoǣmo nqoʉli rsorthiænændtowhiʉnʉn̠kxo zwħgiuto tzʼwónqo rsorthiænænṕ̣odoin̄għo nqoʉli rsorthiænændtoṛæ̠vi zibpouẅo chʼiʉgko gc̣ɵdzi ħoózhoq̣iniǹni</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˠᵊt͡sʼˠ</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>dˤãzˤɖʱˠɛ꜒mˠ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ᵑǃˠʉlʲ</o>
+      <g>3.sing.cl.2.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>ɸʲʉ̃ː꜖k͡xˠ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼʷõqˠ</o>
+      <g>2.sing.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>p͡fˤɔd̪ˠĩ꜒ʕˠ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>ᵑǃˠʉlʲ</o>
+      <g>3.sing.cl.2.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>ɾˤɛ꜖vʲ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>ᶢǀˤɵd͡zʲ</o>
+      <g>3.sing.cl.2.OBJ</g>
+    </w>
+    <w>
+      <o>ħˠoʒˠqˤĩː꜒꜖n̪ʲ</o>
+      <g>kiss</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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="NOM">
    <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="NOM">
+  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7">
    <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="NOM" gender="cl.7">
+  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" 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="NOM" gender="cl.7" 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="NOM" gender="cl.7" possessor="no.owner">
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <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="NOM" gender="cl.7" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="a" posp="det"/>
-    <word posp="noun" gloss="lamb"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
  </np>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /ʈʰˠ/ > // + /d͡ʐˠ/
<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;&#x290;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">d͡ʐˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;&#x290;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">d͡ʐˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">d͡ʐˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʕˠo̰꜒sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ʕˠo̰꜒sˤ t͡sʼˤɛ̃ːd͡ʐˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</p>
+  <p>zwħgiuto għoó̃ṣ tzʼ̣ænænd͡ʐoorzirthiaỉchʼo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʕˠo̰꜒sˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʈʰˠɔʐʲʈʰʲaḭ꜖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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_adj
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <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="NOM">
    <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="NOM">
+  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7">
    <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="NOM" gender="cl.7">
+  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" 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="NOM" gender="cl.7" 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="NOM" gender="cl.7" possessor="no.owner">
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <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="NOM" gender="cl.7" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="a" posp="det"/>
-    <word gloss="lamb" lexposp="noun" posp="noun">
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" 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 lamb/noun/gender/optional
Got cl.7
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
+    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" 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="NOM" gender="cl.7" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" 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="NOM" gender="cl.7" 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="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;" slots="Cip Cir">ʐˠkʷaːr̥ˠ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /ʐˠ+kʷ/ > // + /d͡zʲ/
/r̥ˠ/ + /ʈʰˠ/ > // + /ɽˠ/
<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;" slots="Cip Cir">ʐˠkʷaːr̥ˠ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="d&#x361;z&#x2B2; a&#x2D0;" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x27D;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="d&#x361;z&#x2B2; a&#x2D0;" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x27D;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʕˠo̰꜒sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʐˠkʷaːr̥ˠ-&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;ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ʕˠo̰꜒sˤ t͡sʼˤɛ̃ːd͡zʲaːɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</p>
+  <p>zwħgiuto għoó̃ṣ tzʼ̣ænændziaarroorzirthiaỉchʼo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʕˠo̰꜒sˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʐˠkʷaːr̥ˠ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</o>
+      <g>lamb</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

prodrop:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
-    </np>
    <np number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" 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" subj="3.sing.cl.2" obj="3.sing.cl.7">
      <word posp="verb" gloss="have"/>
    </vp>
  </s>
</example>

addclitics:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <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.2" obj="3.sing.cl.7">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <word posp="verb" gloss="have"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <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="NOM" gender="cl.7" possessor="no.owner"/>
+      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" 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.2" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-      <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.2" obj="3.sing.cl.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/gender/optional
Got cl.7
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" 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.2" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" 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="NOM" gender="cl.7" 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.2" obj="3.sing.cl.7">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.7"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;" slots="Cip Cir">ʐˠkʷaːr̥ˠ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.2" obj="3.sing.cl.7" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;" slots="Cir Cfr">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /ʐˠ+kʷ/ > // + /d͡zʲ/
/r̥ˠ/ + /ʈʰˠ/ > // + /ɽˠ/
<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;" slots="Cip Cir">ʐˠkʷaːr̥ˠ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="d&#x361;z&#x2B2; a&#x2D0;" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x27D;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.2" obj="3.sing.cl.7" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;" slots="Cir Cfr">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.2" obj="3.sing.cl.7" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;">hʈˠḛ꜖ŋʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="d&#x361;z&#x2B2; a&#x2D0;" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x27D;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.2" obj="3.sing.cl.7" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;">hʈˠḛ꜖ŋʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ">ɡʲiʁˠ</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.2" obj="3.sing.cl.7">hʈˠḛ꜖ŋʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʕˠo̰꜒sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʐˠkʷaːr̥ˠ-&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;ʈʰˠɔʐʲʈʰʲaḭ꜖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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&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;3.sing.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&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;have&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ʕˠo̰꜒sˤ t͡sʼˤɛ̃ːd͡zʲaːɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ zʲpʼˠuɰˠ t͡ʃʼʲʉkʼˠ ɡʲiʁˠ hʈˠḛ꜖ŋʲ</p>
+  <p>zwħgiuto għoó̃ṣ tzʼ̣ænændziaarroorzirthiaỉchʼo zibpouẅo chʼiʉgko giiqho hʈoẻngi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʕˠo̰꜒sˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʐˠkʷaːr̥ˠ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>ɡʲiʁˠ</o>
+      <g>3.sing.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>hʈˠḛ꜖ŋʲ</o>
+      <g>have</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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>
        <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>
-        <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="ERG">
      <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="ERG">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="ERG" gender="cl.2">
      <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="ERG" gender="cl.2">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2">
+      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </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="ERG" gender="cl.2">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" 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="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="ERG" 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="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">
      <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:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" 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="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
      <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>

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <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="vpmode" function="enclitic" gloss="indicative"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-      <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.2">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-      <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.2">
    <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.2"/>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <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.2"/>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="&#x281;&#x2E0; &#x1D4A; z&#x2E0;+d&#x2B1;&#x2B2;" slots="Cip Cir">ʁˠᵊzˠdʱʲ</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.2" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;" slots="Cir Cfr">hʈˠḛ꜖ŋʲ</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/zˠ+dʱʲ/ + /hʈˠ/ > // + /hʈˠ/
<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="&#x281;&#x2E0; &#x1D4A; z&#x2E0;+d&#x2B1;&#x2B2;" slots="Cip Cir">ʁˠᵊzˠdʱʲ</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.2" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;" slots="Cir Cfr">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="&#x281;&#x2E0; &#x1D4A;" underlying="&#x281;&#x2E0; &#x1D4A; z&#x2E0;+d&#x2B1;&#x2B2;">ʁˠᵊ</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.2" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;">hʈˠḛ꜖ŋʲ</word>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="&#x281;&#x2E0; &#x1D4A;" underlying="&#x281;&#x2E0; &#x1D4A; z&#x2E0;+d&#x2B1;&#x2B2;">ʁˠᵊ</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.2" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;">hʈˠḛ꜖ŋʲ</word>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" underlying="&#x281;&#x2E0; &#x1D4A; z&#x2E0;+d&#x2B1;&#x2B2;">ʁˠᵊ</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.2">hʈˠḛ꜖ŋʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʁˠᵊzˠ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;hʈˠḛ꜖ŋʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʲpʼˠuɰˠ t͡ʃʼʲʉkʼˠ ʁˠᵊhʈˠḛ꜖ŋʲ</p>
+  <p>zibpouẅo chʼiʉgko qhohʈoẻngi</p>
+  <il>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>ʁˠᵊzˠdʱʲ-</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>hʈˠḛ꜖ŋʲ</o>
+      <g>have</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

<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>
-        <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">
+      <np type="owner_owned">
+        <np number="sing" tr="rheme" role="owned" locus="number">
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
          <word gloss="a" posp="det"/>
        </np>
+        <np role="owner" number="sing">
+          <subs>
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+              <word posp="verb" gloss="have"/>
+            </vp>
          </subs>
        </np>
+      </np>
+    </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">
      <np type="owner_owned">
        <np number="sing" tr="rheme" role="owned" 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>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </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">
      <np type="owner_owned">
        <np number="sing" tr="rheme" role="owned" 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>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<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">
      <np type="owner_owned">
        <np number="sing" tr="rheme" role="owned" 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>
        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </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>
  </s>
</example>

module casemarking:

No change.

module markowner:

<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>
    <np role="obj">
      <np type="owner_owned">
        <np number="sing" tr="rheme" role="owned" 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>
-        <np role="owner" number="sing">
+        <np role="owner" number="sing" case="GEN">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </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>
  </s>
</example>

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.2">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj">
-      <np type="owner_owned">
-        <np number="sing" tr="rheme" role="owned" locus="number">
+    <np role="obj" gender="cl.3" number="sing">
+      <np type="owner_owned" gender="cl.7">
+        <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7">
          <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>
-        <np role="owner" number="sing" case="GEN">
+        <np role="owner" number="sing" case="GEN" gender="cl.3">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </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>
  </s>
</example>

module propagatenumber:

<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.2">
      <word posp="noun" gloss="girl"/>
    </np>
    <np role="obj" gender="cl.3" number="sing">
-      <np type="owner_owned" gender="cl.7">
+      <np type="owner_owned" gender="cl.7" number="sing">
        <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7">
          <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>
        <np role="owner" number="sing" case="GEN" gender="cl.3">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </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>
  </s>
</example>

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.2">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.2">
+      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
    <np role="obj" gender="cl.3" number="sing">
      <np type="owner_owned" gender="cl.7" number="sing">
        <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7">
          <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>
        <np role="owner" number="sing" case="GEN" gender="cl.3">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </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>
  </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.2">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
-    <np role="obj" gender="cl.3" number="sing">
+    <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.7" number="sing">
-        <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7">
+        <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.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>
-        <np role="owner" number="sing" case="GEN" gender="cl.3">
+        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </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>
  </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.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
    <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.7" number="sing">
        <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
+          <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>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </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>
  </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.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
    </np>
    <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.7" number="sing">
        <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
          <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>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.3">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
  </s>
</example>

prodrop:

<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.2" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
-    </np>
    <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.7" number="sing">
        <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
          <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>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.3">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
      <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-      <word gloss="a" posp="det"/>
-      <word gloss="lamb" lexposp="noun" posp="noun">
+      <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
+      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="GEN"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
-          <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"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.3">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-      <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.2" obj="3.sing.cl.3"/>
+      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.3"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.3"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.sing.cl.3"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;" slots="Cip Cir">ʐˠkʷaːr̥ˠ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="hp&#x2E4; o# &#x261;&#x2E4;" slots="Cip Cfp">hpˤo#ɡˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;" slots="Cir Cfr">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;" slots="Cip Cfp">d͡zʲi#zˠ</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.2" obj="3.sing.cl.3" ph="&#x288;&#x2B2; ai &#x330;&#xA712; n&#x2E4;" slots="Cir Cfr">ʈʲaḭ꜒nˤ</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.2" obj="3.sing.cl.3" ph="&#x1D51;&#x1C0;&#x2BC;&#x2E0; &#x275;#&#x2D0; &#xA716; z&#x2E0;" slots="Cir Cfr">ᵑǀʼˠɵ#ː꜖zˠ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /ʐˠ+kʷ/ > // + /d͡zʲ/
/r̥ˠ/ + /ʈʰˠ/ > // + /ɽˠ/
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;" slots="Cip Cir">ʐˠkʷaːr̥ˠ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="d&#x361;z&#x2B2; a&#x2D0;" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x27D;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="hp&#x2E4; o# &#x261;&#x2E4;" slots="Cip Cfp">hpˤo#ɡˤ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;" slots="Cir Cfr">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="hp&#x2E4; o# &#x261;&#x2E4;">hpˤo#ɡˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;">hʈˠḛ꜖ŋʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;" slots="Cip Cfp">d͡zʲi#zˠ</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.2" obj="3.sing.cl.3" ph="&#x288;&#x2B2; ai &#x330;&#xA712; n&#x2E4;" slots="Cir Cfr">ʈʲaḭ꜒nˤ</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.2" obj="3.sing.cl.3" ph="&#x1D51;&#x1C0;&#x2BC;&#x2E0; &#x275;#&#x2D0; &#xA716; z&#x2E0;" slots="Cir Cfr">ᵑǀʼˠɵ#ː꜖zˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;">d͡zʲi#zˠ</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.2" obj="3.sing.cl.3" ph="&#x288;&#x2B2; ai &#x330;&#xA712; n&#x2E4;">ʈʲaḭ꜒nˤ</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.2" obj="3.sing.cl.3" ph="&#x1D51;&#x1C0;&#x2BC;&#x2E0; &#x275;#&#x2D0; &#xA716; z&#x2E0;">ᵑǀʼˠɵ#ː꜖zˠ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="d&#x361;z&#x2B2; a&#x2D0;" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x27D;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="hp&#x2E4; o# &#x261;&#x2E4;">hpˤo#ɡˤ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;">hʈˠḛ꜖ŋʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;">d͡zʲi#zˠ</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.2" obj="3.sing.cl.3" ph="&#x288;&#x2B2; ai &#x330;&#xA712; n&#x2E4;">ʈʲaḭ꜒nˤ</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.2" obj="3.sing.cl.3" ph="&#x1D51;&#x1C0;&#x2BC;&#x2E0; &#x275;#&#x2D0; &#xA716; z&#x2E0;">ᵑǀʼˠɵ#ː꜖zˠ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing">sˤqʲɔ#qʼʲ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="GEN">hpˤo#ɡˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ">d͡zʲi#zˠ</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.2" obj="3.sing.cl.3">ʈʲaḭ꜒nˤ</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.2" obj="3.sing.cl.3">ᵑǀʼˠɵ#ː꜖zˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʲɔ̃qʼʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʕˠo̰꜒sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʐˠkʷaːr̥ˠ-&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;ʈʰˠɔʐʲʈʰʲaḭ꜖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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&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;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hʈˠḛ꜖ŋʲ&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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zʲĩzˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈʲaḭ꜒nˤ&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;ᵑǀʼˠɵ̃ː꜖zˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ sˤqʲɔ̃qʼʲ ʕˠo̰꜒sˤ t͡sʼˤɛ̃ːd͡zʲaːɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ zʷɢʲutˠ hpˤõɡˤ zʲpʼˠuɰˠ hʈˠḛ꜖ŋʲ zʲpʼˠuɰˠ t͡ʃʼʲʉkʼˠ d͡zʲĩzˠ ʈʲaḭ꜒nˤ ᵑǀʼˠɵ̃ː꜖zˠ</p>
+  <p>zwħgiuto ṣqiongqi għoó̃ṣ tzʼ̣ænændziaarroorzirthiaỉchʼo zwħgiuto hp̣óng̣ zibpouẅo hʈoẻngi zibpouẅo chʼiʉgko dziinzo rtiaĩṇ ᵑǀʼoɵnɵn̠zo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>sˤqʲɔ̃qʼʲ</o>
+      <g>3.sing.cl.3.sing</g>
+    </w>
+    <w>
+      <o>ʕˠo̰꜒sˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʐˠkʷaːr̥ˠ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>hpˤõɡˤ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>hʈˠḛ꜖ŋʲ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>d͡zʲĩzˠ</o>
+      <g>3.sing.cl.3.OBJ</g>
+    </w>
+    <w>
+      <o>ʈʲaḭ꜒nˤ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ᵑǀʼˠɵ̃ː꜖zˠ</o>
+      <g>often</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

<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>
        <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 type="owner_owned">
+            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
+              <word posp="noun" gloss="girl"/>
+            </np>
+            <np role="owner" number="sing">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="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" ta="PAST">
-                  <word posp="verb" gloss="have"/>
-                </vp>
-                <np number="sing" tr="rheme" role="subj" locus="number">
+                  <np type="owner_owned">
+                    <np number="sing" tr="rheme" role="owned" locus="number">
                      <word posp="noun" gloss="lamb"/>
                      <word posp="adj" gloss="little"/>
                      <word gloss="a" posp="det"/>
                    </np>
+                    <np role="owner" number="sing">
+                      <subs>
+                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+                          <word posp="verb" gloss="have"/>
+                        </vp>
                      </subs>
                    </np>
+                  </np>
+                </np>
              </subs>
            </np>
+          </np>
+        </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>
        <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 type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" 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>
                    <np role="owner" number="sing">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
              </subs>
            </np>
          </np>
        </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>
        <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 type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" 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>
                    <np role="owner" number="sing">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
              </subs>
            </np>
          </np>
        </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>
    <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 type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing">
              <subs>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-                  <word posp="verb" gloss="want"/>
-                  <word posp="adv" gloss="often"/>
-                </vp>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" 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>
                    <np role="owner" number="sing">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+          <word posp="verb" gloss="think"/>
+        </vp>
      </subs>
    </np>
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="be"/>
+    </vp>
  </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="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
-    <np role="obj">
+    <np role="obj" case="ACC">
      <subs>
-        <np role="obj">
+        <np role="obj" case="NOM">
          <np type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing">
              <subs>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" 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>
                    <np role="owner" number="sing">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

module markowner:

<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="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj" case="ACC">
      <subs>
        <np role="obj" case="NOM">
          <np type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
-            <np role="owner" number="sing">
+            <np role="owner" number="sing" case="GEN">
              <subs>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" 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>
-                    <np role="owner" number="sing">
+                    <np role="owner" number="sing" case="GEN">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

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="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="ACC">
+    <np role="obj" case="ACC" gender="cl.3" number="sing">
      <subs>
-        <np role="obj" case="NOM">
-          <np type="owner_owned">
-            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
+        <np role="obj" case="NOM" gender="cl.3" number="sing">
+          <np type="owner_owned" gender="cl.2">
+            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number" gender="cl.2">
              <word posp="noun" gloss="girl"/>
            </np>
-            <np role="owner" number="sing" case="GEN">
+            <np role="owner" number="sing" case="GEN" gender="cl.3">
              <subs>
-                <np role="obj">
-                  <np type="owner_owned">
-                    <np number="sing" tr="rheme" role="owned" locus="number">
+                <np role="obj" gender="cl.3" number="sing">
+                  <np type="owner_owned" gender="cl.7">
+                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7">
                      <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>
-                    <np role="owner" number="sing" case="GEN">
+                    <np role="owner" number="sing" case="GEN" gender="cl.3">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

module propagatenumber:

<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="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj" case="ACC" gender="cl.3" number="sing">
      <subs>
        <np role="obj" case="NOM" gender="cl.3" number="sing">
-          <np type="owner_owned" gender="cl.2">
+          <np type="owner_owned" gender="cl.2" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number" gender="cl.2">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing" case="GEN" gender="cl.3">
              <subs>
                <np role="obj" gender="cl.3" number="sing">
-                  <np type="owner_owned" gender="cl.7">
+                  <np type="owner_owned" gender="cl.7" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7">
                      <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>
                    <np role="owner" number="sing" case="GEN" gender="cl.3">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

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="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj" case="ACC" gender="cl.3" number="sing">
      <subs>
        <np role="obj" case="NOM" gender="cl.3" number="sing">
          <np type="owner_owned" gender="cl.2" number="sing">
-            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number" gender="cl.2">
-              <word posp="noun" gloss="girl"/>
+            <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2">
+              <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
            </np>
            <np role="owner" number="sing" case="GEN" gender="cl.3">
              <subs>
                <np role="obj" gender="cl.3" number="sing">
                  <np type="owner_owned" gender="cl.7" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7">
                      <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>
                    <np role="owner" number="sing" case="GEN" gender="cl.3">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </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="NOM">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word person="2" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="ACC" gender="cl.3" number="sing">
+    <np role="obj" case="ACC" gender="cl.3" number="sing" possessor="no.owner">
      <subs>
-        <np role="obj" case="NOM" gender="cl.3" number="sing">
+        <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner">
          <np type="owner_owned" gender="cl.2" number="sing">
-            <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2">
+            <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3">
              <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
            </np>
-            <np role="owner" number="sing" case="GEN" gender="cl.3">
+            <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
              <subs>
-                <np role="obj" gender="cl.3" number="sing">
+                <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
                  <np type="owner_owned" gender="cl.7" number="sing">
-                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7">
+                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.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>
-                    <np role="owner" number="sing" case="GEN" gender="cl.3">
+                    <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </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="NOM" possessor="no.owner">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj" case="ACC" gender="cl.3" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner">
          <np type="owner_owned" gender="cl.2" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3">
              <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
            </np>
            <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
              <subs>
                <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
                  <np type="owner_owned" gender="cl.7" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
+                      <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>
                    <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </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="NOM" possessor="no.owner">
-      <word person="2" number="sing" posp="pron"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2"/>
    </np>
    <np role="obj" case="ACC" gender="cl.3" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner">
          <np type="owner_owned" gender="cl.2" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3">
              <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
            </np>
            <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
              <subs>
                <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
                  <np type="owner_owned" gender="cl.7" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
                      <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>
                    <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </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>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </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="NOM" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2"/>
    </np>
    <np role="obj" case="ACC" gender="cl.3" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner">
          <np type="owner_owned" gender="cl.2" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3">
              <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
            </np>
            <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
              <subs>
                <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
                  <np type="owner_owned" gender="cl.7" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
                      <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>
                    <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </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.3">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

prodrop:

<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="NOM" possessor="no.owner" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2"/>
-    </np>
    <np role="obj" case="ACC" gender="cl.3" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner">
          <np type="owner_owned" gender="cl.2" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3">
              <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
            </np>
            <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
              <subs>
                <np role="obj" gender="cl.3" number="sing" possessor="no.owner">
                  <np type="owner_owned" gender="cl.7" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
                      <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>
                    <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np role="obj" case="ACC" gender="cl.3" number="sing" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
        <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="NOM">
          <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-          <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="owned" locus="number" possessor="3.sing.cl.3" case="NOM"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <subs>
            <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
            <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
              <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-              <word gloss="a" posp="det"/>
-              <word gloss="lamb" lexposp="noun" posp="noun">
+              <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
+              <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
                <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
              </word>
            </np>
            <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
              <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
              <thingy type="npcase" function="proclitic" gloss="GEN"/>
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
-                  <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"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                </vp>
              </subs>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-              <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" obj="3.sing.cl.3"/>
+              <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-          <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.3"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-      <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.3"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/gender/optional
Got cl.7
<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np role="obj" case="ACC" gender="cl.3" number="sing" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
        <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="NOM">
          <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
          <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <subs>
            <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
            <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
              <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
              <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
+              <thingy type="noungender" function="prefix" gloss="cl.7"/>
              <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
                <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
              </word>
            </np>
            <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
              <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
              <thingy type="npcase" function="proclitic" gloss="GEN"/>
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <thingy type="vpta" function="proclitic" gloss="PAST"/>
                  <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                </vp>
              </subs>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
              <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
              <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
          <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
      <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.3"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </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 role="obj" case="ACC" gender="cl.3" number="sing" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <subs>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-        <np def="def" number="sing" tr="theme" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM"/>
-        </np>
-        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-          <subs>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-            <np number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-              <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-              </word>
-            </np>
-            <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-              <subs>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-                </vp>
-              </subs>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-            </vp>
-          </subs>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-        </vp>
-      </subs>
-    </np>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
    <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.3"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </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="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-    <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.3"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;" slots="Cip Cfp">ʒˠʈʲa#ʂʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" ph="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;" slots="Cir Cfr">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;" slots="Cip Cir">ʐˠkʷaːr̥ˠ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="hp&#x2E4; o# &#x261;&#x2E4;" slots="Cip Cfp">hpˤo#ɡˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;" slots="Cir Cfr">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;" slots="Cip Cfp">d͡zʲi#zˠ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="&#x288;&#x2B2; ai &#x330;&#xA712; n&#x2E4;" slots="Cir Cfr">ʈʲaḭ꜒nˤ</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="&#x1D51;&#x1C0;&#x2BC;&#x2E0; &#x275;#&#x2D0; &#xA716; z&#x2E0;" slots="Cir Cfr">ᵑǀʼˠɵ#ː꜖zˠ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;" slots="Cip Cfp">d͡zʲi#zˠ</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.3" ph="n&#x32A;&#x2B7; &#x289; &#xA716;&#xA712; &#x14B;&#x2E4;" slots="Cir Cfr">n̪ʷʉ꜖꜒ŋˤ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active" ph="&#x290;&#x2B2;+hp&#x2B2; a &#x292;&#x2E0;" slots="Cip Cfp">ʐʲhpʲaʒˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;" slots="Cip Cfp">d͡zʲi#zˠ</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.3" ph="&#x261;&#x2E0; u# &#xA712; &#x14B;&#x2B2;" slots="Cir Cfr">ɡˠu#꜒ŋʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /ʐˠ+kʷ/ > // + /d͡zʲ/
/r̥ˠ/ + /ʈʰˠ/ > // + /ɽˠ/
<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;" slots="Cip Cfp">ʒˠʈʲa#ʂʲ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;">ʒˠʈʲa#ʂʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" ph="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;" slots="Cir Cfr">sˠʈʼʲœ꜖꜒bʱˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;" slots="Cip Cir">ʐˠkʷaːr̥ˠ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" slots="Cir Cfr">ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" ph="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="d&#x361;z&#x2B2; a&#x2D0;" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x27D;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="hp&#x2E4; o# &#x261;&#x2E4;" slots="Cip Cfp">hpˤo#ɡˤ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;" slots="Cir Cfr">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="hp&#x2E4; o# &#x261;&#x2E4;">hpˤo#ɡˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;">hʈˠḛ꜖ŋʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;" slots="Cip Cfp">d͡zʲi#zˠ</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="&#x288;&#x2B2; ai &#x330;&#xA712; n&#x2E4;" slots="Cir Cfr">ʈʲaḭ꜒nˤ</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="&#x1D51;&#x1C0;&#x2BC;&#x2E0; &#x275;#&#x2D0; &#xA716; z&#x2E0;" slots="Cir Cfr">ᵑǀʼˠɵ#ː꜖zˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;">d͡zʲi#zˠ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="&#x288;&#x2B2; ai &#x330;&#xA712; n&#x2E4;">ʈʲaḭ꜒nˤ</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="&#x1D51;&#x1C0;&#x2BC;&#x2E0; &#x275;#&#x2D0; &#xA716; z&#x2E0;">ᵑǀʼˠɵ#ː꜖zˠ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;" slots="Cip Cfp">d͡zʲi#zˠ</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.3" ph="n&#x32A;&#x2B7; &#x289; &#xA716;&#xA712; &#x14B;&#x2E4;" slots="Cir Cfr">n̪ʷʉ꜖꜒ŋˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;">d͡zʲi#zˠ</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.3" ph="n&#x32A;&#x2B7; &#x289; &#xA716;&#xA712; &#x14B;&#x2E4;">n̪ʷʉ꜖꜒ŋˤ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active" ph="&#x290;&#x2B2;+hp&#x2B2; a &#x292;&#x2E0;" slots="Cip Cfp">ʐʲhpʲaʒˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;" slots="Cip Cfp">d͡zʲi#zˠ</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.3" ph="&#x261;&#x2E0; u# &#xA712; &#x14B;&#x2B2;" slots="Cir Cfr">ɡˠu#꜒ŋʲ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active" ph="&#x290;&#x2B2;+hp&#x2B2; a &#x292;&#x2E0;">ʐʲhpʲaʒˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;">d͡zʲi#zˠ</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.3" ph="&#x261;&#x2E0; u# &#xA712; &#x14B;&#x2B2;">ɡˠu#꜒ŋʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

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="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;">ʒˠʈʲa#ʂʲ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" ph="s&#x2E0;+&#x288;&#x2BC;&#x2B2; &#x153; &#xA716;&#xA712; b&#x2B1;&#x2E4;">sˠʈʼʲœ꜖꜒bʱˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="d&#x361;z&#x2B2; a&#x2D0;" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" ph="&#x27D;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="hp&#x2E4; o# &#x261;&#x2E4;">hpˤo#ɡˤ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="h&#x288;&#x2E0; e &#x330;&#xA716; &#x14B;&#x2B2;">hʈˠḛ꜖ŋʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;">d͡zʲi#zˠ</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="&#x288;&#x2B2; ai &#x330;&#xA712; n&#x2E4;">ʈʲaḭ꜒nˤ</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="&#x1D51;&#x1C0;&#x2BC;&#x2E0; &#x275;#&#x2D0; &#xA716; z&#x2E0;">ᵑǀʼˠɵ#ː꜖zˠ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;">d͡zʲi#zˠ</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.3" ph="n&#x32A;&#x2B7; &#x289; &#xA716;&#xA712; &#x14B;&#x2E4;">n̪ʷʉ꜖꜒ŋˤ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active" ph="&#x290;&#x2B2;+hp&#x2B2; a &#x292;&#x2E0;">ʐʲhpʲaʒˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="d&#x361;z&#x2B2; i# z&#x2E0;">d͡zʲi#zˠ</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.3" ph="&#x261;&#x2E0; u# &#xA712; &#x14B;&#x2B2;">ɡˠu#꜒ŋʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">ʒˠʈʲa#ʂʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing">sˤqʲɔ#qʼʲ</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="theme" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM">sˠʈʼʲœ꜖꜒bʱˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing">sˤqʲɔ#qʼʲ</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="&#x290;&#x2E0;+k&#x2B7; a&#x2D0; r&#x325;&#x2E0;">d͡zʲaː</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.7" possessor="3.sing.cl.3" underlying="&#x288;&#x2B0;&#x2E0; &#x254; &#x290;&#x2B2;+&#x288;&#x2B0;&#x2B2; ai &#x330;&#xA716; t&#x361;&#x283;&#x2BC;&#x2E0;">ɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="GEN">hpˤo#ɡˤ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">hʈˠḛ꜖ŋʲ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ">d͡zʲi#zˠ</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">ʈʲaḭ꜒nˤ</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">ᵑǀʼˠɵ#ː꜖zˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ">d͡zʲi#zˠ</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.3">n̪ʷʉ꜖꜒ŋˤ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="2.sing.NEG.active">ʐʲhpʲaʒˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ">d͡zʲi#zˠ</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.3">ɡˠu#꜒ŋʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒˠʈʲãʂʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʲɔ̃qʼʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˠʈʼʲœ꜖꜒bʱˤ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʲɔ̃qʼʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʕˠo̰꜒sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʐˠkʷaːr̥ˠ-&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;ʈʰˠɔʐʲʈʰʲaḭ꜖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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&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;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hʈˠḛ꜖ŋʲ&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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zʲĩzˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈʲaḭ꜒nˤ&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;ᵑǀʼˠɵ̃ː꜖zˠ&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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zʲĩzˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;n̪ʷʉ꜖꜒ŋˤ&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;ʐʲhpʲaʒˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;NEG&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zʲĩzˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;OBJ&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;be&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ʒˠʈʲãʂʲ zʷɢʲutˠ sˤqʲɔ̃qʼʲ sˠʈʼʲœ꜖꜒bʱˤ zʷɢʲutˠ zʷɢʲutˠ sˤqʲɔ̃qʼʲ ʕˠo̰꜒sˤ t͡sʼˤɛ̃ːd͡zʲaːɽˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ zʷɢʲutˠ hpˤõɡˤ zʲpʼˠuɰˠ hʈˠḛ꜖ŋʲ zʲpʼˠuɰˠ d͡zʲĩzˠ ʈʲaḭ꜒nˤ ᵑǀʼˠɵ̃ː꜖zˠ zʲpʼˠuɰˠ d͡zʲĩzˠ n̪ʷʉ꜖꜒ŋˤ ʐʲhpʲaʒˠ d͡zʲĩzˠ ɡˠũ꜒ŋʲ</p>
+  <p>zwħgiuto zhortianrsi zwħgiuto ṣqiongqi soʈʼiœ́bḥ zwħgiuto zwħgiuto ṣqiongqi għoó̃ṣ tzʼ̣ænændziaarroorzirthiaỉchʼo zwħgiuto hp̣óng̣ zibpouẅo hʈoẻngi zibpouẅo dziinzo rtiaĩṇ ᵑǀʼoɵnɵn̠zo zibpouẅo dziinzo nwʉ́ng̣ rzihpiazho dziinzo goun̄ngi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʒˠʈʲãʂʲ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>sˤqʲɔ̃qʼʲ</o>
+      <g>3.sing.cl.3.sing</g>
+    </w>
+    <w>
+      <o>sˠʈʼʲœ꜖꜒bʱˤ</o>
+      <g>3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>sˤqʲɔ̃qʼʲ</o>
+      <g>3.sing.cl.3.sing</g>
+    </w>
+    <w>
+      <o>ʕˠo̰꜒sˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʐˠkʷaːr̥ˠ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ʈʰˠɔʐʲʈʰʲaḭ꜖t͡ʃʼˠ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>hpˤõɡˤ</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>hʈˠḛ꜖ŋʲ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>d͡zʲĩzˠ</o>
+      <g>3.sing.cl.3.OBJ</g>
+    </w>
+    <w>
+      <o>ʈʲaḭ꜒nˤ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ᵑǀʼˠɵ̃ː꜖zˠ</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>d͡zʲĩzˠ</o>
+      <g>3.sing.cl.3.OBJ</g>
+    </w>
+    <w>
+      <o>n̪ʷʉ꜖꜒ŋˤ</o>
+      <g>think</g>
+    </w>
+    <w>
+      <o>ʐʲhpʲaʒˠ</o>
+      <g>2.sing.NEG.active</g>
+    </w>
+    <w>
+      <o>d͡zʲĩzˠ</o>
+      <g>3.sing.cl.3.OBJ</g>
+    </w>
+    <w>
+      <o>ɡˠũ꜒ŋʲ</o>
+      <g>be</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

copyuptophrase:

<example id="love" translation="I love you.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
    </np>
-    <np number="sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner">
+    <np number="sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="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="1excl.sing" obj="2.sing">
      <word posp="verb" gloss="love"/>
    </vp>
  </s>
</example>

prodrop:

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

addclitics:

<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="2.sing"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="2.sing"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="2.sing"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="&#x28B;&#x2E0; i &#x278;&#x2B2;" slots="Cip Cfp">ʋˠiɸʲ</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="&#x283;&#x2E0;+q&#x2B0;&#x2E4; i &#x330;&#xA712; n&#x32A;&#x2E4;" slots="Cir Cfr">ʃˠqʰˤḭ꜒n̪ˤ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love" translation="I love you.">
  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="&#x28B;&#x2E0; i &#x278;&#x2B2;" slots="Cip Cfp">ʋˠiɸʲ</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="&#x283;&#x2E0;+q&#x2B0;&#x2E4; i &#x330;&#xA712; n&#x32A;&#x2E4;" slots="Cir Cfr">ʃˠqʰˤḭ꜒n̪ˤ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="&#x28B;&#x2E0; i &#x278;&#x2B2;">ʋˠiɸʲ</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="&#x283;&#x2E0;+q&#x2B0;&#x2E4; i &#x330;&#xA712; n&#x32A;&#x2E4;">ʃˠqʰˤḭ꜒n̪ˤ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="&#x28B;&#x2E0; i &#x278;&#x2B2;">ʋˠiɸʲ</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="&#x283;&#x2E0;+q&#x2B0;&#x2E4; i &#x330;&#xA712; n&#x32A;&#x2E4;">ʃˠqʰˤḭ꜒n̪ˤ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ">ʋˠiɸʲ</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">ʃˠqʰˤḭ꜒n̪ˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀʷɛɹˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&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;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃˠqʰˤḭ꜒n̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ᶢǀʷɛɹˠ ʋˠiɸʲ ʃˠqʰˤḭ꜒n̪ˤ</p>
+  <p>gcwæɹo woiwhi shoqḥĩṇ</p>
+  <il>
+    <w>
+      <o>ᶢǀʷɛɹˠ</o>
+      <g>1excl.sing.POS.active</g>
+    </w>
+    <w>
+      <o>ʋˠiɸʲ</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>ʃˠqʰˤḭ꜒n̪ˤ</o>
+      <g>love</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for table/noun/gender/optional
Got cl.3
About to call getSlotValue for surface/noun/gender/optional
Got cl.3
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <thingy type="npcase" function="proclitic" gloss="LOC"/>
    <np def="def" number="sing" locus="number" gender="cl.3" possessor="no.owner" case="LOC">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.3"/>
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.3" possessor="no.owner" case="LOC"/>
    </np>
    <np def="def" number="sing" gender="cl.3" possessor="no.owner" case="LOC">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.3"/>
      <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" case="LOC"/>
    </np>
    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="LOC"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.3"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.3" possessor="no.owner" case="LOC"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.3"/>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" case="LOC"/>
-    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
+    <thingy type="npcase" function="proclitic" gloss="LOC" ph="k&#x2B0;&#x2E0; &#x275;&#x2D0; k&#x2BC;&#x2E0;" slots="Cip Cfp">kʰˠɵːkʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;" slots="Cip Cir">ʃʲɔ#ᵑǃʱˤ</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.3" possessor="no.owner" case="LOC" ph="z&#x2E4;+b&#x2B1;&#x2B2; au &#xA716;&#xA712; v&#x2E4;" slots="Cir Cfr">zˤbʱʲau꜖꜒vˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;" slots="Cip Cir">ʃʲɔ#ᵑǃʱˤ</thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" case="LOC" ph="z&#x2B2;+b&#x2E0; &#x289; &#x330;&#xA712; d&#x32A;&#x2E0;" slots="Cir Cfr">zʲbˠʉ̰꜒d̪ˠ</word>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="d&#x361;&#x292;&#x2B1;&#x2E0; &#x25B;#&#x2D0; &#x330;&#xA716; d&#x2E0;" slots="Cir Cfr">d͡ʒʱˠɛ#ː̰꜖dˠ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ᵑǃʱˤ/ + /zˤ+bʱʲ/ > // + /zˤ+bʱʲ/
/ᵑǃʱˤ/ + /zʲ+bˠ/ > // + /zʲ+bˠ/
<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="LOC" ph="k&#x2B0;&#x2E0; &#x275;&#x2D0; k&#x2BC;&#x2E0;" slots="Cip Cfp">kʰˠɵːkʼˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;" slots="Cip Cir">ʃʲɔ#ᵑǃʱˤ</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.3" possessor="no.owner" case="LOC" ph="z&#x2E4;+b&#x2B1;&#x2B2; au &#xA716;&#xA712; v&#x2E4;" slots="Cir Cfr">zˤbʱʲau꜖꜒vˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;" slots="Cip Cir">ʃʲɔ#ᵑǃʱˤ</thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" case="LOC" ph="z&#x2B2;+b&#x2E0; &#x289; &#x330;&#xA712; d&#x32A;&#x2E0;" slots="Cir Cfr">zʲbˠʉ̰꜒d̪ˠ</word>
-    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="d&#x361;&#x292;&#x2B1;&#x2E0; &#x25B;#&#x2D0; &#x330;&#xA716; d&#x2E0;" slots="Cir Cfr">d͡ʒʱˠɛ#ː̰꜖dˠ</word>
+    <thingy type="npcase" function="proclitic" gloss="LOC" ph="k&#x2B0;&#x2E0; &#x275;&#x2D0; k&#x2BC;&#x2E0;">kʰˠɵːkʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;#" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲɔ#</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.3" possessor="no.owner" case="LOC" ph="z&#x2E4;+b&#x2B1;&#x2B2; au &#xA716;&#xA712; v&#x2E4;">zˤbʱʲau꜖꜒vˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;#" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲɔ#</thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" case="LOC" ph="z&#x2B2;+b&#x2E0; &#x289; &#x330;&#xA712; d&#x32A;&#x2E0;">zʲbˠʉ̰꜒d̪ˠ</word>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="d&#x361;&#x292;&#x2B1;&#x2E0; &#x25B;#&#x2D0; &#x330;&#xA716; d&#x2E0;">d͡ʒʱˠɛ#ː̰꜖dˠ</word>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="LOC" ph="k&#x2B0;&#x2E0; &#x275;&#x2D0; k&#x2BC;&#x2E0;">kʰˠɵːkʼˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;#" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲɔ#</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.3" possessor="no.owner" case="LOC" ph="z&#x2E4;+b&#x2B1;&#x2B2; au &#xA716;&#xA712; v&#x2E4;">zˤbʱʲau꜖꜒vˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;#" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲɔ#</thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" case="LOC" ph="z&#x2B2;+b&#x2E0; &#x289; &#x330;&#xA712; d&#x32A;&#x2E0;">zʲbˠʉ̰꜒d̪ˠ</word>
-    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="d&#x361;&#x292;&#x2B1;&#x2E0; &#x25B;#&#x2D0; &#x330;&#xA716; d&#x2E0;">d͡ʒʱˠɛ#ː̰꜖dˠ</word>
+    <thingy type="npcase" function="proclitic" gloss="LOC">kʰˠɵːkʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲɔ#</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.3" possessor="no.owner" case="LOC">zˤbʱʲau꜖꜒vˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲɔ#</thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.3" possessor="no.owner" case="LOC">zʲbˠʉ̰꜒d̪ˠ</word>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes">d͡ʒʱˠɛ#ː̰꜖dˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰˠɵːkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲɔ̃ᵑǃʱˤ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤbʱʲau꜖꜒vˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲɔ̃ᵑǃʱˤ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.3&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲbˠʉ̰꜒d̪ˠ&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;d͡ʒʱˠɛ̃ː̰꜖dˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰˠɵːkʼˠ zʷɢʲutˠ ʃʲɔ̃zˤbʱʲau꜖꜒vˤ zʷɢʲutˠ ʃʲɔ̃zʲbˠʉ̰꜒d̪ˠ d͡ʒʱˠɛ̃ː̰꜖dˠ</p>
+  <p>khoɵɵgko zwħgiuto shionẓbhiaúṿ zwħgiuto shionziboʉ̃do jhoænæn̉do</p>
+  <il>
+    <w>
+      <o>kʰˠɵːkʼˠ</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʃʲɔ̃ᵑǃʱˤ-</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>zˤbʱʲau꜖꜒vˤ</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʃʲɔ̃ᵑǃʱˤ-</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>zʲbˠʉ̰꜒d̪ˠ</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>d͡ʒʱˠɛ̃ː̰꜖dˠ</o>
+      <g>in</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module propagatenumber:

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

createpronouns:

No change.

module markowned:

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

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for box/noun/gender/optional
Got cl.9
About to call getSlotValue for inside/noun/gender/optional
Got cl.3
<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <np def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.9"/>
      <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT"/>
    </np>
    <np def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.3"/>
      <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT"/>
    </np>
    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.9"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.3"/>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT"/>
-    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.9" attach="prefix" ph="z&#x2E0;+t&#x32A;&#x2E4; &#x254;# z&#x2E4;+&#x261;&#x2E4;" slots="Cip Cir">zˠt̪ˤɔ#zˤɡˤ</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT" ph="&#x14B;&#x325;&#x2B2; e#&#x2D0; &#x261;&#x2B1;&#x2B7; &#x1D4A; &#xA712; &#x294;" slots="Cir Cfr">ŋ̥ʲe#ːɡʱʷᵊ꜒ʔ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;" slots="Cip Cir">ʃʲɔ#ᵑǃʱˤ</thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT" ph="&#x14B;&#x2E0; y#&#x2D0; &#x330;&#xA712; r&#x325;&#x2B2;" slots="Cir Cfr">ŋˠy#ː̰꜒r̥ʲ</word>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="&#x265;&#x2E4; &#x153; &#xA712;&#xA716; b&#x2E4;" slots="Cir Cfr">ɥˤœ꜒꜖bˤ</word>
  </flat>
</example>

vowelharmony:

<example id="adpos2" translation="into the box">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
    <thingy type="noungender" function="prefix" gloss="cl.9" attach="prefix" ph="z&#x2E0;+t&#x32A;&#x2E4; &#x254;# z&#x2E4;+&#x261;&#x2E4;" slots="Cip Cir">zˠt̪ˤɔ#zˤɡˤ</thingy>
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT" ph="&#x14B;&#x325;&#x2B2; e#&#x2D0; &#x261;&#x2B1;&#x2B7; &#x1D4A; &#xA712; &#x294;" slots="Cir Cfr">ŋ̥ʲe#ːɡʱʷᵊ꜒ʔ</word>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;" slots="Cip Cir">ʃʲɔ#ᵑǃʱˤ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x153;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;" slots="Cip Cir" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲœ#ᵑǃʱˤ</thingy>
    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT" ph="&#x14B;&#x2E0; y#&#x2D0; &#x330;&#xA712; r&#x325;&#x2B2;" slots="Cir Cfr">ŋˠy#ː̰꜒r̥ʲ</word>
    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="&#x265;&#x2E4; &#x153; &#xA712;&#xA716; b&#x2E4;" slots="Cir Cfr">ɥˤœ꜒꜖bˤ</word>
  </flat>
</example>

applysandhi:

/zˤ+ɡˤ/ + /ŋ̥ʲ/ > // + /zˤ+ɡˤ/
/ᵑǃʱˤ/ + /ŋˠ/ > // + /kˠ/
<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.9" attach="prefix" ph="z&#x2E0;+t&#x32A;&#x2E4; &#x254;# z&#x2E4;+&#x261;&#x2E4;" slots="Cip Cir">zˠt̪ˤɔ#zˤɡˤ</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT" ph="&#x14B;&#x325;&#x2B2; e#&#x2D0; &#x261;&#x2B1;&#x2B7; &#x1D4A; &#xA712; &#x294;" slots="Cir Cfr">ŋ̥ʲe#ːɡʱʷᵊ꜒ʔ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x153;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;" slots="Cip Cir" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲœ#ᵑǃʱˤ</thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT" ph="&#x14B;&#x2E0; y#&#x2D0; &#x330;&#xA712; r&#x325;&#x2B2;" slots="Cir Cfr">ŋˠy#ː̰꜒r̥ʲ</word>
-    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="&#x265;&#x2E4; &#x153; &#xA712;&#xA716; b&#x2E4;" slots="Cir Cfr">ɥˤœ꜒꜖bˤ</word>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.9" attach="prefix" ph="z&#x2E0;+t&#x32A;&#x2E4; &#x254;#" underlying="z&#x2E0;+t&#x32A;&#x2E4; &#x254;# z&#x2E4;+&#x261;&#x2E4;">zˠt̪ˤɔ#</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT" ph="z&#x2E4;+&#x261;&#x2E4; e#&#x2D0; &#x261;&#x2B1;&#x2B7; &#x1D4A; &#xA712; &#x294;" underlying="&#x14B;&#x325;&#x2B2; e#&#x2D0; &#x261;&#x2B1;&#x2B7; &#x1D4A; &#xA712; &#x294;">zˤɡˤe#ːɡʱʷᵊ꜒ʔ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x153;#" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲœ#</thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT" ph="k&#x2E0; y#&#x2D0; &#x330;&#xA712; r&#x325;&#x2B2;" underlying="&#x14B;&#x2E0; y#&#x2D0; &#x330;&#xA712; r&#x325;&#x2B2;">kˠy#ː̰꜒r̥ʲ</word>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="&#x265;&#x2E4; &#x153; &#xA712;&#xA716; b&#x2E4;">ɥˤœ꜒꜖bˤ</word>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;">ʐˠkʰʷɞʃʲ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.9" attach="prefix" ph="z&#x2E0;+t&#x32A;&#x2E4; &#x254;#" underlying="z&#x2E0;+t&#x32A;&#x2E4; &#x254;# z&#x2E4;+&#x261;&#x2E4;">zˠt̪ˤɔ#</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT" ph="z&#x2E4;+&#x261;&#x2E4; e#&#x2D0; &#x261;&#x2B1;&#x2B7; &#x1D4A; &#xA712; &#x294;" underlying="&#x14B;&#x325;&#x2B2; e#&#x2D0; &#x261;&#x2B1;&#x2B7; &#x1D4A; &#xA712; &#x294;">zˤɡˤe#ːɡʱʷᵊ꜒ʔ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.3" attach="prefix" ph="&#x283;&#x2B2; &#x153;#" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲœ#</thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT" ph="k&#x2E0; y#&#x2D0; &#x330;&#xA712; r&#x325;&#x2B2;" underlying="&#x14B;&#x2E0; y#&#x2D0; &#x330;&#xA712; r&#x325;&#x2B2;">kˠy#ː̰꜒r̥ʲ</word>
-    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="&#x265;&#x2E4; &#x153; &#xA712;&#xA716; b&#x2E4;">ɥˤœ꜒꜖bˤ</word>
+    <thingy type="npcase" function="proclitic" gloss="DAT">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.9" underlying="z&#x2E0;+t&#x32A;&#x2E4; &#x254;# z&#x2E4;+&#x261;&#x2E4;">zˠt̪ˤɔ#</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.9" possessor="no.owner" case="DAT" underlying="&#x14B;&#x325;&#x2B2; e#&#x2D0; &#x261;&#x2B1;&#x2B7; &#x1D4A; &#xA712; &#x294;">zˤɡˤe#ːɡʱʷᵊ꜒ʔ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.3" underlying="&#x283;&#x2B2; &#x254;# &#x1D51;&#x1C3;&#x2B1;&#x2E4;">ʃʲœ#</thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.3" possessor="no.owner" case="DAT" underlying="&#x14B;&#x2E0; y#&#x2D0; &#x330;&#xA712; r&#x325;&#x2B2;">kˠy#ː̰꜒r̥ʲ</word>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes">ɥˤœ꜒꜖bˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʐˠkʰʷɞʃʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˠt̪ˤɔ̃zˤɡˤ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.9&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;box&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲɔ̃ᵑǃʱˤ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.3&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;inside&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;to&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʐˠkʰʷɞʃʲ zʷɢʲutˠ zˠt̪ˤɔ̃zˤɡˤẽːɡʱʷᵊ꜒ʔ zʷɢʲutˠ ʃʲœ̃kˠỹː̰꜒r̥ʲ ɥˤœ꜒꜖bˤ</p>
+  <p>rzoquhɞshi zwħgiuto zoṭonẓg̣enenghw̄q zwħgiuto shiœnkoünüñr̥i ɥ̣œ̀ḅ</p>
+  <il>
+    <w>
+      <o>ʐˠkʰʷɞʃʲ</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zˠt̪ˤɔ̃zˤɡˤ-</o>
+      <g>cl.9</g>
+    </w>
+    <w>
+      <o>ŋ̥ʲẽːɡʱʷᵊ꜒ʔ</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʃʲɔ̃ᵑǃʱˤ-</o>
+      <g>cl.3</g>
+    </w>
+    <w>
+      <o>ŋˠỹː̰꜒r̥ʲ</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>ɥˤœ꜒꜖bˤ</o>
+      <g>to</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="LOC"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" case="LOC" possessor="no.owner"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="LOC" ph="k&#x2B0;&#x2E0; &#x275;&#x2D0; k&#x2BC;&#x2E0;" slots="Cip Cfp">kʰˠɵːkʼˠ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" case="LOC" possessor="no.owner" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;" slots="Cir Cfr">mˠœ#ː꜒kʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x282;&#x2E0;+t&#x32A;&#x2B2; u# n&#x2B7; i# &#xA716; v&#x2E0;" slots="Cir Cfr">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos3" translation="with me">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="LOC" ph="k&#x2B0;&#x2E0; &#x275;&#x2D0; k&#x2BC;&#x2E0;" slots="Cip Cfp">kʰˠɵːkʼˠ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" case="LOC" possessor="no.owner" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;" slots="Cir Cfr">mˠœ#ː꜒kʲ</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x282;&#x2E0;+t&#x32A;&#x2B2; u# n&#x2B7; i# &#xA716; v&#x2E0;" slots="Cir Cfr">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="LOC" ph="k&#x2B0;&#x2E0; &#x275;&#x2D0; k&#x2BC;&#x2E0;">kʰˠɵːkʼˠ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" case="LOC" possessor="no.owner" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;">mˠœ#ː꜒kʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x282;&#x2E0;+t&#x32A;&#x2B2; u# n&#x2B7; i# &#xA716; v&#x2E0;">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="LOC" ph="k&#x2B0;&#x2E0; &#x275;&#x2D0; k&#x2BC;&#x2E0;">kʰˠɵːkʼˠ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" case="LOC" possessor="no.owner" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;">mˠœ#ː꜒kʲ</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="&#x282;&#x2E0;+t&#x32A;&#x2B2; u# n&#x2B7; i# &#xA716; v&#x2E0;">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="LOC">kʰˠɵːkʼˠ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" case="LOC" possessor="no.owner">mˠœ#ː꜒kʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">ʂˠt̪ʲu#nʷi#꜖vˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰˠɵːkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mˠœ̃ː꜒kʲ&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̪ʲũnʷĩ꜖vˠ&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;</p>
+  <p>zʷɢʲutˠ kʰˠɵːkʼˠ mˠœ̃ː꜒kʲ ʂˠt̪ʲũnʷĩ꜖vˠ</p>
+  <p>zwħgiuto khoɵɵgko moœnœn̄ki rsotiunnwin̠vo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>kʰˠɵːkʼˠ</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>mˠœ̃ː꜒kʲ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ʂˠt̪ʲũnʷĩ꜖vˠ</o>
+      <g>COMIT</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

prodrop:

No change.

addclitics:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="ERG"/>
      <word posp="noun" gloss="jaguar"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <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.7" obj="3.sing.cl.2">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ERG"/>
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" 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.7" obj="3.sing.cl.2">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="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.7" obj="3.sing.cl.2"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for jaguar/noun/gender/optional
Got cl.7
About to call getSlotValue for hunter/noun/gender/optional
Got cl.2
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ERG"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" 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.7" obj="3.sing.cl.2">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="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.7" obj="3.sing.cl.2"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="ERG"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner"/>
-    </np>
-    <np number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <thingy type="noungender" function="prefix" gloss="cl.2"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" 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.7" obj="3.sing.cl.2">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="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.7" obj="3.sing.cl.2"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="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.7" obj="3.sing.cl.2"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;" slots="Cir Cfr">ɠʷe#ʁʲy#꜖mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;" slots="Cir Cfr">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;" slots="Cip Cfp">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;" slots="Cip Cfp">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2" ph="t&#x361;&#x283;&#x2BC;&#x2B2; a# &#xA716; v&#x2E0;" slots="Cir Cfr">t͡ʃʼʲa#꜖vˠ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /ɠʷ/ > // + /k͡xʷ/
/tʼˠ/ + /dˤ/ > // + /dˤ/
<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;" slots="Cir Cfr">ɠʷe#ʁʲy#꜖mˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="k&#x361;x&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;" underlying="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;">k͡xʷe#ʁʲy#꜖mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;" slots="Cir Cfr">dˤa#zˤɖʱˠɛ꜒mˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;" slots="Cip Cfp">ɮʲɔd̪ˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;" slots="Cip Cfp">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2" ph="t&#x361;&#x283;&#x2BC;&#x2B2; a# &#xA716; v&#x2E0;" slots="Cir Cfr">t͡ʃʼʲa#꜖vˠ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2" ph="t&#x361;&#x283;&#x2BC;&#x2B2; a# &#xA716; v&#x2E0;">t͡ʃʼʲa#꜖vˠ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="k&#x361;x&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;" underlying="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;">k͡xʷe#ʁʲy#꜖mˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;">dˤa#zˤɖʱˠɛ꜒mˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;">ɮʲɔd̪ˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2" ph="t&#x361;&#x283;&#x2BC;&#x2B2; a# &#xA716; v&#x2E0;">t͡ʃʼʲa#꜖vˠ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" underlying="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;">k͡xʷe#ʁʲy#꜖mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2">t͡ʃʼʲa#꜖vˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀʰˠᵊt͡sʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɠʷẽʁʲỹ꜖mˠ&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ʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dˤãzˤɖʱˠɛ꜒mˠ&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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɮʲɔd̪ˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀˤɵd͡zʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲã꜖vˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ᵏǀʰˠᵊt͡sʼˠ t͡sʼˤɛ̃ːk͡xʷẽʁʲỹ꜖mˠ zʷɢʲutˠ ʂˠʈʰʲɛ̃ːdˤãzˤɖʱˠɛ꜒mˠ zʲpʼˠuɰˠ ɮʲɔd̪ˠ ᶢǀˤɵd͡zʲ t͡ʃʼʲã꜖vˠ</p>
+  <p>zwħgiuto chotzʼo tzʼ̣ænænkxwenqhiün̠mo zwħgiuto rsorthiænænḍanẓrdhoǣmo zibpouẅo hliodo gc̣ɵdzi chʼian̠vo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˠᵊt͡sʼˠ</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ɠʷẽʁʲỹ꜖mˠ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>dˤãzˤɖʱˠɛ꜒mˠ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ɮʲɔd̪ˠ</o>
+      <g>3.sing.cl.7.POS.active</g>
+    </w>
+    <w>
+      <o>ᶢǀˤɵd͡zʲ</o>
+      <g>3.sing.cl.2.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲã꜖vˠ</o>
+      <g>kill</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module propagatenumber:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for lion/noun/gender/optional
Got cl.7
About to call getSlotValue for hunter/noun/gender/optional
Got cl.2
About to call getSlotValue for daughter/noun/gender/optional
Got cl.2
About to call getSlotValue for dog/noun/gender/optional
Got cl.7
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ERG"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner"/>
    </np>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2">
      <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.7" possessor="3.sing.cl.2" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.7" possessor="3.sing.cl.2" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.2">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2"/>
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.2"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.7" possessor="3.sing.cl.2" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.2"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;" slots="Cir Cfr">pʰˤuːʂʲhkˤɔ꜖꜒zˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;" slots="Cir Cfr">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2" ph="&#x278;&#x2B2; &#x289;#&#x2D0; &#xA716; k&#x361;x&#x2E0;" slots="Cir Cfr">ɸʲʉ#ː꜖k͡xˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.7" possessor="3.sing.cl.2" case="NOM" ph="&#x288;&#x2BC;&#x2E0; &#x25B; &#xA712;&#xA716; n&#x32A;&#x2E4;" slots="Cir Cfr">ʈʼˠɛ꜒꜖n̪ˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;" slots="Cip Cfp">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;" slots="Cip Cfp">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2" ph="&#x1DA2;&#x1C3;&#x2B7; o# &#xA712; &#x27E;&#x2E0;" slots="Cir Cfr">ᶢǃʷo#꜒ɾˠ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /pʰˤ/ > // + /p͡fˤ/
/tʼˠ/ + /dˤ/ > // + /dˤ/
/tʼˠ/ + /ɸʲ/ > /tʼˠ/ + /ɸʲ/
/d͡zʲ/ + /ʈʼˠ/ > // + /d͡zʲ/
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;" slots="Cir Cfr">pʰˤuːʂʲhkˤɔ꜖꜒zˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="p&#x361;f&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;" underlying="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;">p͡fˤuːʂʲhkˤɔ꜖꜒zˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;" slots="Cir Cfr">dˤa#zˤɖʱˠɛ꜒mˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2" ph="&#x278;&#x2B2; &#x289;#&#x2D0; &#xA716; k&#x361;x&#x2E0;" slots="Cir Cfr">ɸʲʉ#ː꜖k͡xˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.7" possessor="3.sing.cl.2" case="NOM" ph="&#x288;&#x2BC;&#x2E0; &#x25B; &#xA712;&#xA716; n&#x32A;&#x2E4;" slots="Cir Cfr">ʈʼˠɛ꜒꜖n̪ˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;" slots="Cip Cfp">ɮʲɔd̪ˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;" slots="Cip Cfp">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2" ph="&#x1DA2;&#x1C3;&#x2B7; o# &#xA712; &#x27E;&#x2E0;" slots="Cir Cfr">ᶢǃʷo#꜒ɾˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2" ph="&#x278;&#x2B2; &#x289;#&#x2D0; &#xA716; k&#x361;x&#x2E0;">ɸʲʉ#ː꜖k͡xˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.7" possessor="3.sing.cl.2" case="NOM" ph="d&#x361;z&#x2B2; &#x25B; &#xA712;&#xA716; n&#x32A;&#x2E4;" underlying="&#x288;&#x2BC;&#x2E0; &#x25B; &#xA712;&#xA716; n&#x32A;&#x2E4;">d͡zʲɛ꜒꜖n̪ˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2" ph="&#x1DA2;&#x1C3;&#x2B7; o# &#xA712; &#x27E;&#x2E0;">ᶢǃʷo#꜒ɾˠ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="p&#x361;f&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;" underlying="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;">p͡fˤuːʂʲhkˤɔ꜖꜒zˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;">dˤa#zˤɖʱˠɛ꜒mˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2" ph="&#x278;&#x2B2; &#x289;#&#x2D0; &#xA716; k&#x361;x&#x2E0;">ɸʲʉ#ː꜖k͡xˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.7" possessor="3.sing.cl.2" case="NOM" ph="d&#x361;z&#x2B2; &#x25B; &#xA712;&#xA716; n&#x32A;&#x2E4;" underlying="&#x288;&#x2BC;&#x2E0; &#x25B; &#xA712;&#xA716; n&#x32A;&#x2E4;">d͡zʲɛ꜒꜖n̪ˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;">ɮʲɔd̪ˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ" ph="&#x1DA2;&#x1C0;&#x2E4; &#x275; d&#x361;z&#x2B2;">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2" ph="&#x1DA2;&#x1C3;&#x2B7; o# &#xA712; &#x27E;&#x2E0;">ᶢǃʷo#꜒ɾˠ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ERG" gender="cl.7" possessor="no.owner" underlying="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;">p͡fˤuːʂʲhkˤɔ꜖꜒zˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.2" possessor="no.owner">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2">ɸʲʉ#ː꜖k͡xˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.7" possessor="3.sing.cl.2" case="NOM" underlying="&#x288;&#x2BC;&#x2E0; &#x25B; &#xA712;&#xA716; n&#x32A;&#x2E4;">d͡zʲɛ꜒꜖n̪ˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.2.OBJ">ᶢǀˤɵd͡zʲ</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.7" obj="3.sing.cl.2">ᶢǃʷo#꜒ɾˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀʰˠᵊt͡sʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰˤuːʂʲhkˤɔ꜖꜒zˤ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dˤãzˤɖʱˠɛ꜒mˠ&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ʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&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;daughter&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;3.sing.cl.2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈʼˠɛ꜒꜖n̪ˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɮʲɔd̪ˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀˤɵd͡zʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;OBJ&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;eat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ᵏǀʰˠᵊt͡sʼˠ t͡sʼˤɛ̃ːp͡fˤuːʂʲhkˤɔ꜖꜒zˤ zʷɢʲutˠ zʷɢʲutˠ ʂˠʈʰʲɛ̃ːdˤãzˤɖʱˠɛ꜒mˠ ᵑǃˠʉlʲ ʂˠʈʰʲɛ̃ːtʼˠɸʲʉ̃ː꜖k͡xˠ ᵑǃˠʉlʲ t͡sʼˤɛ̃ːd͡zʲɛ꜒꜖n̪ˤ zʲpʼˠuɰˠ ɮʲɔd̪ˠ ᶢǀˤɵd͡zʲ ᶢǃʷõ꜒ɾˠ</p>
+  <p>zwħgiuto chotzʼo tzʼ̣ænænṕ̣uursihḳóẓ zwħgiuto zwħgiuto rsorthiænænḍanẓrdhoǣmo nqoʉli rsorthiænændtowhiʉnʉn̠kxo nqoʉli tzʼ̣ænændziæ̀ṇ zibpouẅo hliodo gc̣ɵdzi gqwón̄ro</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˠᵊt͡sʼˠ</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>pʰˤuːʂʲhkˤɔ꜖꜒zˤ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>dˤãzˤɖʱˠɛ꜒mˠ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ᵑǃˠʉlʲ</o>
+      <g>3.sing.cl.2.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>ɸʲʉ̃ː꜖k͡xˠ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ᵑǃˠʉlʲ</o>
+      <g>3.sing.cl.2.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʈʼˠɛ꜒꜖n̪ˤ</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ɮʲɔd̪ˠ</o>
+      <g>3.sing.cl.7.POS.active</g>
+    </w>
+    <w>
+      <o>ᶢǀˤɵd͡zʲ</o>
+      <g>3.sing.cl.2.OBJ</g>
+    </w>
+    <w>
+      <o>ᶢǃʷõ꜒ɾˠ</o>
+      <g>eat</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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="NOM">
    <np type="owner_owned" role="owner">
      <np type="owner_owned" role="owner">
        <np number="sing" def="neither" locus="number" role="owner">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module markowner:

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

module propagatenumber:

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

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">
    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.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>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for son/noun/gender/optional
Got cl.2
About to call getSlotValue for friend/noun/gender/optional
Got cl.2
About to call getSlotValue for book/noun/gender/optional
Got cl.5
<example id="poss3" translation="your son's friend's book">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">
    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing"/>
+    <thingy type="noungender" function="prefix" gloss="cl.2"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
+    <thingy type="noungender" function="prefix" gloss="cl.2"/>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
+    <thingy type="noungender" function="prefix" gloss="cl.5"/>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.5"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing" ph="t&#x361;s&#x2BC;&#x2B7; o# q&#x2E0;" slots="Cip Cfp">t͡sʼʷo#qˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="&#x27E;&#x2E4; &#x25B; &#xA716; v&#x2B2;" slots="Cir Cfr">ɾˤɛ꜖vʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2" ph="s&#x2E0;+p&#x2BC;&#x2E0; &#xF8; &#x330;&#xA712; n&#x2E0;" slots="Cir Cfr">sˠpʼˠø̰꜒nˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.5" attach="prefix" ph="z&#x2E4;+&#x288;&#x2E0; a &#x283;&#x2B2;+t&#x2B0;&#x2E4;" slots="Cip Cir">zˤʈˠaʃʲtʰˤ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM" ph="&#x292;&#x2B2;+b&#x2B2; o&#x2D0; &#xA712;&#xA716; l&#x32A;&#x2B2;" slots="Cir Cfr">ʒʲbʲoː꜒꜖l̪ʲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʼˠ/ + /ɾˤ/ > /tʼˠ/ + /ɾˤ/
/tʼˠ/ + /sˠ+pʼˠ/ > // + /sˠ+pʼˠ/
/ʃʲ+tʰˤ/ + /ʒʲ+bʲ/ > // + /ʃʲ+tʰˤ/
<example id="poss3" translation="your son's friend's book">
  <flat>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing" ph="t&#x361;s&#x2BC;&#x2B7; o# q&#x2E0;" slots="Cip Cfp">t͡sʼʷo#qˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="&#x27E;&#x2E4; &#x25B; &#xA716; v&#x2B2;" slots="Cir Cfr">ɾˤɛ꜖vʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2" ph="s&#x2E0;+p&#x2BC;&#x2E0; &#xF8; &#x330;&#xA712; n&#x2E0;" slots="Cir Cfr">sˠpʼˠø̰꜒nˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;" slots="Cip Cfp">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.5" attach="prefix" ph="z&#x2E4;+&#x288;&#x2E0; a &#x283;&#x2B2;+t&#x2B0;&#x2E4;" slots="Cip Cir">zˤʈˠaʃʲtʰˤ</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM" ph="&#x292;&#x2B2;+b&#x2B2; o&#x2D0; &#xA712;&#xA716; l&#x32A;&#x2B2;" slots="Cir Cfr">ʒʲbʲoː꜒꜖l̪ʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing" ph="t&#x361;s&#x2BC;&#x2B7; o# q&#x2E0;">t͡sʼʷo#qˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="&#x27E;&#x2E4; &#x25B; &#xA716; v&#x2B2;">ɾˤɛ꜖vʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2" ph="s&#x2E0;+p&#x2BC;&#x2E0; &#xF8; &#x330;&#xA712; n&#x2E0;">sˠpʼˠø̰꜒nˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.5" attach="prefix" ph="z&#x2E4;+&#x288;&#x2E0; a" underlying="z&#x2E4;+&#x288;&#x2E0; a &#x283;&#x2B2;+t&#x2B0;&#x2E4;">zˤʈˠa</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+t&#x2B0;&#x2E4; o&#x2D0; &#xA712;&#xA716; l&#x32A;&#x2B2;" underlying="&#x292;&#x2B2;+b&#x2B2; o&#x2D0; &#xA712;&#xA716; l&#x32A;&#x2B2;">ʃʲtʰˤoː꜒꜖l̪ʲ</word>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing" ph="t&#x361;s&#x2BC;&#x2B7; o# q&#x2E0;">t͡sʼʷo#qˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing" ph="&#x27E;&#x2E4; &#x25B; &#xA716; v&#x2B2;">ɾˤɛ꜖vʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2" ph="s&#x2E0;+p&#x2BC;&#x2E0; &#xF8; &#x330;&#xA712; n&#x2E0;">sˠpʼˠø̰꜒nˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing" ph="&#x1D51;&#x1C3;&#x2E0; &#x289; l&#x2B2;">ᵑǃˠʉlʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.5" attach="prefix" ph="z&#x2E4;+&#x288;&#x2E0; a" underlying="z&#x2E4;+&#x288;&#x2E0; a &#x283;&#x2B2;+t&#x2B0;&#x2E4;">zˤʈˠa</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM" ph="&#x283;&#x2B2;+t&#x2B0;&#x2E4; o&#x2D0; &#xA712;&#xA716; l&#x32A;&#x2B2;" underlying="&#x292;&#x2B2;+b&#x2B2; o&#x2D0; &#xA712;&#xA716; l&#x32A;&#x2B2;">ʃʲtʰˤoː꜒꜖l̪ʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="2.sing.sing">t͡sʼʷo#qˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="2.sing">ɾˤɛ꜖vʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.2" possessor="3.sing.cl.2">sˠpʼˠø̰꜒nˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.2.sing">ᵑǃˠʉlʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.5" underlying="z&#x2E4;+&#x288;&#x2E0; a &#x283;&#x2B2;+t&#x2B0;&#x2E4;">zˤʈˠa</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.2" case="NOM" underlying="&#x292;&#x2B2;+b&#x2B2; o&#x2D0; &#xA712;&#xA716; l&#x32A;&#x2B2;">ʃʲtʰˤoː꜒꜖l̪ʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼʷõqˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&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;son&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;3.sing.cl.2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˠpʼˠø̰꜒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;ᵑǃˠʉlʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˤʈˠaʃʲtʰˤ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒʲbʲoː꜒꜖l̪ʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡sʼʷõqˠ ʂˠʈʰʲɛ̃ːtʼˠɾˤɛ꜖vʲ ᵑǃˠʉlʲ ʂˠʈʰʲɛ̃ːsˠpʼˠø̰꜒nˠ ᵑǃˠʉlʲ zˤʈˠaʃʲtʰˤoː꜒꜖l̪ʲ</p>
+  <p>tzʼwónqo rsorthiænændtoṛæ̠vi nqoʉli rsorthiænænsobpoö̃no nqoʉli ẓrtoashitḥóó̀li</p>
+  <il>
+    <w>
+      <o>t͡sʼʷõqˠ</o>
+      <g>2.sing.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>ɾˤɛ꜖vʲ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ᵑǃˠʉlʲ</o>
+      <g>3.sing.cl.2.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>sˠpʼˠø̰꜒nˠ</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>ᵑǃˠʉlʲ</o>
+      <g>3.sing.cl.2.sing</g>
+    </w>
+    <w>
+      <o>zˤʈˠaʃʲtʰˤ-</o>
+      <g>cl.5</g>
+    </w>
+    <w>
+      <o>ʒʲbʲoː꜒꜖l̪ʲ</o>
+      <g>book</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module 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="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7">
      <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="NOM" gender="cl.7">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" 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="NOM" gender="cl.7" 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.7">
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/gender/optional
Got cl.7
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;" slots="Cip Cfp">ɮʲɔd̪ˠ</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="hk&#x2E4; &#x289; &#xA712;&#xA716; t&#x2BC;&#x2E4;" slots="Cir Cfr">hkˤʉ꜒꜖tʼˤ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /sˤ+qʰˠ/ > // + /d͡zʲ/
<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;" slots="Cip Cfp">ɮʲɔd̪ˠ</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="hk&#x2E4; &#x289; &#xA712;&#xA716; t&#x2BC;&#x2E4;" slots="Cir Cfr">hkˤʉ꜒꜖tʼˤ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;">ɮʲɔd̪ˠ</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="hk&#x2E4; &#x289; &#xA712;&#xA716; t&#x2BC;&#x2E4;">hkˤʉ꜒꜖tʼˤ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;">ɮʲɔd̪ˠ</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="hk&#x2E4; &#x289; &#xA712;&#xA716; t&#x2BC;&#x2E4;">hkˤʉ꜒꜖tʼˤ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active">ɮʲɔd̪ˠ</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">hkˤʉ꜒꜖tʼˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʰˠãː꜒bˠ&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;ɮʲɔd̪ˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hkˤʉ꜒꜖tʼˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ t͡sʼˤɛ̃ːd͡zʲãː꜒bˠ ɮʲɔd̪ˠ hkˤʉ꜒꜖tʼˤ</p>
+  <p>zwħgiuto tzʼ̣ænændzianan̄bo hliodo hḳʉ̀dṭ</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>sˤqʰˠãː꜒bˠ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ɮʲɔd̪ˠ</o>
+      <g>3.sing.cl.7.POS.active</g>
+    </w>
+    <w>
+      <o>hkˤʉ꜒꜖tʼˤ</o>
+      <g>sleep</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module 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="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7">
      <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="NOM" gender="cl.7">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" 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="NOM" gender="cl.7" 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.7">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for cat/noun/gender/optional
Got cl.7
<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" ph="z&#x2B7;+d&#x2B1;&#x2E4; &#x254; &#xA716;&#xA712; &#x263;&#x2B2;" slots="Cir Cfr">zʷdʱˤɔ꜖꜒ɣʲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /sˤ+qʰˠ/ > // + /d͡zʲ/
<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" ph="z&#x2B7;+d&#x2B1;&#x2E4; &#x254; &#xA716;&#xA712; &#x263;&#x2B2;" slots="Cir Cfr">zʷdʱˤɔ꜖꜒ɣʲ</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" ph="z&#x2B7;+d&#x2B1;&#x2E4; &#x254; &#xA716;&#xA712; &#x263;&#x2B2;">zʷdʱˤɔ꜖꜒ɣʲ</word>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" ph="z&#x2B7;+d&#x2B1;&#x2E4; &#x254; &#xA716;&#xA712; &#x263;&#x2B2;">zʷdʱˤɔ꜖꜒ɣʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7">zʷdʱˤɔ꜖꜒ɣʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʰˠãː꜒bˠ&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ʱˤɔ꜖꜒ɣʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ t͡sʼˤɛ̃ːd͡zʲãː꜒bˠ zʷdʱˤɔ꜖꜒ɣʲ</p>
+  <p>zwħgiuto tzʼ̣ænændzianan̄bo zwdḥóği</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>sˤqʰˠãː꜒bˠ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʷdʱˤɔ꜖꜒ɣʲ</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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="NOM">
      <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="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7">
      <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="NOM" gender="cl.7">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" 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="NOM" gender="cl.7" 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.7">
      <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="NOM" gender="cl.7" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7">
+      <thingy type="vpta" function="proclitic" gloss="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>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-      <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7">
    <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.7"/>
    <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="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <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.7"/>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="s&#x2B2;+q&#x2BC;&#x2B2; i t&#x26C;&#x2B2;" slots="Cip Cir">sʲqʼʲitɬʲ</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /sˤ+qʰˠ/ > // + /d͡zʲ/
/tɬʲ/ + /ʛˤ/ > // + /q͡χˤ/
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="s&#x2B2;+q&#x2BC;&#x2B2; i t&#x26C;&#x2B2;" slots="Cip Cir">sʲqʼʲitɬʲ</thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="s&#x2B2;+q&#x2BC;&#x2B2; i" underlying="s&#x2B2;+q&#x2BC;&#x2B2; i t&#x26C;&#x2B2;">sʲqʼʲi</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="s&#x2B2;+q&#x2BC;&#x2B2; i" underlying="s&#x2B2;+q&#x2BC;&#x2B2; i t&#x26C;&#x2B2;">sʲqʼʲi</thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" underlying="s&#x2B2;+q&#x2BC;&#x2B2; i t&#x26C;&#x2B2;">sʲqʼʲi</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.7" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʰˠãː꜒bˠ&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;sʲqʼʲitɬʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛˤiːdʱʲɵ꜒꜖ħˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ t͡sʼˤɛ̃ːd͡zʲãː꜒bˠ sʲqʼʲiq͡χˤiːdʱʲɵ꜒꜖ħˠ</p>
+  <p>zwħgiuto tzʼ̣ænændzianan̄bo sigqiiqqḥiidhiɵ̀ħo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>sˤqʰˠãː꜒bˠ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>sʲqʼʲitɬʲ-</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>ʛˤiːdʱʲɵ꜒꜖ħˠ</o>
+      <g>mouse</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/gender/optional
Got cl.7
About to call getSlotValue for mouse/noun/gender/optional
Got cl.7
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ERG"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.7" possessor="no.owner"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.7" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;" slots="Cip Cfp">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.7" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /sˤ+qʰˠ/ > // + /d͡zʲ/
/d͡zʲ/ + /ʛˤ/ > // + /q͡χˤ/
<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;" slots="Cip Cfp">ɮʲɔd̪ˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.7" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.7" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active" ph="&#x26E;&#x2B2; &#x254; d&#x32A;&#x2E0;">ɮʲɔd̪ˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.7" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ERG" gender="cl.7" possessor="no.owner" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.7.POS.active">ɮʲɔd̪ˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ">ɡʲiʁˠ</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.7" obj="3.sing.cl.7">zˠpʼˤo#ː꜖fʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀʰˠᵊt͡sʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʰˠãː꜒bˠ&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ʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛˤiːdʱʲɵ꜒꜖ħˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɮʲɔd̪ˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&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;3.sing.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˠpʼˤõː꜖fʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ᵏǀʰˠᵊt͡sʼˠ t͡sʼˤɛ̃ːd͡zʲãː꜒bˠ zʷɢʲutˠ t͡sʼˤɛ̃ːq͡χˤiːdʱʲɵ꜒꜖ħˠ zʲpʼˠuɰˠ ɮʲɔd̪ˠ ɡʲiʁˠ zˠpʼˤõː꜖fʲ</p>
+  <p>zwħgiuto chotzʼo tzʼ̣ænændzianan̄bo zwħgiuto tzʼ̣ænænqqḥiidhiɵ̀ħo zibpouẅo hliodo giiqho zobp̣ónón̠fi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˠᵊt͡sʼˠ</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>sˤqʰˠãː꜒bˠ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʛˤiːdʱʲɵ꜒꜖ħˠ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ɮʲɔd̪ˠ</o>
+      <g>3.sing.cl.7.POS.active</g>
+    </w>
+    <w>
+      <o>ɡʲiʁˠ</o>
+      <g>3.sing.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>zˠpʼˤõː꜖fʲ</o>
+      <g>catch</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module propagatenumber:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="ERG"/>
      <word posp="noun" gloss="hunter"/>
    </np>
    <np role="obj" tr="rheme" case="NOM" gender="cl.7" number="plur" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
+        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
+        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
+        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
        <word posp="noun" gloss="lion"/>
      </np>
    </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.7">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ERG"/>
      <word posp="noun" gloss="hunter"/>
    </np>
-    <np role="obj" tr="rheme" case="NOM" gender="cl.7" number="plur" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
      <word posp="noun" gloss="lion"/>
    </np>
-    </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.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7"/>
      <word posp="verb" gloss="kill"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ERG"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
    </np>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
-      <word posp="noun" gloss="tiger"/>
+      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
    </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.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7"/>
-      <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.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for hunter/noun/gender/optional
Got cl.2
About to call getSlotValue for jaguar/noun/gender/optional
Got cl.7
About to call getSlotValue for tiger/noun/gender/optional
Got cl.7
About to call getSlotValue for lion/noun/gender/optional
Got cl.7
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ERG"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
    </np>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
    </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.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7"/>
      <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.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="ERG"/>
    <thingy type="noungender" function="prefix" gloss="cl.2"/>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
-    </np>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
-    </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.7">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7"/>
    <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.7"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7"/>
-    <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.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;" slots="Cir Cfr">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;" slots="Cir Cfr">ɠʷe#ʁʲy#꜖mˠ</word>
+    <word posp="conj" gloss="and" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; &#xF8; &#xA712;&#xA716; &#x263;&#x2B2;" slots="Cir Cfr">ᵑǃʼˤø꜒꜖ɣʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="p&#x2E0; a&#x2D0; s&#x2E4;+p&#x2E0; o#&#x2D0; &#xA712;&#xA716; t&#x361;&#x283;" slots="Cir Cfr">pˠaːsˤpˠo#ː꜒꜖t͡ʃ</word>
+    <word posp="conj" gloss="and" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; &#xF8; &#xA712;&#xA716; &#x263;&#x2B2;" slots="Cir Cfr">ᵑǃʼˤø꜒꜖ɣʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;" slots="Cir Cfr">pʰˤuːʂʲhkˤɔ꜖꜒zˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ" ph="&#x282;&#x2E0;+t&#x2BC;&#x2B7; &#x289;&#x2D0; &#x282;&#x2B2;" slots="Cip Cfp">ʂˠtʼʷʉːʂʲ</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.7" ph="t&#x361;&#x283;&#x2BC;&#x2B2; a# &#xA716; v&#x2E0;" slots="Cir Cfr">t͡ʃʼʲa#꜖vˠ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʼˠ/ + /dˤ/ > // + /dˤ/
/d͡zʲ/ + /ɠʷ/ > // + /k͡xʷ/
/d͡zʲ/ + /pˠ/ > // + /p͡fˠ/
/d͡zʲ/ + /pʰˤ/ > // + /p͡fˤ/
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;" slots="Cir Cfr">dˤa#zˤɖʱˠɛ꜒mˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;" slots="Cir Cfr">ɠʷe#ʁʲy#꜖mˠ</word>
-    <word posp="conj" gloss="and" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; &#xF8; &#xA712;&#xA716; &#x263;&#x2B2;" slots="Cir Cfr">ᵑǃʼˤø꜒꜖ɣʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="p&#x2E0; a&#x2D0; s&#x2E4;+p&#x2E0; o#&#x2D0; &#xA712;&#xA716; t&#x361;&#x283;" slots="Cir Cfr">pˠaːsˤpˠo#ː꜒꜖t͡ʃ</word>
-    <word posp="conj" gloss="and" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; &#xF8; &#xA712;&#xA716; &#x263;&#x2B2;" slots="Cir Cfr">ᵑǃʼˤø꜒꜖ɣʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;" slots="Cip Cfp">ʃʲɵɢʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;" slots="Cir Cfr">pʰˤuːʂʲhkˤɔ꜖꜒zˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ" ph="&#x282;&#x2E0;+t&#x2BC;&#x2B7; &#x289;&#x2D0; &#x282;&#x2B2;" slots="Cip Cfp">ʂˠtʼʷʉːʂʲ</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.7" ph="t&#x361;&#x283;&#x2BC;&#x2B2; a# &#xA716; v&#x2E0;" slots="Cir Cfr">t͡ʃʼʲa#꜖vˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="k&#x361;x&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;" underlying="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;">k͡xʷe#ʁʲy#꜖mˠ</word>
+    <word posp="conj" gloss="and" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; &#xF8; &#xA712;&#xA716; &#x263;&#x2B2;">ᵑǃʼˤø꜒꜖ɣʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="p&#x361;f&#x2E0; a&#x2D0; s&#x2E4;+p&#x2E0; o#&#x2D0; &#xA712;&#xA716; t&#x361;&#x283;" underlying="p&#x2E0; a&#x2D0; s&#x2E4;+p&#x2E0; o#&#x2D0; &#xA712;&#xA716; t&#x361;&#x283;">p͡fˠaːsˤpˠo#ː꜒꜖t͡ʃ</word>
+    <word posp="conj" gloss="and" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; &#xF8; &#xA712;&#xA716; &#x263;&#x2B2;">ᵑǃʼˤø꜒꜖ɣʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="p&#x361;f&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;" underlying="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;">p͡fˤuːʂʲhkˤɔ꜖꜒zˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ" ph="&#x282;&#x2E0;+t&#x2BC;&#x2B7; &#x289;&#x2D0; &#x282;&#x2B2;">ʂˠtʼʷʉːʂʲ</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.7" ph="t&#x361;&#x283;&#x2BC;&#x2B2; a# &#xA716; v&#x2E0;">t͡ʃʼʲa#꜖vˠ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="d&#x2E4; a# z&#x2E4;+&#x256;&#x2B1;&#x2E0; &#x25B; &#xA712; m&#x2E0;">dˤa#zˤɖʱˠɛ꜒mˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="k&#x361;x&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;" underlying="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;">k͡xʷe#ʁʲy#꜖mˠ</word>
-    <word posp="conj" gloss="and" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; &#xF8; &#xA712;&#xA716; &#x263;&#x2B2;">ᵑǃʼˤø꜒꜖ɣʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="p&#x361;f&#x2E0; a&#x2D0; s&#x2E4;+p&#x2E0; o#&#x2D0; &#xA712;&#xA716; t&#x361;&#x283;" underlying="p&#x2E0; a&#x2D0; s&#x2E4;+p&#x2E0; o#&#x2D0; &#xA712;&#xA716; t&#x361;&#x283;">p͡fˠaːsˤpˠo#ː꜒꜖t͡ʃ</word>
-    <word posp="conj" gloss="and" ph="&#x1D51;&#x1C3;&#x2BC;&#x2E4; &#xF8; &#xA712;&#xA716; &#x263;&#x2B2;">ᵑǃʼˤø꜒꜖ɣʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur" ph="&#x283;&#x2B2; &#x275; &#x262;&#x2B2;">ʃʲɵɢʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" ph="p&#x361;f&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;" underlying="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;">p͡fˤuːʂʲhkˤɔ꜖꜒zˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ" ph="&#x282;&#x2E0;+t&#x2BC;&#x2B7; &#x289;&#x2D0; &#x282;&#x2B2;">ʂˠtʼʷʉːʂʲ</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.7" ph="t&#x361;&#x283;&#x2BC;&#x2B2; a# &#xA716; v&#x2E0;">t͡ʃʼʲa#꜖vˠ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">dˤa#zˤɖʱˠɛ꜒mˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur">ʃʲɵɢʲ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" underlying="&#x260;&#x2B7; e# &#x281;&#x2B2; y# &#xA716; m&#x2E0;">k͡xʷe#ʁʲy#꜖mˠ</word>
+    <word posp="conj" gloss="and">ᵑǃʼˤø꜒꜖ɣʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" underlying="p&#x2E0; a&#x2D0; s&#x2E4;+p&#x2E0; o#&#x2D0; &#xA712;&#xA716; t&#x361;&#x283;">p͡fˠaːsˤpˠo#ː꜒꜖t͡ʃ</word>
+    <word posp="conj" gloss="and">ᵑǃʼˤø꜒꜖ɣʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.plur">ʃʲɵɢʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.7" possessor="no.owner" role="obj" tr="rheme" case="NOM" underlying="p&#x2B0;&#x2E4; u&#x2D0; &#x282;&#x2B2;+hk&#x2E4; &#x254; &#xA716;&#xA712; z&#x2E4;">p͡fˤuːʂʲhkˤɔ꜖꜒zˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.7.OBJ">ʂˠtʼʷʉːʂʲ</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.7">t͡ʃʼʲa#꜖vˠ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀʰˠᵊt͡sʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dˤãzˤɖʱˠɛ꜒mˠ&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;ʃʲɵɢʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.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;no.owner.plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɠʷẽʁʲỹ꜖mˠ&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;ᵑǃʼˤø꜒꜖ɣʲ&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;ʃʲɵɢʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pˠaːsˤpˠõː꜒꜖t͡ʃ&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;ᵑǃʼˤø꜒꜖ɣʲ&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;ʃʲɵɢʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰˤuːʂʲhkˤɔ꜖꜒zˤ&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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠtʼʷʉːʂʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲã꜖vˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ᵏǀʰˠᵊt͡sʼˠ ʂˠʈʰʲɛ̃ːdˤãzˤɖʱˠɛ꜒mˠ ʃʲɵɢʲ ʃʲɵɢʲ t͡sʼˤɛ̃ːk͡xʷẽʁʲỹ꜖mˠ ᵑǃʼˤø꜒꜖ɣʲ ʃʲɵɢʲ t͡sʼˤɛ̃ːp͡fˠaːsˤpˠõː꜒꜖t͡ʃ ᵑǃʼˤø꜒꜖ɣʲ ʃʲɵɢʲ t͡sʼˤɛ̃ːp͡fˤuːʂʲhkˤɔ꜖꜒zˤ zʲpʼˠuɰˠ t͡ʃʼʲʉkʼˠ ʂˠtʼʷʉːʂʲ t͡ʃʼʲã꜖vˠ</p>
+  <p>zwħgiuto chotzʼo rsorthiænænḍanẓrdhoǣmo shiɵħgi shiɵħgi tzʼ̣ænænkxwenqhiün̠mo ᵑǃʼ̣ö̀ği shiɵħgi tzʼ̣ænænṕoaaṣpoónóǹdj ᵑǃʼ̣ö̀ği shiɵħgi tzʼ̣ænænṕ̣uursihḳóẓ zibpouẅo chʼiʉgko rsodtwʉʉrsi chʼian̠vo</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˠᵊt͡sʼˠ</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>dˤãzˤɖʱˠɛ꜒mˠ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ʃʲɵɢʲ</o>
+      <g>no.owner.plur</g>
+    </w>
+    <w>
+      <o>ʃʲɵɢʲ</o>
+      <g>no.owner.plur</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ɠʷẽʁʲỹ꜖mˠ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ᵑǃʼˤø꜒꜖ɣʲ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ʃʲɵɢʲ</o>
+      <g>no.owner.plur</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>pˠaːsˤpˠõː꜒꜖t͡ʃ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>ᵑǃʼˤø꜒꜖ɣʲ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ʃʲɵɢʲ</o>
+      <g>no.owner.plur</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>pʰˤuːʂʲhkˤɔ꜖꜒zˤ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>ʂˠtʼʷʉːʂʲ</o>
+      <g>3.plur.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲã꜖vˠ</o>
+      <g>kill</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

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

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" 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.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-      <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.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for cat/noun/gender/optional
Got cl.7
<example id="relp1" translation="I patted the cat.">
  <s>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" 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.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <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.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" 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.7">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
    <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.7"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <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.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;" slots="Cir Cfr">jɵdʲuː̰꜖tɬʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /sˤ+qʰˠ/ > // + /d͡zʲ/
<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;" slots="Cir Cfr">jɵdʲuː̰꜖tɬʲ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;">jɵdʲuː̰꜖tɬʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;">jɵdʲuː̰꜖tɬʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ">ɡʲiʁˠ</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.7">jɵdʲuː̰꜖tɬʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʰˠãː꜒bˠ&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ʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀʷɛɹˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&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;3.sing.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jɵdʲuː̰꜖tɬʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ t͡sʼˤɛ̃ːd͡zʲãː꜒bˠ zʲpʼˠuɰˠ ᶢǀʷɛɹˠ ɡʲiʁˠ jɵdʲuː̰꜖tɬʲ</p>
+  <p>zwħgiuto tzʼ̣ænændzianan̄bo zibpouẅo gcwæɹo giiqho yɵdiuủtlhi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>sˤqʰˠãː꜒bˠ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǀʷɛɹˠ</o>
+      <g>1excl.sing.POS.active</g>
+    </w>
+    <w>
+      <o>ɡʲiʁˠ</o>
+      <g>3.sing.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>jɵdʲuː̰꜖tɬʲ</o>
+      <g>pat</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 RelN:

<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>
+      <subs>
        <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>
+      </subs>
+      <np def="def" number="sing" role="subj" locus="number">
+        <word posp="noun" gloss="cat"/>
      </np>
+    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module propagatenumber:

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

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

copyuptophrase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
    </np>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </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.7">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </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="1excl.sing" obj="3.sing.cl.7">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

prodrop:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
-    </np>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <np def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
+          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="mouse"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
+      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
      <np def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
        <word posp="noun" gloss="mouse"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
        <word posp="verb" gloss="catch"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <word posp="noun" gloss="cat"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
      <np def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-        <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" obj="3.sing.cl.7"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-      <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.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for mouse/noun/gender/optional
Got cl.7
About to call getSlotValue for cat/noun/gender/optional
Got cl.7
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
      <np def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
+        <thingy type="noungender" function="prefix" gloss="cl.7"/>
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <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.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <subs>
-      <np def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
    <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.7"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <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.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;" slots="Cir Cfr">jɵdʲuː̰꜖tɬʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/d͡zʲ/ + /ʛˤ/ > // + /q͡χˤ/
/d͡zʲ/ + /sˤ+qʰˠ/ > // + /d͡zʲ/
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;" slots="Cir Cfr">jɵdʲuː̰꜖tɬʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;">jɵdʲuː̰꜖tɬʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;">jɵdʲuː̰꜖tɬʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="NOM" gender="cl.7" possessor="no.owner" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ">ɡʲiʁˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ">ɡʲiʁˠ</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.7">jɵdʲuː̰꜖tɬʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛˤiːdʱʲɵ꜒꜖ħˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡʲiʁˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˠpʼˤõː꜖fʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʰˠãː꜒bˠ&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ʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀʷɛɹˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&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;3.sing.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jɵdʲuː̰꜖tɬʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ zʷɢʲutˠ t͡sʼˤɛ̃ːq͡χˤiːdʱʲɵ꜒꜖ħˠ zʲpʼˠuɰˠ ɡʲiʁˠ zˠpʼˤõː꜖fʲ zʷɢʲutˠ t͡sʼˤɛ̃ːd͡zʲãː꜒bˠ zʲpʼˠuɰˠ ᶢǀʷɛɹˠ ɡʲiʁˠ jɵdʲuː̰꜖tɬʲ</p>
+  <p>zwħgiuto zwħgiuto tzʼ̣ænænqqḥiidhiɵ̀ħo zibpouẅo giiqho zobp̣ónón̠fi zwħgiuto tzʼ̣ænændzianan̄bo zibpouẅo gcwæɹo giiqho yɵdiuủtlhi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʛˤiːdʱʲɵ꜒꜖ħˠ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ɡʲiʁˠ</o>
+      <g>3.sing.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>zˠpʼˤõː꜖fʲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>sˤqʰˠãː꜒bˠ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǀʷɛɹˠ</o>
+      <g>1excl.sing.POS.active</g>
+    </w>
+    <w>
+      <o>ɡʲiʁˠ</o>
+      <g>3.sing.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>jɵdʲuː̰꜖tɬʲ</o>
+      <g>pat</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 RelN:

<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>
+      <subs>
        <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>
+          <subs>
            <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>
+          </subs>
+          <np def="def" number="sing" role="subj" locus="number">
+            <word posp="noun" gloss="mouse"/>
          </np>
-      </relp>
        </np>
+      </subs>
+      <np def="def" number="sing" role="subj" locus="number">
+        <word posp="noun" gloss="cat"/>
+      </np>
+    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

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 role="obj">
      <subs>
        <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">
          <subs>
            <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>
          </subs>
          <np def="def" number="sing" role="subj" locus="number">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
      </subs>
      <np def="def" number="sing" role="subj" locus="number">
        <word posp="noun" gloss="cat"/>
      </np>
    </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 role="obj">
      <subs>
        <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">
          <subs>
            <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>
          </subs>
          <np def="def" number="sing" role="subj" locus="number">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
      </subs>
      <np def="def" number="sing" role="subj" locus="number">
        <word posp="noun" gloss="cat"/>
      </np>
    </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>
    <np role="obj">
      <subs>
-        <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">
          <subs>
            <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>
          </subs>
          <np def="def" number="sing" role="subj" locus="number">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+          <word posp="verb" gloss="catch"/>
+        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
  </s>
</example>

module casemarking:

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

module propagatenumber:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="NOM" gender="cl.7">
+    <np role="obj" case="NOM" gender="cl.7" number="sing">
      <subs>
-        <np role="obj" case="NOM" gender="cl.7">
+        <np role="obj" case="NOM" gender="cl.7" number="sing">
          <subs>
            <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>
          </subs>
          <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
  </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="ERG">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="NOM" gender="cl.7" number="sing">
+    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <subs>
-        <np role="obj" case="NOM" gender="cl.7" number="sing">
+        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
          <subs>
            <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>
          </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
+          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
+      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </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:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
    </np>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
          <subs>
            <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>
          </subs>
          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

copyuptophrase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
    </np>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
          <subs>
            <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>
          </subs>
          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </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" obj="3.sing.cl.7">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </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="1excl.sing" obj="3.sing.cl.7">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

prodrop:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
-    </np>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
          <subs>
            <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>
          </subs>
          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
+          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+              <thingy type="vpta" function="proclitic" gloss="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>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
+          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+            <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
+      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
-        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <thingy type="vpta" function="proclitic" gloss="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>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <word posp="noun" gloss="mouse"/>
      </np>
-        </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
        <word posp="verb" gloss="catch"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <word posp="noun" gloss="cat"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
-          <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">
            <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
            <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
          </word>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-        <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" obj="3.sing.cl.7"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-      <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.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for mouse/noun/gender/optional
Got cl.7
About to call getSlotValue for cat/noun/gender/optional
Got cl.7
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
            <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
            <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
          </word>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+        <thingy type="noungender" function="prefix" gloss="cl.7"/>
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
      <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.7"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <subs>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-          <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <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"/>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-          </word>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-        </vp>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.7">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
    <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.7"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <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"/>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <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.7"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x261;&#x2B1;&#x2B7; a &#x1D51;&#x1C3;&#x2B7;" slots="Cip Cir">ɡʱʷaᵑǃʷ</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="s&#x2B2;+p&#x2B0;&#x2E4; &#x1D4A; &#x290;&#x2B2;+d&#x2B1;&#x2B7; a &#xA712; t&#x2E0;" slots="Cir Cfr">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;" slots="Cir Cfr">jɵdʲuː̰꜖tɬʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/ᵑǃʷ/ + /sʲ+pʰˤ/ > // + /sʲ+pʰˤ/
/d͡zʲ/ + /ʛˤ/ > // + /q͡χˤ/
/d͡zʲ/ + /sˤ+qʰˠ/ > // + /d͡zʲ/
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x261;&#x2B1;&#x2B7; a &#x1D51;&#x1C3;&#x2B7;" slots="Cip Cir">ɡʱʷaᵑǃʷ</thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="s&#x2B2;+p&#x2B0;&#x2E4; &#x1D4A; &#x290;&#x2B2;+d&#x2B1;&#x2B7; a &#xA712; t&#x2E0;" slots="Cir Cfr">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x261;&#x2B1;&#x2B7; a" underlying="&#x261;&#x2B1;&#x2B7; a &#x1D51;&#x1C3;&#x2B7;">ɡʱʷa</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="s&#x2B2;+p&#x2B0;&#x2E4; &#x1D4A; &#x290;&#x2B2;+d&#x2B1;&#x2B7; a &#xA712; t&#x2E0;">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;" slots="Cip Cfp">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;" slots="Cir Cfr">jɵdʲuː̰꜖tɬʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;">jɵdʲuː̰꜖tɬʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x261;&#x2B1;&#x2B7; a" underlying="&#x261;&#x2B1;&#x2B7; a &#x1D51;&#x1C3;&#x2B7;">ɡʱʷa</thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="s&#x2B2;+p&#x2B0;&#x2E4; &#x1D4A; &#x290;&#x2B2;+d&#x2B1;&#x2B7; a &#xA712; t&#x2E0;">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="&#x261;&#x2B2; i &#x281;&#x2E0;">ɡʲiʁˠ</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.7" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;">jɵdʲuː̰꜖tɬʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" underlying="&#x261;&#x2B1;&#x2B7; a &#x1D51;&#x1C3;&#x2B7;">ɡʱʷa</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ">ɡʲiʁˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.7">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ">ɡʲiʁˠ</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.7">jɵdʲuː̰꜖tɬʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡʱʷaᵑǃʷ-&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;sʲpʰˤᵊʐʲdʱʷa꜒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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛˤiːdʱʲɵ꜒꜖ħˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡʲiʁˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˠpʼˤõː꜖fʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʰˠãː꜒bˠ&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ʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀʷɛɹˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&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;3.sing.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jɵdʲuː̰꜖tɬʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ zʷɢʲutˠ zʲpʼˠuɰˠ ɡʱʷasʲpʰˤᵊʐʲdʱʷa꜒tˠ zʷɢʲutˠ t͡sʼˤɛ̃ːq͡χˤiːdʱʲɵ꜒꜖ħˠ zʲpʼˠuɰˠ ɡʲiʁˠ zˠpʼˤõː꜖fʲ zʷɢʲutˠ t͡sʼˤɛ̃ːd͡zʲãː꜒bˠ zʲpʼˠuɰˠ ᶢǀʷɛɹˠ ɡʲiʁˠ jɵdʲuː̰꜖tɬʲ</p>
+  <p>zwħgiuto zwħgiuto zibpouẅo ghwasipḥrzidhwāto zwħgiuto tzʼ̣ænænqqḥiidhiɵ̀ħo zibpouẅo giiqho zobp̣ónón̠fi zwħgiuto tzʼ̣ænændzianan̄bo zibpouẅo gcwæɹo giiqho yɵdiuủtlhi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ɡʱʷaᵑǃʷ-</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>sʲpʰˤᵊʐʲdʱʷa꜒tˠ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʛˤiːdʱʲɵ꜒꜖ħˠ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ɡʲiʁˠ</o>
+      <g>3.sing.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>zˠpʼˤõː꜖fʲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>sˤqʰˠãː꜒bˠ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǀʷɛɹˠ</o>
+      <g>1excl.sing.POS.active</g>
+    </w>
+    <w>
+      <o>ɡʲiʁˠ</o>
+      <g>3.sing.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>jɵdʲuː̰꜖tɬʲ</o>
+      <g>pat</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 RelN:

<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>
+      <subs>
        <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>
+          <subs>
            <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>
+              <subs>
                <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">
+              </subs>
+              <np def="def" number="sing" role="obj" locus="number">
                <word posp="noun" gloss="cheese"/>
              </np>
-              </relp>
            </np>
-          </relp>
+          </subs>
+          <np def="def" number="sing" role="subj" locus="number">
+            <word posp="noun" gloss="mouse"/>
          </np>
-      </relp>
        </np>
+      </subs>
+      <np def="def" number="sing" role="subj" locus="number">
+        <word posp="noun" gloss="cat"/>
+      </np>
+    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

<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">
      <subs>
        <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">
          <subs>
            <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 number="sing" def="neither" role="owned" locus="number">
+                  <word person="1excl" number="sing" posp="pron"/>
+                </np>
+                <np role="owner" number="sing">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="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>
                  </subs>
+                </np>
+              </np>
              <np def="def" number="sing" role="obj" locus="number">
                <word posp="noun" gloss="cheese"/>
              </np>
            </np>
          </subs>
          <np def="def" number="sing" role="subj" locus="number">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
      </subs>
      <np def="def" number="sing" role="subj" locus="number">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
  </s>
</example>
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>
    <np role="obj">
      <subs>
-        <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">
          <subs>
-            <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 number="sing" def="neither" role="owned" locus="number">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
                <np role="owner" number="sing">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="buy"/>
                    </vp>
                  </subs>
                </np>
              </np>
              <np def="def" number="sing" role="obj" locus="number">
                <word posp="noun" gloss="cheese"/>
              </np>
            </np>
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+              <word posp="verb" gloss="eat"/>
+            </vp>
          </subs>
          <np def="def" number="sing" role="subj" locus="number">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+          <word posp="verb" gloss="catch"/>
+        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="pat"/>
+    </vp>
  </s>
</example>

module casemarking:

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

module markowner:

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

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="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="NOM">
+    <np role="obj" case="NOM" gender="cl.7">
      <subs>
-        <np role="obj" case="NOM">
+        <np role="obj" case="NOM" gender="cl.7">
          <subs>
-            <np role="obj" case="NOM">
-              <np type="owner_owned">
+            <np role="obj" case="NOM" gender="cl.3" number="sing">
+              <np type="owner_owned" gender="cl.3" number="sing">
                <np number="sing" def="neither" role="owned" locus="number">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
-                <np role="owner" number="sing" case="GEN">
+                <np role="owner" number="sing" case="GEN" gender="cl.3">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="buy"/>
                    </vp>
                  </subs>
                </np>
              </np>
-              <np def="def" number="sing" role="obj" locus="number">
+              <np def="def" number="sing" role="obj" locus="number" gender="cl.8">
                <word posp="noun" gloss="cheese"/>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
          </subs>
-          <np def="def" number="sing" role="subj" locus="number">
+          <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number">
+      <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

module propagatenumber:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="NOM" gender="cl.7">
+    <np role="obj" case="NOM" gender="cl.7" number="sing">
      <subs>
-        <np role="obj" case="NOM" gender="cl.7">
+        <np role="obj" case="NOM" gender="cl.7" number="sing">
          <subs>
            <np role="obj" case="NOM" gender="cl.3" number="sing">
              <np type="owner_owned" gender="cl.3" number="sing">
                <np number="sing" def="neither" role="owned" locus="number">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
                <np role="owner" number="sing" case="GEN" gender="cl.3">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="buy"/>
                    </vp>
                  </subs>
                </np>
              </np>
              <np def="def" number="sing" role="obj" locus="number" gender="cl.8">
                <word posp="noun" gloss="cheese"/>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
          </subs>
          <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
  </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="ERG">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="NOM" gender="cl.7" number="sing">
+    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <subs>
-        <np role="obj" case="NOM" gender="cl.7" number="sing">
+        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
          <subs>
-            <np role="obj" case="NOM" gender="cl.3" number="sing">
+            <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner">
              <np type="owner_owned" gender="cl.3" number="sing">
-                <np number="sing" def="neither" role="owned" locus="number">
+                <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
-                <np role="owner" number="sing" case="GEN" gender="cl.3">
+                <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="buy"/>
                    </vp>
                  </subs>
                </np>
              </np>
-              <np def="def" number="sing" role="obj" locus="number" gender="cl.8">
+              <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
          </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
+          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.7">
+      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </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:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
    </np>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
          <subs>
            <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner">
              <np type="owner_owned" gender="cl.3" number="sing">
                <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3">
-                  <word person="1excl" number="sing" posp="pron"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
                </np>
                <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="buy"/>
                    </vp>
                  </subs>
                </np>
              </np>
              <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="eat"/>
            </vp>
          </subs>
          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

copyuptophrase:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
    </np>
-    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
+    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner" person="1excl">
      <subs>
-        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner">
+        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner" person="1excl">
          <subs>
-            <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner">
+            <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner" person="1excl">
              <np type="owner_owned" gender="cl.3" number="sing">
-                <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3">
+                <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
                </np>
                <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="buy"/>
                    </vp>
                  </subs>
                </np>
              </np>
              <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </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" obj="1excl.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
          </subs>
          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </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" obj="1excl.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </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="1excl.sing" obj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

prodrop:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="ERG" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
-    </np>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner" person="1excl">
      <subs>
        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner" person="1excl">
          <subs>
            <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner" person="1excl">
              <np type="owner_owned" gender="cl.3" number="sing">
                <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
                </np>
                <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="buy"/>
                    </vp>
                  </subs>
                </np>
              </np>
              <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner">
                <word posp="noun" gloss="cheese"/>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
          </subs>
          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

addclitics:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner" person="1excl">
+      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner" person="1excl">
+          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <subs>
            <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner" person="1excl">
-              <np type="owner_owned" gender="cl.3" number="sing">
-                <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl">
+              <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+              <thingy type="npcase" function="proclitic" gloss="NOM"/>
+              <np type="owner_owned" gender="cl.3" number="sing" case="NOM">
+                <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl" case="NOM">
+                  <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
                </np>
                <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
+                  <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+                      <thingy type="vpta" function="proclitic" gloss="PAST"/>
                      <word posp="verb" gloss="buy"/>
+                      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                    </vp>
                  </subs>
                </np>
              </np>
-              <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner">
+              <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM">
+                <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
                <word posp="noun" gloss="cheese"/>
              </np>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
+              <thingy type="vpta" function="proclitic" gloss="PAST"/>
+              <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
+          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+            <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner">
+      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
+      <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner" person="1excl">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
-        <np role="obj" case="NOM" gender="cl.7" number="sing" possessor="no.owner" person="1excl">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
-            <np role="obj" case="NOM" gender="cl.3" number="sing" possessor="no.owner" person="1excl">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
        <np type="owner_owned" gender="cl.3" number="sing" case="NOM">
          <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl" case="NOM">
            <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
            <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
          </np>
          <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
            <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
            <subs>
              <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                <thingy type="vpta" function="proclitic" gloss="PAST"/>
                <word posp="verb" gloss="buy"/>
                <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              </vp>
            </subs>
          </np>
        </np>
-              <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM">
+        <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <word posp="noun" gloss="cheese"/>
        </np>
-            </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
          <word posp="verb" gloss="eat"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <word posp="noun" gloss="mouse"/>
      </np>
-        </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
        <word posp="verb" gloss="catch"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.7" possessor="no.owner" case="NOM">
+    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <word posp="noun" gloss="cat"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
-        <np type="owner_owned" gender="cl.3" number="sing" case="NOM">
-          <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl" case="NOM">
+        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl" case="NOM" gender="cl.3">
          <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <word posp="verb" gloss="buy"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
-        </np>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <word posp="noun" gloss="cheese"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
          <word posp="verb" gloss="eat"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <word posp="noun" gloss="mouse"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
        <word posp="verb" gloss="catch"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl" case="NOM" gender="cl.3">
          <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
-              <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"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-          <word posp="noun" gloss="cheese"/>
+          <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-          <word posp="verb" gloss="eat"/>
+          <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-        <word posp="verb" gloss="catch"/>
+        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="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="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for cheese/noun/gender/optional
Got cl.8
About to call getSlotValue for mouse/noun/gender/optional
Got cl.7
About to call getSlotValue for cat/noun/gender/optional
Got cl.7
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <subs>
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
        <thingy type="npcase" function="proclitic" gloss="NOM"/>
        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl" case="NOM" gender="cl.3">
          <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <thingy type="vpta" function="proclitic" gloss="PAST"/>
              <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            </vp>
          </subs>
        </np>
        <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+          <thingy type="noungender" function="prefix" gloss="cl.8"/>
          <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
          <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
        <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+        <thingy type="noungender" function="prefix" gloss="cl.7"/>
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
        <thingy type="vpta" function="proclitic" gloss="PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
+      <thingy type="noungender" function="prefix" gloss="cl.7"/>
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="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="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
+  <flat>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <subs>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <subs>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl" case="NOM" gender="cl.3">
    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM"/>
-        </np>
-        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-          <subs>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-            </vp>
-          </subs>
-        </np>
-        <np def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="noungender" function="prefix" gloss="cl.8"/>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-        </vp>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl">
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="noungender" function="prefix" gloss="cl.7"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
    <thingy type="vpobj" function="proclitic" gloss="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="1excl.sing"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    </vp>
-  </s>
+  </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="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.8"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.7"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="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="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;" slots="Cir Cfr">mˠœ#ː꜒kʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x290;&#x2E0;+ht&#x2B7; &#x275;&#x2D0; &#xA716;&#xA712; n&#x32A;&#x2B2;" slots="Cir Cfr">ʐˠhtʷɵː꜖꜒n̪ʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.8" attach="prefix" ph="d&#x361;z&#x2E4; &#x254; s&#x2B2;+p&#x2B0;&#x2E4;" slots="Cip Cir">d͡zˤɔsʲpʰˤ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl" ph="s&#x2B2;+p&#x2B0;&#x2E4; &#x1D4A; &#x290;&#x2B2;+d&#x2B1;&#x2B7; a &#xA712; t&#x2E0;" slots="Cir Cfr">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;" slots="Cip Cfp">dʱˤɛʈʼˠ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="&#x1DA2;&#x1C3;&#x2B7; o# &#xA712; &#x27E;&#x2E0;" slots="Cir Cfr">ᶢǃʷo#꜒ɾˠ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;" slots="Cip Cfp">dʱˤɛʈʼˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;" slots="Cip Cfp">dʱˤɛʈʼˠ</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="1excl.sing" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;" slots="Cir Cfr">jɵdʲuː̰꜖tɬʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/sʲ+pʰˤ/ + /sʲ+pʰˤ/ > // + /sʲ+pʰˤ/
/d͡zʲ/ + /ʛˤ/ > // + /q͡χˤ/
/d͡zʲ/ + /sˤ+qʰˠ/ > // + /d͡zʲ/
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;" slots="Cir Cfr">mˠœ#ː꜒kʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x290;&#x2E0;+ht&#x2B7; &#x275;&#x2D0; &#xA716;&#xA712; n&#x32A;&#x2B2;" slots="Cir Cfr">ʐˠhtʷɵː꜖꜒n̪ʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;">mˠœ#ː꜒kʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x290;&#x2E0;+ht&#x2B7; &#x275;&#x2D0; &#xA716;&#xA712; n&#x32A;&#x2B2;">ʐˠhtʷɵː꜖꜒n̪ʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.8" attach="prefix" ph="d&#x361;z&#x2E4; &#x254; s&#x2B2;+p&#x2B0;&#x2E4;" slots="Cip Cir">d͡zˤɔsʲpʰˤ</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl" ph="s&#x2B2;+p&#x2B0;&#x2E4; &#x1D4A; &#x290;&#x2B2;+d&#x2B1;&#x2B7; a &#xA712; t&#x2E0;" slots="Cir Cfr">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;" slots="Cip Cfp">dʱˤɛʈʼˠ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="&#x1DA2;&#x1C3;&#x2B7; o# &#xA712; &#x27E;&#x2E0;" slots="Cir Cfr">ᶢǃʷo#꜒ɾˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.8" attach="prefix" ph="d&#x361;z&#x2E4; &#x254;" underlying="d&#x361;z&#x2E4; &#x254; s&#x2B2;+p&#x2B0;&#x2E4;">d͡zˤɔ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl" ph="s&#x2B2;+p&#x2B0;&#x2E4; &#x1D4A; &#x290;&#x2B2;+d&#x2B1;&#x2B7; a &#xA712; t&#x2E0;">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;">dʱˤɛʈʼˠ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="&#x1DA2;&#x1C3;&#x2B7; o# &#xA712; &#x27E;&#x2E0;">ᶢǃʷo#꜒ɾˠ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" ph="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" slots="Cir Cfr">ʛˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;" slots="Cip Cfp">dʱˤɛʈʼˠ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;" slots="Cir Cfr">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;">dʱˤɛʈʼˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;" slots="Cip Cir">t͡sʼˤɛ#ːd͡zʲ</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" ph="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;" slots="Cir Cfr">sˤqʰˠa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;" slots="Cip Cfp">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;" slots="Cip Cfp">dʱˤɛʈʼˠ</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="1excl.sing" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;" slots="Cir Cfr">jɵdʲuː̰꜖tɬʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;">dʱˤɛʈʼˠ</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="1excl.sing" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;">jɵdʲuː̰꜖tɬʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;">mˠœ#ː꜒kʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x290;&#x2E0;+ht&#x2B7; &#x275;&#x2D0; &#xA716;&#xA712; n&#x32A;&#x2B2;">ʐˠhtʷɵː꜖꜒n̪ʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.8" attach="prefix" ph="d&#x361;z&#x2E4; &#x254;" underlying="d&#x361;z&#x2E4; &#x254; s&#x2B2;+p&#x2B0;&#x2E4;">d͡zˤɔ</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl" ph="s&#x2B2;+p&#x2B0;&#x2E4; &#x1D4A; &#x290;&#x2B2;+d&#x2B1;&#x2B7; a &#xA712; t&#x2E0;">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;">dʱˤɛʈʼˠ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="&#x1DA2;&#x1C3;&#x2B7; o# &#xA712; &#x27E;&#x2E0;">ᶢǃʷo#꜒ɾˠ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" ph="q&#x361;&#x3C7;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;">dʱˤɛʈʼˠ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="z&#x2E0;+p&#x2BC;&#x2E4; o#&#x2D0; &#xA716; f&#x2B2;">zˠpʼˤo#ː꜖fʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.7" attach="prefix" ph="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0;" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" ph="d&#x361;z&#x2B2; a#&#x2D0; &#xA712; b&#x2E0;" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active" ph="&#x1DA2;&#x1C0;&#x2B7; &#x25B; &#x279;&#x2E0;">ᶢǀʷɛɹˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;">dʱˤɛʈʼˠ</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="1excl.sing" ph="j &#x275; d&#x2B2; u&#x2D0; &#x330;&#xA716; t&#x26C;&#x2B2;">jɵdʲuː̰꜖tɬʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing">sˤqʲɔ#qʼʲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM">mˠœ#ː꜒kʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">ʐˠhtʷɵː꜖꜒n̪ʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.8" underlying="d&#x361;z&#x2E4; &#x254; s&#x2B2;+p&#x2B0;&#x2E4;">d͡zˤɔ</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.8" possessor="no.owner" case="NOM" person="1excl">sʲpʰˤᵊʐʲdʱʷa꜒tˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ">dʱˤɛʈʼˠ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">ᶢǃʷo#꜒ɾˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" underlying="&#x29B;&#x2E4; i&#x2D0; d&#x2B1;&#x2B2; &#x275; &#xA712;&#xA716; &#x127;&#x2E0;">q͡χˤiːdʱʲɵ꜒꜖ħˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ">dʱˤɛʈʼˠ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">zˠpʼˤo#ː꜖fʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.7" underlying="t&#x361;s&#x2BC;&#x2E4; &#x25B;#&#x2D0; d&#x361;z&#x2B2;">t͡sʼˤɛ#ː</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.7" possessor="no.owner" case="NOM" person="1excl" underlying="s&#x2E4;+q&#x2B0;&#x2E0; a#&#x2D0; &#xA712; b&#x2E0;">d͡zʲa#ː꜒bˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="1excl.sing.POS.active">ᶢǀʷɛɹˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ">dʱˤɛʈʼˠ</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="1excl.sing">jɵdʲuː̰꜖tɬʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʲɔ̃qʼʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mˠœ̃ː꜒kʲ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʐˠhtʷɵː꜖꜒n̪ʲ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zˤɔsʲpʰˤ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.8&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʲpʰˤᵊʐʲdʱʷa꜒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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʱˤɛʈʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&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;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʛˤiːdʱʲɵ꜒꜖ħˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʱˤɛʈʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zˠpʼˤõː꜖fʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼˤɛ̃ːd͡zʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʰˠãː꜒bˠ&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ʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀʷɛɹˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&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;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jɵdʲuː̰꜖tɬʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ zʷɢʲutˠ zʷɢʲutˠ sˤqʲɔ̃qʼʲ mˠœ̃ː꜒kʲ zʷɢʲutˠ zʲpʼˠuɰˠ ʐˠhtʷɵː꜖꜒n̪ʲ zʷɢʲutˠ d͡zˤɔsʲpʰˤᵊʐʲdʱʷa꜒tˠ zʲpʼˠuɰˠ dʱˤɛʈʼˠ ᶢǃʷõ꜒ɾˠ zʷɢʲutˠ t͡sʼˤɛ̃ːq͡χˤiːdʱʲɵ꜒꜖ħˠ zʲpʼˠuɰˠ dʱˤɛʈʼˠ zˠpʼˤõː꜖fʲ zʷɢʲutˠ t͡sʼˤɛ̃ːd͡zʲãː꜒bˠ zʲpʼˠuɰˠ ᶢǀʷɛɹˠ dʱˤɛʈʼˠ jɵdʲuː̰꜖tɬʲ</p>
+  <p>zwħgiuto zwħgiuto zwħgiuto ṣqiongqi moœnœn̄ki zwħgiuto zibpouẅo rzohtwɵɵ́ni zwħgiuto dẓosipḥrzidhwāto zibpouẅo dḥæʈʼo gqwón̄ro zwħgiuto tzʼ̣ænænqqḥiidhiɵ̀ħo zibpouẅo dḥæʈʼo zobp̣ónón̠fi zwħgiuto tzʼ̣ænændzianan̄bo zibpouẅo gcwæɹo dḥæʈʼo yɵdiuủtlhi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>sˤqʲɔ̃qʼʲ</o>
+      <g>3.sing.cl.3.sing</g>
+    </w>
+    <w>
+      <o>mˠœ̃ː꜒kʲ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ʐˠhtʷɵː꜖꜒n̪ʲ</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>d͡zˤɔsʲpʰˤ-</o>
+      <g>cl.8</g>
+    </w>
+    <w>
+      <o>sʲpʰˤᵊʐʲdʱʷa꜒tˠ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʱˤɛʈʼˠ</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>ᶢǃʷõ꜒ɾˠ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>ʛˤiːdʱʲɵ꜒꜖ħˠ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʱˤɛʈʼˠ</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>zˠpʼˤõː꜖fʲ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>t͡sʼˤɛ̃ːd͡zʲ-</o>
+      <g>cl.7</g>
+    </w>
+    <w>
+      <o>sˤqʰˠãː꜒bˠ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǀʷɛɹˠ</o>
+      <g>1excl.sing.POS.active</g>
+    </w>
+    <w>
+      <o>dʱˤɛʈʼˠ</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>jɵdʲuː̰꜖tɬʲ</o>
+      <g>pat</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

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="ERG" gender="cl.3" number="sing">
+    <np role="subj" case="ERG" gender="cl.3" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.2" number="sing">
-        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2">
+        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3">
          <word posp="noun" gloss="boy"/>
        </np>
-        <np role="owner" number="sing" case="GEN" gender="cl.3">
+        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <subs>
-            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2">
+            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
              <word posp="noun" gloss="girl"/>
            </np>
-            <np number="sing" role="obj" locus="number" case="NOM" gender="cl.1">
+            <np number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner">
              <word posp="noun" gloss="apple"/>
              <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="give"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2">
+    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="teacher"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
  </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="ERG" gender="cl.3" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.2" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <subs>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
              <word posp="noun" gloss="girl"/>
            </np>
            <np number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner">
-              <word posp="noun" gloss="apple"/>
              <word gloss="a" posp="det"/>
+              <word posp="noun" gloss="apple"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="give"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="teacher"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="surprise"/>
    </vp>
  </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="ERG" gender="cl.3" number="sing" possessor="no.owner">
      <np type="owner_owned" gender="cl.2" number="sing">
        <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
          <subs>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
              <word posp="noun" gloss="girl"/>
            </np>
            <np number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner">
              <word gloss="a" posp="det"/>
              <word posp="noun" gloss="apple"/>
            </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" indobj="3.sing.cl.2" obj="3.sing.cl.1">
              <word posp="verb" gloss="give"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="teacher"/>
    </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" indobj="3.sing.cl.2">
      <word posp="verb" gloss="surprise"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <np type="owner_owned" gender="cl.2" number="sing" case="ERG" role="subj" possessor="no.owner">
    <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="ERG">
      <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
      <word posp="noun" gloss="boy"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <subs>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <thingy type="npcase" function="proclitic" gloss="DAT"/>
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="apple"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.2" obj="3.sing.cl.1">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.1"/>
          <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2"/>
          <word posp="verb" gloss="give"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
-    </np>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="teacher"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.2">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.3.POS.active"/>
      <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2"/>
      <word posp="verb" gloss="surprise"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="ERG"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner"/>
-    <thingy type="noungender" function="prefix" gloss="cl.1"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.1"/>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.2" obj="3.sing.cl.1"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.3.POS.active"/>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.2"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="ERG" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;" slots="Cir Cfr">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;" slots="Cip Cir">ʡˠiᵏǀʲ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;" slots="Cir Cfr">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.1.OBJ" ph="s&#x2B2;+p&#x2BC;&#x2B2; &#x25B; &#x261;&#x2B1;&#x2E4;" slots="Cip Cfp">sʲpʼʲɛɡʱˤ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;" slots="Cip Cfp">tʰʲakʼˠ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.2" obj="3.sing.cl.1" ph="&#x1D51;&#x1C1;&#x2B1;&#x2B2; y &#xA712; p&#x2E0;" slots="Cir Cfr">ᵑǁʱʲy꜒pˠ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="b&#x2B1;&#x2E4; i&#x2D0; t&#x361;&#x283; &#x275;&#x2D0; l&#x2E0;" slots="C C">bʱˤiːt͡ʃɵːlˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.3.POS.active" ph="q&#x2B0;&#x2E4; i &#x3B8;&#x2E4;" slots="Cip Cfp">qʰˤiθˤ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;" slots="Cip Cfp">tʰʲakʼˠ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.2" ph="&#x290;&#x2E0;+&#x288;&#x2E0; &#x275;&#x2D0; s&#x2B2;+t&#x2B2; a#&#x2D0; &#x330;&#xA712; k&#x2BC;&#x2E4;" slots="Cir Cfr">ʐˠʈˠɵːsʲtʲa#ː̰꜒kʼˤ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʼˠ/ + /qʷ/ > // + /qʷ/
/tʼˠ/ + /ʃʲ+htˠ/ > /tʼˠ/ + /ʃʲ+htˠ/
/ᵏǀʲ/ + /ʃʲ+kʲ/ > // + /ʃʲ+kʲ/
/tʼˠ/ + /bʱˤ/ > // + /bʱˤ/
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="ERG" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;" slots="Cir Cfr">qʷɞ#ː̰꜒ɾˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="ERG" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;" slots="Cir Cfr">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;" slots="Cip Cir">ʡˠiᵏǀʲ</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;" slots="Cir Cfr">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.1.OBJ" ph="s&#x2B2;+p&#x2BC;&#x2B2; &#x25B; &#x261;&#x2B1;&#x2E4;" slots="Cip Cfp">sʲpʼʲɛɡʱˤ</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;" slots="Cip Cfp">tʰʲakʼˠ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.2" obj="3.sing.cl.1" ph="&#x1D51;&#x1C1;&#x2B1;&#x2B2; y &#xA712; p&#x2E0;" slots="Cir Cfr">ᵑǁʱʲy꜒pˠ</word>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.1.OBJ" ph="s&#x2B2;+p&#x2BC;&#x2B2; &#x25B; &#x261;&#x2B1;&#x2E4;">sʲpʼʲɛɡʱˤ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;">tʰʲakʼˠ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.2" obj="3.sing.cl.1" ph="&#x1D51;&#x1C1;&#x2B1;&#x2B2; y &#xA712; p&#x2E0;">ᵑǁʱʲy꜒pˠ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="b&#x2B1;&#x2E4; i&#x2D0; t&#x361;&#x283; &#x275;&#x2D0; l&#x2E0;" slots="C C">bʱˤiːt͡ʃɵːlˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.3.POS.active" ph="q&#x2B0;&#x2E4; i &#x3B8;&#x2E4;" slots="Cip Cfp">qʰˤiθˤ</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;" slots="Cip Cfp">tʰʲakʼˠ</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.2" ph="&#x290;&#x2E0;+&#x288;&#x2E0; &#x275;&#x2D0; s&#x2B2;+t&#x2B2; a#&#x2D0; &#x330;&#xA712; k&#x2BC;&#x2E4;" slots="Cir Cfr">ʐˠʈˠɵːsʲtʲa#ː̰꜒kʼˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="b&#x2B1;&#x2E4; i&#x2D0; t&#x361;&#x283; &#x275;&#x2D0; l&#x2E0;">bʱˤiːt͡ʃɵːlˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.3.POS.active" ph="q&#x2B0;&#x2E4; i &#x3B8;&#x2E4;">qʰˤiθˤ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;">tʰʲakʼˠ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.2" ph="&#x290;&#x2E0;+&#x288;&#x2E0; &#x275;&#x2D0; s&#x2B2;+t&#x2B2; a#&#x2D0; &#x330;&#xA712; k&#x2BC;&#x2E4;">ʐˠʈˠɵːsʲtʲa#ː̰꜒kʼˤ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="ERG" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;">qʷɞ#ː̰꜒ɾˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;">ʐˠkʰʷɞʃʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x295;&#x2E0; o &#x330;&#xA712; s&#x2E4;">ʕˠo̰꜒sˤ</word>
-    <thingy type="noungender" function="prefix" gloss="cl.1" attach="prefix" ph="&#x2A1;&#x2E0; i" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x283;&#x2B2;+k&#x2B2; &#x289;&#x2D0; hp&#x2E4; e &#xA716;&#xA712; &#x14B;&#x2E0;">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.1.OBJ" ph="s&#x2B2;+p&#x2BC;&#x2B2; &#x25B; &#x261;&#x2B1;&#x2E4;">sʲpʼʲɛɡʱˤ</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;">tʰʲakʼˠ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.2" obj="3.sing.cl.1" ph="&#x1D51;&#x1C1;&#x2B1;&#x2B2; y &#xA712; p&#x2E0;">ᵑǁʱʲy꜒pˠ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;">ʐˠkʰʷɞʃʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="b&#x2B1;&#x2E4; i&#x2D0; t&#x361;&#x283; &#x275;&#x2D0; l&#x2E0;">bʱˤiːt͡ʃɵːlˠ</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.3.POS.active" ph="q&#x2B0;&#x2E4; i &#x3B8;&#x2E4;">qʰˤiθˤ</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;">tʰʲakʼˠ</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.2" ph="&#x290;&#x2E0;+&#x288;&#x2E0; &#x275;&#x2D0; s&#x2B2;+t&#x2B2; a#&#x2D0; &#x330;&#xA712; k&#x2BC;&#x2E4;">ʐˠʈˠɵːsʲtʲa#ː̰꜒kʼˤ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing">sˤqʲɔ#qʼʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.2" possessor="3.sing.cl.3" case="ERG">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.2" possessor="no.owner">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner">ʕˠo̰꜒sˤ</word>
+    <thingy type="noungender" function="prefix" gloss="cl.1" underlying="&#x2A1;&#x2E0; i &#x1D4F;&#x1C0;&#x2B2;">ʡˠi</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="NOM" gender="cl.1" possessor="no.owner">ʃʲkʲʉːhpˤe꜖꜒ŋˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.1.OBJ">sʲpʼʲɛɡʱˤ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ">tʰʲakʼˠ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.2" obj="3.sing.cl.1">ᵑǁʱʲy꜒pˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner">bʱˤiːt͡ʃɵːlˠ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.3.POS.active">qʰˤiθˤ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ">tʰʲakʼˠ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.2">ʐˠʈˠɵːsʲtʲa#ː̰꜒kʼˤ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀʰˠᵊt͡sʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʲɔ̃qʼʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʷɞ̃ː̰꜒ɾˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&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;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲhtˠḭ꜖ʈʼˠ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʕˠo̰꜒sˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&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;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲkʲʉːhpˤe꜖꜒ŋˠ&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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʲpʼʲɛɡʱˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰʲakʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵑǁʱʲy꜒pˠ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&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;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&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; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʰˤiθˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰʲakʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʐˠʈˠɵːsʲtʲãː̰꜒kʼˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surprise&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ᵏǀʰˠᵊt͡sʼˠ sˤqʲɔ̃qʼʲ ʂˠʈʰʲɛ̃ːqʷɞ̃ː̰꜒ɾˤ zʷɢʲutˠ zʷɢʲutˠ ʐˠkʰʷɞʃʲ ʂˠʈʰʲɛ̃ːtʼˠʃʲhtˠḭ꜖ʈʼˠ zʷɢʲutˠ ʕˠo̰꜒sˤ ʡˠiʃʲkʲʉːhpˤe꜖꜒ŋˠ zʲpʼˠuɰˠ sʲpʼʲɛɡʱˤ tʰʲakʼˠ ᵑǁʱʲy꜒pˠ zʷɢʲutˠ ʐˠkʰʷɞʃʲ ʂˠʈʰʲɛ̃ːbʱˤiːt͡ʃɵːlˠ zʲpʼˠuɰˠ qʰˤiθˤ tʰʲakʼˠ ʐˠʈˠɵːsʲtʲãː̰꜒kʼˤ</p>
+  <p>zwħgiuto chotzʼo ṣqiongqi rsorthiænænqwɞnɞñṛ zwħgiuto zwħgiuto rzoquhɞshi rsorthiænændtoshihtoỉʈʼo zwħgiuto għoó̃ṣ ʡoishikiʉʉhp̣éngo zibpouẅo sibpiægḥ thiagko ngxiǖpo zwħgiuto rzoquhɞshi rsorthiænænbḥiidjɵɵlo zibpouẅo qḥiþ̣ thiagko rzortoɵɵsitianañgḳ</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˠᵊt͡sʼˠ</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>sˤqʲɔ̃qʼʲ</o>
+      <g>3.sing.cl.3.sing</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>qʷɞ̃ː̰꜒ɾˤ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʐˠkʰʷɞʃʲ</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>ʃʲhtˠḭ꜖ʈʼˠ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʕˠo̰꜒sˤ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>ʡˠiᵏǀʲ-</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ʃʲkʲʉːhpˤe꜖꜒ŋˠ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>sʲpʼʲɛɡʱˤ</o>
+      <g>3.sing.cl.1.OBJ</g>
+    </w>
+    <w>
+      <o>tʰʲakʼˠ</o>
+      <g>3.sing.cl.2.INDOBJ</g>
+    </w>
+    <w>
+      <o>ᵑǁʱʲy꜒pˠ</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʐˠkʰʷɞʃʲ</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>bʱˤiːt͡ʃɵːlˠ</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>qʰˤiθˤ</o>
+      <g>3.sing.cl.3.POS.active</g>
+    </w>
+    <w>
+      <o>tʰʲakʼˠ</o>
+      <g>3.sing.cl.2.INDOBJ</g>
+    </w>
+    <w>
+      <o>ʐˠʈˠɵːsʲtʲãː̰꜒kʼˤ</o>
+      <g>surprise</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module addgender:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/gender/optional
Got cl.2
About to call getSlotValue for girl/noun/gender/optional
Got cl.2
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="ERG"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
+      <thingy type="noungender" function="prefix" gloss="cl.2"/>
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner"/>
    </np>
    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" person="1excl" case="NOM" gender="cl.3" tr="rheme">
      <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" tr="rheme"/>
    </np>
    <np role="owner" number="sing" case="GEN" gender="cl.3" possessor="no.owner" person="2">
      <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
      <subs>
        <np number="sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" person="2">
          <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">
          <thingy type="vpta" function="proclitic" gloss="PRES"/>
          <thingy type="vpobj" function="proclitic" gloss="2.sing"/>
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        </vp>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.2" obj="1excl.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
      <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
      <thingy type="vpindobj" function="proclitic" gloss="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.2" obj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ERG"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <thingy type="noungender" function="prefix" gloss="cl.2"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" tr="rheme"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active"/>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-    <thingy type="vpindobj" function="proclitic" gloss="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.2" obj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;" slots="Cir Cfr">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" tr="rheme" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;" slots="Cir Cfr">mˠœ#ː꜒kʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;" slots="Cip Cfp">ʒˠʈʲa#ʂʲ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x290;&#x2E0;+&#x288;&#x2B0;&#x2E0; &#x275;&#x2D0; &#xA716; &#x14B;&#x2E4;" slots="Cir Cfr">ʐˠʈʰˠɵː꜖ŋˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="&#x28B;&#x2E0; i &#x278;&#x2B2;" slots="Cip Cfp">ʋˠiɸʲ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="&#x283;&#x2E0;+q&#x2B0;&#x2E4; i &#x330;&#xA712; n&#x32A;&#x2E4;" slots="Cir Cfr">ʃˠqʰˤḭ꜒n̪ˤ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;" slots="Cip Cfp">dʱˤɛʈʼˠ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;" slots="Cip Cfp">tʰʲakʼˠ</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.2" obj="1excl.sing" ph="&#x262;&#x2B2; e &#x330;&#xA716; t&#x361;s&#x2B2;" slots="Cir Cfr">ɢʲḛ꜖t͡sʲ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/tʼˠ/ + /qʷ/ > // + /qʷ/
/tʼˠ/ + /ʃʲ+htˠ/ > /tʼˠ/ + /ʃʲ+htˠ/
<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;" slots="Cip Cfp">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;" slots="Cir Cfr">qʷɞ#ː̰꜒ɾˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;" slots="Cip Cfp">ʐˠkʰʷɞʃʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;" slots="Cip Cir">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;" slots="Cir Cfr">ʃʲhtˠḭ꜖ʈʼˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;" slots="Cip Cfp">sˤqʲɔ#qʼʲ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" tr="rheme" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;" slots="Cir Cfr">mˠœ#ː꜒kʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;" slots="Cip Cfp">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;" slots="Cip Cfp">ʒˠʈʲa#ʂʲ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x290;&#x2E0;+&#x288;&#x2B0;&#x2E0; &#x275;&#x2D0; &#xA716; &#x14B;&#x2E4;" slots="Cir Cfr">ʐˠʈʰˠɵː꜖ŋˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" tr="rheme" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;">mˠœ#ː꜒kʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;">ʒˠʈʲa#ʂʲ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x290;&#x2E0;+&#x288;&#x2B0;&#x2E0; &#x275;&#x2D0; &#xA716; &#x14B;&#x2E4;">ʐˠʈʰˠɵː꜖ŋˤ</word>
    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="&#x28B;&#x2E0; i &#x278;&#x2B2;" slots="Cip Cfp">ʋˠiɸʲ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="&#x283;&#x2E0;+q&#x2B0;&#x2E4; i &#x330;&#xA712; n&#x32A;&#x2E4;" slots="Cir Cfr">ʃˠqʰˤḭ꜒n̪ˤ</word>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="&#x28B;&#x2E0; i &#x278;&#x2B2;">ʋˠiɸʲ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="&#x283;&#x2E0;+q&#x2B0;&#x2E4; i &#x330;&#xA712; n&#x32A;&#x2E4;">ʃˠqʰˤḭ꜒n̪ˤ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;" slots="Cip Cfp">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;" slots="Cip Cfp">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;" slots="Cip Cfp">dʱˤɛʈʼˠ</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;" slots="Cip Cfp">tʰʲakʼˠ</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.2" obj="1excl.sing" ph="&#x262;&#x2B2; e &#x330;&#xA716; t&#x361;s&#x2B2;" slots="Cir Cfr">ɢʲḛ꜖t͡sʲ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;">dʱˤɛʈʼˠ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;">tʰʲakʼˠ</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.2" obj="1excl.sing" ph="&#x262;&#x2B2; e &#x330;&#xA716; t&#x361;s&#x2B2;">ɢʲḛ꜖t͡sʲ</word>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ERG" ph="&#x1D4F;&#x1C0;&#x2B0;&#x2E0; &#x1D4A; t&#x361;s&#x2BC;&#x2E0;">ᵏǀʰˠᵊt͡sʼˠ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0;" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner" ph="q&#x2B7; &#x25E;#&#x2D0; &#x330;&#xA712; &#x27E;&#x2E4;">qʷɞ#ː̰꜒ɾˤ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="&#x290;&#x2E0;+k&#x2B0;&#x2B7; &#x25E; &#x283;&#x2B2;">ʐˠkʰʷɞʃʲ</thingy>
-    <thingy type="noungender" function="prefix" gloss="cl.2" attach="prefix" ph="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner" ph="&#x283;&#x2B2;+ht&#x2E0; i &#x330;&#xA716; &#x288;&#x2BC;&#x2E0;">ʃʲhtˠḭ꜖ʈʼˠ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing" ph="s&#x2E4;+q&#x2B2; &#x254;# q&#x2BC;&#x2B2;">sˤqʲɔ#qʼʲ</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" tr="rheme" ph="m&#x2E0; &#x153;#&#x2D0; &#xA712; k&#x2B2;">mˠœ#ː꜒kʲ</word>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing" ph="z&#x2B7;+&#x262;&#x2B2; u t&#x2E0;">zʷɢʲutˠ</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="&#x292;&#x2E0;+&#x288;&#x2B2; a# &#x282;&#x2B2;">ʒˠʈʲa#ʂʲ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x290;&#x2E0;+&#x288;&#x2B0;&#x2E0; &#x275;&#x2D0; &#xA716; &#x14B;&#x2E4;">ʐˠʈʰˠɵː꜖ŋˤ</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph="" slots="Cip Cfp"></thingy>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="&#x28B;&#x2E0; i &#x278;&#x2B2;">ʋˠiɸʲ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="&#x283;&#x2E0;+q&#x2B0;&#x2E4; i &#x330;&#xA712; n&#x32A;&#x2E4;">ʃˠqʰˤḭ꜒n̪ˤ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="z&#x2B2;+p&#x2BC;&#x2E0; u &#x270;&#x2E0;">zʲpʼˠuɰˠ</thingy>
-    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active" ph="t&#x361;&#x283;&#x2BC;&#x2B2; &#x289; k&#x2BC;&#x2E0;">t͡ʃʼʲʉkʼˠ</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="d&#x2B1;&#x2E4; &#x25B; &#x288;&#x2BC;&#x2E0;">dʱˤɛʈʼˠ</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ" ph="t&#x2B0;&#x2B2; a k&#x2BC;&#x2E0;">tʰʲakʼˠ</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.2" obj="1excl.sing" ph="&#x262;&#x2B2; e &#x330;&#xA716; t&#x361;s&#x2B2;">ɢʲḛ꜖t͡sʲ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph="" slots="Cis Cfs"></thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ERG">ᵏǀʰˠᵊt͡sʼˠ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2" underlying="&#x282;&#x2E0;+&#x288;&#x2B0;&#x2B2; &#x25B;#&#x2D0; t&#x2BC;&#x2E0;">ʂˠʈʰʲɛ#ː</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ERG" gender="cl.2" possessor="no.owner">qʷɞ#ː̰꜒ɾˤ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT">ʐˠkʰʷɞʃʲ</thingy>
+    <thingy type="noungender" function="prefix" gloss="cl.2">ʂˠʈʰʲɛ#ːtʼˠ</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.2" possessor="no.owner">ʃʲhtˠḭ꜖ʈʼˠ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="3.sing.cl.3.sing">sˤqʲɔ#qʼʲ</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" possessor="3.sing.cl.3" case="NOM" tr="rheme">mˠœ#ː꜒kʲ</word>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="nppossessor.number" function="proclitic" gloss="no.owner.sing">zʷɢʲutˠ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">ʒˠʈʲa#ʂʲ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner">ʐˠʈʰˠɵː꜖ŋˤ</word>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ">ʋˠiɸʲ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">ʃˠqʰˤḭ꜒n̪ˤ</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">zʲpʼˠuɰˠ</thingy>
+    <thingy type="vpsubj.negation.voice" function="proclitic" gloss="3.sing.cl.2.POS.active">t͡ʃʼʲʉkʼˠ</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ">dʱˤɛʈʼˠ</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.2.INDOBJ">tʰʲakʼˠ</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.2" obj="1excl.sing">ɢʲḛ꜖t͡sʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǀʰˠᵊt͡sʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ERG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;qʷɞ̃ː̰꜒ɾˤ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&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;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʂˠʈʰʲɛ̃ːtʼˠ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃʲhtˠḭ꜖ʈʼˠ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sˤqʲɔ̃qʼʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mˠœ̃ː꜒kʲ&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;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zʷɢʲutˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;no.owner.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒˠʈʲãʂʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʐˠʈʰˠɵː꜖ŋˤ&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;ʋˠiɸʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃˠqʰˤḭ꜒n̪ˤ&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;zʲpʼˠuɰˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʼʲʉkʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;.active&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;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰʲakʼˠ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɢʲḛ꜖t͡sʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tell&lt;/span&gt;&lt;/span&gt;</p>
+  <p>zʷɢʲutˠ ᵏǀʰˠᵊt͡sʼˠ ʂˠʈʰʲɛ̃ːqʷɞ̃ː̰꜒ɾˤ zʷɢʲutˠ ʐˠkʰʷɞʃʲ ʂˠʈʰʲɛ̃ːtʼˠʃʲhtˠḭ꜖ʈʼˠ zʷɢʲutˠ sˤqʲɔ̃qʼʲ mˠœ̃ː꜒kʲ zʷɢʲutˠ zʷɢʲutˠ ʒˠʈʲãʂʲ ʐˠʈʰˠɵː꜖ŋˤ ʋˠiɸʲ ʃˠqʰˤḭ꜒n̪ˤ zʲpʼˠuɰˠ t͡ʃʼʲʉkʼˠ dʱˤɛʈʼˠ tʰʲakʼˠ ɢʲḛ꜖t͡sʲ</p>
+  <p>zwħgiuto chotzʼo rsorthiænænqwɞnɞñṛ zwħgiuto rzoquhɞshi rsorthiænændtoshihtoỉʈʼo zwħgiuto ṣqiongqi moœnœn̄ki zwħgiuto zwħgiuto zhortianrsi rzorthoɵɵ̠ng̣ woiwhi shoqḥĩṇ zibpouẅo chʼiʉgko dḥæʈʼo thiagko ħgiẻtzi</p>
+  <il>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ᵏǀʰˠᵊt͡sʼˠ</o>
+      <g>ERG</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>qʷɞ̃ː̰꜒ɾˤ</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʐˠkʰʷɞʃʲ</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ʂˠʈʰʲɛ̃ːtʼˠ-</o>
+      <g>cl.2</g>
+    </w>
+    <w>
+      <o>ʃʲhtˠḭ꜖ʈʼˠ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>sˤqʲɔ̃qʼʲ</o>
+      <g>3.sing.cl.3.sing</g>
+    </w>
+    <w>
+      <o>mˠœ̃ː꜒kʲ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>zʷɢʲutˠ</o>
+      <g>no.owner.sing</g>
+    </w>
+    <w>
+      <o>ʒˠʈʲãʂʲ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʐˠʈʰˠɵː꜖ŋˤ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ʋˠiɸʲ</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>ʃˠqʰˤḭ꜒n̪ˤ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>zʲpʼˠuɰˠ</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃʼʲʉkʼˠ</o>
+      <g>3.sing.cl.2.POS.active</g>
+    </w>
+    <w>
+      <o>dʱˤɛʈʼˠ</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>tʰʲakʼˠ</o>
+      <g>3.sing.cl.2.INDOBJ</g>
+    </w>
+    <w>
+      <o>ɢʲḛ꜖t͡sʲ</o>
+      <g>tell</g>
+    </w>
+  </il>
</example>