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

<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">
      <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">
+      <relp>
+        <vp tam="pres-state">
+          <word lexposp="adj" posp="verb" gloss="blind"/>
+        </vp>
+        <np head="this" role="subj" number="plur">
          <word posp="noun" gloss="mouse"/>
-      <word posp="adj" gloss="blind"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
+      </relp>
+    </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">
      <relp>
-        <vp tam="pres-state">
+        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
        <np head="this" role="subj" number="plur">
          <word posp="noun" gloss="mouse"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module noepistemic:

No change.

module NRel:

<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>
      </pp>
    </np>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
-      <relp>
-        <vp tam="pres-state" ta="PRES">
-          <word lexposp="adj" posp="verb" gloss="blind"/>
-        </vp>
-        <np head="this" role="subj" number="plur">
+    <np def="def" locus="number" id="parent">
+      <np role="obj" number="plur" id="headnp" tr="rheme">
        <word posp="noun" gloss="mouse"/>
        <word posp="num" gloss="three"/>
        <word posp="det" gloss="yon"/>
      </np>
+      <relp comma="after">
+        <np id="relnp" number="plur" def="neither" role="subj" comma="before">
+          <word posp="pron" gloss="RELPRON"/>
+        </np>
+        <vp tam="pres-state" ta="PRES">
+          <word lexposp="adj" posp="verb" gloss="blind"/>
+        </vp>
      </relp>
    </np>
  </s>
</example>

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
+        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np def="def" locus="number" id="parent">
      <np role="obj" number="plur" id="headnp" tr="rheme">
        <word posp="noun" gloss="mouse"/>
        <word posp="num" gloss="three"/>
        <word posp="det" gloss="yon"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </relp>
    </np>
  </s>
</example>

module constorder:

No change.

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="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">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np def="def" locus="number" id="parent">
      <np role="obj" number="plur" id="headnp" tr="rheme">
        <word posp="noun" gloss="mouse"/>
        <word posp="num" gloss="three"/>
        <word posp="det" gloss="yon"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="plur" def="neither" role="subj" comma="before">
+        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </relp>
    </np>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

<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" case="NOM">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
-    <np def="def" locus="number" id="parent">
+    <np def="def" locus="number" id="parent" number="plur">
      <np role="obj" number="plur" id="headnp" tr="rheme">
        <word posp="noun" gloss="mouse"/>
        <word posp="num" gloss="three"/>
        <word posp="det" gloss="yon"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </relp>
    </np>
  </s>
</example>

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

<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" case="NOM">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np def="def" locus="number" id="parent" number="plur">
      <np role="obj" number="plur" id="headnp" tr="rheme">
-        <word posp="noun" gloss="mouse"/>
        <word posp="num" gloss="three"/>
+        <word posp="noun" gloss="mouse"/>
        <word posp="det" gloss="yon"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </relp>
    </np>
  </s>
</example>

module wordorder:

<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" case="NOM">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np def="def" locus="number" id="parent" number="plur">
      <np role="obj" number="plur" id="headnp" tr="rheme">
+        <word posp="det" gloss="yon"/>
        <word posp="num" gloss="three"/>
        <word posp="noun" gloss="mouse"/>
-        <word posp="det" gloss="yon"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </relp>
    </np>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <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">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number" case="NOM">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np def="def" locus="number" id="parent" number="plur">
      <np role="obj" number="plur" id="headnp" tr="rheme">
        <word posp="det" gloss="yon"/>
        <word posp="num" gloss="three"/>
        <word posp="noun" gloss="mouse"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
-        <vp tam="pres-state" ta="PRES">
+        <vp tam="pres-state" ta="PRES" subj="3.plur">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </relp>
    </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" subj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number" case="NOM">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np def="def" locus="number" id="parent" number="plur">
      <np role="obj" number="plur" id="headnp" tr="rheme">
        <word posp="det" gloss="yon"/>
        <word posp="num" gloss="three"/>
        <word posp="noun" gloss="mouse"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp tam="pres-state" ta="PRES" subj="3.plur">
+          <thingy type="vpta" function="proclitic" gloss="PRES"/>
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

<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" subj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number" case="NOM">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
-    <np def="def" locus="number" id="parent" number="plur">
+    <np def="def" locus="number" id="parent" number="plur" case="NOM">
      <np role="obj" number="plur" id="headnp" tr="rheme">
        <word posp="det" gloss="yon"/>
        <word posp="num" gloss="three"/>
        <word posp="noun" gloss="mouse"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp tam="pres-state" ta="PRES" subj="3.plur">
          <thingy type="vpta" function="proclitic" gloss="PRES"/>
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </relp>
    </np>
  </s>
</example>

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" subj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <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"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number" case="NOM">
-      <word posp="noun" gloss="woman"/>
+      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
      <pp role="comitative">
-        <word gloss="COMIT" posp="pp"/>
+        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number">
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
        </np>
      </pp>
    </np>
    <np def="def" locus="number" id="parent" number="plur" case="NOM">
      <np role="obj" number="plur" id="headnp" tr="rheme">
-        <word posp="det" gloss="yon"/>
-        <word posp="num" gloss="three"/>
-        <word posp="noun" gloss="mouse"/>
+        <word posp="det" gloss="yon" role="obj" number="plur" id="headnp" tr="rheme"/>
+        <word posp="num" gloss="three" role="obj" number="plur" id="headnp" tr="rheme"/>
+        <word posp="noun" gloss="mouse" role="obj" number="plur" id="headnp" tr="rheme"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp tam="pres-state" ta="PRES" subj="3.plur">
          <thingy type="vpta" function="proclitic" gloss="PRES"/>
-          <word lexposp="adj" posp="verb" gloss="blind"/>
+          <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
        </vp>
      </relp>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for woman/noun/case/optional
Got NOM
About to call getSlotValue for woman/noun/number/optional
Got sing
About to call getSlotValue for knife/noun/case/optional
About to call getSlotValue for knife/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/case/optional
About to call getSlotValue for mouse/noun/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" subj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="subj" number="sing" def="def" locus="number" case="NOM">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
        </np>
      </pp>
    </np>
    <np def="def" locus="number" id="parent" number="plur" case="NOM">
      <np role="obj" number="plur" id="headnp" tr="rheme">
        <word posp="det" gloss="yon" role="obj" number="plur" id="headnp" tr="rheme"/>
        <word posp="num" gloss="three" role="obj" number="plur" id="headnp" tr="rheme"/>
+        <thingy type="nounnumber" function="prefix" gloss="plur"/>
        <word posp="noun" gloss="mouse" role="obj" number="plur" id="headnp" tr="rheme"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
          <word posp="pron" gloss="RELPRON" id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM"/>
        </np>
        <vp tam="pres-state" ta="PRES" subj="3.plur">
          <thingy type="vpta" function="proclitic" gloss="PRES"/>
          <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
        </vp>
      </relp>
    </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" subj="3.sing">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="subj" number="sing" def="def" locus="number" case="NOM">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np number="sing" def="def" locus="number">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-        </np>
