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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" gender="fem">
-      <word posp="noun" gloss="woman"/>
+      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="fem">
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem"/>
        </np>
-        <word gloss="COMIT" posp="pp" owner="3s"/>
+        <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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.fem" obj="3.plur.masc"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc">
-      <word posp="det" gloss="yon"/>
-      <word posp="adj" gloss="blind"/>
-      <word posp="noun" gloss="mouse"/>
-      <word posp="num" gloss="three"/>
+      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
+      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
+      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
+      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
    </np>
  </s>
</example>

addaffixes:

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

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <np role="subj" number="sing" def="def" locus="number" gender="fem">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem"/>
-      <pp role="comitative">
-        <np number="sing" def="def" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem"/>
-        </np>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-      </pp>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc"/>
-    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc">
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
    <thingy type="detgender" function="suffix" gloss="masc"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
    <thingy type="nounnumber" function="prefix" gloss="plur"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
-    <thingy type="detgender" function="suffix" gloss="masc"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" ph="s&#x2B2; i &#xA716; d&#x361;z" slots="Cir Cfr">sʲi꜖d͡z</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" ph="t&#x361;s&#x2BC; o&#x2D0; &#xA712; k&#x2B2;" slots="Cir Cfr">t͡sʼoː꜒kʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="d a&#x2D0; &#xA716; t&#x2BC; u &#xA712; r" slots="Cir Cfr">daː꜖tʼu꜒r</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="&#x25F; y#&#x2D0; &#xA712; t&#x361;&#x283;" slots="Cir Cfr">ɟy#ː꜒t͡ʃ</word>
+    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="" slots="Cfr Cfs"></thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="s o &#xA716; w" slots="Cir Cfr">so꜖w</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="p&#x361;f a &#xA712; f" slots="Cir Cfr">p͡fa꜒f</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /sʲ/ > // + /tʲ/
/c/ + /t͡sʼ/ > // + /t/
/d͡ʒ/ + /ɾ/ > // + /d͡z/
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" ph="s&#x2B2; i &#xA716; d&#x361;z" slots="Cir Cfr">sʲi꜖d͡z</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" ph="t&#x361;s&#x2BC; o&#x2D0; &#xA712; k&#x2B2;" slots="Cir Cfr">t͡sʼoː꜒kʲ</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="d a&#x2D0; &#xA716; t&#x2BC; u &#xA712; r" slots="Cir Cfr">daː꜖tʼu꜒r</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" ph="t&#x2B2; i &#xA716; d&#x361;z" underlying="s&#x2B2; i &#xA716; d&#x361;z">tʲi꜖d͡z</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" ph="t o&#x2D0; &#xA712; k&#x2B2;" underlying="t&#x361;s&#x2BC; o&#x2D0; &#xA712; k&#x2B2;">toː꜒kʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="d a&#x2D0; &#xA716; t&#x2BC; u &#xA712; r">daː꜖tʼu꜒r</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="&#x25F; y#&#x2D0; &#xA712; t&#x361;&#x283;" slots="Cir Cfr">ɟy#ː꜒t͡ʃ</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="&#x25F; y#&#x2D0; &#xA712; t&#x361;&#x283;">ɟy#ː꜒t͡ʃ</word>
    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="" slots="Cfr Cfs"></thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="s o &#xA716; w" slots="Cir Cfr">so꜖w</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="p&#x361;f a &#xA712; f" slots="Cir Cfr">p͡fa꜒f</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="s o &#xA716; w">so꜖w</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="d&#x361;z y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">d͡zyː꜒pʼɜ꜖pʼ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="p&#x361;f a &#xA712; f">p͡fa꜒f</word>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" ph="t&#x2B2; i &#xA716; d&#x361;z" underlying="s&#x2B2; i &#xA716; d&#x361;z">tʲi꜖d͡z</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" ph="t o&#x2D0; &#xA712; k&#x2B2;" underlying="t&#x361;s&#x2BC; o&#x2D0; &#xA712; k&#x2B2;">toː꜒kʲ</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="d a&#x2D0; &#xA716; t&#x2BC; u &#xA712; r">daː꜖tʼu꜒r</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="&#x25F; y#&#x2D0; &#xA712; t&#x361;&#x283;">ɟy#ː꜒t͡ʃ</word>
-    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="" slots="Cfr Cfs"></thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="s o &#xA716; w">so꜖w</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="d&#x361;z y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">d͡zyː꜒pʼɜ꜖pʼ</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" ph="p&#x361;f a &#xA712; f">p͡fa꜒f</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" gender="fem" underlying="s&#x2B2; i &#xA716; d&#x361;z">tʲi꜖d͡z</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" underlying="t&#x361;s&#x2BC; o&#x2D0; &#xA712; k&#x2B2;">toː꜒kʲ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">daː꜖tʼu꜒r</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.plur.masc">rɜː꜒tʼ</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc">ɟy#ː꜒t͡ʃ</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc">so꜖w</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" underlying="d&#x361;&#x292;"></thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">d͡zyː꜒pʼɜ꜖pʼ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" gender="masc">p͡fa꜒f</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʲi꜖d͡z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;woman&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʼoː꜒kʲ&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;daː꜖tʼu꜒r&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;rɜː꜒tʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟỹː꜒t͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;so꜖w&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;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾyː꜒pʼɜ꜖pʼ&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;p͡fa꜒f&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;three&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʲi꜖d͡z toː꜒kʲ daː꜖tʼu꜒r kʼu꜖x pᵊ꜖d͡ʑ rɜː꜒tʼ ɟỹː꜒t͡ʃ so꜖w d͡zyː꜒pʼɜ꜖pʼ p͡fa꜒f</p>
+  <p>tii̠dz toōki daa̠dtūrr gku̠x p̠d͡ʑ rrèè̄dt dyünün̄ch so̠w dzüǖbpè̠bp pfāf</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>sʲi꜖d͡z</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>t͡sʼoː꜒kʲ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>daː꜖tʼu꜒r</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>rɜː꜒tʼ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ɟỹː꜒t͡ʃ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>so꜖w</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ɾyː꜒pʼɜ꜖pʼ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>p͡fa꜒f</o>
+      <g>three</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc"/>
    </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.masc" obj="3.sing.fem">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
+      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="love"/>
    </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.masc" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/voice/optional
Got active
<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.masc" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
    </vp>
  </s>
</example>

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.masc" obj="3.sing.fem">
+  <flat>
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">t͡sʰeː꜖z</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʎa꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰeː꜖z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʎa꜖ pᵊ꜖d͡ʑ t͡sʰeː꜖z</p>
+  <p>lla̠ p̠d͡ʑ tzhee̠z</p>
+  <il>
+    <w>
+      <o>ʎa꜖</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡sʰeː꜖z</o>
+      <g>love</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" gender="masc">
      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc"/>
    </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.masc" obj="3.sing.fem">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" gender="masc">
      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
+      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="love"/>
    </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" gender="masc">
-      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc"/>
+      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/voice/optional
Got active
<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" gender="masc">
      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" gender="masc">
+  <flat>
    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" ph="m&#x2B2; a&#x2D0; &#xA712; k&#x2BC;" slots="Cir Cfr">mʲaː꜒kʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" ph="m&#x2B2; a&#x2D0; &#xA712; k&#x2BC;" slots="Cir Cfr">mʲaː꜒kʼ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" ph="m&#x2B2; a&#x2D0; &#xA712; k&#x2BC;">mʲaː꜒kʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
  </flat>
</example>

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number" ph="m&#x2B2; a&#x2D0; &#xA712; k&#x2BC;">mʲaː꜒kʼ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="rheme" role="subj" locus="number">mʲaː꜒kʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">t͡sʰeː꜖z</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mʲaː꜒kʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&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;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰeː꜖z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mʲaː꜒kʼ ʎa꜖ pᵊ꜖d͡ʑ t͡sʰeː꜖z</p>
+  <p>miaāgk lla̠ p̠d͡ʑ tzhee̠z</p>
+  <il>
+    <w>
+      <o>mʲaː꜒kʼ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>ʎa꜖</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡sʰeː꜖z</o>
+      <g>love</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2her" translation="He loves *her*.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc"/>
    </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.masc" obj="3.sing.fem">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
    </np>
  </s>
</example>

prodrop:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
-      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
    </np>
  </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.masc" obj="3.sing.fem">
+      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
    </np>
  </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.masc" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
-      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
+      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for love/verb/voice/optional
Got active
<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.masc" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number"/>
    </np>
  </s>
</example>

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.masc" obj="3.sing.fem">
+  <flat>
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number"/>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number" ph="p&#x2B0; a &#xA716; &#x261;" slots="Cir Cfr">pʰa꜖ɡ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number" ph="p&#x2B0; a &#xA716; &#x261;" slots="Cir Cfr">pʰa꜖ɡ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number" ph="p&#x2B0; a &#xA716; &#x261;">pʰa꜖ɡ</word>
  </flat>
</example>

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number" ph="p&#x2B0; a &#xA716; &#x261;">pʰa꜖ɡ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">t͡sʰeː꜖z</word>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="rheme" role="obj" locus="number">pʰa꜖ɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʎa꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰeː꜖z&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;pʰa꜖ɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʎa꜖ pᵊ꜖d͡ʑ t͡sʰeː꜖z pʰa꜖ɡ</p>
+  <p>lla̠ p̠d͡ʑ tzhee̠z pha̠g</p>
+  <il>
+    <w>
+      <o>ʎa꜖</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡sʰeː꜖z</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>pʰa꜖ɡ</o>
+      <g>3.sing.fem</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
-      <word posp="noun" gloss="NN1"/>
+      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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.masc" obj="3.sing.fem"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
-      <word posp="noun" gloss="NN2"/>
+      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for NN1/noun/number/obligatory
Got sing
About to call getSlotValue for hate/verb/voice/optional
Got active
About to call getSlotValue for NN2/noun/number/obligatory
Got sing
<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
    </np>
  </s>
</example>

flatten:

<example id="loveprop" translation="NN1 hates NN2.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Diwits hates Msoos.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="Diwits" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" propernoun="yes" ph="d&#x2B2; i&#x2D0; &#xA716; w i &#xA712; t&#x361;s" slots="Cir Cfr">dʲiː꜖wi꜒t͡s</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="l &#x1D4A; &#xA716; t&#x2BC; &#xF8; &#xA716; &#x261;" slots="Cir Cfr">lᵊ꜖tʼø꜖ɡ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="Msoos" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" propernoun="yes" ph="m&#x2B2; &#x1D4A; &#xA712; s y &#xA716; s" slots="Cir Cfr">mʲᵊ꜒sy꜖s</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /dʲ/ > // + /tʲ/
/c/ + /mʲ/ > // + /ɲ/
<example id="loveprop" translation="Diwits hates Msoos.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="Diwits" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" propernoun="yes" ph="d&#x2B2; i&#x2D0; &#xA716; w i &#xA712; t&#x361;s" slots="Cir Cfr">dʲiː꜖wi꜒t͡s</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="Diwits" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" propernoun="yes" ph="t&#x2B2; i&#x2D0; &#xA716; w i &#xA712; t&#x361;s" underlying="d&#x2B2; i&#x2D0; &#xA716; w i &#xA712; t&#x361;s">tʲiː꜖wi꜒t͡s</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="l &#x1D4A; &#xA716; t&#x2BC; &#xF8; &#xA716; &#x261;" slots="Cir Cfr">lᵊ꜖tʼø꜖ɡ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="Msoos" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" propernoun="yes" ph="m&#x2B2; &#x1D4A; &#xA712; s y &#xA716; s" slots="Cir Cfr">mʲᵊ꜒sy꜖s</word>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="l &#x1D4A; &#xA716; t&#x2BC; &#xF8; &#xA716; &#x261;">lᵊ꜖tʼø꜖ɡ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="Msoos" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" propernoun="yes" ph="&#x272; &#x1D4A; &#xA712; s y &#xA716; s" underlying="m&#x2B2; &#x1D4A; &#xA712; s y &#xA716; s">ɲᵊ꜒sy꜖s</word>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Diwits hates Msoos.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="Diwits" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" propernoun="yes" ph="t&#x2B2; i&#x2D0; &#xA716; w i &#xA712; t&#x361;s" underlying="d&#x2B2; i&#x2D0; &#xA716; w i &#xA712; t&#x361;s">tʲiː꜖wi꜒t͡s</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem" ph="l &#x1D4A; &#xA716; t&#x2BC; &#xF8; &#xA716; &#x261;">lᵊ꜖tʼø꜖ɡ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="Msoos" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" propernoun="yes" ph="&#x272; &#x1D4A; &#xA712; s y &#xA716; s" underlying="m&#x2B2; &#x1D4A; &#xA712; s y &#xA716; s">ɲᵊ꜒sy꜖s</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="Diwits" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" propernoun="yes" underlying="d&#x2B2; i&#x2D0; &#xA716; w i &#xA712; t&#x361;s">tʲiː꜖wi꜒t͡s</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.masc" obj="3.sing.fem">lᵊ꜖tʼø꜖ɡ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="Msoos" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" propernoun="yes" underlying="m&#x2B2; &#x1D4A; &#xA712; s y &#xA716; s">ɲᵊ꜒sy꜖s</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʲiː꜖wi꜒t͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Diwits&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;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lᵊ꜖tʼø꜖ɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hate&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mʲᵊ꜒sy꜖s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Msoos&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʲiː꜖wi꜒t͡s ʎa꜖ pᵊ꜖d͡ʑ lᵊ꜖tʼø꜖ɡ ɲᵊ꜒sy꜖s</p>
+  <p>Tiii̠wītz lla̠ p̠d͡ʑ l̠dtø̠g Ñ̄sü̠s</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>dʲiː꜖wi꜒t͡s</o>
+      <g>Diwits</g>
+    </w>
+    <w>
+      <o>ʎa꜖</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>lᵊ꜖tʼø꜖ɡ</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>mʲᵊ꜒sy꜖s</o>
+      <g>Msoos</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso1" translation="the boy's apple">
  <np type="owner_owned" gender="fem" number="sing">
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+      <thingy type="npcase" function="proclitic" gloss="GEN"/>
      <word posp="noun" gloss="boy"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="fem">
      <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" gender="fem" number="sing">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <word posp="noun" gloss="boy"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
    <word posp="noun" gloss="apple"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/number/obligatory
Got sing
<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
  </np>
</example>

flatten:

<example id="posso1" translation="the boy's apple">
-  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="x u &#xA716; n" slots="Cir Cfr">xu꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">ni꜒ɾa꜖t͡ʃʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /x/ > // + /k/
/c/ + /n/ > // + /ɲ/
<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="x u &#xA716; n" slots="Cir Cfr">xu꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">ni꜒ɾa꜖t͡ʃʼ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="k u &#xA716; n" underlying="x u &#xA716; n">ku꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="&#x272; i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="k u &#xA716; n" underlying="x u &#xA716; n">ku꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="&#x272; i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" underlying="x u &#xA716; n">ku꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɓuː꜒c&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xu꜖n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ni꜒ɾa꜖t͡ʃʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɓuː꜒c ku꜖n ɲi꜒ɾa꜖t͡ʃʼ</p>
+  <p>bbuūtj ku̠n ñīra̠chʼ</p>
+  <il>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>xu꜖n</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ni꜒ɾa꜖t͡ʃʼ</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for apple/noun/number/obligatory
Got sing
<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="m&#x2B2; a&#x2D0; &#xA712; k&#x2BC;" slots="Cir Cfr">mʲaː꜒kʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">ni꜒ɾa꜖t͡ʃʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /n/ > // + /ɲ/
<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="m&#x2B2; a&#x2D0; &#xA712; k&#x2BC;" slots="Cir Cfr">mʲaː꜒kʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">ni꜒ɾa꜖t͡ʃʼ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="m&#x2B2; a&#x2D0; &#xA712; k&#x2BC;">mʲaː꜒kʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="&#x272; i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="m&#x2B2; a&#x2D0; &#xA712; k&#x2BC;">mʲaː꜒kʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="&#x272; i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN">mʲaː꜒kʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɓuː꜒c&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;mʲaː꜒kʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ni꜒ɾa꜖t͡ʃʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɓuː꜒c mʲaː꜒kʼ ɲi꜒ɾa꜖t͡ʃʼ</p>
+  <p>bbuūtj miaāgk ñīra̠chʼ</p>
+  <il>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>mʲaː꜒kʼ</o>
+      <g>3.sing.masc</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ni꜒ɾa꜖t͡ʃʼ</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for apple/noun/number/obligatory
Got sing
<example id="posso2" translation="my apple">
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="1excl">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="1excl">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem"/>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x2B0; u &#xA716; m" slots="Cir Cfr">tʰu꜖m</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">ni꜒ɾa꜖t͡ʃʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /n/ > // + /ɲ/
<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x2B0; u &#xA716; m" slots="Cir Cfr">tʰu꜖m</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">ni꜒ɾa꜖t͡ʃʼ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x2B0; u &#xA716; m">tʰu꜖m</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="&#x272; i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x2B0; u &#xA716; m">tʰu꜖m</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" ph="&#x272; i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN">tʰu꜖m</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="fem" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɓuː꜒c&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;tʰu꜖m&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ni꜒ɾa꜖t͡ʃʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɓuː꜒c tʰu꜖m ɲi꜒ɾa꜖t͡ʃʼ</p>
+  <p>bbuūtj thu̠m ñīra̠chʼ</p>
+  <il>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>tʰu꜖m</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ni꜒ɾa꜖t͡ʃʼ</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem"/>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc"/>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s" slots="Cir Cfr">d͡zᵊ꜖jo꜒s</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" ph="n i &#xA712; d&#x2B2;" slots="Cir Cfr">ni꜒dʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="s+t&#x2B2; u &#xA716; d u# &#xA712; t&#x361;&#x255;" slots="Cir Cfr">stʲu꜖du#꜒t͡ɕ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;" slots="Cir Cfr">t͡ɕʰo꜖ʎ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="t&#x361;&#x255;&#x2B0; y &#xA712; k e &#xA716; v" slots="Cir Cfr">t͡ɕʰy꜒ke꜖v</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" ph="&#x261; i &#xA712; n&#x2B2;" slots="Cir Cfr">ɡi꜒nʲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /d͡z/ > // + /t/
/c/ + /n/ > // + /ɲ/
/c/ + /t͡ɕʰ/ > // + /t/
/c/ + /ɡ/ > // + /k/
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s" slots="Cir Cfr">d͡zᵊ꜖jo꜒s</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" ph="n i &#xA712; d&#x2B2;" slots="Cir Cfr">ni꜒dʲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="t &#x1D4A; &#xA716; j o &#xA712; s" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" ph="&#x272; i &#xA712; d&#x2B2;" underlying="n i &#xA712; d&#x2B2;">ɲi꜒dʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="s+t&#x2B2; u &#xA716; d u# &#xA712; t&#x361;&#x255;" slots="Cir Cfr">stʲu꜖du#꜒t͡ɕ</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;" slots="Cir Cfr">t͡ɕʰo꜖ʎ</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="t&#x361;&#x255;&#x2B0; y &#xA712; k e &#xA716; v" slots="Cir Cfr">t͡ɕʰy꜒ke꜖v</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" ph="&#x261; i &#xA712; n&#x2B2;" slots="Cir Cfr">ɡi꜒nʲ</word>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="s+t&#x2B2; u &#xA716; d u# &#xA712; t&#x361;&#x255;">stʲu꜖du#꜒t͡ɕ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;">t͡ɕʰo꜖ʎ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="t y &#xA712; k e &#xA716; v" underlying="t&#x361;&#x255;&#x2B0; y &#xA712; k e &#xA716; v">ty꜒ke꜖v</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" ph="k i &#xA712; n&#x2B2;" underlying="&#x261; i &#xA712; n&#x2B2;">ki꜒nʲ</word>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="t &#x1D4A; &#xA716; j o &#xA712; s" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" ph="&#x272; i &#xA712; d&#x2B2;" underlying="n i &#xA712; d&#x2B2;">ɲi꜒dʲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem" ph="s+t&#x2B2; u &#xA716; d u# &#xA712; t&#x361;&#x255;">stʲu꜖du#꜒t͡ɕ</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;">t͡ɕʰo꜖ʎ</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="t y &#xA712; k e &#xA716; v" underlying="t&#x361;&#x255;&#x2B0; y &#xA712; k e &#xA716; v">ty꜒ke꜖v</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" ph="k i &#xA712; n&#x2B2;" underlying="&#x261; i &#xA712; n&#x2B2;">ki꜒nʲ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" underlying="n i &#xA712; d&#x2B2;">ɲi꜒dʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">stʲu꜖du#꜒t͡ɕ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN">t͡ɕʰo꜖ʎ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" underlying="t&#x361;&#x255;&#x2B0; y &#xA712; k e &#xA716; v">ty꜒ke꜖v</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" underlying="&#x261; i &#xA712; n&#x2B2;">ki꜒nʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɓuː꜒c&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zᵊ꜖jo꜒s&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ni꜒dʲ&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;stʲu꜖dũ꜒t͡ɕ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kiss&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɓuː꜒c&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;t͡ɕʰo꜖ʎ&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;ɓuː꜒c&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ɕʰy꜒ke꜖v&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡi꜒nʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɓuː꜒c tᵊ꜖jo꜒s ɲi꜒dʲ kʼu꜖x pᵊ꜖d͡ʑ stʲu꜖dũ꜒t͡ɕ ɓuː꜒c t͡ɕʰo꜖ʎ ɓuː꜒c ty꜒ke꜖v ki꜒nʲ</p>
+  <p>bbuūtj t̠yōs ñīdi gku̠x p̠d͡ʑ stiu̠dun̄ty bbuūtj tyho̠ll bbuūtj tǖke̠v kīni</p>
+  <il>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>d͡zᵊ꜖jo꜒s</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ni꜒dʲ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>stʲu꜖dũ꜒t͡ɕ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>t͡ɕʰo꜖ʎ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>t͡ɕʰy꜒ke꜖v</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡi꜒nʲ</o>
+      <g>son</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for a/det/gender/optional
Got fem
About to call getSlotValue for lamb/noun/number/obligatory
Got sing
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" gender="fem">
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem"/>
+    <thingy type="detgender" function="suffix" gloss="fem"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="fem"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" gender="fem">
+  <flat>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem"/>
    <thingy type="detgender" function="suffix" gloss="fem"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="fem"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem"/>
