initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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="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>
    <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 casemarking:

<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="obj" def="def" number="plur" tr="rheme" locus="number">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
-    <np role="subj" number="sing" def="def" locus="number">
+    <np role="subj" number="sing" def="def" locus="number" case="NOM">
      <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>
  </s>
</example>

module markowner:

No change.

module addgender:

<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="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
-    <np role="subj" number="sing" def="def" locus="number" case="NOM">
+    <np role="subj" number="sing" def="def" locus="number" case="NOM" 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>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for yon/det/gender/obligatory
Got fem
About to call getSlotValue for yon/det/number/optional
Got plur
<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" obj="3.plur.fem" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
+      <thingy type="detgender" function="suffix" gloss="fem"/>
+      <thingy type="detnumber" function="suffix" gloss="plur"/>
    </np>
    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="fem" case="NOM">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" case="NOM"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
      </pp>
    </np>
  </s>
</example>

flatten:

<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" obj="3.plur.fem" subj="3.sing.fem">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
    <thingy type="detgender" function="suffix" gloss="fem"/>
    <thingy type="detnumber" function="suffix" gloss="plur"/>
-    </np>
-    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem"/>
-      <pp role="comitative">
-        <np number="sing" def="def" locus="number" gender="fem" case="NOM">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" case="NOM"/>
-        </np>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-      </pp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <thingy type="detgender" function="suffix" gloss="fem"/>
-    <thingy type="detnumber" function="suffix" gloss="plur"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" case="NOM"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.fem" ph="d au &#x2C8; t">dauˈt</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="s a &#x2C8; &#x3B8;">saˈθ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="&#x294; &#x25B; &#x2C8; d">ʔɛˈd</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="t e &#x2C8;">teˈ</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t">t</thingy>
+    <thingy type="detnumber" function="suffix" gloss="plur" attach="suffix" ph="u s">us</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem" ph="x u r">xur</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" case="NOM" ph="s i &#x2C8; d i x">siˈdix</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="k&#x2B7; a s+t i &#x2C8; x">kʷastiˈx</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.fem" ph="d au &#x2C8; t">dauˈt</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="s a &#x2C8; &#x3B8;">saˈθ</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="&#x294; &#x25B; &#x2C8; d">ʔɛˈd</word>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem" ph="t e &#x2C8;">teˈ</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t">t</thingy>
-    <thingy type="detnumber" function="suffix" gloss="plur" attach="suffix" ph="u s">us</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem" ph="x u r">xur</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" case="NOM" ph="s i &#x2C8; d i x">siˈdix</word>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="k&#x2B7; a s+t i &#x2C8; x">kʷastiˈx</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.fem">dauˈt</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">kʷaduˈʔik</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">saˈθ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">ʔɛˈd</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="fem">teˈ</word>
+    <thingy type="detgender" function="suffix" gloss="fem">t</thingy>
+    <thingy type="detnumber" function="suffix" gloss="plur">us</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="fem">xur</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="fem" case="NOM">siˈdix</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">kʷastiˈx</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈdaut&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷaˈduʔik&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;ˈsaθ&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;three&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈte&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;-t&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;-us&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;xur&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;ˈsidix&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;kʷaˈstix&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>star ˈdaut xʷak kʷaˈduʔik ˈsaθ ˈʔɛd ˈtetus xur ˈsidix kʷaˈstix</p>
+  <p>стар даўт хвак квадуӏик саѳ ӏэд тетус хур сидих квастих</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈdaut</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kʷaˈduʔik</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ˈsaθ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>ˈʔɛd</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ˈte</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>-us</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>xur</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>ˈsidix</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>kʷaˈstix</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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>
    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="boy"/>
+    </np>
  </s>
</example>

module casemarking:

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

module markowner:

No change.

module addgender:

<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="obj" output="aspron" locus="number" case="ACC">
+    <np def="def" number="sing" tr="theme" role="obj" output="aspron" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM" gender="masc">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

prodrop:

No change.

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" obj="3.sing.fem" subj="3.sing.masc">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.fem" subj="3.sing.masc"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.fem" subj="3.sing.masc" ph="&#x3B8; &#x254;i &#x2C8; r">θɔiˈr</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="x&#x2B7; a &#x2C8; x">xʷaˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="&#x3B8; u &#x2C8; r">θuˈr</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.fem" subj="3.sing.masc" ph="&#x3B8; &#x254;i &#x2C8; r">θɔiˈr</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="x&#x2B7; a &#x2C8; x">xʷaˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="&#x3B8; u &#x2C8; r">θuˈr</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES">kʷax</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.fem" subj="3.sing.masc">θɔiˈr</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="obj" locus="number" case="ACC">xʷaˈx</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" tr="theme" role="subj" locus="number" case="NOM">θuˈr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈθɔir&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈxʷax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈθur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷax ˈθɔir xʷak ˈxʷax ˈθur</p>
+  <p>квах ѳойр хвак хвах ѳур</p>
+  <il>
+    <w>
+      <o>kʷax</o>
+      <g>active.PRES</g>
+    </w>
+    <w>
+      <o>ˈθɔir</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈxʷax</o>
+      <g>3.sing.fem</g>
+    </w>
+    <w>
+      <o>ˈθur</o>
+      <g>3.sing.masc</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="rheme" role="obj" locus="number">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="NN2"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="NN1"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Dadakha hates Thakoisar.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.fem" subj="3.sing.masc"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.fem" subj="3.sing.masc" ph="s+t i x a &#x2C8; x">stixaˈx</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="Thakoisar" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" propernoun="yes" ph="&#x3B8; a k&#x2B7; &#x254;i &#x2C8; s a r">θakʷɔiˈsar</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="Dadakha" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" propernoun="yes" ph="d a d a &#x2C8; x a &#x294;">dadaˈxaʔ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Dadakha hates Thakoisar.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.fem" subj="3.sing.masc" ph="s+t i x a &#x2C8; x">stixaˈx</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="Thakoisar" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" propernoun="yes" ph="&#x3B8; a k&#x2B7; &#x254;i &#x2C8; s a r">θakʷɔiˈsar</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="Dadakha" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" propernoun="yes" ph="d a d a &#x2C8; x a &#x294;">dadaˈxaʔ</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES">kʷax</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.sing.fem" subj="3.sing.masc">stixaˈx</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="Thakoisar" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" propernoun="yes">θakʷɔiˈsar</word>
+    <word posp="noun" gloss="Dadakha" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" propernoun="yes">dadaˈxaʔ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;stiˈxax&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θaˈkʷɔisar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Thakoisar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daˈdaxaʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Dadakha&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷax stiˈxax xʷak θaˈkʷɔisar daˈdaxaʔ</p>
+  <p>квах стихах хвак Ѳаквойсар Дадахаӏ</p>
+  <il>
+    <w>
+      <o>kʷax</o>
+      <g>active.PRES</g>
+    </w>
+    <w>
+      <o>stiˈxax</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>θaˈkʷɔisar</o>
+      <g>Thakoisar</g>
+    </w>
+    <w>
+      <o>daˈdaxaʔ</o>
+      <g>Dadakha</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="NOM" gender="masc">
+  <np type="owner_owned" case="NOM" gender="masc" 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="masc">
      <word posp="noun" gloss="apple"/>
    </np>
  </np>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="k a x&#x2B7; a &#x2C8; x u &#x294;">kaxʷaˈxuʔ</word>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="k ai k">kaik</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="k a x&#x2B7; a &#x2C8; x u &#x294;">kaxʷaˈxuʔ</word>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="k ai k">kaik</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM">kaxʷaˈxuʔ</word>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">kaik</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈxʷaxuʔ&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;kaik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaˈxʷaxuʔ kaik</p>