-      </pp>
-    </np>
-    <np def="def" locus="number" id="parent" number="plur" case="NOM">
-      <np role="obj" number="plur" id="headnp" tr="rheme">
    <word posp="det" gloss="yon" role="obj" number="plur" id="headnp" tr="rheme"/>
    <word posp="num" gloss="three" role="obj" number="plur" id="headnp" tr="rheme"/>
    <thingy type="nounnumber" function="prefix" gloss="plur"/>
    <word posp="noun" gloss="mouse" role="obj" number="plur" id="headnp" tr="rheme"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">
    <word posp="pron" gloss="RELPRON" id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM"/>
-        </np>
-        <vp tam="pres-state" ta="PRES" subj="3.plur">
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-          <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
-        </vp>
-      </relp>
-    </np>
-  </s>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" comma="after"/>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-    <word posp="det" gloss="yon" role="obj" number="plur" id="headnp" tr="rheme"/>
-    <word posp="num" gloss="three" role="obj" number="plur" id="headnp" tr="rheme"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="mouse" role="obj" number="plur" id="headnp" tr="rheme"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" comma="after"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="b i &#xA712;">bi꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="h u &#xA712;&#xA716;">hu꜒꜖</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="m u &#xA712; s e &#xA712;">mu꜒se꜒</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="t i &#xA712; b u &#xA716;&#xA712;">ti꜒bu꜖꜒</word>
+    <word posp="det" gloss="yon" role="obj" number="plur" id="headnp" tr="rheme" ph="x u &#xA712;&#xA716;">xu꜒꜖</word>
+    <word posp="num" gloss="three" role="obj" number="plur" id="headnp" tr="rheme" ph="x a &#xA716;">xa꜖</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s i &#xA712;&#xA716;">si꜒꜖</thingy>
+    <word posp="noun" gloss="mouse" role="obj" number="plur" id="headnp" tr="rheme" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" comma="after" ph="n u &#xA716; m e &#xA716;">nu꜖me꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="b i &#xA712;">bi꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" ph="h u &#xA712;&#xA716;">hu꜒꜖</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="m u &#xA712; s e &#xA712;">mu꜒se꜒</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="t i &#xA712; b u &#xA716;&#xA712;">ti꜒bu꜖꜒</word>
-    <word posp="det" gloss="yon" role="obj" number="plur" id="headnp" tr="rheme" ph="x u &#xA712;&#xA716;">xu꜒꜖</word>
-    <word posp="num" gloss="three" role="obj" number="plur" id="headnp" tr="rheme" ph="x a &#xA716;">xa꜖</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s i &#xA712;&#xA716;">si꜒꜖</thingy>
-    <word posp="noun" gloss="mouse" role="obj" number="plur" id="headnp" tr="rheme" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" comma="after" ph="n u &#xA716; m e &#xA716;">nu꜖me꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">bi꜒</word>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM">hu꜒꜖</word>
+    <word gloss="COMIT" posp="pp" role="comitative">mu꜒se꜒</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number">ti꜒bu꜖꜒</word>
+    <word posp="det" gloss="yon" role="obj" number="plur" id="headnp" tr="rheme">xu꜒꜖</word>
+    <word posp="num" gloss="three" role="obj" number="plur" id="headnp" tr="rheme">xa꜖</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur">si꜒꜖</thingy>
+    <word posp="noun" gloss="mouse" role="obj" number="plur" id="headnp" tr="rheme">ni꜖꜒hi꜒pa꜖,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="plur" def="neither" role="subj" comma="before" case="NOM">su꜖</word>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" comma="after">nu꜖me꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bi꜒&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;hu꜒꜖&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;mu꜒se꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ti꜒bu꜖꜒&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;xu꜒꜖&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;xa꜖&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;si꜒꜖-&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;ni꜖꜒hi꜒pa꜖&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;su꜖&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;nu꜖me꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ bi꜒ hu꜒꜖ mu꜒se꜒ ti꜒bu꜖꜒ xu꜒꜖ xa꜖ si꜒꜖ni꜖꜒hi꜒pa꜖, su꜖ nu꜖me꜖</p>
+  <p>sìkhì bī hù mūsē tībú khù kha̠ sìníhīpa̠, su̠ nu̠me̠</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>bi꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>hu꜒꜖</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>mu꜒se꜒</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ti꜒bu꜖꜒</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>xu꜒꜖</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>xa꜖</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>si꜒꜖-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ni꜖꜒hi꜒pa꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>su꜖</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>nu꜖me꜖</o>
+      <g>blind</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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="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>
-    <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>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">mu꜒꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mu꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mu꜒꜖</p>
+  <p>mù</p>
+  <il>
+    <w>
+      <o>mu꜒꜖</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="k u &#xA716;">ku꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" ph="k u &#xA716;">ku꜖</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">mu꜒꜖</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM">ku꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mu꜒꜖&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;ku꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mu꜒꜖ ku꜖</p>
+  <p>mù ku̠</p>
+  <il>
+    <w>
+      <o>mu꜒꜖</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ku꜖</o>
+      <g>3.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number" case="ACC"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number" case="ACC" ph="k u &#xA716;">ku꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number" case="ACC" ph="k u &#xA716;">ku꜖</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">mu꜒꜖</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number" case="ACC">ku꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mu꜒꜖&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;ku꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mu꜒꜖ ku꜖</p>
+  <p>mù ku̠</p>
+  <il>
+    <w>
+      <o>mu꜒꜖</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ku꜖</o>
+      <g>3.sing</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

module markowner:

No change.

module propagatenumber:

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" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="NN1"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="NN2"/>
    </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" subj="3.sing" obj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
      <word posp="noun" gloss="NN1"/>
    </np>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="NN2"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Dasika hates Pakheno.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="n a &#xA716; p e &#xA712; b o &#xA716;">na꜖pe꜒bo꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="Dasika" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="d a &#xA712; s i &#xA716; k a &#xA712;&#xA716;">da꜒si꜖ka꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="Pakheno" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="p a &#xA716; x e &#xA712; n o &#xA712;">pa꜖xe꜒no꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Dasika hates Pakheno.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="n a &#xA716; p e &#xA712; b o &#xA716;">na꜖pe꜒bo꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="Dasika" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes" ph="d a &#xA712; s i &#xA716; k a &#xA712;&#xA716;">da꜒si꜖ka꜒꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="Pakheno" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes" ph="p a &#xA716; x e &#xA712; n o &#xA712;">pa꜖xe꜒no꜒</word>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">na꜖pe꜒bo꜖</word>
+    <word posp="noun" gloss="Dasika" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" propernoun="yes">da꜒si꜖ka꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="Pakheno" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" propernoun="yes">pa꜖xe꜒no꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;na꜖pe꜒bo꜖&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;da꜒si꜖ka꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Dasika&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xe꜖꜒-&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;pa꜖xe꜒no꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Pakheno&lt;/span&gt;&lt;/span&gt;</p>
+  <p>na꜖pe꜒bo꜖ da꜒si꜖ka꜒꜖ xe꜖꜒pa꜖xe꜒no꜒</p>
+  <p>na̠pēbo̠ Dāsi̠kà khéPa̠khēnō</p>
+  <il>
+    <w>
+      <o>na꜖pe꜒bo꜖</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>da꜒si꜖ka꜒꜖</o>
+      <g>Dasika</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>pa꜖xe꜒no꜒</o>
+      <g>Pakheno</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="NOM">
+  <np type="owner_owned" case="NOM" number="sing">
    <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>