-    <thingy type="detgender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="fem"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" ph="s &#x25C; &#xA712; c" slots="Cir Cfr">sɜ꜒c</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="d&#x2B2; i &#xA716;" slots="Cfr T2">dʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="fem" ph="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;" slots="Cir Cfr">d͡ʑa꜒lʲiː꜖ɡʲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /dʲ/ > // + /tʲ/
/c/ + /d͡ʑ/ > // + /t͡ɕ/
<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" ph="s &#x25C; &#xA712; c" slots="Cir Cfr">sɜ꜒c</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="d&#x2B2; i &#xA716;" slots="Cfr T2">dʲi꜖</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="fem" ph="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;" slots="Cir Cfr">d͡ʑa꜒lʲiː꜖ɡʲ</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" ph="s &#x25C; &#xA712;" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t&#x2B2; i &#xA716;" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="fem" ph="t&#x361;&#x255; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;" underlying="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;">t͡ɕa꜒lʲiː꜖ɡʲ</word>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" ph="s &#x25C; &#xA712;" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t&#x2B2; i &#xA716;" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="fem" ph="t&#x361;&#x255; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;" underlying="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;">t͡ɕa꜒lʲiː꜖ɡʲ</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
+    <thingy type="detgender" function="suffix" gloss="fem" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" gender="fem" underlying="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;">t͡ɕa꜒lʲiː꜖ɡʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sɜ꜒c&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;-dʲi꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʑa꜒lʲiː꜖ɡʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sɜ꜒tʲi꜖ t͡ɕa꜒lʲiː꜖ɡʲ</p>
+  <p>sè̄tii̠ tyāliii̠gi</p>
+  <il>
+    <w>
+      <o>sɜ꜒c</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-dʲi꜖</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>d͡ʑa꜒lʲiː꜖ɡʲ</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number">
+  <np number="sing" tr="rheme" locus="number" gender="fem">
    <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.

module simplifynumber:

No change.

createpronouns:

No change.

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" gender="fem">
+    <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:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for a/det/gender/optional
Got fem
About to call getSlotValue for lamb/noun/number/obligatory
Got sing
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" gender="fem">
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem"/>
+    <thingy type="detgender" function="suffix" gloss="fem"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem">
      <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" gender="fem">
+  <flat>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem"/>
    <thingy type="detgender" function="suffix" gloss="fem"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem"/>
-    <thingy type="detgender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" ph="s &#x25C; &#xA712; c" slots="Cir Cfr">sɜ꜒c</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="d&#x2B2; i &#xA716;" slots="Cfr T2">dʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x25F; u &#xA712; d&#x2B2;" slots="Cip Cir">ɟu꜒dʲ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem" ph="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;" slots="Cir Cfr">d͡ʑa꜒lʲiː꜖ɡʲ</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /dʲ/ > // + /tʲ/
/c/ + /ɟ/ > // + /c/
/dʲ/ + /d͡ʑ/ > // + /d͡ʑ/
<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" ph="s &#x25C; &#xA712; c" slots="Cir Cfr">sɜ꜒c</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="d&#x2B2; i &#xA716;" slots="Cfr T2">dʲi꜖</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="&#x25F; u &#xA712; d&#x2B2;" slots="Cip Cir">ɟu꜒dʲ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem" ph="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;" slots="Cir Cfr">d͡ʑa꜒lʲiː꜖ɡʲ</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" ph="s &#x25C; &#xA712;" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t&#x2B2; i &#xA716;" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="c u &#xA712;" underlying="&#x25F; u &#xA712; d&#x2B2;">cu꜒</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem" ph="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;">d͡ʑa꜒lʲiː꜖ɡʲ</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" ph="s &#x25C; &#xA712;" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t&#x2B2; i &#xA716;" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="c u &#xA712;" underlying="&#x25F; u &#xA712; d&#x2B2;">cu꜒</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem" ph="d&#x361;&#x291; a &#xA712; l&#x2B2; i&#x2D0; &#xA716; &#x261;&#x2B2;">d͡ʑa꜒lʲiː꜖ɡʲ</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" gender="fem" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
+    <thingy type="detgender" function="suffix" gloss="fem" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="&#x25F; u &#xA712; d&#x2B2;">cu꜒</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" gender="fem">d͡ʑa꜒lʲiː꜖ɡʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sɜ꜒c&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;-dʲi꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟu꜒dʲ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʑa꜒lʲiː꜖ɡʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sɜ꜒tʲi꜖ cu꜒d͡ʑa꜒lʲiː꜖ɡʲ</p>
+  <p>sè̄tii̠ tjūd͡ʑāliii̠gi</p>
+  <il>
+    <w>
+      <o>sɜ꜒c</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-dʲi꜖</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɟu꜒dʲ-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>d͡ʑa꜒lʲiː꜖ɡʲ</o>
+      <g>lamb</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

addaffixes:

About to call getSlotValue for love/verb/voice/optional
Got active
<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="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <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"/>
    </vp>
  </s>
</example>

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="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <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"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <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.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</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">t͡sʰeː꜖z</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʎa꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰeː꜖z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʎa꜖ pᵊ꜖d͡ʑ t͡sʰeː꜖z</p>
+  <p>lla̠ p̠d͡ʑ tzhee̠z</p>
+  <il>
+    <w>
+      <o>ʎa꜖</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡sʰeː꜖z</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for table/noun/number/obligatory
Got sing
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" number="sing" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="fem"/>
    </np>
    <word gloss="in_surface" 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">
-    <np def="def" number="sing" locus="number" gender="fem">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="fem"/>
-    </np>
    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="fem"/>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="fem" ph="s y &#xA712; &#x14B;" slots="Cir Cfr">sy꜒ŋ</word>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="t&#x361;&#x255; i &#xA716; m&#x2B2;" slots="Cir Cfr">t͡ɕi꜖mʲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /s/ > // + /t͡s/
<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="fem" ph="s y &#xA712; &#x14B;" slots="Cir Cfr">sy꜒ŋ</word>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="t&#x361;&#x255; i &#xA716; m&#x2B2;" slots="Cir Cfr">t͡ɕi꜖mʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="fem" ph="t&#x361;s y &#xA712; &#x14B;" underlying="s y &#xA712; &#x14B;">t͡sy꜒ŋ</word>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="t&#x361;&#x255; i &#xA716; m&#x2B2;">t͡ɕi꜖mʲ</word>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="fem" ph="t&#x361;s y &#xA712; &#x14B;" underlying="s y &#xA712; &#x14B;">t͡sy꜒ŋ</word>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="t&#x361;&#x255; i &#xA716; m&#x2B2;">t͡ɕi꜖mʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="fem" underlying="s y &#xA712; &#x14B;">t͡sy꜒ŋ</word>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes">t͡ɕi꜖mʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sy꜒ŋ&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;t͡ɕi꜖mʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡sy꜒ŋ t͡ɕi꜖mʲ</p>
+  <p>tzǖng tyi̠mi</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>sy꜒ŋ</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>t͡ɕi꜖mʲ</o>
+      <g>in_surface</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for box/noun/number/obligatory
Got sing
<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" number="sing" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="fem"/>
    </np>
    <word gloss="to_inside" 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">
-    <np def="def" number="sing" locus="number" gender="fem">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="fem"/>
-    </np>
    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="fem"/>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="fem" ph="&#x261;&#x2B2; a &#xA716; t&#x2BC; a# &#xA712; s&#x2B2;" slots="Cir Cfr">ɡʲa꜖tʼa#꜒sʲ</word>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="k&#x2B0; a&#x2D0; &#xA716;" slots="Cir T1">kʰaː꜖</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /ɡʲ/ > // + /kʲ/
<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="fem" ph="&#x261;&#x2B2; a &#xA716; t&#x2BC; a# &#xA712; s&#x2B2;" slots="Cir Cfr">ɡʲa꜖tʼa#꜒sʲ</word>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="k&#x2B0; a&#x2D0; &#xA716;" slots="Cir T1">kʰaː꜖</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="fem" ph="k&#x2B2; a &#xA716; t&#x2BC; a# &#xA712; s&#x2B2;" underlying="&#x261;&#x2B2; a &#xA716; t&#x2BC; a# &#xA712; s&#x2B2;">kʲa꜖tʼa#꜒sʲ</word>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="k&#x2B0; a&#x2D0; &#xA716;">kʰaː꜖</word>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="fem" ph="k&#x2B2; a &#xA716; t&#x2BC; a# &#xA712; s&#x2B2;" underlying="&#x261;&#x2B2; a &#xA716; t&#x2BC; a# &#xA712; s&#x2B2;">kʲa꜖tʼa#꜒sʲ</word>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="k&#x2B0; a&#x2D0; &#xA716;">kʰaː꜖</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="fem" underlying="&#x261;&#x2B2; a &#xA716; t&#x2BC; a# &#xA712; s&#x2B2;">kʲa꜖tʼa#꜒sʲ</word>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes">kʰaː꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡʲa꜖tʼã꜒sʲ&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;kʰaː꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʲa꜖tʼã꜒sʲ kʰaː꜖</p>
+  <p>kia̠dtan̄si khaa̠</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡʲa꜖tʼã꜒sʲ</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>kʰaː꜖</o>
+      <g>to_inside</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <np number="sing" def="neither" locus="number">
      <word 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.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" ph="t&#x2B0; u &#xA716; m" slots="Cir Cfr">tʰu꜖m</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="d a&#x2D0; &#xA716; t&#x2BC; u &#xA712; r" slots="Cir Cfr">daː꜖tʼu꜒r</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" ph="t&#x2B0; u &#xA716; m" slots="Cir Cfr">tʰu꜖m</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="d a&#x2D0; &#xA716; t&#x2BC; u &#xA712; r" slots="Cir Cfr">daː꜖tʼu꜒r</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" ph="t&#x2B0; u &#xA716; m">tʰu꜖m</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="d a&#x2D0; &#xA716; t&#x2BC; u &#xA712; r">daː꜖tʼu꜒r</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number" ph="t&#x2B0; u &#xA716; m">tʰu꜖m</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="d a&#x2D0; &#xA716; t&#x2BC; u &#xA712; r">daː꜖tʼu꜒r</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" locus="number">tʰu꜖m</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">daː꜖tʼu꜒r</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰu꜖m&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;daː꜖tʼu꜒r&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>tʰu꜖m daː꜖tʼu꜒r</p>