+  <p>кахвахуӏ кайк</p>
+  <il>
+    <w>
+      <o>kaˈxʷaxuʔ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>kaik</o>
+      <g>boy</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM"/>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="k a x&#x2B7; a &#x2C8; x u &#x294;">kaxʷaˈxuʔ</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="&#x3B8; u &#x2C8; r">θuˈr</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="k a x&#x2B7; a &#x2C8; x u &#x294;">kaxʷaˈxuʔ</word>
-    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN" ph="&#x3B8; u &#x2C8; r">θuˈr</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM">kaxʷaˈxuʔ</word>
+    <word posp="pron" number="sing" gender="masc" gloss="3.sing.masc" def="def" locus="number" role="owner" case="GEN">θuˈr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈxʷaxuʔ&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;ˈθur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.masc&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaˈxʷaxuʔ ˈθur</p>
+  <p>кахвахуӏ ѳур</p>
+  <il>
+    <w>
+      <o>kaˈxʷaxuʔ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ˈθur</o>
+      <g>3.sing.masc</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="NOM" gender="masc" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="masc">
      <word posp="noun" gloss="apple"/>
    </np>
    <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="masc"/>
    </np>
  </np>
</example>

copyuptophrase:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="NOM" gender="masc" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="masc">
      <word posp="noun" gloss="apple"/>
    </np>
-    <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="masc"/>
    </np>
  </np>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="k a x&#x2B7; a &#x2C8; x u &#x294;">kaxʷaˈxuʔ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM" ph="k a x&#x2B7; a &#x2C8; x u &#x294;">kaxʷaˈxuʔ</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="masc" case="NOM">kaxʷaˈxuʔ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN">kʷoˈx</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈxʷaxuʔ&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;ˈkʷox&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kaˈxʷaxuʔ ˈkʷox</p>
+  <p>кахвахуӏ квох</p>
+  <il>
+    <w>
+      <o>kaˈxʷaxuʔ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj">
+    <np role="obj" case="ACC">
      <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>
-    <np role="subj">
+    <np role="subj" case="NOM">
      <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>
  </s>
</example>

module markowner:

<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="obj" case="ACC">
      <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>
    <np role="subj" case="NOM">
      <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>
  </s>
</example>

module addgender:

<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="obj" case="ACC">
-      <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>
    <np role="subj" case="NOM">
-      <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>
  </s>
</example>

module propagatenumber:

<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="obj" case="ACC">
-      <np type="owner_owned" gender="masc">
-        <np type="owner_owned" role="owner" gender="fem">
+    <np role="obj" case="ACC" 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>
-    <np role="subj" case="NOM">
-      <np type="owner_owned" gender="fem">
+    <np role="subj" case="NOM" 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>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

<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="obj" case="ACC" 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 number="sing" def="def" locus="number" role="owned" gender="masc">
+          <word posp="noun" gloss="son"/>
        </np>
+        <np type="owner_owned" role="owner" gender="fem" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="neighbour"/>
          </np>
+          <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" gender="masc">
-          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
    <np role="subj" case="NOM" 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 number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
+          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
+    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<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="obj" case="ACC" number="sing">
      <np type="owner_owned" gender="masc" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="masc">
          <word posp="noun" gloss="son"/>
        </np>
        <np type="owner_owned" role="owner" gender="fem" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="neighbour"/>
          </np>
          <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="masc"/>
          </np>
        </np>
      </np>
    </np>
    <np role="subj" case="NOM" number="sing">
      <np type="owner_owned" gender="fem" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </np>
  </s>
</example>

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" obj="3.sing.masc" subj="3.sing.fem">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="kiss"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ACC" number="sing" gender="masc">
-      <np type="owner_owned" gender="masc" number="sing">
-        <np number="sing" def="def" locus="number" role="owned" gender="masc">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
+      <np type="owner_owned" gender="masc" number="sing" case="ACC">
+        <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
          <word posp="noun" gloss="son"/>
        </np>
-        <np type="owner_owned" role="owner" gender="fem" number="sing">
+        <np type="owner_owned" role="owner" gender="fem" number="sing" case="ACC">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="neighbour"/>
          </np>
          <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
            <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc"/>
          </np>
        </np>
      </np>
    </np>
    <np role="subj" case="NOM" number="sing" gender="fem">
-      <np type="owner_owned" gender="fem" number="sing">
-        <np number="sing" def="def" locus="number" role="owned" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
+      <np type="owner_owned" gender="fem" number="sing" case="NOM">
+        <np number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" obj="3.sing.masc" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="ACC" number="sing" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <np type="owner_owned" gender="masc" number="sing" case="ACC">
+    <np type="owner_owned" gender="masc" number="sing" case="ACC" role="obj">
      <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
        <word posp="noun" gloss="son"/>
      </np>
      <np type="owner_owned" role="owner" gender="fem" number="sing" case="ACC">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
          <word posp="noun" gloss="neighbour"/>
        </np>
        <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc"/>
        </np>
      </np>
    </np>
-    </np>
-    <np role="subj" case="NOM" number="sing" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <np type="owner_owned" gender="fem" number="sing" case="NOM">
+    <np type="owner_owned" gender="fem" number="sing" case="NOM" role="subj">
      <np number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">
        <word posp="noun" gloss="daughter"/>
      </np>
      <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
        <word posp="noun" gloss="hunter"/>
      </np>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

<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" obj="3.sing.masc" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np type="owner_owned" gender="masc" number="sing" case="ACC" role="obj">
    <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
      <word posp="noun" gloss="son"/>
    </np>
-      <np type="owner_owned" role="owner" gender="fem" number="sing" case="ACC">
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
      <word posp="noun" gloss="neighbour"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc"/>
    </np>
-      </np>
-    </np>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <np type="owner_owned" gender="fem" number="sing" case="NOM" role="subj">
    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">
      <word posp="noun" gloss="daughter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
-    </np>
  </s>
</example>

movedowntoword:

<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" obj="3.sing.masc" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <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" obj="3.sing.masc" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
-      <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="neither" locus="number" role="owner" case="GEN" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN"/>
    </np>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for 2.sing/pron/number/optional
Got sing
<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" obj="3.sing.masc" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
    </np>
    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
    </np>
  </s>