createpronouns:

No change.

module ngen:

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

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p e &#xA716;&#xA712; s e &#xA716;&#xA712; m a &#xA716;">pe꜖꜒se꜖꜒ma꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="x o &#xA716;">xo꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p e &#xA716;&#xA712; s e &#xA716;&#xA712; m a &#xA716;">pe꜖꜒se꜖꜒ma꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="x o &#xA716;">xo꜖</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pe꜖꜒se꜖꜒ma꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN">nu꜒</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN">xo꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pe꜖꜒se꜖꜒ma꜖&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;nu꜒-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xo꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pe꜖꜒se꜖꜒ma꜖ nu꜒xo꜖</p>
+  <p>péséma̠ nūkho̠</p>
+  <il>
+    <w>
+      <o>pe꜖꜒se꜖꜒ma꜖</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>nu꜒-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>xo꜖</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

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

createpronouns:

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

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p e &#xA716;&#xA712; s e &#xA716;&#xA712; m a &#xA716;">pe꜖꜒se꜖꜒ma꜖</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="k u &#xA716;">ku꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p e &#xA716;&#xA712; s e &#xA716;&#xA712; m a &#xA716;">pe꜖꜒se꜖꜒ma꜖</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="k u &#xA716;">ku꜖</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pe꜖꜒se꜖꜒ma꜖</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN">ku꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pe꜖꜒se꜖꜒ma꜖&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;ku꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pe꜖꜒se꜖꜒ma꜖ ku꜖</p>
+  <p>péséma̠ ku̠</p>
+  <il>
+    <w>
+      <o>pe꜖꜒se꜖꜒ma꜖</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ku꜖</o>
+      <g>3.sing</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

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

createpronouns:

No change.

module ngen:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for apple/noun/case/optional
Got NOM
About to call getSlotValue for apple/noun/number/optional
Got sing
<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" case="NOM">
+    <thingy type="nouncase" function="prefix" gloss="NOM"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" 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" def="neither" locus="number" role="owner" case="GEN"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="def" locus="number" role="owned" case="NOM">
+  <flat>
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" 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" def="neither" locus="number" role="owner" case="GEN"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p e &#xA716;&#xA712; s e &#xA716;&#xA712; m a &#xA716;">pe꜖꜒se꜖꜒ma꜖</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="h a &#xA716;&#xA712;">ha꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM" ph="p e &#xA716;&#xA712; s e &#xA716;&#xA712; m a &#xA716;">pe꜖꜒se꜖꜒ma꜖</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="h a &#xA716;&#xA712;">ha꜖꜒</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" case="NOM">pe꜖꜒se꜖꜒ma꜖</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN">ha꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pe꜖꜒se꜖꜒ma꜖&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;ha꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pe꜖꜒se꜖꜒ma꜖ ha꜖꜒</p>
+  <p>péséma̠ há</p>
+  <il>
+    <w>
+      <o>pe꜖꜒se꜖꜒ma꜖</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ha꜖꜒</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

addaffixes:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k u &#xA712;&#xA716; m a &#xA716; s i &#xA716;">ku꜒꜖ma꜖si꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x a &#xA712;">xa꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k a &#xA712;&#xA716; s a &#xA712; p a &#xA716;&#xA712;">ka꜒꜖sa꜒pa꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="h i &#xA712;&#xA716;">hi꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="k a &#xA716; m i &#xA716; h a &#xA712;">ka꜖mi꜖ha꜒</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="d u &#xA716;">du꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k u &#xA712;&#xA716; m a &#xA716; s i &#xA716;">ku꜒꜖ma꜖si꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM" ph="x a &#xA712;">xa꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k a &#xA712;&#xA716; s a &#xA712; p a &#xA716;&#xA712;">ka꜒꜖sa꜒pa꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC" ph="h i &#xA712;&#xA716;">hi꜒꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="k a &#xA716; m i &#xA716; h a &#xA712;">ka꜖mi꜖ha꜒</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="d u &#xA716;">du꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ku꜒꜖ma꜖si꜖</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="NOM">xa꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN">nu꜒</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">ka꜒꜖sa꜒pa꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="ACC">hi꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN">nu꜒</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN">ka꜖mi꜖ha꜒</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">du꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ku꜒꜖ma꜖si꜖&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;xa꜒&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;nu꜒-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ka꜒꜖sa꜒pa꜖꜒&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;xe꜖꜒-&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;hi꜒꜖&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;nu꜒-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ka꜖mi꜖ha꜒&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;du꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ ku꜒꜖ma꜖si꜖ xa꜒ nu꜒ka꜒꜖sa꜒pa꜖꜒ xe꜖꜒hi꜒꜖ nu꜒ka꜖mi꜖ha꜒ du꜖</p>
+  <p>sìkhì kùma̠si̠ khā nūkàsāpá khéhì nūka̠mi̠hā du̠</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ku꜒꜖ma꜖si꜖</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>xa꜒</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>nu꜒-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ka꜒꜖sa꜒pa꜖꜒</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>hi꜒꜖</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>nu꜒-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ka꜖mi꜖ha꜒</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>du꜖</o>
+      <g>2.sing</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 adj2verb:

No change.

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

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="n e &#xA712;&#xA716;">ne꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="p a &#xA716; p o &#xA712;&#xA716; m a &#xA716;&#xA712;">pa꜖po꜒꜖ma꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="n e &#xA712;&#xA716;">ne꜒꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" ph="p a &#xA716; p o &#xA712;&#xA716; m a &#xA716;&#xA712;">pa꜖po꜒꜖ma꜖꜒</word>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM">ne꜒꜖</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM">pa꜖po꜒꜖ma꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ne꜒꜖&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;pa꜖po꜒꜖ma꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ne꜒꜖ pa꜖po꜒꜖ma꜖꜒</p>
+  <p>nè pa̠pòmá</p>
+  <il>
+    <w>
+      <o>ne꜒꜖</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>pa꜖po꜒꜖ma꜖꜒</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

<example id="lamb1" translation="a little lamb">
-  <np def="indef" number="sing" tr="rheme">
-    <noun>lamb</noun>
-    <adj>little</adj>
+  <np def="indef" number="sing" tr="rheme" locus="number">
+    <word posp="noun" gloss="lamb"/>
+    <word posp="adj" gloss="little"/>
  </np>
</example>
The adjective 'little' will be incorporated. Resistance is useless.

module adj2verb:

No change.

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="n e &#xA712;&#xA716;">ne꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="x o &#xA712;">xo꜒</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" ph="p a &#xA716; p o &#xA712;&#xA716; m a &#xA716;&#xA712;">pa꜖po꜒꜖ma꜖꜒</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" ph="n e &#xA712;&#xA716;">ne꜒꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="x o &#xA712;">xo꜒</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" ph="p a &#xA716; p o &#xA712;&#xA716; m a &#xA716;&#xA712;">pa꜖po꜒꜖ma꜖꜒</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM">ne꜒꜖</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj">xo꜒</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM">pa꜖po꜒꜖ma꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ne꜒꜖&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;xo꜒-&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;pa꜖po꜒꜖ma꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ne꜒꜖ xo꜒pa꜖po꜒꜖ma꜖꜒</p>
+  <p>nè khōpa̠pòmá</p>
+  <il>
+    <w>
+      <o>ne꜒꜖</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>xo꜒-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>pa꜖po꜒꜖ma꜖꜒</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