+  <p>thu̠m daa̠dtūrr</p>
+  <il>
+    <w>
+      <o>tʰu꜖m</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>daː꜖tʼu꜒r</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for jaguar/noun/number/obligatory
Got sing
About to call getSlotValue for kill/verb/voice/optional
Got active
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" gender="masc">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" gender="masc">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc"/>
    </np>
  </s>
</example>

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" gender="masc">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="masc"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" gender="masc">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="masc"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="masc" ph="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;" slots="Cir Cfr">ɟu꜖ve꜖rʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc" ph="t&#x361;s&#x2B0; u &#xA712; m&#x2B2;" slots="Cir Cfr">t͡sʰu꜒mʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" ph="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s" slots="Cir Cfr">d͡zᵊ꜖jo꜒s</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /ɟ/ > // + /c/
/c/ + /d͡z/ > // + /t/
<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="masc" ph="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;" slots="Cir Cfr">ɟu꜖ve꜖rʲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="masc" ph="c u &#xA716; v e &#xA716; r&#x2B2;" underlying="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;">cu꜖ve꜖rʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc" ph="t&#x361;s&#x2B0; u &#xA712; m&#x2B2;" slots="Cir Cfr">t͡sʰu꜒mʲ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" ph="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s" slots="Cir Cfr">d͡zᵊ꜖jo꜒s</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc" ph="t&#x361;s&#x2B0; u &#xA712; m&#x2B2;">t͡sʰu꜒mʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" ph="t &#x1D4A; &#xA716; j o &#xA712; s" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="masc" ph="c u &#xA716; v e &#xA716; r&#x2B2;" underlying="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;">cu꜖ve꜖rʲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc" ph="t&#x361;s&#x2B0; u &#xA712; m&#x2B2;">t͡sʰu꜒mʲ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" ph="t &#x1D4A; &#xA716; j o &#xA712; s" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" gender="masc" underlying="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;">cu꜖ve꜖rʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.masc">t͡sʰu꜒mʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" gender="masc" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟu꜖ve꜖rʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰu꜒mʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zᵊ꜖jo꜒s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>cu꜖ve꜖rʲ kʼu꜖x pᵊ꜖d͡ʑ t͡sʰu꜒mʲ tᵊ꜖jo꜒s</p>
+  <p>tju̠ve̠rri gku̠x p̠d͡ʑ tzhūmi t̠yōs</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɟu꜖ve꜖rʲ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡sʰu꜒mʲ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>d͡zᵊ꜖jo꜒s</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number" gender="masc">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="masc">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc" ph="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;" slots="Cir Cfr">t͡ʃiː꜒pʲy꜒dʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="p&#x2B2; i &#xA716; t&#x361;s" slots="Cir Cfr">pʲi꜖t͡s</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s" slots="Cir Cfr">d͡zᵊ꜖jo꜒s</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="n i &#xA712; d&#x2B2;" slots="Cir Cfr">ni꜒dʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc" ph="j y# &#xA716; t&#x361;s&#x2BC;" slots="Cir Cfr">jy#꜖t͡sʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /t͡ʃ/ > // + /t͡ʃ/
/c/ + /d͡z/ > // + /t/
/c/ + /n/ > // + /ɲ/
/c/ + /j/ > // + /c/
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc" ph="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;" slots="Cir Cfr">t͡ʃiː꜒pʲy꜒dʲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc" ph="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;">t͡ʃiː꜒pʲy꜒dʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="p&#x2B2; i &#xA716; t&#x361;s" slots="Cir Cfr">pʲi꜖t͡s</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s" slots="Cir Cfr">d͡zᵊ꜖jo꜒s</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="n i &#xA712; d&#x2B2;" slots="Cir Cfr">ni꜒dʲ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc" ph="j y# &#xA716; t&#x361;s&#x2BC;" slots="Cir Cfr">jy#꜖t͡sʼ</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="p&#x2B2; i &#xA716; t&#x361;s">pʲi꜖t͡s</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="t &#x1D4A; &#xA716; j o &#xA712; s" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="&#x272; i &#xA712; d&#x2B2;" underlying="n i &#xA712; d&#x2B2;">ɲi꜒dʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc" ph="c y# &#xA716; t&#x361;s&#x2BC;" underlying="j y# &#xA716; t&#x361;s&#x2BC;">cy#꜖t͡sʼ</word>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc" ph="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;">t͡ʃiː꜒pʲy꜒dʲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="p&#x2B2; i &#xA716; t&#x361;s">pʲi꜖t͡s</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="t &#x1D4A; &#xA716; j o &#xA712; s" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="&#x272; i &#xA712; d&#x2B2;" underlying="n i &#xA712; d&#x2B2;">ɲi꜒dʲ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc" ph="c y# &#xA716; t&#x361;s&#x2BC;" underlying="j y# &#xA716; t&#x361;s&#x2BC;">cy#꜖t͡sʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" gender="masc">t͡ʃiː꜒pʲy꜒dʲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">pʲi꜖t͡s</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" underlying="n i &#xA712; d&#x2B2;">ɲi꜒dʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="masc" underlying="j y# &#xA716; t&#x361;s&#x2BC;">cy#꜖t͡sʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃiː꜒pʲy꜒dʲ&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜖t͡s&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;ɓuː꜒c&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zᵊ꜖jo꜒s&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;ɓuː꜒c&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ni꜒dʲ&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jỹ꜖t͡sʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃiː꜒pʲy꜒dʲ kʼu꜖x pᵊ꜖d͡ʑ pʲi꜖t͡s ɓuː꜒c tᵊ꜖jo꜒s ɓuː꜒c ɲi꜒dʲ cỹ꜖t͡sʼ</p>
+  <p>chiīpiǖdi gku̠x p̠d͡ʑ pii̠tz bbuūtj t̠yōs bbuūtj ñīdi tjün̠tzʼ</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>t͡ʃiː꜒pʲy꜒dʲ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>pʲi꜖t͡s</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>d͡zᵊ꜖jo꜒s</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ni꜒dʲ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>jỹ꜖t͡sʼ</o>
+      <g>dog</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for friend/noun/number/obligatory
Got sing
About to call getSlotValue for book/noun/number/obligatory
Got sing
<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="fem">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem"/>
  </np>
</example>

flatten:

<example id="poss3" translation="your son's friend's book">
-  <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
+  <flat>
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="GEN"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc"/>
-    <thingy type="npcase" function="proclitic" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem"/>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;" slots="Cir Cfr">t͡ɕʰo꜖ʎ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="&#x261; i &#xA712; n&#x2B2;" slots="Cir Cfr">ɡi꜒nʲ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="&#x253; &#x25C; &#xA712; n" slots="Cir Cfr">ɓɜ꜒n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" ph="b&#x2B2; i&#x2D0; &#x261; &#x25C;&#x2D0; x" slots="C C">bʲiːɡɜːx</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /ɡ/ > // + /k/
/c/ + /ɓ/ > // + /p/
/c/ + /bʲ/ > // + /pʲ/
<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;" slots="Cir Cfr">t͡ɕʰo꜖ʎ</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="&#x261; i &#xA712; n&#x2B2;" slots="Cir Cfr">ɡi꜒nʲ</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c" slots="Cip Cfp">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="&#x253; &#x25C; &#xA712; n" slots="Cir Cfr">ɓɜ꜒n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" ph="b&#x2B2; i&#x2D0; &#x261; &#x25C;&#x2D0; x" slots="C C">bʲiːɡɜːx</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;">t͡ɕʰo꜖ʎ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="k i &#xA712; n&#x2B2;" underlying="&#x261; i &#xA712; n&#x2B2;">ki꜒nʲ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="p &#x25C; &#xA712; n" underlying="&#x253; &#x25C; &#xA712; n">pɜ꜒n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" ph="p&#x2B2; i&#x2D0; &#x261; &#x25C;&#x2D0; x" underlying="b&#x2B2; i&#x2D0; &#x261; &#x25C;&#x2D0; x">pʲiːɡɜːx</word>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;">t͡ɕʰo꜖ʎ</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="k i &#xA712; n&#x2B2;" underlying="&#x261; i &#xA712; n&#x2B2;">ki꜒nʲ</word>
-    <thingy type="npcase" function="proclitic" gloss="GEN" ph="&#x253; u&#x2D0; &#xA712; c">ɓuː꜒c</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="p &#x25C; &#xA712; n" underlying="&#x253; &#x25C; &#xA712; n">pɜ꜒n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" ph="p&#x2B2; i&#x2D0; &#x261; &#x25C;&#x2D0; x" underlying="b&#x2B2; i&#x2D0; &#x261; &#x25C;&#x2D0; x">pʲiːɡɜːx</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" locus="number" role="owner" case="GEN">t͡ɕʰo꜖ʎ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" underlying="&#x261; i &#xA712; n&#x2B2;">ki꜒nʲ</word>
+    <thingy type="npcase" function="proclitic" gloss="GEN">ɓuː꜒c</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" underlying="&#x253; &#x25C; &#xA712; n">pɜ꜒n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" underlying="b&#x2B2; i&#x2D0; &#x261; &#x25C;&#x2D0; x">pʲiːɡɜːx</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɓuː꜒c&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;t͡ɕʰo꜖ʎ&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;ɓuː꜒c&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡi꜒nʲ&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;ɓuː꜒c&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&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;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bʲiːɡɜːx&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɓuː꜒c t͡ɕʰo꜖ʎ ɓuː꜒c ki꜒nʲ ɓuː꜒c pɜ꜒n pʲiːɡɜːx</p>
+  <p>bbuūtj tyho̠ll bbuūtj kīni bbuūtj pè̄n piiigèèx</p>
+  <il>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>t͡ɕʰo꜖ʎ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡi꜒nʲ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ɓuː꜒c</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɓɜ꜒n</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>bʲiːɡɜːx</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">
      <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.fem">