</example>

flatten:

<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" obj="3.sing.masc" subj="3.sing.fem">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    </np>
-    <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem" ph="k i r e &#x2C8; &#x294;">kireˈʔ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC" ph="&#x294; &#x25B; x">ʔɛx</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="&#x3B8; a s i &#x2C8; x&#x2B7; a r">θasiˈxʷar</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN" ph="x&#x2B7; a &#x2C8; r">xʷaˈr</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM" ph="&#x294; &#x25B; s">ʔɛs</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="x&#x2B7; i k&#x2B7; &#x254;i &#x2C8; s i x">xʷikʷɔiˈsix</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem" ph="k i r e &#x2C8; &#x294;">kireˈʔ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC" ph="&#x294; &#x25B; x">ʔɛx</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="&#x3B8; a s i &#x2C8; x&#x2B7; a r">θasiˈxʷar</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN" ph="x&#x2B7; a &#x2C8; r">xʷaˈr</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM" ph="&#x294; &#x25B; s">ʔɛs</word>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="x&#x2B7; i k&#x2B7; &#x254;i &#x2C8; s i x">xʷikʷɔiˈsix</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem">kireˈʔ</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="masc" case="ACC">ʔɛx</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">θasiˈxʷar</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN">xʷaˈr</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">ʔɛs</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">xʷikʷɔiˈsix</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;kiˈreʔ&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔɛx&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;θaˈsixʷar&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;ˈxʷar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔɛs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷiˈkʷɔisix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star kiˈreʔ xʷak ʔɛx θaˈsixʷar ˈxʷar ʔɛs xʷiˈkʷɔisix</p>
+  <p>стар киреӏ хвак ӏэх ѳасихвар хвар ӏэс хвиквойсих</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>kiˈreʔ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʔɛx</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>θaˈsixʷar</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>ˈxʷar</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ʔɛs</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>xʷiˈkʷɔisix</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

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

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="fem">
+    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="lamb"/>
-    <word gloss="a" posp="det"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="fem"/>
  </np>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="fem"/>
-    <thingy type="detgender" function="suffix" gloss="fem"/>
-    <thingy type="detnumber" function="suffix" gloss="sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="d i x&#x2B7; a &#x2C8; s a s">dixʷaˈsas</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="d au &#x2C8;">dauˈ</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t">t</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="d i x&#x2B7; a &#x2C8; s a s">dixʷaˈsas</word>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="fem" ph="d au &#x2C8;">dauˈ</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t">t</thingy>
-    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="fem">dixʷaˈsas</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="fem">dauˈ</word>
+    <thingy type="detgender" function="suffix" gloss="fem">t</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈxʷasas&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdau&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>diˈxʷasas ˈdaut</p>
+  <p>дихвасас даўт</p>
+  <il>
+    <w>
+      <o>diˈxʷasas</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>ˈdau</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>fem</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

prodrop:

No change.

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="want"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="fem" number="sing">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem">
+          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
          <word posp="verb" gloss="have"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
+          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
          <word gloss="a" posp="det"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <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="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <word posp="verb" gloss="want"/>
+      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="fem" number="sing">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
-          <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
-          <word gloss="a" posp="det"/>
+          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
+          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
+          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <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="theme" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for a/det/gender/obligatory
Got fem
About to call getSlotValue for a/det/number/optional
Got sing
About to call getSlotValue for 3.sing.fem/pron/number/optional
Got sing
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="fem" number="sing">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
          <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
+          <thingy type="detgender" function="suffix" gloss="fem"/>
+          <thingy type="detnumber" function="suffix" gloss="sing"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" case="ACC" gender="fem" number="sing">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem">
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
-        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
    <thingy type="detgender" function="suffix" gloss="fem"/>
    <thingy type="detnumber" function="suffix" gloss="sing"/>
-        </np>
-      </subs>
-    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
-    <thingy type="detgender" function="suffix" gloss="fem"/>
-    <thingy type="detnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem" ph="t &#x254; &#x2C8; s">tɔˈs</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem" ph="k&#x2B7; &#x254;i &#x2C8; t">kʷɔiˈt</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="vpcomp" function="enclitic" gloss="COMP" ph="k i t">kit</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="d i x&#x2B7; a &#x2C8; s a s">dixʷaˈsas</word>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="d ai &#x2C8; x">daiˈx</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="d au &#x2C8;">dauˈ</word>
+    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t">t</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="x&#x2B7; a &#x2C8; x">xʷaˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem" ph="t &#x254; &#x2C8; s">tɔˈs</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem" ph="k&#x2B7; &#x254;i &#x2C8; t">kʷɔiˈt</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="vpcomp" function="enclitic" gloss="COMP" ph="k i t">kit</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="d i x&#x2B7; a &#x2C8; s a s">dixʷaˈsas</word>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="d ai &#x2C8; x">daiˈx</word>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="d au &#x2C8;">dauˈ</word>
-    <thingy type="detgender" function="suffix" gloss="fem" attach="suffix" ph="t">t</thingy>
-    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="x&#x2B7; a &#x2C8; x">xʷaˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem">tɔˈs</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.fem">kʷɔiˈt</word>
+    <thingy type="vpcomp" function="enclitic" gloss="COMP">kit</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">dixʷaˈsas</word>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">daiˈx</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">dauˈ</word>
+    <thingy type="detgender" function="suffix" gloss="fem">t</thingy>
+    <word posp="pron" number="sing" gender="fem" gloss="3.sing.fem" def="def" tr="theme" role="subj" locus="number" case="NOM">xʷaˈx</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈkʷɔit&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kit&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈxʷasas&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdaix&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;ˈdau&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t&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;ˈxʷax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.fem&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ˈtɔs xʷak star ˈkʷɔit kit xʷak diˈxʷasas ˈdaix ˈdaut ˈxʷax</p>
+  <p>стар төс хвак стар квойт кит хвак дихвасас дайх даўт хвах</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈtɔs</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈkʷɔit</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>kit</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>diˈxʷasas</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>ˈdaix</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>ˈdau</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-t</o>
+      <g>fem</g>
+    </w>
+    <w>
+      <o>ˈxʷax</o>
+      <g>3.sing.fem</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj" locus="number">
+    <np number="sing" def="neither" role="obj" locus="number" case="ACC">
      <word person="2" number="sing" posp="pron"/>
    </np>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
  </s>
</example>

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

copyuptophrase:

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

prodrop:

No change.

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" obj="2.sing" subj="1excl.sing">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing" ph="&#x3B8; &#x254;i &#x2C8; r">θɔiˈr</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC" ph="x&#x2B7; a &#x2C8; r">xʷaˈr</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing" ph="&#x3B8; &#x254;i &#x2C8; r">θɔiˈr</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC" ph="x&#x2B7; a &#x2C8; r">xʷaˈr</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES">kʷax</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" subj="1excl.sing">θɔiˈr</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC">xʷaˈr</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM">kʷoˈx</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈθɔir&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈxʷar&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;ˈkʷox&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷax ˈθɔir xʷak ˈxʷar ˈkʷox</p>
+  <p>квах ѳойр хвак хвар квох</p>
+  <il>
+    <w>
+      <o>kʷax</o>
+      <g>active.PRES</g>
+    </w>
+    <w>
+      <o>ˈθɔir</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈxʷar</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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="masc">
      <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="masc">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc"/>
    </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:

No change.

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
-    <np def="def" number="sing" locus="number" gender="masc">
+  <flat>
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc"/>
-    </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>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc"/>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc" ph="&#x3B8; au &#x2C8; &#x3B8; i">θauˈθi</word>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="k &#x254; &#x2C8; s">kɔˈs</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc" ph="&#x3B8; au &#x2C8; &#x3B8; i">θauˈθi</word>
-    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="k &#x254; &#x2C8; s">kɔˈs</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="masc">θauˈθi</word>
+    <word gloss="in_surface" posp="pp" owner="3s" p="in" location="surface" precise="yes">kɔˈs</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈθauθi&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;ˈkɔs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈθauθi ˈkɔs</p>
+  <p>ѳаўѳи көс</p>
+  <il>
+    <w>
+      <o>ˈθauθi</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>ˈkɔs</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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="masc">
      <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="masc">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc"/>
    </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:

No change.

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
-    <np def="def" number="sing" locus="number" gender="masc">
+  <flat>
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc"/>
-    </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>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc"/>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc" ph="s a k&#x2B7; &#x254; &#x2C8; d a">sakʷɔˈda</word>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="t u &#x2C8; r">tuˈr</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc" ph="s a k&#x2B7; &#x254; &#x2C8; d a">sakʷɔˈda</word>
-    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="t u &#x2C8; r">tuˈr</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="masc">sakʷɔˈda</word>
+    <word gloss="to_inside" posp="pp" owner="3s" p="to" location="inside" precise="yes">tuˈr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saˈkʷɔda&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;ˈtur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt;</p>
+  <p>saˈkʷɔda ˈtur</p>
+  <p>саквөда тур</p>
+  <il>
+    <w>
+      <o>saˈkʷɔda</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>ˈtur</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
<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="masc" def="neither" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
  </pp>
</example>

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="masc" def="neither" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </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="masc" def="neither" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="k&#x2B7; a s+t i &#x2C8; x">kʷastiˈx</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="k&#x2B7; a s+t i &#x2C8; x">kʷastiˈx</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" locus="number">kʷoˈx</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">kʷastiˈx</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkʷox&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ʷaˈstix&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>ˈkʷox kʷaˈstix</p>
+  <p>квох квастих</p>
+  <il>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kʷaˈstix</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 NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj" locus="number">
+    <np number="sing" def="def" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="hunter"/>
    </np>
-    <np number="sing" def="def" role="subj" locus="number">
+    <np number="sing" def="def" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="jaguar"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

<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="obj" locus="number" case="ACC">
+    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
-    <np number="sing" def="def" role="subj" locus="number" case="NOM">
+    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <word posp="noun" gloss="jaguar"/>
    </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>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <word posp="noun" gloss="jaguar"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<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" obj="3.sing.masc" subj="3.sing.fem">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="hunter"/>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="jaguar"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" obj="3.sing.masc" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <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" obj="3.sing.masc" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc"/>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<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" obj="3.sing.masc" subj="3.sing.fem">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc"/>
-    </np>
-    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem" ph="k i &#x2C8; k">kiˈk</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc" ph="x&#x2B7; i k&#x2B7; &#x254;i &#x2C8; s i x">xʷikʷɔiˈsix</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="t i s+t o &#x2C8; t u &#x294;">tistoˈtuʔ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem" ph="k i &#x2C8; k">kiˈk</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc" ph="x&#x2B7; i k&#x2B7; &#x254;i &#x2C8; s i x">xʷikʷɔiˈsix</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="t i s+t o &#x2C8; t u &#x294;">tistoˈtuʔ</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="3.sing.fem">kiˈk</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="masc">xʷikʷɔiˈsix</word>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">tistoˈtuʔ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈkik&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷiˈkʷɔisix&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;tiˈstotuʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ˈkik xʷak xʷiˈkʷɔisix tiˈstotuʔ</p>
+  <p>стар кик хвак хвиквойсих тистотуӏ</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈkik</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>xʷiˈkʷɔisix</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>tiˈstotuʔ</o>
+      <g>jaguar</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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 role="obj">
+    <np role="obj" case="ACC">
      <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>
-    <np number="sing" def="def" role="subj" locus="number">
+    <np number="sing" def="def" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

module markowner:

<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 role="obj" case="ACC">
      <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>
    <np number="sing" def="def" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

module addgender:

<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 role="obj" case="ACC">
-      <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="fem">
+        <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="fem">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
-    <np number="sing" def="def" role="subj" locus="number" case="NOM">
+    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

module propagatenumber:

<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 role="obj" case="ACC">
-      <np type="owner_owned" gender="fem">
-        <np type="owner_owned" role="owner" gender="fem">
+    <np role="obj" case="ACC" number="sing">
+      <np type="owner_owned" gender="fem" 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="fem">
          <word posp="noun" gloss="dog"/>
        </np>
      </np>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

<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 role="obj" case="ACC" number="sing">
      <np type="owner_owned" gender="fem" 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 number="sing" def="def" locus="number" role="owned" gender="fem">
+          <word posp="noun" gloss="dog"/>
        </np>
+        <np type="owner_owned" role="owner" gender="fem" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="daughter"/>
          </np>
+          <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="dog"/>
        </np>
      </np>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" obj="3.sing.fem" subj="3.sing.fem">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" case="ACC" number="sing" gender="fem">
-      <np type="owner_owned" gender="fem" number="sing">
-        <np number="sing" def="def" locus="number" role="owned" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
+      <np type="owner_owned" gender="fem" number="sing" case="ACC">
+        <np number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC">
          <word posp="noun" gloss="dog"/>
        </np>
-        <np type="owner_owned" role="owner" gender="fem" number="sing">
+        <np type="owner_owned" role="owner" gender="fem" number="sing" case="ACC">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
            <word posp="noun" gloss="daughter"/>
          </np>
          <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
            <word posp="noun" gloss="hunter"/>
          </np>
        </np>
      </np>
    </np>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" obj="3.sing.fem" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" case="ACC" number="sing" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <np type="owner_owned" gender="fem" number="sing" case="ACC">
+    <np type="owner_owned" gender="fem" number="sing" case="ACC" role="obj">
      <np number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC">
        <word posp="noun" gloss="dog"/>
      </np>
      <np type="owner_owned" role="owner" gender="fem" number="sing" case="ACC">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </np>
-    </np>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

unwrapOwnerOwned:

<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" obj="3.sing.fem" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np type="owner_owned" gender="fem" number="sing" case="ACC" role="obj">
    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC">
      <word posp="noun" gloss="dog"/>
    </np>