module markowner:

No change.

module propagatenumber:

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="subj" locus="number" case="NOM">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </np>
    <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"/>
    </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" subj="1excl.sing" obj="2.sing">
      <word posp="verb" gloss="love"/>
    </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"/>
    </np>
-    <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"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">mu꜒꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mu꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mu꜒꜖</p>
+  <p>mù</p>
+  <il>
+    <w>
+      <o>mu꜒꜖</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for surface/noun/case/optional
About to call getSlotValue for surface/noun/number/optional
Got sing
About to call getSlotValue for table/noun/case/optional
About to call getSlotValue for table/noun/number/optional
Got sing
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
    <np def="def" number="sing">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="surface" def="def" number="sing"/>
    </np>
    <np def="def" number="sing" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
    </np>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="surface" def="def" number="sing"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="m a &#xA716;&#xA712;">ma꜖꜒</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" ph="m e &#xA712;&#xA716;">me꜒꜖</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="k a &#xA716;&#xA712; t i &#xA716;&#xA712;">ka꜖꜒ti꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="m a &#xA716;&#xA712;">ma꜖꜒</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" ph="m e &#xA712;&#xA716;">me꜒꜖</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="k a &#xA716;&#xA712; t i &#xA716;&#xA712;">ka꜖꜒ti꜖꜒</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes">ma꜖꜒</word>
+    <word posp="noun" gloss="surface" def="def" number="sing">me꜒꜖</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number">ka꜖꜒ti꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ma꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;me꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ka꜖꜒ti꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ma꜖꜒ me꜒꜖ ka꜖꜒ti꜖꜒</p>
+  <p>má mè kátí</p>
+  <il>
+    <w>
+      <o>ma꜖꜒</o>
+      <g>in</g>
+    </w>
+    <w>
+      <o>me꜒꜖</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>ka꜖꜒ti꜖꜒</o>
+      <g>table</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for inside/noun/case/optional
About to call getSlotValue for inside/noun/number/optional
Got sing
About to call getSlotValue for box/noun/case/optional
About to call getSlotValue for box/noun/number/optional
Got sing
<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
    <np def="def" number="sing">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="inside" def="def" number="sing"/>
    </np>
    <np def="def" number="sing" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
    </np>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="inside" def="def" number="sing"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="k i &#xA716;">ki꜖</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" ph="b e &#xA716;&#xA712;">be꜖꜒</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="t o &#xA716;&#xA712; t a &#xA712;&#xA716; p a &#xA712;">to꜖꜒ta꜒꜖pa꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="k i &#xA716;">ki꜖</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" ph="b e &#xA716;&#xA712;">be꜖꜒</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="t o &#xA716;&#xA712; t a &#xA712;&#xA716; p a &#xA712;">to꜖꜒ta꜒꜖pa꜒</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes">ki꜖</word>
+    <word posp="noun" gloss="inside" def="def" number="sing">be꜖꜒</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number">to꜖꜒ta꜒꜖pa꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ki꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;be꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;to꜖꜒ta꜒꜖pa꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ki꜖ be꜖꜒ to꜖꜒ta꜒꜖pa꜒</p>
+  <p>ki̠ bé tótàpā</p>
+  <il>
+    <w>
+      <o>ki꜖</o>
+      <g>to</g>
+    </w>
+    <w>
+      <o>be꜖꜒</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>to꜖꜒ta꜒꜖pa꜒</o>
+      <g>box</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="m u &#xA712; s e &#xA712;">mu꜒se꜒</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="h a &#xA716;&#xA712;">ha꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="m u &#xA712; s e &#xA712;">mu꜒se꜒</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="h a &#xA716;&#xA712;">ha꜖꜒</word>
+    <word gloss="COMIT" posp="pp" role="comitative">mu꜒se꜒</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">ha꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mu꜒se꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ha꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mu꜒se꜒ ha꜖꜒</p>
+  <p>mūsē há</p>
+  <il>
+    <w>
+      <o>mu꜒se꜒</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ha꜖꜒</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <vp tam="past-punct">
      <verb>kill</verb>
    </vp>
    <np number="sing" def="def" role="subj">
      <noun>jaguar</noun>
    </np>
    <np number="sing" def="def" role="obj">
      <noun>hunter</noun>
    </np>
  </s>
</example>

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

module markowner:

No change.

module propagatenumber:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for jaguar/noun/case/optional
Got NOM
About to call getSlotValue for jaguar/noun/number/optional
Got sing
About to call getSlotValue for hunter/noun/case/optional
Got ACC
About to call getSlotValue for hunter/noun/number/optional
Got sing
<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" subj="3.sing" obj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" locus="number" case="NOM">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
    </np>
  </s>
</example>

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="h o &#xA716;">ho꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="n o &#xA712;&#xA716; p e &#xA712;&#xA716; s u &#xA716;&#xA712;">no꜒꜖pe꜒꜖su꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="k a &#xA712;&#xA716; s a &#xA712; p a &#xA716;&#xA712;">ka꜒꜖sa꜒pa꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="h o &#xA716;">ho꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" ph="n o &#xA712;&#xA716; p e &#xA712;&#xA716; s u &#xA716;&#xA712;">no꜒꜖pe꜒꜖su꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" ph="k a &#xA712;&#xA716; s a &#xA712; p a &#xA716;&#xA712;">ka꜒꜖sa꜒pa꜖꜒</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ho꜖</word>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM">no꜒꜖pe꜒꜖su꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC">ka꜒꜖sa꜒pa꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ho꜖&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;no꜒꜖pe꜒꜖su꜖꜒&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;xe꜖꜒-&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꜒꜖sa꜒pa꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ ho꜖ no꜒꜖pe꜒꜖su꜖꜒ xe꜖꜒ka꜒꜖sa꜒pa꜖꜒</p>
+  <p>sìkhì ho̠ nòpèsú khékàsāpá</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ho꜖</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>no꜒꜖pe꜒꜖su꜖꜒</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ka꜒꜖sa꜒pa꜖꜒</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for lion/noun/case/optional
Got NOM
About to call getSlotValue for lion/noun/number/optional
Got sing
About to call getSlotValue for dog/noun/case/optional
Got ACC
About to call getSlotValue for dog/noun/number/optional
Got sing
About to call getSlotValue for daughter/noun/case/optional
Got GEN
About to call getSlotValue for daughter/noun/number/optional
Got sing
About to call getSlotValue for hunter/noun/case/optional
Got GEN
About to call getSlotValue for hunter/noun/number/optional
Got sing
<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" subj="3.sing" obj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="subj" locus="number" case="NOM">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
+      <thingy type="nouncase" function="prefix" gloss="GEN"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
+      <thingy type="nouncase" function="prefix" gloss="GEN"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    </np>
  </s>