+      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="sleep"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for sleep/verb/voice/optional
Got active
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" ph="h &#x25C; &#xA716; v" slots="Cir Cfr">hɜ꜖v</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /kʲ/ > // + /kʲ/
<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" ph="h &#x25C; &#xA716; v" slots="Cir Cfr">hɜ꜖v</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" ph="h &#x25C; &#xA716; v">hɜ꜖v</word>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.fem" ph="h &#x25C; &#xA716; v">hɜ꜖v</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖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.fem">hɜ꜖v</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʲuː꜖ɲ&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;ʎa꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hɜ꜖v&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʲuː꜖ɲ ʎa꜖ pᵊ꜖d͡ʑ hɜ꜖v</p>
+  <p>kiuu̠ñ lla̠ p̠d͡ʑ hè̠v</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʲuː꜖ɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ʎa꜖</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>hɜ꜖v</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for run/verb/voice/optional
<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem">
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="&#x25F; &#x25C; &#xA712; c" slots="Cir Cfr">ɟɜ꜒c</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /kʲ/ > // + /kʲ/
<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="&#x25F; &#x25C; &#xA712; c" slots="Cir Cfr">ɟɜ꜒c</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="&#x25F; &#x25C; &#xA712; c">ɟɜ꜒c</word>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="&#x25F; &#x25C; &#xA712; c">ɟɜ꜒c</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">kʲuː꜖ɲ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem">ɟɜ꜒c</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʲuː꜖ɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟɜ꜒c&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʲuː꜖ɲ pᵊ꜖d͡ʑ ɟɜ꜒c</p>
+  <p>kiuu̠ñ p̠d͡ʑ dyè̄tj</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʲuː꜖ɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ɟɜ꜒c</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">
      <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.fem" obj="3.sing.masc">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for chase/verb/voice/optional
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.masc">
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.masc"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.masc" ph="b i &#xA712; t&#x361;&#x255; e &#xA712; p&#x361;f" slots="Cir Cfr">bi꜒t͡ɕe꜒p͡f</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /kʲ/ > // + /kʲ/
/c/ + /ɾ/ > // + /t/
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.masc" ph="b i &#xA712; t&#x361;&#x255; e &#xA712; p&#x361;f" slots="Cir Cfr">bi꜒t͡ɕe꜒p͡f</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.masc" ph="b i &#xA712; t&#x361;&#x255; e &#xA712; p&#x361;f">bi꜒t͡ɕe꜒p͡f</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.masc" ph="b i &#xA712; t&#x361;&#x255; e &#xA712; p&#x361;f">bi꜒t͡ɕe꜒p͡f</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">kʲuː꜖ɲ</word>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" obj="3.sing.masc">bi꜒t͡ɕe꜒p͡f</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʲuː꜖ɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bi꜒t͡ɕe꜒p͡f&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾyː꜒pʼɜ꜖pʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʲuː꜖ɲ pᵊ꜖d͡ʑ bi꜒t͡ɕe꜒p͡f tyː꜒pʼɜ꜖pʼ</p>
+  <p>kiuu̠ñ p̠d͡ʑ bītyēpf tüǖbpè̠bp</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʲuː꜖ɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>bi꜒t͡ɕe꜒p͡f</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾyː꜒pʼɜ꜖pʼ</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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.fem" obj="3.sing.masc"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/voice/optional
Got active
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc"/>
    </np>
  </s>
</example>

flatten:

<example id="tr_past" translation="The cat caught the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /kʲ/ > // + /kʲ/
/c/ + /ɾ/ > // + /t/
<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" gender="fem">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" gender="masc" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʲuː꜖ɲ&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;rɜː꜒tʼ&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾyː꜒pʼɜ꜖pʼ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʲuː꜖ɲ kʼu꜖x pᵊ꜖d͡ʑ rɜː꜒tʼ tyː꜒pʼɜ꜖pʼ</p>
+  <p>kiuu̠ñ gku̠x p̠d͡ʑ rrèè̄dt tüǖbpè̠bp</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʲuː꜖ɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>rɜː꜒tʼ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾyː꜒pʼɜ꜖pʼ</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
      <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.masc" obj="3.plur.masc">
+      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" gender="masc" number="plur">
      <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
        <word posp="noun" gloss="lion"/>
      </np>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
      <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.masc" obj="3.plur.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="kill"/>
    </vp>
-    <np role="obj" tr="rheme" gender="masc" number="plur">
    <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
      <word posp="noun" gloss="lion"/>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for kill/verb/voice/optional
Got active
About to call getSlotValue for jaguar/noun/number/obligatory
Got plur
About to call getSlotValue for tiger/noun/number/obligatory
Got plur
About to call getSlotValue for lion/noun/number/obligatory
Got plur
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc"/>
    </vp>
    <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
+      <thingy type="nounnumber" function="prefix" gloss="plur"/>
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
+      <thingy type="nounnumber" function="prefix" gloss="plur"/>
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">
+      <thingy type="nounnumber" function="prefix" gloss="plur"/>
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s" slots="Cir Cfr">d͡zᵊ꜖jo꜒s</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc" ph="t&#x361;s&#x2B0; u &#xA712; m&#x2B2;" slots="Cir Cfr">t͡sʰu꜒mʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;" slots="Cir Cfr">ɟu꜖ve꜖rʲ</word>
+    <word posp="conj" gloss="and" ph="k&#x2BC; a &#xA712; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">kʼa꜒t͡ʃʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="&#x3B2; &#x1D4A; &#xA712; t&#x361;&#x283;&#x2BC; &#x254;i &#xA716; z" slots="Cir Cfr">βᵊ꜒t͡ʃʼɔi꜖z</word>
+    <word posp="conj" gloss="and" ph="k&#x2BC; a &#xA712; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">kʼa꜒t͡ʃʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;" slots="Cir Cfr">t͡ʃiː꜒pʲy꜒dʲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /d͡z/ > // + /t/
/d͡ʒ/ + /ɟ/ > // + /ɟ/
/d͡ʒ/ + /β/ > // + /p͡f/
/d͡ʒ/ + /t͡ʃ/ > // + /d͡ʒ/
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s" slots="Cir Cfr">d͡zᵊ꜖jo꜒s</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="t &#x1D4A; &#xA716; j o &#xA712; s" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc" ph="t&#x361;s&#x2B0; u &#xA712; m&#x2B2;" slots="Cir Cfr">t͡sʰu꜒mʲ</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;" slots="Cir Cfr">ɟu꜖ve꜖rʲ</word>
-    <word posp="conj" gloss="and" ph="k&#x2BC; a &#xA712; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">kʼa꜒t͡ʃʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="&#x3B2; &#x1D4A; &#xA712; t&#x361;&#x283;&#x2BC; &#x254;i &#xA716; z" slots="Cir Cfr">βᵊ꜒t͡ʃʼɔi꜖z</word>
-    <word posp="conj" gloss="and" ph="k&#x2BC; a &#xA712; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">kʼa꜒t͡ʃʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="d&#x361;&#x292;" slots="Cip Cip">d͡ʒ</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;" slots="Cir Cfr">t͡ʃiː꜒pʲy꜒dʲ</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc" ph="t&#x361;s&#x2B0; u &#xA712; m&#x2B2;">t͡sʰu꜒mʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;">ɟu꜖ve꜖rʲ</word>
+    <word posp="conj" gloss="and" ph="k&#x2BC; a &#xA712; t&#x361;&#x283;&#x2BC;">kʼa꜒t͡ʃʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="p&#x361;f &#x1D4A; &#xA712; t&#x361;&#x283;&#x2BC; &#x254;i &#xA716; z" underlying="&#x3B2; &#x1D4A; &#xA712; t&#x361;&#x283;&#x2BC; &#x254;i &#xA716; z">p͡fᵊ꜒t͡ʃʼɔi꜖z</word>
+    <word posp="conj" gloss="and" ph="k&#x2BC; a &#xA712; t&#x361;&#x283;&#x2BC;">kʼa꜒t͡ʃʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="d&#x361;&#x292; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;" underlying="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;">d͡ʒiː꜒pʲy꜒dʲ</word>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="t &#x1D4A; &#xA716; j o &#xA712; s" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc" ph="t&#x361;s&#x2B0; u &#xA712; m&#x2B2;">t͡sʰu꜒mʲ</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="&#x25F; u &#xA716; v e &#xA716; r&#x2B2;">ɟu꜖ve꜖rʲ</word>
-    <word posp="conj" gloss="and" ph="k&#x2BC; a &#xA712; t&#x361;&#x283;&#x2BC;">kʼa꜒t͡ʃʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="p&#x361;f &#x1D4A; &#xA712; t&#x361;&#x283;&#x2BC; &#x254;i &#xA716; z" underlying="&#x3B2; &#x1D4A; &#xA712; t&#x361;&#x283;&#x2BC; &#x254;i &#xA716; z">p͡fᵊ꜒t͡ʃʼɔi꜖z</word>
-    <word posp="conj" gloss="and" ph="k&#x2BC; a &#xA712; t&#x361;&#x283;&#x2BC;">kʼa꜒t͡ʃʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="" underlying="d&#x361;&#x292;"></thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" ph="d&#x361;&#x292; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;" underlying="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;">d͡ʒiː꜒pʲy꜒dʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" underlying="d&#x361;z &#x1D4A; &#xA716; j o &#xA712; s">tᵊ꜖jo꜒s</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.plur.masc">t͡sʰu꜒mʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" underlying="d&#x361;&#x292;"></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme">ɟu꜖ve꜖rʲ</word>
+    <word posp="conj" gloss="and">kʼa꜒t͡ʃʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" underlying="d&#x361;&#x292;"></thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" underlying="&#x3B2; &#x1D4A; &#xA712; t&#x361;&#x283;&#x2BC; &#x254;i &#xA716; z">p͡fᵊ꜒t͡ʃʼɔi꜖z</word>
+    <word posp="conj" gloss="and">kʼa꜒t͡ʃʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" underlying="d&#x361;&#x292;"></thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="masc" role="obj" tr="rheme" underlying="t&#x361;&#x283; i&#x2D0; &#xA712; p&#x2B2; y &#xA712; d&#x2B2;">d͡ʒiː꜒pʲy꜒dʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zᵊ꜖jo꜒s&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰu꜒mʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟu꜖ve꜖rʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼa꜒t͡ʃʼ&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;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;βᵊ꜒t͡ʃʼɔi꜖z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tiger&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼa꜒t͡ʃʼ&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;d͡ʒ-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃiː꜒pʲy꜒dʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tᵊ꜖jo꜒s kʼu꜖x pᵊ꜖d͡ʑ t͡sʰu꜒mʲ ɟu꜖ve꜖rʲ kʼa꜒t͡ʃʼ p͡fᵊ꜒t͡ʃʼɔi꜖z kʼa꜒t͡ʃʼ d͡ʒiː꜒pʲy꜒dʲ</p>
+  <p>t̠yōs gku̠x p̠d͡ʑ tzhūmi dyu̠ve̠rri gkāchʼ pf̄chʼoi̠z gkāchʼ jiīpiǖdi</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>d͡zᵊ꜖jo꜒s</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡sʰu꜒mʲ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ɟu꜖ve꜖rʲ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>kʼa꜒t͡ʃʼ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>βᵊ꜒t͡ʃʼɔi꜖z</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>kʼa꜒t͡ʃʼ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>d͡ʒ-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>t͡ʃiː꜒pʲy꜒dʲ</o>
+      <g>lion</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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.fem"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/voice/optional
Got active
About to call getSlotValue for cat/noun/number/obligatory
Got sing
<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <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.fem"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
    </np>
  </s>