-      <np type="owner_owned" role="owner" gender="fem" number="sing" case="ACC">
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
      <word posp="noun" gloss="daughter"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
-      </np>
-    </np>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="lion"/>
    </np>
  </s>
</example>

movedowntoword:

<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" obj="3.sing.fem" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <word posp="verb" gloss="eat"/>
+      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
-      <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="owner" case="GEN" gender="masc">
-      <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" role="subj" locus="number" case="NOM" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<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" obj="3.sing.fem" subj="3.sing.fem">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">
    <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="owner" case="GEN" gender="masc">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    </np>
-    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem" ph="&#x294; e &#x2C8; x">ʔeˈx</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC" ph="t o s">tos</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="&#x294; &#x25B; s">ʔɛs</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="x&#x2B7; i k&#x2B7; &#x254;i &#x2C8; s i x">xʷikʷɔiˈsix</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="r u x&#x2B7; i &#x2C8; x a k">ruxʷiˈxak</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem" ph="&#x294; e &#x2C8; x">ʔeˈx</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC" ph="t o s">tos</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="&#x294; &#x25B; s">ʔɛs</word>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc" ph="x&#x2B7; i k&#x2B7; &#x254;i &#x2C8; s i x">xʷikʷɔiˈsix</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem" ph="r u x&#x2B7; i &#x2C8; x a k">ruxʷiˈxak</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem">ʔeˈx</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="fem" case="ACC">tos</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">ʔɛs</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="masc">xʷikʷɔiˈsix</word>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="fem">ruxʷiˈxak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈʔex&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tos&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔɛs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷiˈkʷɔisix&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;ruˈxʷixak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ˈʔex xʷak tos ʔɛs xʷiˈkʷɔisix ruˈxʷixak</p>
+  <p>стар ӏех хвак тос ӏэс хвиквойсих рухвихак</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈʔex</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tos</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>ʔɛs</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>xʷiˈkʷɔisix</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ruˈxʷixak</o>
+      <g>lion</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="NOM">
-    <np type="owner_owned" role="owner">
-      <np type="owner_owned" role="owner">
+  <np type="owner_owned" case="NOM" gender="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" case="NOM" gender="fem">
-    <np type="owner_owned" role="owner" gender="fem">
-      <np type="owner_owned" role="owner" gender="masc">
+  <np type="owner_owned" case="NOM" 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:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM" ph="d u k">duk</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="x &#x254;i x">xɔix</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="&#x294; &#x25B; x">ʔɛx</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN" ph="x&#x2B7; a &#x2C8; r">xʷaˈr</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM" ph="d u k">duk</word>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem" ph="x &#x254;i x">xɔix</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc" ph="&#x294; &#x25B; x">ʔɛx</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN" ph="x&#x2B7; a &#x2C8; r">xʷaˈr</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="fem" case="NOM">duk</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="fem">xɔix</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="masc">ʔɛx</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" locus="number" role="owner" case="GEN">xʷaˈr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;duk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xɔix&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;ʔɛx&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;ˈxʷar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>duk xɔix ʔɛx ˈxʷar</p>
+  <p>дук хойх ӏэх хвар</p>
+  <il>
+    <w>
+      <o>duk</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>xɔix</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>ʔɛx</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ˈxʷar</o>
+      <g>2.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

<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" case="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" 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:

No change.

copyuptophrase:

<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">
+    <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>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<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" subj="3.sing.fem">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<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" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
-      <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"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<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" subj="3.sing.fem">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
    <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="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
-    <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="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</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="&#x3B8; au &#x2C8; d">θauˈd</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x3B8; a r">θar</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</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="&#x3B8; au &#x2C8; d">θauˈd</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x3B8; a r">θar</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES">kʷax</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">θauˈd</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">θar</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈθaud&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʷax ˈθaud θar</p>
+  <p>квах ѳаўд ѳар</p>
+  <il>
+    <w>
+      <o>kʷax</o>
+      <g>active.PRES</g>
+    </w>
+    <w>
+      <o>ˈθaud</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>θar</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

<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" case="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" 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:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="d &#x254; &#x2C8; k">dɔˈk</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x3B8; a r">θar</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem" ph="d &#x254; &#x2C8; k">dɔˈk</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x3B8; a r">θar</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.fem">dɔˈk</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">θar</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdɔk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈdɔk θar</p>
+  <p>дөк ѳар</p>
+  <il>
+    <w>
+      <o>ˈdɔk</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>θar</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module markowner:

No change.

module addgender:

<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="obj" tr="rheme" locus="number" case="ACC">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="mouse"/>
    </np>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="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:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.fem" subj="3.sing.fem"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.fem" subj="3.sing.fem" ph="&#x294; a r &#x254; &#x2C8; k">ʔarɔˈk</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x3B8; a r">θar</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.fem" subj="3.sing.fem" ph="&#x294; a r &#x254; &#x2C8; k">ʔarɔˈk</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x3B8; a r">θar</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.sing.fem" subj="3.sing.fem">ʔarɔˈk</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">kʷaduˈʔik</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">θar</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔaˈrɔk&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷaˈduʔik&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;θar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʔaˈrɔk xʷak kʷaˈduʔik θar</p>
+  <p>ӏарөк хвак квадуӏик ѳар</p>
+  <il>
+    <w>
+      <o>ʔaˈrɔk</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kʷaˈduʔik</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>θar</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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="obj" tr="rheme" locus="number">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
    </np>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

<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="obj" tr="rheme" locus="number" case="ACC">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="mouse"/>
    </np>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="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:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" obj="3.sing.fem" subj="3.sing.fem">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="mouse"/>
    </np>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem" ph="d au &#x2C8; t">dauˈt</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x3B8; a r">θar</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem" ph="d au &#x2C8; t">dauˈt</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem" ph="&#x3B8; a r">θar</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="3.sing.fem">dauˈt</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="fem">kʷaduˈʔik</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="fem">θar</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈdaut&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷaˈduʔik&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;θar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ˈdaut xʷak kʷaˈduʔik θar</p>
+  <p>стар даўт хвак квадуӏик ѳар</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈdaut</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kʷaˈduʔik</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>θar</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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 role="obj" tr="rheme">
+    <np role="obj" tr="rheme" case="ACC">
      <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>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

<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 role="obj" tr="rheme" case="ACC">
+    <np role="obj" tr="rheme" case="ACC" gender="fem">
      <conjp conj="and">
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="jaguar"/>
        </np>
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="tiger"/>
        </np>
-        <np def="def" number="plur" locus="number">
+        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

module propagatenumber:

<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 role="obj" tr="rheme" case="ACC" gender="fem">
+    <np role="obj" tr="rheme" case="ACC" gender="fem" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="fem" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="jaguar"/>
        </np>
+        <word posp="conj" gloss="and"/>
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="tiger"/>
        </np>