</example>

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k e &#xA712;">ke꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="b e &#xA716; d e &#xA712; h a &#xA716;">be꜖de꜒ha꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s u &#xA712;&#xA716;">su꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="x a &#xA712;">xa꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k a &#xA712;&#xA716; s a &#xA712; p a &#xA716;&#xA712;">ka꜒꜖sa꜒pa꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k e &#xA712;">ke꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" ph="b e &#xA716; d e &#xA712; h a &#xA716;">be꜖de꜒ha꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC" ph="s u &#xA712;&#xA716;">su꜒꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="x a &#xA712;">xa꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k a &#xA712;&#xA716; s a &#xA712; p a &#xA716;&#xA712;">ka꜒꜖sa꜒pa꜖꜒</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ke꜒</word>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM">be꜖de꜒ha꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" case="ACC">su꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN">nu꜒</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN">xa꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN">nu꜒</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">ka꜒꜖sa꜒pa꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ke꜒&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;be꜖de꜒ha꜖&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;xe꜖꜒-&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;su꜒꜖&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;nu꜒-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xa꜒&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;nu꜒-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ka꜒꜖sa꜒pa꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ ke꜒ be꜖de꜒ha꜖ xe꜖꜒su꜒꜖ nu꜒xa꜒ nu꜒ka꜒꜖sa꜒pa꜖꜒</p>
+  <p>sìkhì kē be̠dēha̠ khésù nūkhā nūkàsāpá</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ke꜒</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>be꜖de꜒ha꜖</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>su꜒꜖</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>nu꜒-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>xa꜒</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>nu꜒-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ka꜒꜖sa꜒pa꜖꜒</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

<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" number="sing">
+    <np type="owner_owned" role="owner" number="sing">
+      <np type="owner_owned" role="owner" 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">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <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>

createpronouns:

No change.

module ngen:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nouncase" function="prefix" gloss="GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="b u k e">buke</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="p a &#xA712;">pa꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="h i &#xA712;&#xA716;">hi꜒꜖</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="d u &#xA716;">du꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM" ph="b u k e">buke</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="p a &#xA712;">pa꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="GEN" attach="prefix" ph="n u &#xA712;">nu꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="h i &#xA712;&#xA716;">hi꜒꜖</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="d u &#xA716;">du꜖</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" case="NOM">buke</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN">nu꜒</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN">pa꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="GEN">nu꜒</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN">hi꜒꜖</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">du꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buke&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;nu꜒-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pa꜒&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;nu꜒-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hi꜒꜖&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;du꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>buke nu꜒pa꜒ nu꜒hi꜒꜖ du꜖</p>
+  <p>buke nūpā nūhì du̠</p>
+  <il>
+    <w>
+      <o>buke</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>nu꜒-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>pa꜒</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>nu꜒-</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>hi꜒꜖</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>du꜖</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

addaffixes:

About to call getSlotValue for cat/noun/case/optional
Got NOM
About to call getSlotValue for cat/noun/number/optional
Got sing
<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">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
      <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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
  </s>
</example>

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">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
    <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">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="p o &#xA712;">po꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="p o &#xA712;">po꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">po꜒</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">xu꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;po꜒&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;xu꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>po꜒ xu꜖꜒</p>
+  <p>pō khú</p>
+  <il>
+    <w>
+      <o>po꜒</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>xu꜖꜒</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

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

addaffixes:

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

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">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PRES"/>
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
    <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">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="m a &#xA712;">ma꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="m a &#xA712;">ma꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">ma꜒</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">xu꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ma꜒&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;xu꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ma꜒ xu꜖꜒</p>
+  <p>mā khú</p>
+  <il>
+    <w>
+      <o>ma꜒</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>xu꜖꜒</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

module markowner:

No change.

module propagatenumber:

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" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
    </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" subj="3.sing" obj="3.sing">
+      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <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="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/optional
Got NOM
About to call getSlotValue for cat/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/case/optional
Got ACC
About to call getSlotValue for mouse/noun/number/optional
Got sing
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PRES"/>
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
      <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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="h u &#xA712;&#xA716; x a &#xA712;&#xA716; k i &#xA716;&#xA712;">hu꜒꜖xa꜒꜖ki꜖꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="h u &#xA712;&#xA716; x a &#xA712;&#xA716; k i &#xA716;&#xA712;">hu꜒꜖xa꜒꜖ki꜖꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">hu꜒꜖xa꜒꜖ki꜖꜒</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">xu꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">ni꜖꜒hi꜒pa꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu꜒꜖xa꜒꜖ki꜖꜒&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;xu꜖꜒&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;xe꜖꜒-&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;ni꜖꜒hi꜒pa꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hu꜒꜖xa꜒꜖ki꜖꜒ xu꜖꜒ xe꜖꜒ni꜖꜒hi꜒pa꜖</p>
+  <p>hùkhàkí khú khéníhīpa̠</p>
+  <il>
+    <w>
+      <o>hu꜒꜖xa꜒꜖ki꜖꜒</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>xu꜖꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ni꜖꜒hi꜒pa꜖</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

module markowner:

No change.

module propagatenumber:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/optional
Got NOM
About to call getSlotValue for cat/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/case/optional
Got ACC
About to call getSlotValue for mouse/noun/number/optional
Got sing
<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" subj="3.sing" obj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <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">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
    </np>
  </s>
</example>

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="b i &#xA712;">bi꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="b i &#xA712;">bi꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">bi꜒</word>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">xu꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">ni꜖꜒hi꜒pa꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bi꜒&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;xu꜖꜒&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;xe꜖꜒-&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;ni꜖꜒hi꜒pa꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ bi꜒ xu꜖꜒ xe꜖꜒ni꜖꜒hi꜒pa꜖</p>
+  <p>sìkhì bī khú khéníhīpa̠</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>bi꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>xu꜖꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ni꜖꜒hi꜒pa꜖</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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 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>
-    <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>
  </s>
</example>

module markowner:

No change.

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

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

flattenconjp:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <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" case="NOM">
      <word posp="noun" gloss="hunter"/>
    </np>
    <np role="obj" tr="rheme" case="ACC" number="plur">
-      <conjp conj="and">
-        <np def="def" number="plur" locus="number">
+      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="jaguar"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" number="plur" locus="number">
+      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="tiger"/>
      </np>
      <word posp="conj" gloss="and"/>
-        <np def="def" number="plur" locus="number">
+      <np def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="lion"/>
      </np>
-      </conjp>
    </np>
  </s>