</example>

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">
+  <flat>
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <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.fem"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <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.fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem"/>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.fem" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n" slots="Cir Cfr">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /kʲ/ > // + /kʲ/
<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.fem" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n" slots="Cir Cfr">pʲi꜒ɡi꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.fem" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n">pʲi꜒ɡi꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖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="3.sing.fem">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" gender="fem">kʲuː꜖ɲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜒ɡi꜖n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʲuː꜖ɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʼu꜖x pᵊ꜖d͡ʑ pʲi꜒ɡi꜖n kʲuː꜖ɲ</p>
+  <p>gku̠x p̠d͡ʑ piīgi̠n kiuu̠ñ</p>
+  <il>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>pʲi꜒ɡi꜖n</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʲuː꜖ɲ</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

<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">
+        <np def="def" number="sing" role="subj" 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>
  </s>
</example>

module sentenceconnectors:

No change.

module complementise:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
+      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
          <word posp="noun" gloss="cat"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
+          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="masc">
          <word posp="noun" gloss="mouse"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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.masc"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
-          <word posp="noun" gloss="cat"/>
+          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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.fem" obj="3.sing.masc"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="masc">
-          <word posp="noun" gloss="mouse"/>
+          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/voice/optional
Got active
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/voice/optional
Got active
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <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.masc"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" gender="masc">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
+  <flat>
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <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.masc"/>
-    </vp>
-    <np role="obj" gender="masc" number="sing">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number" gender="masc">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <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.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n" slots="Cir Cfr">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /kʲ/ > // + /kʲ/
/c/ + /ɾ/ > // + /t/
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n" slots="Cir Cfr">pʲi꜒ɡi꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖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="3.sing.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n">pʲi꜒ɡi꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖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="3.sing.masc">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="masc" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing">skʲy꜒ɟo꜖ʎ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜒ɡi꜖n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʲuː꜖ɲ&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;rɜː꜒tʼ&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾyː꜒pʼɜ꜖pʼ&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;skʲy꜒ɟo꜖ʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʼu꜖x pᵊ꜖d͡ʑ pʲi꜒ɡi꜖n kʲuː꜖ɲ kʼu꜖x pᵊ꜖d͡ʑ rɜː꜒tʼ tyː꜒pʼɜ꜖pʼ skʲy꜒ɟo꜖ʎ</p>
+  <p>gku̠x p̠d͡ʑ piīgi̠n kiuu̠ñ gku̠x p̠d͡ʑ rrèè̄dt tüǖbpè̠bp skiǖdyo̠ll</p>
+  <il>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>pʲi꜒ɡi꜖n</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʲuː꜖ɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>rɜː꜒tʼ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾyː꜒pʼɜ꜖pʼ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>skʲy꜒ɟo꜖ʎ</o>
+      <g>COMP</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 embed:

<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">
+        <np def="def" number="sing" role="subj" 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">
+            <np def="def" number="sing" role="subj" 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>
-      </relp>
+      </subs>
    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
+      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
          <word posp="noun" gloss="cat"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
+          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
        <np role="obj" gender="masc" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc">
              <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.masc" obj="3.sing.fem">
+              <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="fem">
              <word posp="noun" gloss="cheese"/>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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.masc"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
-          <word posp="noun" gloss="cat"/>
+          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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.fem" obj="3.sing.masc"/>
        </vp>
        <np role="obj" gender="masc" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc">
-              <word posp="noun" gloss="mouse"/>
+              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">
              <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-              <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.masc" obj="3.sing.fem"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="fem">
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
            </np>
-            <word gloss="COMP" posp="pp"/>
+            <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
          </subs>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/voice/optional
Got active
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/voice/optional
Got active
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for eat/verb/voice/optional
Got active
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <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.masc"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
        </vp>
        <np role="obj" gender="masc" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc">
+              <thingy type="nounnumber" function="prefix" gloss="sing"/>
              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">
              <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+              <thingy type="verbvoice" function="prefix" gloss="active"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" gender="fem">
+              <thingy type="nounnumber" function="prefix" gloss="sing"/>
              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
            </np>
            <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
+  <flat>
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <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.masc"/>
-    </vp>
-    <np role="obj" gender="masc" number="sing">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-        </vp>
-        <np role="obj" gender="masc" number="sing">
-          <subs>
-            <np def="def" number="sing" role="subj" locus="number" gender="masc">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
-            </vp>
-            <np def="def" number="sing" role="obj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
-          </subs>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <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.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n" slots="Cir Cfr">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="p&#x2B2; i &#xA716; t&#x361;s" slots="Cir Cfr">pʲi꜖t͡s</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="p&#x2B2; i &#xA716; &#x28E; a&#x2D0; &#xA712; d" slots="Cir Cfr">pʲi꜖ʎaː꜒d</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /kʲ/ > // + /kʲ/
/c/ + /ɾ/ > // + /t/
/c/ + /pʲ/ > // + /pʲ/
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n" slots="Cir Cfr">pʲi꜒ɡi꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖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="3.sing.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="p&#x2B2; i &#xA716; t&#x361;s" slots="Cir Cfr">pʲi꜖t͡s</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="p&#x2B2; i &#xA716; &#x28E; a&#x2D0; &#xA712; d" slots="Cir Cfr">pʲi꜖ʎaː꜒d</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="p&#x2B2; i &#xA716; t&#x361;s">pʲi꜖t͡s</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="p&#x2B2; i &#xA716; &#x28E; a&#x2D0; &#xA712; d">pʲi꜖ʎaː꜒d</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n">pʲi꜒ɡi꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem" ph="p&#x2B2; i &#xA716; t&#x361;s">pʲi꜖t͡s</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="p&#x2B2; i &#xA716; &#x28E; a&#x2D0; &#xA712; d">pʲi꜖ʎaː꜒d</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖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="3.sing.masc">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="3.sing.fem">pʲi꜖t͡s</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem">pʲi꜖ʎaː꜒d</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing">skʲy꜒ɟo꜖ʎ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜒ɡi꜖n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʲuː꜖ɲ&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;rɜː꜒tʼ&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾyː꜒pʼɜ꜖pʼ&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜖t͡s&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜖ʎaː꜒d&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;skʲy꜒ɟo꜖ʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;skʲy꜒ɟo꜖ʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʼu꜖x pᵊ꜖d͡ʑ pʲi꜒ɡi꜖n kʲuː꜖ɲ kʼu꜖x pᵊ꜖d͡ʑ rɜː꜒tʼ tyː꜒pʼɜ꜖pʼ kʼu꜖x pᵊ꜖d͡ʑ pʲi꜖t͡s pʲi꜖ʎaː꜒d skʲy꜒ɟo꜖ʎ skʲy꜒ɟo꜖ʎ</p>
+  <p>gku̠x p̠d͡ʑ piīgi̠n kiuu̠ñ gku̠x p̠d͡ʑ rrèè̄dt tüǖbpè̠bp gku̠x p̠d͡ʑ pii̠tz pii̠llaād skiǖdyo̠ll skiǖdyo̠ll</p>
+  <il>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>pʲi꜒ɡi꜖n</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʲuː꜖ɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>rɜː꜒tʼ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾyː꜒pʼɜ꜖pʼ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>pʲi꜖t͡s</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>pʲi꜖ʎaː꜒d</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>skʲy꜒ɟo꜖ʎ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>skʲy꜒ɟo꜖ʎ</o>
+      <g>COMP</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 embed:

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

module sentenceconnectors:

No change.

module complementise:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
+      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
          <word posp="noun" gloss="cat"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
+          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
          <word posp="verb" gloss="catch"/>
        </vp>
        <np role="obj" gender="masc" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc">
              <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.masc" obj="1excl.sing">
+              <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
              <word posp="verb" gloss="eat"/>
            </vp>
            <np role="obj" gender="masc" number="sing" person="1excl">
              <subs>
                <np number="sing" def="neither" role="subj" locus="number" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">
+                  <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
+                  <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np def="def" number="sing" role="obj" locus="number" gender="fem">
                  <word posp="noun" gloss="cheese"/>
                </np>
                <word gloss="COMP" posp="pp"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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.masc"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
-          <word posp="noun" gloss="cat"/>
+          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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.fem" obj="3.sing.masc"/>
        </vp>
        <np role="obj" gender="masc" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc">
-              <word posp="noun" gloss="mouse"/>
+              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing">
              <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-              <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.masc" obj="1excl.sing"/>
            </vp>
            <np role="obj" gender="masc" number="sing" person="1excl">
              <subs>
                <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">
                  <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
                  <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-                  <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" subj="1excl.sing" obj="3.sing.fem"/>
                </vp>
                <np def="def" number="sing" role="obj" locus="number" gender="fem">
-                  <word posp="noun" gloss="cheese"/>
+                  <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
                </np>
-                <word gloss="COMP" posp="pp"/>
+                <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl"/>
              </subs>
            </np>
-            <word gloss="COMP" posp="pp"/>
+            <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
          </subs>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/voice/optional
Got active
About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for catch/verb/voice/optional
Got active
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for eat/verb/voice/optional
Got active
About to call getSlotValue for buy/verb/voice/optional
Got active
About to call getSlotValue for cheese/noun/number/obligatory
Got sing
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <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.masc"/>
    </vp>
    <np role="obj" gender="masc" number="sing">
      <subs>
        <np def="def" number="sing" role="subj" locus="number" gender="fem">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
        </vp>
        <np role="obj" gender="masc" number="sing">
          <subs>
            <np def="def" number="sing" role="subj" locus="number" gender="masc">