+        <word posp="conj" gloss="and"/>
        <np def="def" number="plur" locus="number" gender="fem">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

flattenconjp:

<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 role="obj" tr="rheme" case="ACC" gender="fem" number="plur">
-      <conjp conj="and">
-        <np def="def" number="plur" locus="number" gender="fem">
+      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" number="plur" locus="number" gender="fem">
+      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" number="plur" locus="number" gender="fem">
+      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="lion"/>
      </np>
-      </conjp>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

fixpronouns:

No change.

copyuptophrase:

<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">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.masc">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="fem" number="plur">
      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="lion"/>
      </np>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<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" obj="3.plur.fem" subj="3.sing.masc">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="fem" number="plur">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
      <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="lion"/>
      </np>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<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" obj="3.plur.fem" subj="3.sing.masc">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="kill"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" tr="rheme" case="ACC" gender="fem" number="plur">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="lion"/>
    </np>
-    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="hunter"/>
    </np>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<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" obj="3.plur.fem" subj="3.sing.masc">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <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" obj="3.plur.fem" subj="3.sing.masc"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
-      <word posp="noun" gloss="jaguar"/>
+      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
-      <word posp="noun" gloss="tiger"/>
+      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
    </np>
  </s>
</example>

addaffixes:

No change.

flatten:

<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" obj="3.plur.fem" subj="3.sing.masc">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.masc"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
-    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.masc"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.masc" ph="k i &#x2C8; k">kiˈk</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="t i s+t o &#x2C8; t u &#x294;">tistoˈtuʔ</word>
+    <word posp="conj" gloss="and" ph="s &#x254; &#x2C8; s">sɔˈs</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="t u r a &#x2C8; k&#x2B7; a r">turaˈkʷar</word>
+    <word posp="conj" gloss="and" ph="s &#x254; &#x2C8; s">sɔˈs</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="r u x&#x2B7; i &#x2C8; x a k">ruxʷiˈxak</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="x&#x2B7; i k&#x2B7; &#x254;i &#x2C8; s i x">xʷikʷɔiˈsix</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.masc" ph="k i &#x2C8; k">kiˈk</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="t i s+t o &#x2C8; t u &#x294;">tistoˈtuʔ</word>
-    <word posp="conj" gloss="and" ph="s &#x254; &#x2C8; s">sɔˈs</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="t u r a &#x2C8; k&#x2B7; a r">turaˈkʷar</word>
-    <word posp="conj" gloss="and" ph="s &#x254; &#x2C8; s">sɔˈs</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC" ph="r u x&#x2B7; i &#x2C8; x a k">ruxʷiˈxak</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="x&#x2B7; i k&#x2B7; &#x254;i &#x2C8; s i x">xʷikʷɔiˈsix</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.plur.fem" subj="3.sing.masc">kiˈk</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">tistoˈtuʔ</word>
+    <word posp="conj" gloss="and">sɔˈs</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">turaˈkʷar</word>
+    <word posp="conj" gloss="and">sɔˈs</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="fem" role="obj" tr="rheme" case="ACC">ruxʷiˈxak</word>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">xʷikʷɔiˈsix</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈkik&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiˈstotuʔ&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;ˈsɔs&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;tuˈrakʷar&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;ˈsɔs&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;ruˈxʷixak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xʷiˈkʷɔisix&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ˈkik xʷak tiˈstotuʔ ˈsɔs tuˈrakʷar ˈsɔs ruˈxʷixak xʷiˈkʷɔisix</p>
+  <p>стар кик хвак тистотуӏ сөс тураквар сөс рухвихак хвиквойсих</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈkik</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>tiˈstotuʔ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ˈsɔs</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>tuˈrakʷar</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>ˈsɔs</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ruˈxʷixak</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>xʷiˈkʷɔisix</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

<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 def="def" number="sing" tr="rheme" role="obj" locus="number">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="cat"/>
    </np>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

<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 def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="cat"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="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 def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="cat"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
    </np>
  </s>
</example>

copyuptophrase:

<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">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
      <word posp="noun" gloss="cat"/>
    </np>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
    </np>
  </s>
</example>

prodrop:

No change.

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" obj="3.sing.fem" subj="1excl.sing">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="cat"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
    </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" obj="3.sing.fem" subj="1excl.sing">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <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" obj="3.sing.fem" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
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" obj="3.sing.fem" subj="1excl.sing">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
    </np>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </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" obj="3.sing.fem" subj="1excl.sing">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="1excl.sing"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
-    </np>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="1excl.sing" ph="&#x294; i d ai &#x2C8; r">ʔidaiˈr</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="&#x3B8; a r">θar</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="1excl.sing" ph="&#x294; i d ai &#x2C8; r">ʔidaiˈr</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem" ph="&#x3B8; a r">θar</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.fem" subj="1excl.sing">ʔidaiˈr</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="fem">θar</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM">kʷoˈx</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔiˈdair&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;θar&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ʷox&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ʔiˈdair xʷak θar ˈkʷox</p>
+  <p>стар ӏидайр хвак ѳар квох</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ʔiˈdair</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>θar</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

<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">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
    </np>
-    <np id="parent" gender="fem" number="sing">
+    <np id="parent" gender="fem" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.fem">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
          <word posp="verb" gloss="catch"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <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.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x294; i d ai &#x2C8; r">ʔidaiˈr</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x3B8; a r">θar</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</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.fem" ph="d au &#x2C8; t">dauˈt</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x294; i d ai &#x2C8; r">ʔidaiˈr</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x3B8; a r">θar</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</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.fem" ph="d au &#x2C8; t">dauˈt</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ʔidaiˈr</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM">kʷoˈx</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem">θar,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">tɔˈʔ</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</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.fem">dauˈt</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="fem" comma="after">kʷaduˈʔik</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔiˈdair&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;ˈkʷox&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;θar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈdaut&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷaˈduʔik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ʔiˈdair ˈkʷox θar, ˈtɔʔ star ˈdaut xʷak kʷaˈduʔik</p>