</example>

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="h o &#xA716;">ho꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="k a &#xA712;&#xA716; s a &#xA712; p a &#xA716;&#xA712;">ka꜒꜖sa꜒pa꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s i &#xA712;&#xA716;">si꜒꜖</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="n o &#xA712;&#xA716; p e &#xA712;&#xA716; s u &#xA716;&#xA712;">no꜒꜖pe꜒꜖su꜖꜒</word>
+    <word posp="conj" gloss="and" ph="m o &#xA716;&#xA712;">mo꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s i &#xA712;&#xA716;">si꜒꜖</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="m o &#xA716;&#xA712; b a &#xA716; p e &#xA716;&#xA712;">mo꜖꜒ba꜖pe꜖꜒</word>
+    <word posp="conj" gloss="and" ph="m o &#xA716;&#xA712;">mo꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s i &#xA712;&#xA716;">si꜒꜖</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="b e &#xA716; d e &#xA712; h a &#xA716;">be꜖de꜒ha꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="h o &#xA716;">ho꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="k a &#xA712;&#xA716; s a &#xA712; p a &#xA716;&#xA712;">ka꜒꜖sa꜒pa꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s i &#xA712;&#xA716;">si꜒꜖</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="n o &#xA712;&#xA716; p e &#xA712;&#xA716; s u &#xA716;&#xA712;">no꜒꜖pe꜒꜖su꜖꜒</word>
-    <word posp="conj" gloss="and" ph="m o &#xA716;&#xA712;">mo꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s i &#xA712;&#xA716;">si꜒꜖</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="m o &#xA716;&#xA712; b a &#xA716; p e &#xA716;&#xA712;">mo꜖꜒ba꜖pe꜖꜒</word>
-    <word posp="conj" gloss="and" ph="m o &#xA716;&#xA712;">mo꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s i &#xA712;&#xA716;">si꜒꜖</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC" ph="b e &#xA716; d e &#xA712; h a &#xA716;">be꜖de꜒ha꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">ho꜖</word>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">ka꜒꜖sa꜒pa꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur">si꜒꜖</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">no꜒꜖pe꜒꜖su꜖꜒</word>
+    <word posp="conj" gloss="and">mo꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur">si꜒꜖</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">mo꜖꜒ba꜖pe꜖꜒</word>
+    <word posp="conj" gloss="and">mo꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur">si꜒꜖</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" case="ACC">be꜖de꜒ha꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ho꜖&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;ka꜒꜖sa꜒pa꜖꜒&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;xe꜖꜒-&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;si꜒꜖-&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;no꜒꜖pe꜒꜖su꜖꜒&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;mo꜖꜒&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;xe꜖꜒-&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;si꜒꜖-&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;mo꜖꜒ba꜖pe꜖꜒&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;mo꜖꜒&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;xe꜖꜒-&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;si꜒꜖-&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;be꜖de꜒ha꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ ho꜖ ka꜒꜖sa꜒pa꜖꜒ xe꜖꜒si꜒꜖no꜒꜖pe꜒꜖su꜖꜒ mo꜖꜒ xe꜖꜒si꜒꜖mo꜖꜒ba꜖pe꜖꜒ mo꜖꜒ xe꜖꜒si꜒꜖be꜖de꜒ha꜖</p>
+  <p>sìkhì ho̠ kàsāpá khésìnòpèsú mó khésìmóba̠pé mó khésìbe̠dēha̠</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ho꜖</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ka꜒꜖sa꜒pa꜖꜒</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>si꜒꜖-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>no꜒꜖pe꜒꜖su꜖꜒</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>mo꜖꜒</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>si꜒꜖-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>mo꜖꜒ba꜖pe꜖꜒</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>mo꜖꜒</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>si꜒꜖-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>be꜖de꜒ha꜖</o>
+      <g>lion</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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 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 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>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/optional
Got ACC
About to call getSlotValue for cat/noun/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" subj="1excl.sing" obj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
      <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">
+      <thingy type="nouncase" function="prefix" gloss="ACC"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="d e &#xA712; b i &#xA716;&#xA712; k i &#xA716;&#xA712;">de꜒bi꜖꜒ki꜖꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="d e &#xA712; b i &#xA716;&#xA712; k i &#xA716;&#xA712;">de꜒bi꜖꜒ki꜖꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">de꜒bi꜖꜒ki꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">xu꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;de꜒bi꜖꜒ki꜖꜒&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;xe꜖꜒-&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;xu꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ de꜒bi꜖꜒ki꜖꜒ xe꜖꜒xu꜖꜒</p>
+  <p>sìkhì dēbíkí khékhú</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>de꜒bi꜖꜒ki꜖꜒</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>xu꜖꜒</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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 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">
+    <np id="parent" number="sing">
      <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" 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" case="ACC">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

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"/>
    </np>
    <np id="parent" number="sing">
      <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" 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" case="ACC">
          <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"/>
    </np>
    <np id="parent" number="sing">
      <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" case="NOM">
          <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" obj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

<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">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <np id="parent" number="sing">
      <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" case="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" obj="3.sing">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
+      <thingy type="vpta" function="proclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" number="sing">
      <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" case="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" obj="3.sing">
+          <thingy type="vpta" function="proclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="catch"/>
+          <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">
          <word posp="noun" gloss="mouse"/>
        </np>
      </relp>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d e &#xA712; b i &#xA716;&#xA712; k i &#xA716;&#xA712;">de꜒bi꜖꜒ki꜖꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="b i &#xA712;">bi꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d e &#xA712; b i &#xA716;&#xA712; k i &#xA716;&#xA712;">de꜒bi꜖꜒ki꜖꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="b i &#xA712;">bi꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">de꜒bi꜖꜒ki꜖꜒</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">xu꜖꜒,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">bi꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after">ni꜖꜒hi꜒pa꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;de꜒bi꜖꜒ki꜖꜒&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;xu꜖꜒&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;su꜖&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;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bi꜒&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;xe꜖꜒-&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;ni꜖꜒hi꜒pa꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ de꜒bi꜖꜒ki꜖꜒ xu꜖꜒, su꜖ si꜒꜖xi꜒꜖ bi꜒ xe꜖꜒ni꜖꜒hi꜒pa꜖</p>
+  <p>sìkhì dēbíkí khú, su̠ sìkhì bī khéníhīpa̠</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>de꜒bi꜖꜒ki꜖꜒</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>xu꜖꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>su꜖</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>bi꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ni꜖꜒hi꜒pa꜖</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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 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">
+    <np id="parent" number="sing">
      <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" 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 id="parent" number="sing">
          <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" 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" case="ACC">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

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"/>
    </np>
    <np id="parent" number="sing">
      <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" 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" number="sing">
          <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" 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" case="ACC">
              <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"/>
    </np>
    <np id="parent" number="sing">
      <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" case="NOM">
          <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">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <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" case="NOM">
              <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" obj="3.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

<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">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <np id="parent" number="sing">
      <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" case="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">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <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" case="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" obj="3.sing">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np def="def" number="sing" role="obj" locus="number" case="ACC">
              <word posp="noun" gloss="cheese"/>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

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