+              <thingy type="nounnumber" function="prefix" gloss="sing"/>
              <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing">
              <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
              <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+              <thingy type="verbvoice" function="prefix" gloss="active"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing"/>
            </vp>
            <np role="obj" gender="masc" number="sing" person="1excl">
              <subs>
                <np number="sing" def="neither" role="subj" locus="number" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">
                  <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
                  <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+                  <thingy type="verbvoice" function="prefix" gloss="active"/>
                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
                </vp>
                <np def="def" number="sing" role="obj" locus="number" gender="fem">
+                  <thingy type="nounnumber" function="prefix" gloss="sing"/>
                  <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
                </np>
                <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl"/>
              </subs>
            </np>
            <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
          </subs>
        </np>
        <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.masc">
+  <flat>
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <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.masc"/>
-    </vp>
-    <np role="obj" gender="masc" number="sing">
-      <subs>
-        <np def="def" number="sing" role="subj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-        </vp>
-        <np role="obj" gender="masc" number="sing">
-          <subs>
-            <np def="def" number="sing" role="subj" locus="number" gender="masc">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing"/>
-            </vp>
-            <np role="obj" gender="masc" number="sing" person="1excl">
-              <subs>
-                <np number="sing" def="neither" role="subj" locus="number" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
-                </vp>
-                <np def="def" number="sing" role="obj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
-                </np>
    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl"/>
-              </subs>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
-          </subs>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <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.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing"/>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n" slots="Cir Cfr">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing" ph="p&#x2B2; i &#xA716; t&#x361;s" slots="Cir Cfr">pʲi꜖t͡s</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" ph="t&#x2B0; u &#xA716; m" slots="Cir Cfr">tʰu꜖m</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="t&#x361;&#x255;&#x2B0; &#x25C; &#xA716; &#x272;" slots="Cir Cfr">t͡ɕʰɜ꜖ɲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="p&#x2B2; i &#xA716; &#x28E; a&#x2D0; &#xA712; d" slots="Cir Cfr">pʲi꜖ʎaː꜒d</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /kʲ/ > // + /kʲ/
/c/ + /ɾ/ > // + /t/
/c/ + /pʲ/ > // + /pʲ/
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n" slots="Cir Cfr">pʲi꜒ɡi꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;" slots="Cir Cfr">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖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="3.sing.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;" slots="Cir Cfr">rɜː꜒tʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" ph="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" slots="Cir Cfr">ɾyː꜒pʼɜ꜖pʼ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing" ph="p&#x2B2; i &#xA716; t&#x361;s" slots="Cir Cfr">pʲi꜖t͡s</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" ph="t&#x2B0; u &#xA716; m" slots="Cir Cfr">tʰu꜖m</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing" ph="p&#x2B2; i &#xA716; t&#x361;s">pʲi꜖t͡s</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" ph="t&#x2B0; u &#xA716; m">tʰu꜖m</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="t&#x361;&#x255;&#x2B0; &#x25C; &#xA716; &#x272;" slots="Cir Cfr">t͡ɕʰɜ꜖ɲ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="p&#x2B2; i &#xA716; &#x28E; a&#x2D0; &#xA712; d" slots="Cir Cfr">pʲi꜖ʎaː꜒d</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="t&#x361;&#x255;&#x2B0; &#x25C; &#xA716; &#x272;">t͡ɕʰɜ꜖ɲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="p&#x2B2; i &#xA716; &#x28E; a&#x2D0; &#xA712; d">pʲi꜖ʎaː꜒d</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
  </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="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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.masc" ph="p&#x2B2; i &#xA712; &#x261; i &#xA716; n">pʲi꜒ɡi꜖n</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem" ph="k&#x2B2; u&#x2D0; &#xA716; &#x272;">kʲuː꜖ɲ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="r &#x25C;&#x2D0; &#xA712; t&#x2BC;">rɜː꜒tʼ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" ph="t y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing" ph="p&#x2B2; i &#xA716; t&#x361;s">pʲi꜖t͡s</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" ph="t&#x2B0; u &#xA716; m">tʰu꜖m</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem" ph="t&#x361;&#x255;&#x2B0; &#x25C; &#xA716; &#x272;">t͡ɕʰɜ꜖ɲ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem" ph="p&#x2B2; i &#xA716; &#x28E; a&#x2D0; &#xA712; d">pʲi꜖ʎaː꜒d</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
-    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖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="3.sing.masc">pʲi꜒ɡi꜖n</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="subj" locus="number" gender="fem">kʲuː꜖ɲ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">rɜː꜒tʼ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="subj" locus="number" gender="masc" underlying="&#x27E; y&#x2D0; &#xA712; p&#x2BC; &#x25C; &#xA716; p&#x2BC;">tyː꜒pʼɜ꜖pʼ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" obj="1excl.sing">pʲi꜖t͡s</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number">tʰu꜖m</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.fem">t͡ɕʰɜ꜖ɲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="fem">pʲi꜖ʎaː꜒d</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing" person="1excl">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing">skʲy꜒ɟo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" gender="masc" number="sing">skʲy꜒ɟo꜖ʎ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜒ɡi꜖n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʲuː꜖ɲ&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;rɜː꜒tʼ&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾyː꜒pʼɜ꜖pʼ&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜖t͡s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰu꜖m&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ɕʰɜ꜖ɲ&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʲi꜖ʎaː꜒d&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;skʲy꜒ɟo꜖ʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;skʲy꜒ɟo꜖ʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;skʲy꜒ɟo꜖ʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʼu꜖x pᵊ꜖d͡ʑ pʲi꜒ɡi꜖n kʲuː꜖ɲ kʼu꜖x pᵊ꜖d͡ʑ rɜː꜒tʼ tyː꜒pʼɜ꜖pʼ kʼu꜖x pᵊ꜖d͡ʑ pʲi꜖t͡s tʰu꜖m kʼu꜖x pᵊ꜖d͡ʑ t͡ɕʰɜ꜖ɲ pʲi꜖ʎaː꜒d skʲy꜒ɟo꜖ʎ skʲy꜒ɟo꜖ʎ skʲy꜒ɟo꜖ʎ</p>
+  <p>gku̠x p̠d͡ʑ piīgi̠n kiuu̠ñ gku̠x p̠d͡ʑ rrèè̄dt tüǖbpè̠bp gku̠x p̠d͡ʑ pii̠tz thu̠m gku̠x p̠d͡ʑ tyhè̠ñ pii̠llaād skiǖdyo̠ll skiǖdyo̠ll skiǖdyo̠ll</p>
+  <il>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>pʲi꜒ɡi꜖n</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʲuː꜖ɲ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>rɜː꜒tʼ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɾyː꜒pʼɜ꜖pʼ</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>pʲi꜖t͡s</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tʰu꜖m</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡ɕʰɜ꜖ɲ</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>pʲi꜖ʎaː꜒d</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>skʲy꜒ɟo꜖ʎ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>skʲy꜒ɟo꜖ʎ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>skʲy꜒ɟo꜖ʎ</o>
+      <g>COMP</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 embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for give/verb/voice/optional
Got active
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for a/det/gender/optional
Got fem
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for surprise/verb/voice/optional
Got active
About to call getSlotValue for teacher/noun/number/obligatory
Got sing
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" gender="masc" number="sing">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" gender="masc">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem"/>
        </np>
        <np number="sing" role="obj" locus="number" gender="fem">
          <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="fem"/>
+          <thingy type="detgender" function="suffix" gloss="fem"/>
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" gender="masc" number="sing"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem"/>
    </np>
  </s>
</example>

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
-    <np role="subj" gender="masc" number="sing">
-      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" gender="masc">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem"/>
-        </np>
-        <np number="sing" role="obj" locus="number" gender="fem">
    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="fem"/>
    <thingy type="detgender" function="suffix" gloss="fem"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem"/>
-        </np>
    <word gloss="COMP" posp="pp" role="subj" gender="masc" number="sing"/>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="fem"/>