+  <p>стар ӏидайр квох ѳар, төӏ стар даўт хвак квадуӏик</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ʔiˈdair</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>θar</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ˈtɔʔ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈdaut</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kʷaˈduʔik</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
    <np id="parent" gender="fem" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-          <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"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="fem" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" 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="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-              <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.fem" obj="3.sing.masc"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="masc">
              <thingy type="npcase" function="proclitic" gloss="ACC"/>
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="eat" 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" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="masc" comma="after"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x294; i d ai &#x2C8; r">ʔidaiˈr</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x3B8; a r">θar</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</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" ph="d au &#x2C8; t">dauˈt</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="&#x294; e &#x2C8; x">ʔeˈx</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="masc" comma="after" ph="k&#x2B7; a x e &#x2C8; d i r">kʷaxeˈdir</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x294; i d ai &#x2C8; r">ʔidaiˈr</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x3B8; a r">θar</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</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" ph="d au &#x2C8; t">dauˈt</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc" ph="&#x294; e &#x2C8; x">ʔeˈx</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="masc" comma="after" ph="k&#x2B7; a x e &#x2C8; d i r">kʷaxeˈdir</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ʔidaiˈr</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM">kʷoˈx</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem">θar,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">tɔˈʔ</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</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">dauˈt</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem">kʷaduˈʔik,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">tɔˈʔ</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" obj="3.sing.masc">ʔeˈx</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="masc" comma="after">kʷaxeˈdir</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔiˈdair&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;ˈkʷox&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;θar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈdaut&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;kʷaˈduʔik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈʔex&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷaˈxedir&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cheese&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ʔiˈdair ˈkʷox θar, ˈtɔʔ star ˈdaut kʷaˈduʔik, ˈtɔʔ star ˈʔex xʷak kʷaˈxedir</p>
+  <p>стар ӏидайр квох ѳар, төӏ стар даўт квадуӏик, төӏ стар ӏех хвак квахедир</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ʔiˈdair</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>θar</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ˈtɔʔ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈdaut</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>kʷaˈduʔik</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ˈtɔʔ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈʔex</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kʷaˈxedir</o>
+      <g>cheese</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for RELPRON/pron/number/optional
Got sing
About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <np id="parent" gender="fem" number="sing" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="fem" number="sing" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="fem">
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
+              <thingy type="pronnumber" function="suffix" gloss="sing"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">
              <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
            <np id="parent" gender="masc" number="sing" case="NOM">
              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="masc">
                <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="masc"/>
              </np>
              <relp comma="after">
                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="masc">
                  <thingy type="npcase" function="proclitic" gloss="ACC"/>
                  <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="masc"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="1excl.sing">
                  <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="1excl.sing"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                  <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="masc" person="1excl">
                  <thingy type="npcase" function="proclitic" gloss="NOM"/>
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
+                  <thingy type="pronnumber" function="suffix" gloss="sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="masc"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="masc"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x294; i d ai &#x2C8; r">ʔidaiˈr</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x3B8; a r">θar</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</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" ph="d au &#x2C8; t">dauˈt</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" ph="&#x294; e &#x2C8; x">ʔeˈx</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="masc" ph="k&#x2B7; a x e &#x2C8; d i r">kʷaxeˈdir</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="masc" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="1excl.sing" ph="k e &#x2C8; &#x294;">keˈʔ</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x294; i d ai &#x2C8; r">ʔidaiˈr</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="&#x3B8; a r">θar</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</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" ph="d au &#x2C8; t">dauˈt</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem" ph="k&#x2B7; a d u &#x2C8; &#x294; i k">kʷaduˈʔik</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem" ph="&#x294; e &#x2C8; x">ʔeˈx</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="masc" ph="k&#x2B7; a x e &#x2C8; d i r">kʷaxeˈdir</word>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="masc" ph="t &#x254; &#x2C8; &#x294;">tɔˈʔ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="1excl.sing" ph="k e &#x2C8; &#x294;">keˈʔ</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ʔidaiˈr</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM">kʷoˈx</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem">θar,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">tɔˈʔ</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</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">dauˈt</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="fem">kʷaduˈʔik,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="fem">tɔˈʔ</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.fem">ʔeˈx</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="masc">kʷaxeˈdir,</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="masc">tɔˈʔ</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.masc" subj="1excl.sing">keˈʔ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" comma="after">kʷoˈx</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔiˈdair&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;ˈkʷox&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;θar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈdaut&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;kʷaˈduʔik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈʔex&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;kʷaˈxedir&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔʔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈkeʔ&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;ˈkʷox&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ʔiˈdair ˈkʷox θar, ˈtɔʔ star ˈdaut kʷaˈduʔik, ˈtɔʔ star ˈʔex kʷaˈxedir, xʷak ˈtɔʔ star ˈkeʔ ˈkʷox</p>
+  <p>стар ӏидайр квох ѳар, төӏ стар даўт квадуӏик, төӏ стар ӏех квахедир, хвак төӏ стар кеӏ квох</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ʔiˈdair</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>θar</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ˈtɔʔ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈdaut</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>kʷaˈduʔik</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ˈtɔʔ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈʔex</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>kʷaˈxedir</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈtɔʔ</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈkeʔ</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

No change.

copyuptophrase:

<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">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem">
      <word posp="verb" gloss="surprise"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc">
      <word posp="noun" gloss="teacher"/>
    </np>
    <np role="subj" case="NOM" gender="fem" number="sing">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc">
          <word posp="verb" gloss="give"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ACC" gender="masc">
          <word posp="noun" gloss="apple"/>
          <word gloss="a" posp="det"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">
          <word posp="noun" gloss="boy"/>
        </np>
      </subs>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="surprise"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc">
+      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="teacher"/>
    </np>
    <np role="subj" case="NOM" gender="fem" number="sing">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc">
+          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
          <word posp="verb" gloss="give"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ACC" gender="masc">
+          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="apple"/>
          <word gloss="a" posp="det"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">
+          <thingy type="npcase" function="proclitic" gloss="DAT"/>
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="boy"/>
        </np>
      </subs>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <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" indobj="3.sing.masc" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc"/>
    </np>
    <np role="subj" case="NOM" gender="fem" number="sing">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-          <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" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ACC" gender="masc">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
-          <word posp="noun" gloss="apple"/>
-          <word gloss="a" posp="det"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
+          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">
          <thingy type="npcase" function="proclitic" gloss="DAT"/>
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem"/>
        </np>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
-          <word posp="noun" gloss="boy"/>
+          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc"/>
        </np>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for a/det/gender/obligatory
Got masc
About to call getSlotValue for a/det/number/optional
Got sing
<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" indobj="3.sing.masc" subj="3.sing.fem">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc"/>
    </np>
    <np role="subj" case="NOM" gender="fem" number="sing">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ACC" gender="masc">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
+          <thingy type="detgender" function="suffix" gloss="masc"/>
+          <thingy type="detnumber" function="suffix" gloss="sing"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">
          <thingy type="npcase" function="proclitic" gloss="DAT"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem"/>
        </np>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc"/>
        </np>
      </subs>
    </np>
  </s>
</example>

flatten:

<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" indobj="3.sing.masc" subj="3.sing.fem">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc"/>
-    </np>
-    <np role="subj" case="NOM" gender="fem" number="sing">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc">
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
-        </vp>
-        <np number="sing" role="obj" locus="number" case="ACC" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
    <thingy type="detgender" function="suffix" gloss="masc"/>
    <thingy type="detnumber" function="suffix" gloss="sing"/>