addaffixes:

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

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d e &#xA712; b i &#xA716;&#xA712; k i &#xA716;&#xA712;">de꜒bi꜖꜒ki꜖꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="b i &#xA712;">bi꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k e &#xA712;">ke꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="d o &#xA716;&#xA712; k e &#xA712; m i &#xA712;&#xA716;">do꜖꜒ke꜒mi꜒꜖</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="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d e &#xA712; b i &#xA716;&#xA712; k i &#xA716;&#xA712;">de꜒bi꜖꜒ki꜖꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="b i &#xA712;">bi꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="k e &#xA712;">ke꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after" ph="d o &#xA716;&#xA712; k e &#xA712; m i &#xA712;&#xA716;">do꜖꜒ke꜒mi꜒꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">de꜒bi꜖꜒ki꜖꜒</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">xu꜖꜒,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">bi꜒</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">ni꜖꜒hi꜒pa꜖,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ke꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" comma="after">do꜖꜒ke꜒mi꜒꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;de꜒bi꜖꜒ki꜖꜒&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;xu꜖꜒&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;su꜖&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;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bi꜒&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;ni꜖꜒hi꜒pa꜖&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;su꜖&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;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ke꜒&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;xe꜖꜒-&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;do꜖꜒ke꜒mi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cheese&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ de꜒bi꜖꜒ki꜖꜒ xu꜖꜒, su꜖ si꜒꜖xi꜒꜖ bi꜒ ni꜖꜒hi꜒pa꜖, su꜖ si꜒꜖xi꜒꜖ ke꜒ xe꜖꜒do꜖꜒ke꜒mi꜒꜖</p>
+  <p>sìkhì dēbíkí khú, su̠ sìkhì bī níhīpa̠, su̠ sìkhì kē khédókēmì</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>de꜒bi꜖꜒ki꜖꜒</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>xu꜖꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>su꜖</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>bi꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ni꜖꜒hi꜒pa꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>su꜖</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ke꜒</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>do꜖꜒ke꜒mi꜒꜖</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 adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

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

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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 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">
+    <np id="parent" number="sing">
      <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" 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 id="parent" number="sing">
          <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" 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 id="parent" number="sing">
              <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" 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" case="NOM">
                  <word person="1excl" number="sing" posp="pron"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

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"/>
    </np>
    <np id="parent" number="sing">
      <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" 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" number="sing">
          <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" 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" number="sing">
              <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" 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" case="NOM">
-                  <word person="1excl" number="sing" posp="pron"/>
+                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </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"/>
    </np>
    <np id="parent" number="sing">
      <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" case="NOM">
          <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">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <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" case="NOM">
              <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">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" number="sing">
              <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" case="ACC">
                  <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" subj="1excl.sing">
                  <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" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

<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">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <np id="parent" number="sing">
      <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" case="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">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" number="sing">
          <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" case="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">
              <word posp="verb" gloss="eat"/>
            </vp>
            <np id="parent" number="sing">
              <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" case="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" subj="1excl.sing">
                  <word posp="verb" gloss="buy"/>
                </vp>
                <np number="sing" def="neither" role="subj" locus="number" case="NOM" person="1excl">
                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
                </np>
              </relp>
            </np>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

addclitics:

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

addaffixes:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d e &#xA712; b i &#xA716;&#xA712; k i &#xA716;&#xA712;">de꜒bi꜖꜒ki꜖꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="b i &#xA712;">bi꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="k e &#xA712;">ke꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="d o &#xA716;&#xA712; k e &#xA712; m i &#xA712;&#xA716;">do꜖꜒ke꜒mi꜒꜖</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="s u &#xA716;">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="n i &#xA716;">ni꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="h a &#xA716;&#xA712;">ha꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="d e &#xA712; b i &#xA716;&#xA712; k i &#xA716;&#xA712;">de꜒bi꜖꜒ki꜖꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" ph="x u &#xA716;&#xA712;">xu꜖꜒</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="b i &#xA712;">bi꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" ph="n i &#xA716;&#xA712; h i &#xA712; p a &#xA716;">ni꜖꜒hi꜒pa꜖</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" ph="s u &#xA716;">su꜖</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="k e &#xA712;">ke꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" ph="d o &#xA716;&#xA712; k e &#xA712; m i &#xA712;&#xA716;">do꜖꜒ke꜒mi꜒꜖</word>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" ph="s u &#xA716;">su꜖</word>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing" ph="n i &#xA716;">ni꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after" ph="h a &#xA716;&#xA712;">ha꜖꜒</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">de꜒bi꜖꜒ki꜖꜒</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp">xu꜖꜒,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">bi꜒</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp">ni꜖꜒hi꜒pa꜖,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">ke꜒</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp">do꜖꜒ke꜒mi꜒꜖,</word>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC">su꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" subj="1excl.sing">ni꜖</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" case="NOM" comma="after">ha꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;de꜒bi꜖꜒ki꜖꜒&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;xu꜖꜒&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;su꜖&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;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bi꜒&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;ni꜖꜒hi꜒pa꜖&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;su꜖&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;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ke꜒&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;do꜖꜒ke꜒mi꜒꜖&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;su꜖&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;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ni꜖&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;ha꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ de꜒bi꜖꜒ki꜖꜒ xu꜖꜒, su꜖ si꜒꜖xi꜒꜖ bi꜒ ni꜖꜒hi꜒pa꜖, su꜖ si꜒꜖xi꜒꜖ ke꜒ do꜖꜒ke꜒mi꜒꜖, su꜖ si꜒꜖xi꜒꜖ ni꜖ ha꜖꜒</p>
+  <p>sìkhì dēbíkí khú, su̠ sìkhì bī níhīpa̠, su̠ sìkhì kē dókēmì, su̠ sìkhì ni̠ há</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>de꜒bi꜖꜒ki꜖꜒</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>xu꜖꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>su꜖</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>bi꜒</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ni꜖꜒hi꜒pa꜖</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>su꜖</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ke꜒</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>do꜖꜒ke꜒mi꜒꜖</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>su꜖</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ni꜖</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>ha꜖꜒</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 adj2verb:

No change.

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

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

module markowner:

<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" case="NOM">
      <np type="owner_owned">
        <np number="sing" def="def" head="this" role="owned" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
-        <np role="owner" number="sing">
+        <np role="owner" number="sing" case="GEN">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="give"/>
            </vp>
            <np number="sing" 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" case="DAT">
              <word posp="noun" gloss="girl"/>
            </np>
          </subs>
        </np>
      </np>
    </np>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module propagatenumber:

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

createpronouns:

No change.

module ngen:

<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" case="NOM" number="sing">
      <np type="owner_owned" number="sing">
-        <np number="sing" def="def" head="this" role="owned" locus="number">
-          <word posp="noun" gloss="boy"/>
-        </np>
        <np role="owner" number="sing" case="GEN">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="give"/>
            </vp>
            <np number="sing" 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" case="DAT">
              <word posp="noun" gloss="girl"/>
            </np>
          </subs>
        </np>
+        <np number="sing" def="def" head="this" role="owned" locus="number">
+          <word posp="noun" gloss="boy"/>
        </np>
      </np>
+    </np>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for apple/noun/case/optional
Got ACC
About to call getSlotValue for apple/noun/number/optional
Got sing
About to call getSlotValue for girl/noun/case/optional
Got DAT
About to call getSlotValue for girl/noun/number/optional
Got sing
About to call getSlotValue for boy/noun/case/optional
Got NOM
About to call getSlotValue for boy/noun/number/optional
Got sing
About to call getSlotValue for teacher/noun/case/optional
Got DAT
About to call getSlotValue for teacher/noun/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" subj="3.sing" indobj="3.sing">
      <thingy type="vpta" function="proclitic" gloss="PAST"/>
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="owner" number="sing" case="GEN">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" indobj="3.sing">
          <thingy type="vpta" function="proclitic" gloss="PAST"/>
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" indobj="3.sing"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" role="obj" locus="number" case="ACC">
          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC"/>