-    <thingy type="detgender" function="suffix" gloss="fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem"/>
-    <word gloss="COMP" posp="pp" role="subj" gender="masc" number="sing"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" ph="x u &#xA716; n" slots="Cir Cfr">xu꜖n</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem" ph="s&#x2B2; o &#xA716; z" slots="Cir Cfr">sʲo꜖z</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" ph="k&#x2B0; a &#xA716; s&#x2B2;" slots="Cir Cfr">kʰa꜖sʲ</word>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="fem" ph="s &#x25C; &#xA712; c" slots="Cir Cfr">sɜ꜒c</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="d&#x2B2; i &#xA716;" slots="Cfr T2">dʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem" ph="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">ni꜒ɾa꜖t͡ʃʼ</word>
+    <word gloss="COMP" posp="pp" role="subj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" ph="b a &#xA712; t&#x361;s&#x2B0; o&#x2D0; &#xA712; p" slots="Cir Cfr">ba꜒t͡sʰoː꜒p</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" ph="&#xE7; i&#x2D0; b&#x2B2; i&#x2D0; b&#x2B2;" slots="C C">çiːbʲiːbʲ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /x/ > // + /k/
/c/ + /kʰ/ > // + /k/
/c/ + /dʲ/ > // + /tʲ/
/c/ + /n/ > // + /ɲ/
/c/ + /ç/ > // + /c/
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" ph="x u &#xA716; n" slots="Cir Cfr">xu꜖n</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" ph="k u &#xA716; n" underlying="x u &#xA716; n">ku꜖n</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem" ph="s&#x2B2; o &#xA716; z" slots="Cir Cfr">sʲo꜖z</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" ph="k&#x2B0; a &#xA716; s&#x2B2;" slots="Cir Cfr">kʰa꜖sʲ</word>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="fem" ph="s &#x25C; &#xA712; c" slots="Cir Cfr">sɜ꜒c</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="d&#x2B2; i &#xA716;" slots="Cfr T2">dʲi꜖</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem" ph="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" slots="Cir Cfr">ni꜒ɾa꜖t͡ʃʼ</word>
-    <word gloss="COMP" posp="pp" role="subj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem" ph="s&#x2B2; o &#xA716; z">sʲo꜖z</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" ph="k a &#xA716; s&#x2B2;" underlying="k&#x2B0; a &#xA716; s&#x2B2;">ka꜖sʲ</word>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="fem" ph="s &#x25C; &#xA712;" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t&#x2B2; i &#xA716;" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem" ph="&#x272; i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
+    <word gloss="COMP" posp="pp" role="subj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" ph="b a &#xA712; t&#x361;s&#x2B0; o&#x2D0; &#xA712; p" slots="Cir Cfr">ba꜒t͡sʰoː꜒p</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" ph="&#xE7; i&#x2D0; b&#x2B2; i&#x2D0; b&#x2B2;" slots="C C">çiːbʲiːbʲ</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" ph="b a &#xA712; t&#x361;s&#x2B0; o&#x2D0; &#xA712; p">ba꜒t͡sʰoː꜒p</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" ph="c i&#x2D0; b&#x2B2; i&#x2D0; b&#x2B2;" underlying="&#xE7; i&#x2D0; b&#x2B2; i&#x2D0; b&#x2B2;">ciːbʲiːbʲ</word>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" ph="k u &#xA716; n" underlying="x u &#xA716; n">ku꜖n</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem" ph="s&#x2B2; o &#xA716; z">sʲo꜖z</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" ph="k a &#xA716; s&#x2B2;" underlying="k&#x2B0; a &#xA716; s&#x2B2;">ka꜖sʲ</word>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="fem" ph="s &#x25C; &#xA712;" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t&#x2B2; i &#xA716;" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem" ph="&#x272; i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
-    <word gloss="COMP" posp="pp" role="subj" gender="masc" number="sing" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" ph="b a &#xA712; t&#x361;s&#x2B0; o&#x2D0; &#xA712; p">ba꜒t͡sʰoː꜒p</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" ph="c i&#x2D0; b&#x2B2; i&#x2D0; b&#x2B2;" underlying="&#xE7; i&#x2D0; b&#x2B2; i&#x2D0; b&#x2B2;">ciːbʲiːbʲ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" gender="masc" underlying="x u &#xA716; n">ku꜖n</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="3.sing.fem">sʲo꜖z</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" gender="fem" underlying="k&#x2B0; a &#xA716; s&#x2B2;">ka꜖sʲ</word>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" gender="fem" underlying="s &#x25C; &#xA712; c">sɜ꜒</word>
+    <thingy type="detgender" function="suffix" gloss="fem" underlying="d&#x2B2; i &#xA716;">tʲi꜖</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" gender="fem" underlying="n i &#xA712; &#x27E; a &#xA716; t&#x361;&#x283;&#x2BC;">ɲi꜒ɾa꜖t͡ʃʼ</word>
+    <word gloss="COMP" posp="pp" role="subj" gender="masc" number="sing">skʲy꜒ɟo꜖ʎ</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem">ba꜒t͡sʰoː꜒p</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" gender="fem" underlying="&#xE7; i&#x2D0; b&#x2B2; i&#x2D0; b&#x2B2;">ciːbʲiːbʲ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xu꜖n&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sʲo꜖z&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;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰa꜖sʲ&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;sɜ꜒c&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;-dʲi꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ni꜒ɾa꜖t͡ʃʼ&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;skʲy꜒ɟo꜖ʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ba꜒t͡sʰoː꜒p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surprise&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;çiːbʲiːbʲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ku꜖n kʼu꜖x pᵊ꜖d͡ʑ sʲo꜖z ka꜖sʲ sɜ꜒tʲi꜖ ɲi꜒ɾa꜖t͡ʃʼ skʲy꜒ɟo꜖ʎ kʼu꜖x pᵊ꜖d͡ʑ ba꜒t͡sʰoː꜒p ciːbʲiːbʲ</p>
+  <p>ku̠n gku̠x p̠d͡ʑ sio̠z ka̠si sè̄tii̠ ñīra̠chʼ skiǖdyo̠ll gku̠x p̠d͡ʑ bātzhoōp tjiibiiibi</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>xu꜖n</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>sʲo꜖z</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʰa꜖sʲ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>sɜ꜒c</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-dʲi꜖</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ni꜒ɾa꜖t͡ʃʼ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>skʲy꜒ɟo꜖ʎ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>ba꜒t͡sʰoː꜒p</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>çiːbʲiːbʲ</o>
+      <g>teacher</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-      <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.masc" indobj="3.sing.fem" obj="1excl.sing"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem">
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem"/>
    </np>
    <np role="obj" tr="rheme" gender="masc" number="sing" person="1excl">
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-          <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"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
-          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for tell/verb/voice/optional
Got active
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for love/verb/voice/optional
Got active
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing">
      <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
      <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+      <thingy type="verbvoice" function="prefix" gloss="active"/>
      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem"/>
    </np>
    <np role="obj" tr="rheme" gender="masc" number="sing" person="1excl">
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
          <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
          <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
+          <thingy type="verbvoice" function="prefix" gloss="active"/>
          <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"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="quot1" translation="The boy told the girl that he loved her.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem"/>
-    </np>
-    <np role="obj" tr="rheme" gender="masc" number="sing" person="1excl">
-      <subs>
-        <np number="sing" def="neither" role="subj" locus="number" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
    <thingy type="verbvoice" function="prefix" gloss="active"/>
    <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"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number"/>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES"/>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS"/>
-    <thingy type="verbvoice" function="prefix" gloss="active"/>
-    <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"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="x u &#xA716; n" slots="Cir Cfr">xu꜖n</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing" ph="t&#x361;s&#x2B0; &#x254;i &#xA716; d&#x361;&#x291;" slots="Cir Cfr">t͡sʰɔi꜖d͡ʑ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" ph="k&#x2B0; a &#xA716; s&#x2B2;" slots="Cir Cfr">kʰa꜖sʲ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" ph="t&#x2B0; u &#xA716; m" slots="Cir Cfr">tʰu꜖m</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;" slots="Cir Cfr">t͡ɕʰo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/c/ + /x/ > // + /k/
/c/ + /kʰ/ > // + /k/
<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="x u &#xA716; n" slots="Cir Cfr">xu꜖n</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x" slots="Cip Cfp">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="k u &#xA716; n" underlying="x u &#xA716; n">ku꜖n</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing" ph="t&#x361;s&#x2B0; &#x254;i &#xA716; d&#x361;&#x291;" slots="Cir Cfr">t͡sʰɔi꜖d͡ʑ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="c" slots="Cip Cip">c</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" ph="k&#x2B0; a &#xA716; s&#x2B2;" slots="Cir Cfr">kʰa꜖sʲ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" ph="t&#x2B0; u &#xA716; m" slots="Cir Cfr">tʰu꜖m</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;" slots="Cip T2">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;" slots="Cip Cfp">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing" ph="t&#x361;s&#x2B0; &#x254;i &#xA716; d&#x361;&#x291;">t͡sʰɔi꜖d͡ʑ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" ph="k a &#xA716; s&#x2B2;" underlying="k&#x2B0; a &#xA716; s&#x2B2;">ka꜖sʲ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" ph="t&#x2B0; u &#xA716; m">tʰu꜖m</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z" slots="Cir Cfr">t͡sʰeː꜖z</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;" slots="Cir Cfr">t͡ɕʰo꜖ʎ</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;" slots="Cir Cfr">skʲy꜒ɟo꜖ʎ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;">t͡ɕʰo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" ph="k u &#xA716; n" underlying="x u &#xA716; n">ku꜖n</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST" ph="k&#x2BC; u &#xA716; x">kʼu꜖x</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing" ph="t&#x361;s&#x2B0; &#x254;i &#xA716; d&#x361;&#x291;">t͡sʰɔi꜖d͡ʑ</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="" underlying="c"></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" ph="k a &#xA716; s&#x2B2;" underlying="k&#x2B0; a &#xA716; s&#x2B2;">ka꜖sʲ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number" ph="t&#x2B0; u &#xA716; m">tʰu꜖m</word>
-    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES" ph="&#x28E; a &#xA716;">ʎa꜖</thingy>
-    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS" ph="p &#x1D4A; &#xA716; d&#x361;&#x291;">pᵊ꜖d͡ʑ</thingy>
-    <thingy type="verbvoice" function="prefix" gloss="active" attach="prefix" ph="" slots="Cip Cir"></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="t&#x361;s&#x2B0; e&#x2D0; &#xA716; z">t͡sʰeː꜖z</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number" ph="t&#x361;&#x255;&#x2B0; o &#xA716; &#x28E;">t͡ɕʰo꜖ʎ</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl" ph="s+k&#x2B2; y &#xA712; &#x25F; o &#xA716; &#x28E;">skʲy꜒ɟo꜖ʎ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" gender="masc" underlying="x u &#xA716; n">ku꜖n</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PAST">kʼu꜖x</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.masc" indobj="3.sing.fem" obj="1excl.sing">t͡sʰɔi꜖d͡ʑ</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" underlying="c"></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" gender="fem" underlying="k&#x2B0; a &#xA716; s&#x2B2;">ka꜖sʲ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="fem" def="neither" role="subj" locus="number">tʰu꜖m</word>
+    <thingy type="vpmode.ta" function="proclitic" gloss="indicative.PRES">ʎa꜖</thingy>
+    <thingy type="vpquestion.negation" function="proclitic" gloss="not.Q.POS">pᵊ꜖d͡ʑ</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">t͡sʰeː꜖z</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="fem" def="neither" role="obj" locus="number">t͡ɕʰo꜖ʎ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" gender="masc" number="sing" person="1excl">skʲy꜒ɟo꜖ʎ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xu꜖n&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;kʼu꜖x&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&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;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰɔi꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tell&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;c-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰa꜖sʲ&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;tʰu꜖m&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;ʎa꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pᵊ꜖d͡ʑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.Q.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰeː꜖z&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ɕʰo꜖ʎ&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;skʲy꜒ɟo꜖ʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ku꜖n kʼu꜖x pᵊ꜖d͡ʑ t͡sʰɔi꜖d͡ʑ ka꜖sʲ tʰu꜖m ʎa꜖ pᵊ꜖d͡ʑ t͡sʰeː꜖z t͡ɕʰo꜖ʎ skʲy꜒ɟo꜖ʎ</p>
+  <p>ku̠n gku̠x p̠d͡ʑ tzhoi̠d͡ʑ ka̠si thu̠m lla̠ p̠d͡ʑ tzhee̠z tyho̠ll skiǖdyo̠ll</p>
+  <il>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>xu꜖n</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>kʼu꜖x</o>
+      <g>indicative.PAST</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡sʰɔi꜖d͡ʑ</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>c-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>kʰa꜖sʲ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>tʰu꜖m</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ʎa꜖</o>
+      <g>indicative.PRES</g>
+    </w>
+    <w>
+      <o>pᵊ꜖d͡ʑ</o>
+      <g>not.Q.POS</g>
+    </w>
+    <w>
+      <o>t͡sʰeː꜖z</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>t͡ɕʰo꜖ʎ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>skʲy꜒ɟo꜖ʎ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>