-        </np>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem"/>
-        </np>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc"/>
-        </np>
-      </subs>
-    </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="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="masc"/>
-    <thingy type="detgender" function="suffix" gloss="masc"/>
-    <thingy type="detnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem" ph="k&#x2B7; i k &#x254; &#x2C8; k">kʷikɔˈk</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k u r">kur</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc" ph="t i d i s i s">tidisis</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc" ph="&#x3B8; &#x254; &#x2C8; x">θɔˈx</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="vpcomp" function="enclitic" gloss="COMP" ph="k i t">kit</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="masc" ph="k a x&#x2B7; a &#x2C8; x u &#x294;">kaxʷaˈxuʔ</word>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="masc" ph="d au &#x2C8;">dauˈ</word>
+    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="d">d</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k u r">kur</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem" ph="k i &#x294;">kiʔ</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc" ph="k ai k">kaik</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem" ph="k&#x2B7; i k &#x254; &#x2C8; k">kʷikɔˈk</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k u r">kur</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc" ph="t i d i s i s">tidisis</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc" ph="&#x3B8; &#x254; &#x2C8; x">θɔˈx</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="vpcomp" function="enclitic" gloss="COMP" ph="k i t">kit</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="masc" ph="k a x&#x2B7; a &#x2C8; x u &#x294;">kaxʷaˈxuʔ</word>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="masc" ph="d au &#x2C8;">dauˈ</word>
-    <thingy type="detgender" function="suffix" gloss="masc" attach="suffix" ph="d">d</thingy>
-    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k u r">kur</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem" ph="k i &#x294;">kiʔ</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc" ph="k ai k">kaik</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.masc" subj="3.sing.fem">kʷikɔˈk</word>
+    <thingy type="npcase" function="proclitic" gloss="DAT">kur</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="masc">tidisis</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.masc" indobj="3.sing.fem" subj="3.sing.masc">θɔˈx</word>
+    <thingy type="vpcomp" function="enclitic" gloss="COMP">kit</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="masc">kaxʷaˈxuʔ</word>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="masc">dauˈ</word>
+    <thingy type="detgender" function="suffix" gloss="masc">d</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT">kur</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="fem">kiʔ</word>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="masc">kaik</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;kʷiˈkɔk&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;kur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tidisis&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈθɔx&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;kit&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈxʷaxuʔ&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;ˈdau&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&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;masc&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kiʔ&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;kaik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star kʷiˈkɔk kur tidisis star ˈθɔx kit xʷak kaˈxʷaxuʔ ˈdaud kur kiʔ kaik</p>
+  <p>стар квикөк кур тидисис стар ѳөх кит хвак кахвахуӏ даўд кур киӏ кайк</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>kʷiˈkɔk</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>kur</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>tidisis</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈθɔx</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>kit</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kaˈxʷaxuʔ</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ˈdau</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-d</o>
+      <g>masc</g>
+    </w>
+    <w>
+      <o>kur</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>kiʔ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>kaik</o>
+      <g>boy</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module subordinate:

<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>
-        <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" comp="COMP">
          <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 adpositions:

No change.

module constorder:

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

module casemarking:

<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 role="obj" tr="rheme">
+    <np role="obj" tr="rheme" case="ACC">
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP">
          <word posp="verb" gloss="love"/>
        </vp>
-        <np number="sing" def="neither" role="obj" locus="number">
+        <np number="sing" def="neither" role="obj" locus="number" case="ACC">
          <word person="2" number="sing" posp="pron"/>
        </np>
-        <np number="sing" def="neither" role="subj" locus="number">
+        <np number="sing" def="neither" role="subj" locus="number" case="NOM">
          <word person="1excl" number="sing" posp="pron"/>
        </np>
      </subs>
    </np>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
+    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>

module markowner:

No change.

module addgender:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc">
+      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="tell"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="fem" number="sing" person="2">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">
+          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
          <word posp="verb" gloss="love"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
+          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc"/>
        </np>
        <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem">
+      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="girl"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="boy"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-      <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" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="fem" number="sing" person="2">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
-          <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" comp="COMP" obj="2.sing" subj="1excl.sing"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
-          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC"/>
        </np>
        <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
-          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
-      <word posp="noun" gloss="girl"/>
+      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for 2.sing/pron/number/optional
Got sing
About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
<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" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc">
      <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="fem" number="sing" person="2">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">
          <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
      </subs>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem"/>
    </np>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
    </np>
  </s>
</example>

flatten:

<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" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc">
+  <flat>
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" tr="rheme" case="ACC" gender="fem" number="sing" person="2">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">
    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" case="ACC" person="2">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-      </subs>
-    </np>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem"/>
-    </np>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="vpcomp" function="enclitic" gloss="COMP"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc"/>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc" ph="x o &#x2C8; k">xoˈk</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing" ph="&#x3B8; &#x254;i &#x2C8; r">θɔiˈr</word>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="vpcomp" function="enclitic" gloss="COMP" ph="k i t">kit</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC" ph="x&#x2B7; a &#x2C8; r">xʷaˈr</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k u r">kur</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem" ph="k i &#x294;">kiʔ</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="k ai k">kaik</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST" ph="s+t a r">star</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc" ph="x o &#x2C8; k">xoˈk</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES" ph="k&#x2B7; a x">kʷax</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing" ph="&#x3B8; &#x254;i &#x2C8; r">θɔiˈr</word>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="vpcomp" function="enclitic" gloss="COMP" ph="k i t">kit</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="x&#x2B7; a k">xʷak</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC" ph="x&#x2B7; a &#x2C8; r">xʷaˈr</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM" ph="k&#x2B7; o &#x2C8; x">kʷoˈx</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="k u r">kur</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem" ph="k i &#x294;">kiʔ</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc" ph="k ai k">kaik</word>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PAST">star</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2.sing" indobj="3.sing.fem" subj="3.sing.masc">xoˈk</word>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <thingy type="vpvoice.ta" function="proclitic" gloss="active.PRES">kʷax</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" obj="2.sing" subj="1excl.sing">θɔiˈr</word>
+    <thingy type="vpcomp" function="enclitic" gloss="COMP">kit</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">xʷak</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="masc" def="neither" role="obj" locus="number" case="ACC">xʷaˈr</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="masc" def="neither" role="subj" locus="number" case="NOM">kʷoˈx</word>
+    <thingy type="npcase" function="proclitic" gloss="DAT">kur</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="fem">kiʔ</word>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="masc">kaik</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;star&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈxok&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʷax&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.&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;ˈθɔir&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;kit&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;xʷak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈxʷar&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;ˈkʷox&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;kur&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kiʔ&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;kaik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt;</p>
+  <p>star ˈxok xʷak kʷax ˈθɔir kit xʷak ˈxʷar ˈkʷox kur kiʔ kaik</p>
+  <p>стар хок хвак квах ѳойр кит хвак хвар квох кур киӏ кайк</p>
+  <il>
+    <w>
+      <o>star</o>
+      <g>active.PAST</g>
+    </w>
+    <w>
+      <o>ˈxok</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kʷax</o>
+      <g>active.PRES</g>
+    </w>
+    <w>
+      <o>ˈθɔir</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>kit</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>xʷak</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈxʷar</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈkʷox</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kur</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>kiʔ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>kaik</o>
+      <g>boy</g>
+    </w>
+  </il>
</example>