+          <thingy type="nouncase" function="prefix" gloss="ACC"/>
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
+          <thingy type="nouncase" function="prefix" gloss="DAT"/>
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
        </np>
      </subs>
    </np>
    <np number="sing" def="def" head="this" role="owned" locus="number" case="NOM">
+      <thingy type="nouncase" function="prefix" gloss="NOM"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM"/>
    </np>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
+      <thingy type="nouncase" function="prefix" gloss="DAT"/>
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
    </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" subj="3.sing" indobj="3.sing">
+  <flat>
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="owner" number="sing" case="GEN">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" indobj="3.sing">
    <thingy type="vpta" function="proclitic" gloss="PAST"/>
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" indobj="3.sing"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" role="obj" locus="number" case="ACC">
    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC"/>
    <thingy type="nouncase" function="prefix" gloss="ACC"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
-        </np>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-        </np>
-      </subs>
-    </np>
-    <np number="sing" def="def" head="this" role="owned" locus="number" case="NOM">
    <thingy type="nouncase" function="prefix" gloss="NOM"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM"/>
-    </np>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT">
    <thingy type="nouncase" function="prefix" gloss="DAT"/>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
-    </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="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" indobj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC"/>
-    <thingy type="nouncase" function="prefix" gloss="ACC"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="b a &#xA716;&#xA712; t a &#xA716; x a &#xA716;&#xA712;">ba꜖꜒ta꜖xa꜖꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" indobj="3.sing" ph="p u &#xA716;&#xA712;">pu꜖꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" ph="n e &#xA712;&#xA716;">ne꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="p e &#xA716;&#xA712; s e &#xA716;&#xA712; m a &#xA716;">pe꜖꜒se꜖꜒ma꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="h e &#xA716;&#xA712;">he꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="d i &#xA716;&#xA712;">di꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM" ph="x o &#xA716;">xo꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="h e &#xA716;&#xA712;">he꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="d i s e s e">disese</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="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="b a &#xA716;&#xA712; t a &#xA716; x a &#xA716;&#xA712;">ba꜖꜒ta꜖xa꜖꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" indobj="3.sing" ph="p u &#xA716;&#xA712;">pu꜖꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" ph="n e &#xA712;&#xA716;">ne꜒꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="ACC" attach="prefix" ph="x e &#xA716;&#xA712;">xe꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" ph="p e &#xA716;&#xA712; s e &#xA716;&#xA712; m a &#xA716;">pe꜖꜒se꜖꜒ma꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="h e &#xA716;&#xA712;">he꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" ph="d i &#xA716;&#xA712;">di꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM" ph="x o &#xA716;">xo꜖</word>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="h e &#xA716;&#xA712;">he꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" ph="d i s e s e">disese</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">ba꜖꜒ta꜖xa꜖꜒</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" indobj="3.sing">pu꜖꜒</word>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC">ne꜒꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="ACC">xe꜖꜒</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC">pe꜖꜒se꜖꜒ma꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="DAT">he꜖꜒</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT">di꜖꜒</word>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" case="NOM">xo꜖</word>
+    <thingy type="nouncase" function="prefix" gloss="DAT">he꜖꜒</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT">disese</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ba꜖꜒ta꜖xa꜖꜒&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;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pu꜖꜒&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;ne꜒꜖&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;xe꜖꜒-&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;pe꜖꜒se꜖꜒ma꜖&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;he꜖꜒-&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;di꜖꜒&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;xo꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;he꜖꜒-&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;disese&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ ba꜖꜒ta꜖xa꜖꜒ si꜒꜖xi꜒꜖ pu꜖꜒ ne꜒꜖ xe꜖꜒pe꜖꜒se꜖꜒ma꜖ he꜖꜒di꜖꜒ xo꜖ he꜖꜒disese</p>
+  <p>sìkhì báta̠khá sìkhì pú nè khépéséma̠ hédí kho̠ hédisese</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ba꜖꜒ta꜖xa꜖꜒</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>pu꜖꜒</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>ne꜒꜖</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>xe꜖꜒-</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>pe꜖꜒se꜖꜒ma꜖</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>he꜖꜒-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>di꜖꜒</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>xo꜖</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>he꜖꜒-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>disese</o>
+      <g>teacher</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

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

module markowner:

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

module propagatenumber:

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

createpronouns:

No change.

module ngen:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

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

addaffixes:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="1excl.sing" indobj="3.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nouncase" function="prefix" gloss="NOM"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM"/>
-    <thingy type="vpta" function="proclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" case="ACC"/>
-    <thingy type="nouncase" function="prefix" gloss="DAT"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT"/>
+    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="1excl.sing" indobj="3.sing" ph="k e &#xA716;&#xA712;">ke꜖꜒</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="x o &#xA716;">xo꜖</word>
+    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="d u &#xA716;">du꜖</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" case="ACC" ph="h a &#xA716;&#xA712;">ha꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="h e &#xA716;&#xA712;">he꜖꜒</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="d i &#xA716;&#xA712;">di꜖꜒</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="vpta" function="proclitic" gloss="PAST" ph="s i &#xA712;&#xA716; x i &#xA712;&#xA716;">si꜒꜖xi꜒꜖</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="1excl.sing" indobj="3.sing" ph="k e &#xA716;&#xA712;">ke꜖꜒</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nouncase" function="prefix" gloss="NOM" attach="prefix" ph=""></thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" ph="x o &#xA716;">xo꜖</word>
-    <thingy type="vpta" function="proclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="m u &#xA712;&#xA716;">mu꜒꜖</word>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" ph="d u &#xA716;">du꜖</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" case="ACC" ph="h a &#xA716;&#xA712;">ha꜖꜒</word>
-    <thingy type="nouncase" function="prefix" gloss="DAT" attach="prefix" ph="h e &#xA716;&#xA712;">he꜖꜒</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" ph="d i &#xA716;&#xA712;">di꜖꜒</word>
+    <thingy type="vpta" function="proclitic" gloss="PAST">si꜒꜖xi꜒꜖</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="1excl.sing" indobj="3.sing">ke꜖꜒</word>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">xo꜖</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">mu꜒꜖</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC">du꜖</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" tr="rheme" case="ACC">ha꜖꜒</word>
+    <thingy type="nouncase" function="prefix" gloss="DAT">he꜖꜒</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT">di꜖꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜒꜖xi꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ke꜖꜒&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;xo꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mu꜒꜖&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;du꜖&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;ha꜖꜒&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;he꜖꜒-&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;di꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>si꜒꜖xi꜒꜖ ke꜖꜒ xo꜖ mu꜒꜖ du꜖ ha꜖꜒ he꜖꜒di꜖꜒</p>
+  <p>sìkhì ké kho̠ mù du̠ há hédí</p>
+  <il>
+    <w>
+      <o>si꜒꜖xi꜒꜖</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ke꜖꜒</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>xo꜖</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>mu꜒꜖</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>du꜖</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ha꜖꜒</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>he꜖꜒-</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>di꜖꜒</o>
+      <g>girl</g>
+    </w>
+  </il>
</example>