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

<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>
+      <subs>
        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
-        <np head="this" role="subj" number="plur">
+      </subs>
+      <np 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 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">
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife"/>
        </np>
+        <word gloss="COMIT" posp="pp"/>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <subs>
        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </subs>
      <np role="subj" number="plur">
        <word posp="noun" gloss="mouse"/>
        <word posp="num" gloss="three"/>
        <word posp="det" gloss="yon"/>
      </np>
    </np>
  </s>
</example>

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

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

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2">
+      <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
-        <np number="sing" def="def" locus="number" gender="cl.8">
+        <np number="sing" def="def" locus="number" gender="cl.8" case="ACT">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp"/>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.9">
+      <thingy type="npcase.number" function="proclitic" gloss="STA.plur"/>
      <subs>
        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="blind"/>
        </vp>
      </subs>
-      <np role="subj" number="plur" gender="cl.9">
+      <np role="subj" number="plur" gender="cl.9" case="STA">
        <word posp="num" gloss="three"/>
        <word posp="noun" gloss="mouse"/>
        <word posp="det" gloss="yon"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9">
+      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
+      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9"/>
      <word posp="verb" gloss="catch"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2">
      <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="cl.8" case="ACT">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp"/>
      </pp>
    </np>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="STA" gender="cl.9">
    <thingy type="npcase.number" function="proclitic" gloss="STA.plur"/>
    <subs>
      <vp tam="pres-state" ta="PRES">
        <word lexposp="adj" posp="verb" gloss="blind"/>
      </vp>
    </subs>
-      <np role="subj" number="plur" gender="cl.9" case="STA">
+    <np role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number">
      <word posp="num" gloss="three"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="det" gloss="yon"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS"/>
      <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9"/>
      <word posp="verb" gloss="catch"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2">
      <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-      <word posp="noun" gloss="woman"/>
+      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="cl.8" case="ACT">
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT"/>
        </np>
-        <word gloss="COMIT" posp="pp"/>
+        <word gloss="COMIT" posp="pp" role="comitative"/>
      </pp>
    </np>
    <thingy type="npcase.number" function="proclitic" gloss="STA.plur"/>
    <subs>
      <vp tam="pres-state" ta="PRES">
-        <word lexposp="adj" posp="verb" gloss="blind"/>
+        <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES"/>
      </vp>
    </subs>
    <np role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number">
-      <word posp="num" gloss="three"/>
-      <word posp="noun" gloss="mouse"/>
-      <word posp="det" gloss="yon"/>
+      <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
+      <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
+      <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS"/>
      <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9"/>
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for three/num/gender/optional
Got cl.9
About to call getSlotValue for yon/det/gender/optional
Got cl.9
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2">
      <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="cl.8" case="ACT">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT"/>
        </np>
        <word gloss="COMIT" posp="pp" role="comitative"/>
      </pp>
    </np>
    <thingy type="npcase.number" function="proclitic" gloss="STA.plur"/>
    <subs>
      <vp tam="pres-state" ta="PRES">
        <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES"/>
      </vp>
    </subs>
    <np role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number">
+      <thingy type="numgender" function="prefix" gloss="cl.9"/>
      <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
      <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
+      <thingy type="detgender" function="prefix" gloss="cl.9"/>
      <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS"/>
      <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9"/>
    </vp>
  </s>
</example>

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <np role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2"/>
-      <pp role="comitative">
-        <np number="sing" def="def" locus="number" gender="cl.8" case="ACT">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT"/>
-        </np>
    <word gloss="COMIT" posp="pp" role="comitative"/>
-      </pp>
-    </np>
    <thingy type="npcase.number" function="proclitic" gloss="STA.plur"/>
-    <subs>
-      <vp tam="pres-state" ta="PRES">
    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES"/>
-      </vp>
-    </subs>
-    <np role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number">
    <thingy type="numgender" function="prefix" gloss="cl.9"/>
    <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
    <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
    <thingy type="detgender" function="prefix" gloss="cl.9"/>
    <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9">
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS"/>
    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.plur"/>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES"/>
-    <thingy type="numgender" function="prefix" gloss="cl.9"/>
-    <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
-    <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
-    <thingy type="detgender" function="prefix" gloss="cl.9"/>
-    <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2" ph="k au &#x2C8; t a t a k a k a t a t a t" slots="Cir Cfr">kauˈtatakakatatat</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT" ph="t &#x254;i &#x2C8; k a k a k a t a t a t a t a k" slots="Cir Cfr">tɔiˈkakakatatatatak</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="k a k a &#x2C8; k a k a k" slots="Cir Cfr">kakaˈkakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.plur" ph="t a t a t a k a k" slots="Cip Cfp">tatatakak</thingy>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" ph="k &#x254;i &#x2C8; t a t a k a k a k" slots="Cir Cfr">kɔiˈtatakakak</word>
+    <thingy type="numgender" function="prefix" gloss="cl.9" attach="prefix" ph="t a k a t a t a t" slots="Cip Cir">takatatat</thingy>
+    <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k a t" slots="Cir Cfr">kat</word>
+    <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
+    <thingy type="detgender" function="prefix" gloss="cl.9" attach="prefix" ph="k a t a k a t a k a k" slots="Cip Cir">katakatakak</thingy>
+    <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k au &#x2C8; k" slots="Cir Cfr">kauˈk</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS" ph="t a k a t a t a t a" slots="Cip V2">takatatata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ" ph="t a t a t a t a t a" slots="Cip V2">tatatatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /k/ > // + /k/
/k/ + /k/ > // + /k/
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2" ph="k au &#x2C8; t a t a k a k a t a t a t" slots="Cir Cfr">kauˈtatakakatatat</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT" ph="t &#x254;i &#x2C8; k a k a k a t a t a t a t a k" slots="Cir Cfr">tɔiˈkakakatatatatak</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="k a k a &#x2C8; k a k a k" slots="Cir Cfr">kakaˈkakak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.plur" ph="t a t a t a k a k" slots="Cip Cfp">tatatakak</thingy>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" ph="k &#x254;i &#x2C8; t a t a k a k a k" slots="Cir Cfr">kɔiˈtatakakak</word>
-    <thingy type="numgender" function="prefix" gloss="cl.9" attach="prefix" ph="t a k a t a t a t" slots="Cip Cir">takatatat</thingy>
-    <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k a t" slots="Cir Cfr">kat</word>
-    <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
-    <thingy type="detgender" function="prefix" gloss="cl.9" attach="prefix" ph="k a t a k a t a k a k" slots="Cip Cir">katakatakak</thingy>
-    <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k au &#x2C8; k" slots="Cir Cfr">kauˈk</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS" ph="t a k a t a t a t a" slots="Cip V2">takatatata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ" ph="t a t a t a t a t a" slots="Cip V2">tatatatata</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2" ph="k au &#x2C8; t a t a k a k a t a t a t">kauˈtatakakatatat</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT" ph="t &#x254;i &#x2C8; k a k a k a t a t a t a t a k">tɔiˈkakakatatatatak</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="k a k a &#x2C8; k a k a k">kakaˈkakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.plur" ph="t a t a t a k a k">tatatakak</thingy>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" ph="k &#x254;i &#x2C8; t a t a k a k a k">kɔiˈtatakakak</word>
+    <thingy type="numgender" function="prefix" gloss="cl.9" attach="prefix" ph="t a k a t a t a" underlying="t a k a t a t a t">takatata</thingy>
+    <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k a t">kat</word>
+    <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
+    <thingy type="detgender" function="prefix" gloss="cl.9" attach="prefix" ph="k a t a k a t a k a" underlying="k a t a k a t a k a k">katakataka</thingy>
+    <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k au &#x2C8; k">kauˈk</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS" ph="t a k a t a t a t a">takatatata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ" ph="t a t a t a t a t a">tatatatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2" ph="k au &#x2C8; t a t a k a k a t a t a t">kauˈtatakakatatat</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT" ph="t &#x254;i &#x2C8; k a k a k a t a t a t a t a k">tɔiˈkakakatatatatak</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="k a k a &#x2C8; k a k a k">kakaˈkakak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.plur" ph="t a t a t a k a k">tatatakak</thingy>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" ph="k &#x254;i &#x2C8; t a t a k a k a k">kɔiˈtatakakak</word>
-    <thingy type="numgender" function="prefix" gloss="cl.9" attach="prefix" ph="t a k a t a t a" underlying="t a k a t a t a t">takatata</thingy>
-    <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k a t">kat</word>
-    <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
-    <thingy type="detgender" function="prefix" gloss="cl.9" attach="prefix" ph="k a t a k a t a k a" underlying="k a t a k a t a k a k">katakataka</thingy>
-    <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number" ph="k au &#x2C8; k">kauˈk</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS" ph="t a k a t a t a t a">takatatata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ" ph="t a t a t a t a t a">tatatatata</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="ACT" gender="cl.2">kauˈtatakakatatat</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.8" case="ACT">tɔiˈkakakatatatatak</word>
+    <word gloss="COMIT" posp="pp" role="comitative">kakaˈkakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.plur">tatatakak</thingy>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES">kɔiˈtatakakak</word>
+    <thingy type="numgender" function="prefix" gloss="cl.9" underlying="t a k a t a t a t">takatata</thingy>
+    <word posp="num" gloss="three" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number">kat</word>
+    <word posp="noun" gloss="mouse" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number">kataˈkatakakatataka</word>
+    <thingy type="detgender" function="prefix" gloss="cl.9" underlying="k a t a k a t a k a k">katakataka</thingy>
+    <word posp="det" gloss="yon" role="obj" number="plur" gender="cl.9" case="STA" def="def" tr="rheme" locus="number">kauˈk</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.2.POS">takatatata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ">tatatatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.9">tauˈkatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkautatakakatatat&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;ˈtɔikakakatatatatak&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;kaˈkakakak&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;tatatakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitatakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takatatat-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.9&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kat&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;kaˈtakatakakatataka&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;katakatakak-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.9&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkauk&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takatatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.cl.9.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaukatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka ˈkautatakakatatat ˈtɔikakakatatatatak kaˈkakakak tatatakak ˈkɔitatakakak takatatakat kaˈtakatakakatataka katakatakaˈkauk tatakat takatatata tatatatata ˈtaukatatak</p>
+  <p>kakakaka kautatakakatatat toikakakatatatatak kakakakak tatatakak koitatakakak takatatakat katakatakakatataka katakatakakauk tatakat takatatata tatatatata taukatatak</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>ˈkautatakakatatat</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>ˈtɔikakakatatatatak</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>kaˈkakakak</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>tatatakak</o>
+      <g>STA.plur</g>
+    </w>
+    <w>
+      <o>ˈkɔitatakakak</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>takatatat-</o>
+      <g>cl.9</g>
+    </w>
+    <w>
+      <o>kat</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>kaˈtakatakakatataka</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>katakatakak-</o>
+      <g>cl.9</g>
+    </w>
+    <w>
+      <o>ˈkauk</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>takatatata</o>
+      <g>3.sing.cl.2.POS</g>
+    </w>
+    <w>
+      <o>tatatatata</o>
+      <g>3.plur.cl.9.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtaukatatak</o>
+      <g>catch</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
+      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
+      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="girl" lexposp="noun" posp="verb">
+      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
+  <flat>
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7"/>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7"/>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a t" slots="Cip Cir">tatatakatat</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /k/ > // + /k/
<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a t" slots="Cip Cir">tatatakatat</thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a" underlying="t a t a t a k a t a t">tatatakata</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a" underlying="t a t a t a k a t a t">tatatakata</thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" underlying="t a t a t a k a t a t">tatatakata</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">kaˈkatatakatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatakatat-&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;ˈkakatatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>takata kakakakatakat tatatakataˈkakatatakatatak</p>
+  <p>takata kakakakatakat tatatakatakakatatakatatak</p>
+  <il>
+    <w>
+      <o>takata</o>
+      <g>active.indicative.PRES</g>
+    </w>
+    <w>
+      <o>kakakakatakat</o>
+      <g>3.sing.cl.7.POS</g>
+    </w>
+    <w>
+      <o>tatatakatat-</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ˈkakatatakatatak</o>
+      <g>girl</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_verb_obj
<example id="love2he" translation="*He* loves her.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="STA" gender="cl.7">
+      <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
      <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
+      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
+      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="STA" gender="cl.7">
      <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-      <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7"/>
+      <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="rheme" role="subj" locus="number" case="STA"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="girl" lexposp="noun" posp="verb">
+      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="STA" gender="cl.7">
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="rheme" role="subj" locus="number" case="STA"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7"/>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="rheme" role="subj" locus="number" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7"/>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="rheme" role="subj" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a t a t" slots="Cir Cfr">kɔiˈtatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a t" slots="Cip Cir">tatatakatat</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /k/ > // + /k/
<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="rheme" role="subj" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a t a t" slots="Cir Cfr">kɔiˈtatat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a t" slots="Cip Cir">tatatakatat</thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="rheme" role="subj" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a t a t">kɔiˈtatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a" underlying="t a t a t a k a t a t">tatatakata</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="rheme" role="subj" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a t a t">kɔiˈtatat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a" underlying="t a t a t a k a t a t">tatatakata</thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="rheme" role="subj" locus="number" case="STA">kɔiˈtatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" underlying="t a t a t a k a t a t">tatatakata</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">kaˈkatatakatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitatat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatakatat-&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;ˈkakatatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈkɔitatat takata kakakakatakat tatatakataˈkakatatakatatak</p>
+  <p>katataka koitatat takata kakakakatakat tatatakatakakatatakatatak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔitatat</o>
+      <g>3.sing.cl.7</g>
+    </w>
+    <w>
+      <o>takata</o>
+      <g>active.indicative.PRES</g>
+    </w>
+    <w>
+      <o>kakakakatakat</o>
+      <g>3.sing.cl.7.POS</g>
+    </w>
+    <w>
+      <o>tatatakatat-</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ˈkakatatakatatak</o>
+      <g>girl</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="love2her" translation="He loves *her*.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
+      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
+      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2her" translation="He loves *her*.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="girl" lexposp="noun" posp="verb">
+      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2her" translation="He loves *her*.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
+  <flat>
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">
    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7"/>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7"/>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a t" slots="Cip Cir">tatatakatat</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /k/ > // + /k/
<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a t" slots="Cip Cir">tatatakatat</thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a" underlying="t a t a t a k a t a t">tatatakata</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a t a" underlying="t a t a t a k a t a t">tatatakata</thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS">kakakakatakat</thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" underlying="t a t a t a k a t a t">tatatakata</thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.7">kaˈkatatakatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatakatat-&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;ˈkakatatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>takata kakakakatakat tatatakataˈkakatatakatatak</p>
+  <p>takata kakakakatakat tatatakatakakatatakatatak</p>
+  <il>
+    <w>
+      <o>takata</o>
+      <g>active.indicative.PRES</g>
+    </w>
+    <w>
+      <o>kakakakatakat</o>
+      <g>3.sing.cl.7.POS</g>
+    </w>
+    <w>
+      <o>tatatakatat-</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ˈkakatatakatatak</o>
+      <g>girl</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Kakakakatakatakatat hates Kakatakakakatakakak.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.4"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.4.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="Kakakakatakatakatat" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.4" propernoun="yes" ph="k a k a &#x2C8; k a k a t a k a t a k a t a t" slots="Cir Cfr">kakaˈkakatakatakatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="Kakatakakakatakakak" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" propernoun="yes" ph="k a k a &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">kakaˈtakakakatakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.4.POS" ph="t a k a k a k a t a" slots="Cip V2">takakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ" ph="k a t a k a k a k a k" slots="Cip Cfp">katakakakak</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="t a k au &#x2C8; t a t a t a k a" slots="Cir V2">takauˈtatataka</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="loveprop" translation="Kakakakatakatakatat hates Kakatakakakatakakak.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="Kakakakatakatakatat" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.4" propernoun="yes" ph="k a k a &#x2C8; k a k a t a k a t a k a t a t" slots="Cir Cfr">kakaˈkakatakatakatat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="Kakatakakakatakakak" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" propernoun="yes" ph="k a k a &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">kakaˈtakakakatakakak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.4.POS" ph="t a k a k a k a t a" slots="Cip V2">takakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ" ph="k a t a k a k a k a k" slots="Cip Cfp">katakakakak</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="t a k au &#x2C8; t a t a t a k a" slots="Cir V2">takauˈtatataka</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="Kakakakatakatakatat" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.4" propernoun="yes" ph="k a k a &#x2C8; k a k a t a k a t a k a t a t">kakaˈkakatakatakatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="Kakatakakakatakakak" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" propernoun="yes" ph="k a k a &#x2C8; t a k a k a k a t a k a k a k">kakaˈtakakakatakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.4.POS" ph="t a k a k a k a t a">takakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ" ph="k a t a k a k a k a k">katakakakak</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="t a k au &#x2C8; t a t a t a k a">takauˈtatataka</word>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Kakakakatakatakatat hates Kakatakakakatakakak.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="Kakakakatakatakatat" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.4" propernoun="yes" ph="k a k a &#x2C8; k a k a t a k a t a k a t a t">kakaˈkakatakatakatat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="Kakatakakakatakakak" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" propernoun="yes" ph="k a k a &#x2C8; t a k a k a k a t a k a k a k">kakaˈtakakakatakakak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.4.POS" ph="t a k a k a k a t a">takakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ" ph="k a t a k a k a k a k">katakakakak</thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="t a k au &#x2C8; t a t a t a k a">takauˈtatataka</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="Kakakakatakatakatat" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.4" propernoun="yes">kakaˈkakatakatakatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="Kakatakakakatakakak" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.4" propernoun="yes">kakaˈtakakakatakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.4.POS">takakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ">katakakakak</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4">takauˈtatataka</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈkakakatakatakatat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Kakakakatakatakatat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈkatakakakatakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Kakatakakakatakakak&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takakakata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈkautatataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hate&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka kaˈkakakatakatakatat katataka kaˈkatakakakatakakak takata takakakata katakakakak taˈkautatataka</p>
+  <p>kakakaka Kakakakatakatakatat katataka Kakatakakakatakakak takata takakakata katakakakak takautatataka</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>kaˈkakakatakatakatat</o>
+      <g>Kakakakatakatakatat</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>kaˈkatakakakatakakak</o>
+      <g>Kakatakakakatakakak</g>
+    </w>
+    <w>
+      <o>takata</o>
+      <g>active.indicative.PRES</g>
+    </w>
+    <w>
+      <o>takakakata</o>
+      <g>3.sing.cl.4.POS</g>
+    </w>
+    <w>
+      <o>katakakakak</o>
+      <g>3.sing.cl.4.OBJ</g>
+    </w>
+    <w>
+      <o>taˈkautatataka</o>
+      <g>hate</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.7" case="STA"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.7" case="STA" ph="t a &#x2C8; k a t a k a t a t a t a t" slots="Cir Cfr">taˈkatakatatatat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">tataiˈtakakakatakakak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.7" case="STA" ph="t a &#x2C8; k a t a k a t a t a t a t" slots="Cir Cfr">taˈkatakatatatat</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">tataiˈtakakakatakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.7" case="STA" ph="t a &#x2C8; k a t a k a t a t a t a t">taˈkatakatatatat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k">tataiˈtakakakatakakak</word>
  </flat>
</example>

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.7" case="STA" ph="t a &#x2C8; k a t a k a t a t a t a t">taˈkatakatatatat</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k">tataiˈtakakakatakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.7" case="STA">taˈkatakatatatat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA">tataiˈtakakakatakakak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtakatakatatatat&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;taˈtaitakakakatakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈtakatakatatatat taˈtaitakakakatakakak</p>
+  <p>katataka takatakatatatat tataitakakakatakakak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈtakatakatatatat</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>taˈtaitakakakatakakak</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" locus="number" role="owner" case="STA"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" locus="number" role="owner" case="STA" ph="k &#x254;i &#x2C8; t a t a t" slots="Cir Cfr">kɔiˈtatat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">tataiˈtakakakatakakak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" locus="number" role="owner" case="STA" ph="k &#x254;i &#x2C8; t a t a t" slots="Cir Cfr">kɔiˈtatat</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">tataiˈtakakakatakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" locus="number" role="owner" case="STA" ph="k &#x254;i &#x2C8; t a t a t">kɔiˈtatat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k">tataiˈtakakakatakakak</word>
  </flat>
</example>

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" locus="number" role="owner" case="STA" ph="k &#x254;i &#x2C8; t a t a t">kɔiˈtatat</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k">tataiˈtakakakatakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" locus="number" role="owner" case="STA">kɔiˈtatat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA">tataiˈtakakakatakakak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitatat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈtaitakakakatakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈkɔitatat taˈtaitakakakatakakak</p>
+  <p>katataka koitatat tataitakakakatakakak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔitatat</o>
+      <g>3.sing.cl.7</g>
+    </w>
+    <w>
+      <o>taˈtaitakakakatakakak</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k &#x254;i &#x2C8; t a k a t" slots="Cir Cfr">kɔiˈtakat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">tataiˈtakakakatakakak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k &#x254;i &#x2C8; t a k a t" slots="Cir Cfr">kɔiˈtakat</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">tataiˈtakakakatakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k &#x254;i &#x2C8; t a k a t">kɔiˈtakat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k">tataiˈtakakakatakakak</word>
  </flat>
</example>

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k &#x254;i &#x2C8; t a k a t">kɔiˈtakat</word>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k">tataiˈtakakakatakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA">kɔiˈtakat</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.4" case="STA">tataiˈtakakakatakakak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitakat&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;taˈtaitakakakatakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈkɔitakat taˈtaitakakakatakakak</p>
+  <p>katataka koitakat tataitakakakatakakak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔitakat</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>taˈtaitakakakatakakak</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="ACT"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="ACT"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.6"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="ACT" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t" slots="Cir Cfr">katauˈkatatakakakatat</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="ACT" ph="k a &#x2C8; t a t a k a k a t a k a t" slots="Cir Cfr">kaˈtatakakatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k a &#x2C8; t a k a t" slots="Cir Cfr">kaˈtakat</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA" ph="t a k &#x254;i &#x2C8; t a t a t a t a k a t a k a k" slots="Cir Cfr">takɔiˈtatatatakatakak</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; k a k a t a k a k a k a t" slots="Cir Cfr">kaˈkakatakakakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ" ph="k a t a t a t a k a k" slots="Cip Cfp">katatatakak</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.6" ph="k a t a &#x2C8; t a t a t a k a k" slots="Cir Cfr">kataˈtatatakak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="ACT" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t" slots="Cir Cfr">katauˈkatatakakakatat</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="ACT" ph="k a &#x2C8; t a t a k a k a t a k a t" slots="Cir Cfr">kaˈtatakakatakat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k a &#x2C8; t a k a t" slots="Cir Cfr">kaˈtakat</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA" ph="t a k &#x254;i &#x2C8; t a t a t a t a k a t a k a k" slots="Cir Cfr">takɔiˈtatatatakatakak</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; k a k a t a k a k a k a t" slots="Cir Cfr">kaˈkakatakakakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ" ph="k a t a t a t a k a k" slots="Cip Cfp">katatatakak</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.6" ph="k a t a &#x2C8; t a t a t a k a k" slots="Cir Cfr">kataˈtatatakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="ACT" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t">katauˈkatatakakakatat</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="ACT" ph="k a &#x2C8; t a t a k a k a t a k a t">kaˈtatakakatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k a &#x2C8; t a k a t">kaˈtakat</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA" ph="t a k &#x254;i &#x2C8; t a t a t a t a k a t a k a k">takɔiˈtatatatakatakak</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; k a k a t a k a k a k a t">kaˈkakatakakakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ" ph="k a t a t a t a k a k">katatatakak</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.6" ph="k a t a &#x2C8; t a t a t a k a k">kataˈtatatakak</word>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="ACT" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t">katauˈkatatakakakatat</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="ACT" ph="k a &#x2C8; t a t a k a k a t a k a t">kaˈtatakakatakat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k a &#x2C8; t a k a t">kaˈtakat</word>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA" ph="t a k &#x254;i &#x2C8; t a t a t a t a k a t a k a k">takɔiˈtatatatakatakak</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; k a k a t a k a k a k a t">kaˈkakatakakakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ" ph="k a t a t a t a k a k">katatatakak</thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.6" ph="k a t a &#x2C8; t a t a t a k a k">kataˈtatatakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="ACT">katauˈkatatakakakatat</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="ACT">kaˈtatakakatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA">kaˈtakat</word>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA">takɔiˈtatatatakatakak</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA">kaˈkakatakakakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ">katatatakak</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.6">kataˈtatatakak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtaukatatakakakatat&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;ˈkatatakakatakat&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;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkatakat&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;taˈkɔitatatatakatakak&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;ˈkakakatakakakat&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katatatakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtatatatakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kiss&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka kaˈtaukatatakakakatat ˈkatatakakatakat katataka ˈkatakat taˈkɔitatatatakatakak ˈkakakatakakakat tatakat kakakakatakat katatatakak kaˈtatatatakak</p>
+  <p>kakakaka kataukatatakakakatat katatakakatakat katataka katakat takoitatatatakatakak kakakatakakakat tatakat kakakakatakat katatatakak katatatatakak</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>kaˈtaukatatakakakatat</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ˈkatatakakatakat</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkatakat</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>taˈkɔitatatatakatakak</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>ˈkakakatakakakat</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>kakakakatakat</o>
+      <g>3.sing.cl.7.POS</g>
+    </w>
+    <w>
+      <o>katatatakak</o>
+      <g>3.sing.cl.6.OBJ</g>
+    </w>
+    <w>
+      <o>kaˈtatatatakak</o>
+      <g>kiss</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module 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"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

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:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9">takaˈkakatakakatakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈkakakatakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka taˈkakakatakakatakat</p>
+  <p>katataka takakakatakakatakat</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>taˈkakakatakakatakat</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"/>
  </np>
</example>

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

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:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /t/ > // + /t/
<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="STA" gender="cl.9">takaˈkakatakakatakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakakat-&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;taˈkakakatakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka katakakakataˈkakakatakakatakat</p>
+  <p>katataka katakakakatakakakatakakatakat</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>katakakakat-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>taˈkakakatakakatakat</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <vp tam="past-punct">
-      <verb>have</verb>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+      <word posp="verb" gloss="have"/>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron">
-      <noun>girl</noun>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
    </np>
-    <np def="indef" number="sing" tr="rheme" role="obj">
-      <noun>lamb</noun>
-      <adj>little</adj>
+    <np def="indef" number="sing" tr="rheme" role="obj" locus="number">
+      <word posp="noun" gloss="lamb"/>
+      <word posp="adj" gloss="little"/>
    </np>
  </s>
</example>
The adjective 'little' will be incorporated. Resistance is useless.

module adj2verb:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_adj
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="have"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
    </np>
  </s>
</example>
submodule transform_verb_obj
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-      <word posp="verb" gloss="have"/>
+      <word gloss="lamb" lexposp="noun" posp="verb">
+        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
+        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
+      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np number="sing" tr="rheme" role="obj" locus="number">
-      <word posp="noun" gloss="lamb"/>
-      <word posp="adj" gloss="little"/>
-    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="lamb2" translation="She had a little lamb.">
  <s>
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+      <word posp="noun" gloss="girl"/>
+    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-      <word posp="noun" gloss="girl"/>
-    </np>
  </s>
</example>

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
+      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
+      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="lamb" lexposp="noun" posp="verb">
+      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
+  <flat>
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a k a t a k a k" slots="Cip Cir">takakatakak</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k/ + /k/ > // + /k/
/t/ + /t/ > // + /t/
<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a k a t a k a k" slots="Cip Cir">takakatakak</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a k a t a k a" underlying="t a k a k a t a k a k">takakataka</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a k a t a k a" underlying="t a k a k a t a k a k">takakataka</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS">kakakakatakat</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" underlying="t a k a k a t a k a k">takakataka</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">takaˈkakatakakatakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takakatakak-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakakat-&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;taˈkakakatakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tatakat kakakakatakat takakatakakatakakakataˈkakakatakakatakat</p>
+  <p>tatakat kakakakatakat takakatakakatakakakatakakakatakakatakat</p>
+  <il>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>kakakakatakat</o>
+      <g>3.sing.cl.7.POS</g>
+    </w>
+    <w>
+      <o>takakatakak-</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>katakakakat-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>taˈkakakatakakatakat</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
+      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
+      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="lamb" lexposp="noun" posp="verb">
+      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
+  <flat>
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">
    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-      </word>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a k a k" slots="Cip Cir">tatatakakak</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a k a t a k a k" slots="Cip Cir">takakatakak</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k/ + /t/ > // + /t/
/k/ + /k/ > // + /k/
/t/ + /t/ > // + /t/
<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a k a k" slots="Cip Cir">tatatakakak</thingy>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a k a t a k a k" slots="Cip Cir">takakatakak</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a k a" underlying="t a t a t a k a k a k">tatatakaka</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a k a t a k a" underlying="t a k a k a t a k a k">takakataka</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph="t a t a t a k a k a" underlying="t a t a t a k a k a k">tatatakaka</thingy>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a k a t a k a" underlying="t a k a k a t a k a k">takakataka</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS">kakakakatakat</thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" underlying="t a t a t a k a k a k">tatatakaka</thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" underlying="t a k a k a t a k a k">takakataka</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7">takaˈkakatakakatakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatakakak-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takakatakak-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakakat-&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;taˈkakakatakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tatakat kakakakatakat tatatakakatakakatakakatakakakataˈkakakatakakatakat</p>
+  <p>tatakat kakakakatakat tatatakakatakakatakakatakakakatakakakatakakatakat</p>
+  <il>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>kakakakatakat</o>
+      <g>3.sing.cl.7.POS</g>
+    </w>
+    <w>
+      <o>tatatakakak-</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>takakatakak-</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>katakakakat-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>taˈkakakatakakatakat</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

createpronouns:

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

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3"/>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k ai &#x2C8; k a t a k a t" slots="Cir Cfr">kaiˈkatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t" slots="Cip Cfp">tatatatakat</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3" ph="k ai &#x2C8; t a t a k a k" slots="Cir Cfr">kaiˈtatakak</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3" ph="k a &#x2C8; t a t a k" slots="Cir Cfr">kaˈtatak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /t/ > // + /t/
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k ai &#x2C8; k a t a k a t" slots="Cir Cfr">kaiˈkatakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t" slots="Cip Cfp">tatatatakat</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3" ph="k ai &#x2C8; t a t a k a k" slots="Cir Cfr">kaiˈtatakak</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3" ph="k a &#x2C8; t a t a k" slots="Cir Cfr">kaˈtatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k ai &#x2C8; k a t a k a t">kaiˈkatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t">tatatatakat</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3" ph="k ai &#x2C8; t a t a k a k">kaiˈtatakak</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3" ph="k a &#x2C8; t a t a k">kaˈtatak</word>
  </flat>
</example>

removetags:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k ai &#x2C8; k a t a k a t">kaiˈkatakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t">tatatatakat</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3" ph="k ai &#x2C8; t a t a k a k">kaiˈtatakak</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3" ph="k a &#x2C8; t a t a k">kaˈtatak</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9">takaˈkakatakakatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">kaiˈkatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ">tatatatakat</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3">kaiˈtatakak</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" obj="3.sing.cl.3">kaˈtatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakakat-&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;taˈkakakatakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkaikatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkaitatakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katakakakataˈkakakatakakatakat tatakat ˈkaikatakat tatakat kakakakatakat tatatatakat ˈkaitatakak ˈkatatak</p>
+  <p>katakakakatakakakatakakatakat tatakat kaikatakat tatakat kakakakatakat tatatatakat kaitatakak katatak</p>
+  <il>
+    <w>
+      <o>katakakakat-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>taˈkakakatakakatakat</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈkaikatakat</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>kakakakatakat</o>
+      <g>3.sing.cl.7.POS</g>
+    </w>
+    <w>
+      <o>tatatatakat</o>
+      <g>3.sing.cl.3.OBJ</g>
+    </w>
+    <w>
+      <o>ˈkaitatakak</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ˈkatatak</o>
+      <g>often</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

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

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="theme" role="owned" locus="number" case="STA"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="2.sing.NEG"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3"/>
-    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="theme" role="owned" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a t a t" slots="Cir Cfr">kɔiˈtatat</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k ai &#x2C8; k a t a k a t" slots="Cir Cfr">kaiˈkatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t" slots="Cip Cfp">tatatatakat</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="k ai &#x2C8; t a t a k a k" slots="Cir Cfr">kaiˈtatakak</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="k a &#x2C8; t a t a k" slots="Cir Cfr">kaˈtatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t" slots="Cip Cfp">tatatatakat</thingy>
+    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="t au &#x2C8; k a k a k a k" slots="Cir Cfr">tauˈkakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="2.sing.NEG" ph="k a k a t a k a k a" slots="Cip V2">kakatakaka</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t" slots="Cip Cfp">tatatatakat</thingy>
+    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3" ph="k ai &#x2C8; t a k a t a t" slots="Cir Cfr">kaiˈtakatat</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /t/ > // + /t/
<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="theme" role="owned" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a t a t" slots="Cir Cfr">kɔiˈtatat</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a t" slots="Cip Cir">katakakakat</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t" slots="Cir Cfr">takaˈkakatakakatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="theme" role="owned" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a t a t">kɔiˈtatat</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k ai &#x2C8; k a t a k a t" slots="Cir Cfr">kaiˈkatakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t" slots="Cip Cfp">tatatatakat</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="k ai &#x2C8; t a t a k a k" slots="Cir Cfr">kaiˈtatakak</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="k a &#x2C8; t a t a k" slots="Cir Cfr">kaˈtatak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t" slots="Cip Cfp">tatatatakat</thingy>
-    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="t au &#x2C8; k a k a k a k" slots="Cir Cfr">tauˈkakakak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="2.sing.NEG" ph="k a k a t a k a k a" slots="Cip V2">kakatakaka</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t" slots="Cip Cfp">tatatatakat</thingy>
-    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3" ph="k ai &#x2C8; t a k a t a t" slots="Cir Cfr">kaiˈtakatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k ai &#x2C8; k a t a k a t">kaiˈkatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t">tatatatakat</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="k ai &#x2C8; t a t a k a k">kaiˈtatakak</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="k a &#x2C8; t a t a k">kaˈtatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t">tatatatakat</thingy>
+    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="t au &#x2C8; k a k a k a k">tauˈkakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="2.sing.NEG" ph="k a k a t a k a k a">kakatakaka</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t">tatatatakat</thingy>
+    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3" ph="k ai &#x2C8; t a k a t a t">kaiˈtakatat</word>
  </flat>
</example>

removetags:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="theme" role="owned" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a t a t">kɔiˈtatat</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="k a t a k a k a k a" underlying="k a t a k a k a k a t">katakakaka</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9" ph="t a k a &#x2C8; k a k a t a k a k a t a k a t">takaˈkakatakakatakat</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph=""></thingy>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k ai &#x2C8; k a t a k a t">kaiˈkatakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t">tatatatakat</thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="k ai &#x2C8; t a t a k a k">kaiˈtatakak</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="k a &#x2C8; t a t a k">kaˈtatak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t">tatatatakat</thingy>
-    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3" ph="t au &#x2C8; k a k a k a k">tauˈkakakak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="2.sing.NEG" ph="k a k a t a k a k a">kakatakaka</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ" ph="t a t a t a t a k a t">tatatatakat</thingy>
-    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3" ph="k ai &#x2C8; t a k a t a t">kaiˈtakatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="pron" number="sing" gender="cl.7" gloss="3.sing.cl.7" def="def" tr="theme" role="owned" locus="number" case="STA">kɔiˈtatat</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="k a t a k a k a k a t">katakakaka</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" gender="cl.9">takaˈkakatakakatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">kaiˈkatakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ">tatatatakat</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">kaiˈtatakak</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">kaˈtatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ">tatatatakat</thingy>
+    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.3">tauˈkakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="2.sing.NEG">kakatakaka</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.3.OBJ">tatatatakat</thingy>
+    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing.cl.3">kaiˈtakatat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitatat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakakat-&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;taˈkakakatakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkaikatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkaitatakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaukakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;think&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakatakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;NEG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkaitakatat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;be&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈkɔitatat katakakakataˈkakakatakakatakat tatakat ˈkaikatakat tatakat tatatatakat ˈkaitatakak ˈkatatak tatakat tatatatakat ˈtaukakakak takata kakatakaka tatatatakat ˈkaitakatat</p>
+  <p>katataka koitatat katakakakatakakakatakakatakat tatakat kaikatakat tatakat tatatatakat kaitatakak katatak tatakat tatatatakat taukakakak takata kakatakaka tatatatakat kaitakatat</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔitatat</o>
+      <g>3.sing.cl.7</g>
+    </w>
+    <w>
+      <o>katakakakat-</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>taˈkakakatakakatakat</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈkaikatakat</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>tatatatakat</o>
+      <g>3.sing.cl.3.OBJ</g>
+    </w>
+    <w>
+      <o>ˈkaitatakak</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ˈkatatak</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>tatatatakat</o>
+      <g>3.sing.cl.3.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtaukakakak</o>
+      <g>think</g>
+    </w>
+    <w>
+      <o>takata</o>
+      <g>active.indicative.PRES</g>
+    </w>
+    <w>
+      <o>kakatakaka</o>
+      <g>2.sing.NEG</g>
+    </w>
+    <w>
+      <o>tatatatakat</o>
+      <g>3.sing.cl.3.OBJ</g>
+    </w>
+    <w>
+      <o>ˈkaitakatat</o>
+      <g>be</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="k a t a t a k a k a k" slots="Cip Cfp">katatakakak</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="k &#x254;i &#x2C8; t a k a t a" slots="Cir V2">kɔiˈtakata</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="k a t a t a k a k a k" slots="Cip Cfp">katatakakak</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="k &#x254;i &#x2C8; t a k a t a" slots="Cir V2">kɔiˈtakata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="k a t a t a k a k a k">katatakakak</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="k &#x254;i &#x2C8; t a k a t a">kɔiˈtakata</word>
  </flat>
</example>

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="k a t a t a k a k a k">katatakakak</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="k &#x254;i &#x2C8; t a k a t a">kɔiˈtakata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ">katatakakak</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">kɔiˈtakata</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katatakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitakata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>takata katakakata katatakakak ˈkɔitakata</p>
+  <p>takata katakakata katatakakak koitakata</p>
+  <il>
+    <w>
+      <o>takata</o>
+      <g>active.indicative.PRES</g>
+    </w>
+    <w>
+      <o>katakakata</o>
+      <g>1excl.sing.POS</g>
+    </w>
+    <w>
+      <o>katatakakak</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>ˈkɔitakata</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

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">
-    <np type="owner_owned" number="sing">
    <np def="def" number="sing" locus="number" gender="cl.8">
      <word posp="noun" gloss="table"/>
    </np>
    <np def="def" number="sing" gender="cl.5">
      <word posp="noun" gloss="surface"/>
    </np>
-    </np>
    <word gloss="in" posp="pp"/>
  </pp>
</example>

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.8"/>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.5"/>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.8" ph="k ai &#x2C8; k a k a k a k a t a k a t a k" slots="Cir Cfr">kaiˈkakakakatakatak</word>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.5" ph="t a &#x2C8; k a t a t a t a t a t a t" slots="Cir Cfr">taˈkatatatatatat</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t a &#x2C8; t a t" slots="Cir Cfr">taˈtat</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.8" ph="k ai &#x2C8; k a k a k a k a t a k a t a k" slots="Cir Cfr">kaiˈkakakakatakatak</word>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.5" ph="t a &#x2C8; k a t a t a t a t a t a t" slots="Cir Cfr">taˈkatatatatatat</word>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t a &#x2C8; t a t" slots="Cir Cfr">taˈtat</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.8" ph="k ai &#x2C8; k a k a k a k a t a k a t a k">kaiˈkakakakatakatak</word>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.5" ph="t a &#x2C8; k a t a t a t a t a t a t">taˈkatatatatatat</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t a &#x2C8; t a t">taˈtat</word>
  </flat>
</example>

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.8" ph="k ai &#x2C8; k a k a k a k a t a k a t a k">kaiˈkakakakatakatak</word>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.5" ph="t a &#x2C8; k a t a t a t a t a t a t">taˈkatatatatatat</word>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t a &#x2C8; t a t">taˈtat</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.8">kaiˈkakakakatakatak</word>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.5">taˈkatatatatatat</word>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes">taˈtat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkaikakakakatakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtakatatatatatat&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;ˈtatat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈkaikakakakatakatak ˈtakatatatatatat ˈtatat</p>
+  <p>kaikakakakatakatak takatatatatatat tatat</p>
+  <il>
+    <w>
+      <o>ˈkaikakakakatakatak</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>ˈtakatatatatatat</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>ˈtatat</o>
+      <g>in</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

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">
-    <np type="owner_owned" number="sing">
    <np def="def" number="sing" locus="number" gender="cl.8">
      <word posp="noun" gloss="box"/>
    </np>
    <np def="def" number="sing" gender="cl.9">
      <word posp="noun" gloss="inside"/>
    </np>
-    </np>
    <word gloss="to" posp="pp"/>
  </pp>
</example>

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.8"/>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.9"/>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.8" ph="t a k au &#x2C8; t a k a k a k a t a t a k a t" slots="Cir Cfr">takauˈtakakakatatakat</word>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.9" ph="t au &#x2C8; k a k a t a k a t a k a k" slots="Cir Cfr">tauˈkakatakatakak</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="t ai &#x2C8; t a k" slots="Cir Cfr">taiˈtak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.8" ph="t a k au &#x2C8; t a k a k a k a t a t a k a t" slots="Cir Cfr">takauˈtakakakatatakat</word>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.9" ph="t au &#x2C8; k a k a t a k a t a k a k" slots="Cir Cfr">tauˈkakatakatakak</word>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="t ai &#x2C8; t a k" slots="Cir Cfr">taiˈtak</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.8" ph="t a k au &#x2C8; t a k a k a k a t a t a k a t">takauˈtakakakatatakat</word>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.9" ph="t au &#x2C8; k a k a t a k a t a k a k">tauˈkakatakatakak</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="t ai &#x2C8; t a k">taiˈtak</word>
  </flat>
</example>

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.8" ph="t a k au &#x2C8; t a k a k a k a t a t a k a t">takauˈtakakakatatakat</word>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.9" ph="t au &#x2C8; k a k a t a k a t a k a k">tauˈkakatakatakak</word>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="t ai &#x2C8; t a k">taiˈtak</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.8">takauˈtakakakatatakat</word>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.9">tauˈkakatakatakak</word>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes">taiˈtak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈkautakakakatatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaukakatakatakak&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;ˈtaitak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt;</p>
+  <p>taˈkautakakakatatakat ˈtaukakatakatakak ˈtaitak</p>
+  <p>takautakakakatatakat taukakatakatakak taitak</p>
+  <il>
+    <w>
+      <o>taˈkautakakakatatakat</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>ˈtaukakatakatakak</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>ˈtaitak</o>
+      <g>to</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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">
    <np number="sing" def="neither" locus="number">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2"/>
    </np>
    <word gloss="COMIT" posp="pp"/>
  </pp>
</example>

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" ph="k &#x254;i &#x2C8; t a k a t" slots="Cir Cfr">kɔiˈtakat</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="k a k a &#x2C8; k a k a k" slots="Cir Cfr">kakaˈkakak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" ph="k &#x254;i &#x2C8; t a k a t" slots="Cir Cfr">kɔiˈtakat</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="k a k a &#x2C8; k a k a k" slots="Cir Cfr">kakaˈkakak</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" ph="k &#x254;i &#x2C8; t a k a t">kɔiˈtakat</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="k a k a &#x2C8; k a k a k">kakaˈkakak</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number" ph="k &#x254;i &#x2C8; t a k a t">kɔiˈtakat</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="k a k a &#x2C8; k a k a k">kakaˈkakak</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" locus="number">kɔiˈtakat</word>
+    <word gloss="COMIT" posp="pp" role="comitative">kakaˈkakak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitakat&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;kaˈkakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈkɔitakat kaˈkakakak</p>
+  <p>koitakat kakakakak</p>
+  <il>
+    <w>
+      <o>ˈkɔitakat</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kaˈkakakak</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.6"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.6"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9" ph="k a t a &#x2C8; k a k a k a t a k a k a k a k" slots="Cir Cfr">kataˈkakakatakakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.6" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t" slots="Cir Cfr">katauˈkatatakakakatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ" ph="k a t a t a t a k a k" slots="Cip Cfp">katatatakak</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.6" ph="t a &#x2C8; k a t a k a t" slots="Cir Cfr">taˈkatakat</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9" ph="k a t a &#x2C8; k a k a k a t a k a k a k a k" slots="Cir Cfr">kataˈkakakatakakakak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.6" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t" slots="Cir Cfr">katauˈkatatakakakatat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ" ph="k a t a t a t a k a k" slots="Cip Cfp">katatatakak</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.6" ph="t a &#x2C8; k a t a k a t" slots="Cir Cfr">taˈkatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9" ph="k a t a &#x2C8; k a k a k a t a k a k a k a k">kataˈkakakatakakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.6" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t">katauˈkatatakakakatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ" ph="k a t a t a t a k a k">katatatakak</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.6" ph="t a &#x2C8; k a t a k a t">taˈkatakat</word>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9" ph="k a t a &#x2C8; k a k a k a t a k a k a k a k">kataˈkakakatakakakak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.6" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t">katauˈkatatakakakatat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ" ph="k a t a t a t a k a k">katatatakak</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.6" ph="t a &#x2C8; k a t a k a t">taˈkatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9">kataˈkakakatakakakak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="STA" gender="cl.6">katauˈkatatakakakatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.6.OBJ">katatatakak</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.6">taˈkatakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtakakakatakakakak&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;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtaukatatakakakatat&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katatatakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka kaˈtakakakatakakakak katataka kaˈtaukatatakakakatat tatakat takatakatatak katatatakak ˈtakatakat</p>
+  <p>kakakaka katakakakatakakakak katataka kataukatatakakakatat tatakat takatakatatak katatatakak takatakat</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>kaˈtakakakatakakakak</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>kaˈtaukatatakakakatat</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>takatakatatak</o>
+      <g>3.sing.cl.9.POS</g>
+    </w>
+    <w>
+      <o>katatatakak</o>
+      <g>3.sing.cl.6.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtakatakat</o>
+      <g>kill</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="STA"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.9" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.7"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9" ph="k a t ai &#x2C8; t a t a t a t a t a k a t a k" slots="Cir Cfr">kataiˈtatatatatakatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="STA" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t" slots="Cir Cfr">katauˈkatatakakakatat</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; t a t a k a k a t a k a t" slots="Cir Cfr">kaˈtatakakatakat</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.9" case="STA" ph="k a &#x2C8; k a t a t a k a k a t a t" slots="Cir Cfr">kaˈkatatakakatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="k a t a k a t a t a t" slots="Cip Cfp">katakatatat</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.7" ph="t au &#x2C8; t a k a k a t" slots="Cir Cfr">tauˈtakakat</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9" ph="k a t ai &#x2C8; t a t a t a t a t a k a t a k" slots="Cir Cfr">kataiˈtatatatatakatak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="STA" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t" slots="Cir Cfr">katauˈkatatakakakatat</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; t a t a k a k a t a k a t" slots="Cir Cfr">kaˈtatakakatakat</word>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.9" case="STA" ph="k a &#x2C8; k a t a t a k a k a t a t" slots="Cir Cfr">kaˈkatatakakatat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="k a t a k a t a t a t" slots="Cip Cfp">katakatatat</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.7" ph="t au &#x2C8; t a k a k a t" slots="Cir Cfr">tauˈtakakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9" ph="k a t ai &#x2C8; t a t a t a t a t a k a t a k">kataiˈtatatatatakatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="STA" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t">katauˈkatatakakakatat</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; t a t a k a k a t a k a t">kaˈtatakakatakat</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.9" case="STA" ph="k a &#x2C8; k a t a t a k a k a t a t">kaˈkatatakakatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="k a t a k a t a t a t">katakatatat</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.7" ph="t au &#x2C8; t a k a k a t">tauˈtakakat</word>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9" ph="k a t ai &#x2C8; t a t a t a t a t a k a t a k">kataiˈtatatatatakatak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="STA" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t">katauˈkatatakakakatat</word>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; t a t a k a k a t a k a t">kaˈtatakakatakat</word>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.9" case="STA" ph="k a &#x2C8; k a t a t a k a k a t a t">kaˈkatatakakatat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ" ph="k a t a k a t a t a t">katakatatat</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.7" ph="t au &#x2C8; t a k a k a t">tauˈtakakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="ACT" gender="cl.9">kataiˈtatatatatakatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.6" case="STA">katauˈkatatakakakatat</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA">kaˈtatakakatakat</word>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.9" case="STA">kaˈkatatakakatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.7.OBJ">katakatatat</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.7">tauˈtakakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtaitatatatatakatak&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;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtaukatatakakakatat&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;ˈkatatakakatakat&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;ˈkakatatakakatat&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakatatat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtautakakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka kaˈtaitatatatatakatak katataka kaˈtaukatatakakakatat ˈkatatakakatakat ˈkakatatakakatat tatakat takatakatatak katakatatat ˈtautakakat</p>
+  <p>kakakaka kataitatatatatakatak katataka kataukatatakakakatat katatakakatakat kakatatakakatat tatakat takatakatatak katakatatat tautakakat</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>kaˈtaitatatatatakatak</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>kaˈtaukatatakakakatat</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ˈkatatakakatakat</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>ˈkakatatakakatat</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>takatakatatak</o>
+      <g>3.sing.cl.9.POS</g>
+    </w>
+    <w>
+      <o>katakatatat</o>
+      <g>3.sing.cl.7.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtautakakat</o>
+      <g>eat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" case="STA"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k a &#x2C8; t a k a t" slots="Cir Cfr">kaˈtakat</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; k a k a t a k a k a k a t" slots="Cir Cfr">kaˈkakatakakakat</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA" ph="k au &#x2C8; k a k a k a k a k a k a t" slots="Cir Cfr">kauˈkakakakakakat</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" case="STA" ph="k ai &#x2C8; k a k a k a t a k a k a" slots="Cir V2">kaiˈkakakatakaka</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k a &#x2C8; t a k a t" slots="Cir Cfr">kaˈtakat</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; k a k a t a k a k a k a t" slots="Cir Cfr">kaˈkakatakakakat</word>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA" ph="k au &#x2C8; k a k a k a k a k a k a t" slots="Cir Cfr">kauˈkakakakakakat</word>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" case="STA" ph="k ai &#x2C8; k a k a k a t a k a k a" slots="Cir V2">kaiˈkakakatakaka</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k a &#x2C8; t a k a t">kaˈtakat</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; k a k a t a k a k a k a t">kaˈkakatakakakat</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA" ph="k au &#x2C8; k a k a k a k a k a k a t">kauˈkakakakakakat</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" case="STA" ph="k ai &#x2C8; k a k a k a t a k a k a">kaiˈkakakatakaka</word>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA" ph="k a &#x2C8; t a k a t">kaˈtakat</word>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA" ph="k a &#x2C8; k a k a t a k a k a k a t">kaˈkakatakakakat</word>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA" ph="k au &#x2C8; k a k a k a k a k a k a t">kauˈkakakakakakat</word>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" case="STA" ph="k ai &#x2C8; k a k a k a t a k a k a">kaiˈkakakatakaka</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" locus="number" role="owner" case="STA">kaˈtakat</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.7" case="STA">kaˈkakatakakakat</word>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.6" case="STA">kauˈkakakakakakat</word>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.8" case="STA">kaiˈkakakatakaka</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkatakat&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;ˈkakakatakakakat&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;ˈkaukakakakakakat&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;ˈkaikakakatakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈkatakat ˈkakakatakakakat ˈkaukakakakakakat ˈkaikakakatakaka</p>
+  <p>katataka katakat kakakatakakakat kaukakakakakakat kaikakakatakaka</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkatakat</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>ˈkakakatakakakat</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ˈkaukakakakakakat</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>ˈkaikakakatakaka</o>
+      <g>book</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.9" ph="t a &#x2C8; k a k a t a k" slots="Cir Cfr">taˈkakatak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.9" ph="t a &#x2C8; k a k a t a k" slots="Cir Cfr">taˈkakatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.9" ph="t a &#x2C8; k a k a t a k">taˈkakatak</word>
  </flat>
</example>

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.9" ph="t a &#x2C8; k a k a t a k">taˈkakatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES">takata</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS">takatakatatak</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.9">taˈkakatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔikatakakatata&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;takata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈkɔikatakakatata takata takatakatatak ˈtakakatak</p>
+  <p>katataka koikatakakatata takata takatakatatak takakatak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔikatakakatata</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>takata</o>
+      <g>active.indicative.PRES</g>
+    </w>
+    <w>
+      <o>takatakatatak</o>
+      <g>3.sing.cl.9.POS</g>
+    </w>
+    <w>
+      <o>ˈtakakatak</o>
+      <g>sleep</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9" ph="t &#x254;i &#x2C8; t a k a k a t" slots="Cir Cfr">tɔiˈtakakat</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9" ph="t &#x254;i &#x2C8; t a k a k a t" slots="Cir Cfr">tɔiˈtakakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9" ph="t &#x254;i &#x2C8; t a k a k a t">tɔiˈtakakat</word>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9" ph="t &#x254;i &#x2C8; t a k a k a t">tɔiˈtakakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9">kɔiˈkatakakatata</word>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS">takatakatatak</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9">tɔiˈtakakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔikatakakatata&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;takatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtɔitakakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka ˈkɔikatakakatata takatakatatak ˈtɔitakakat</p>
+  <p>kakakaka koikatakakatata takatakatatak toitakakat</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔikatakakatata</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>takatakatatak</o>
+      <g>3.sing.cl.9.POS</g>
+    </w>
+    <w>
+      <o>ˈtɔitakakat</o>
+      <g>run</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS"/>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9"/>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a t a k a t a k" slots="Cip Cir">takatakatak</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
+    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/k/ + /k/ > // + /k/
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a t a k a t a k" slots="Cip Cir">takatakatak</thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a t a k a t a" underlying="t a k a t a k a t a k">takatakata</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a t a k a t a" underlying="t a k a t a k a t a k">takatakata</thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="STA" gender="cl.9">kɔiˈkatakakatata</word>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS">takatakatatak</thingy>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" underlying="t a k a t a k a t a k">takatakata</thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.9">kataˈkatakakatataka</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔikatakakatata&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;takatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takatakatak-&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;kaˈtakatakakatataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈkɔikatakakatata takatakatatak takatakatakaˈtakatakakatataka</p>
+  <p>katataka koikatakakatata takatakatatak takatakatakatakatakakatataka</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔikatakakatata</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>takatakatatak</o>
+      <g>3.sing.cl.9.POS</g>
+    </w>
+    <w>
+      <o>takatakatak-</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>kaˈtakatakakatataka</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 RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.9"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k" slots="Cip Cfp">takatakatatak</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS" ph="t a k a t a k a t a t a k">takatakatatak</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="ACT" gender="cl.9">kɔiˈkatakakatata</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="STA" gender="cl.9">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.9.POS">takatakatatak</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.9" obj="3.sing.cl.9">tauˈkatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔikatakakatata&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;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtakatakakatataka&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takatakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaukatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka ˈkɔikatakakatata katataka kaˈtakatakakatataka tatakat takatakatatak tatakatata ˈtaukatatak</p>
+  <p>kakakaka koikatakakatata katataka katakatakakatataka tatakat takatakatatak tatakatata taukatatak</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔikatakakatata</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>kaˈtakatakakatataka</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>takatakatatak</o>
+      <g>3.sing.cl.9.POS</g>
+    </w>
+    <w>
+      <o>tatakatata</o>
+      <g>3.sing.cl.9.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtaukatatak</o>
+      <g>catch</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.6"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.plur"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.6.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.6" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t" slots="Cir Cfr">katauˈkatatakakakatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.plur" ph="t a t a t a k a k" slots="Cip Cfp">tatatakak</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a t a &#x2C8; k a k a k a t a k a k a k a k" slots="Cir Cfr">kataˈkakakatakakakak</word>
+    <word posp="conj" gloss="and" ph="t a &#x2C8; t" slots="Cir Cfr">taˈt</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a k a &#x2C8; k a k a k a k a t a k a k a t" slots="Cir Cfr">kakaˈkakakakatakakat</word>
+    <word posp="conj" gloss="and" ph="t a &#x2C8; t" slots="Cir Cfr">taˈt</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a t ai &#x2C8; t a t a t a t a t a k a t a k" slots="Cir Cfr">kataiˈtatatatatakatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.6.POS" ph="t a t a t a t a k a t a t" slots="Cip Cfp">tatatatakatat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ" ph="t a t a t a t a t a" slots="Cip V2">tatatatata</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.9" ph="t a &#x2C8; k a t a k a t" slots="Cir Cfr">taˈkatakat</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.6" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t" slots="Cir Cfr">katauˈkatatakakakatat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.plur" ph="t a t a t a k a k" slots="Cip Cfp">tatatakak</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a t a &#x2C8; k a k a k a t a k a k a k a k" slots="Cir Cfr">kataˈkakakatakakakak</word>
-    <word posp="conj" gloss="and" ph="t a &#x2C8; t" slots="Cir Cfr">taˈt</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a k a &#x2C8; k a k a k a k a t a k a k a t" slots="Cir Cfr">kakaˈkakakakatakakat</word>
-    <word posp="conj" gloss="and" ph="t a &#x2C8; t" slots="Cir Cfr">taˈt</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a t ai &#x2C8; t a t a t a t a t a k a t a k" slots="Cir Cfr">kataiˈtatatatatakatak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.6.POS" ph="t a t a t a t a k a t a t" slots="Cip Cfp">tatatatakatat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ" ph="t a t a t a t a t a" slots="Cip V2">tatatatata</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.9" ph="t a &#x2C8; k a t a k a t" slots="Cir Cfr">taˈkatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.6" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t">katauˈkatatakakakatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.plur" ph="t a t a t a k a k">tatatakak</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a t a &#x2C8; k a k a k a t a k a k a k a k">kataˈkakakatakakakak</word>
+    <word posp="conj" gloss="and" ph="t a &#x2C8; t">taˈt</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a k a &#x2C8; k a k a k a k a t a k a k a t">kakaˈkakakakatakakat</word>
+    <word posp="conj" gloss="and" ph="t a &#x2C8; t">taˈt</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a t ai &#x2C8; t a t a t a t a t a k a t a k">kataiˈtatatatatakatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.6.POS" ph="t a t a t a t a k a t a t">tatatatakatat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ" ph="t a t a t a t a t a">tatatatata</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.9" ph="t a &#x2C8; k a t a k a t">taˈkatakat</word>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.6" ph="k a t au &#x2C8; k a t a t a k a k a k a t a t">katauˈkatatakakakatat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.plur" ph="t a t a t a k a k">tatatakak</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a t a &#x2C8; k a k a k a t a k a k a k a k">kataˈkakakatakakakak</word>
-    <word posp="conj" gloss="and" ph="t a &#x2C8; t">taˈt</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a k a &#x2C8; k a k a k a k a t a k a k a t">kakaˈkakakakatakakat</word>
-    <word posp="conj" gloss="and" ph="t a &#x2C8; t">taˈt</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA" ph="k a t ai &#x2C8; t a t a t a t a t a k a t a k">kataiˈtatatatatakatak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.6.POS" ph="t a t a t a t a k a t a t">tatatatakatat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ" ph="t a t a t a t a t a">tatatatata</thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.9" ph="t a &#x2C8; k a t a k a t">taˈkatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.6">katauˈkatatakakakatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.plur">tatatakak</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA">kataˈkakakatakakakak</word>
+    <word posp="conj" gloss="and">taˈt</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA">kakaˈkakakakatakakat</word>
+    <word posp="conj" gloss="and">taˈt</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.9" role="obj" tr="rheme" case="STA">kataiˈtatatatatakatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.6.POS">tatatatakatat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.plur.cl.9.OBJ">tatatatata</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.9">taˈkatakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtaukatatakakakatat&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;tatatakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtakakakatakakakak&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;ˈtat&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;kaˈkakakakakatakakat&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;ˈtat&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;kaˈtaitatatatatakatak&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatatakatat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatatatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.cl.9.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka kaˈtaukatatakakakatat tatatakak kaˈtakakakatakakakak ˈtat kaˈkakakakakatakakat ˈtat kaˈtaitatatatatakatak tatakat tatatatakatat tatatatata ˈtakatakat</p>
+  <p>kakakaka kataukatatakakakatat tatatakak katakakakatakakakak tat kakakakakakatakakat tat kataitatatatatakatak tatakat tatatatakatat tatatatata takatakat</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>kaˈtaukatatakakakatat</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>tatatakak</o>
+      <g>STA.plur</g>
+    </w>
+    <w>
+      <o>kaˈtakakakatakakakak</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ˈtat</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>kaˈkakakakakatakakat</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>ˈtat</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>kaˈtaitatatatatakatak</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>tatatatakatat</o>
+      <g>3.sing.cl.6.POS</g>
+    </w>
+    <w>
+      <o>tatatatata</o>
+      <g>3.plur.cl.9.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtakatakat</o>
+      <g>kill</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.9"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k" slots="Cir Cfr">takaˈkakatatak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k" slots="Cir Cfr">takaˈkakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k">takaˈkakatatak</word>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.9" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k">takaˈkakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="STA" gender="cl.9">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9">takaˈkakatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔikatakakatata&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈkakakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka ˈkɔikatakakatata tatakat katakakata tatakatata taˈkakakatatak</p>
+  <p>katataka koikatakakatata tatakat katakakata tatakatata takakakatatak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔikatakakatata</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>katakakata</o>
+      <g>1excl.sing.POS</g>
+    </w>
+    <w>
+      <o>tatakatata</o>
+      <g>3.sing.cl.9.OBJ</g>
+    </w>
+    <w>
+      <o>taˈkakakatatak</o>
+      <g>pat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.9"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k" slots="Cir Cfr">takaˈkakatatak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k" slots="Cir Cfr">takaˈkakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k">takaˈkakatatak</word>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.9" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k">takaˈkakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="STA" gender="cl.9">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9">takaˈkakatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈtakatakakatataka&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaukatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔikatakakatata&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈkakakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka katataka kaˈtakatakakatataka tatakat tatakatata ˈtaukatatak ˈkɔikatakakatata tatakat katakakata tatakatata taˈkakakatatak</p>
+  <p>katataka katataka katakatakakatataka tatakat tatakatata taukatatak koikatakakatata tatakat katakakata tatakatata takakakatatak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>kaˈtakatakakatataka</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>tatakatata</o>
+      <g>3.sing.cl.9.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtaukatatak</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ˈkɔikatakakatata</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>katakakata</o>
+      <g>1excl.sing.POS</g>
+    </w>
+    <w>
+      <o>tatakatata</o>
+      <g>3.sing.cl.9.OBJ</g>
+    </w>
+    <w>
+      <o>taˈkakakatatak</o>
+      <g>pat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np role="obj" case="STA" gender="cl.9" number="sing">
+      <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
      <subs>
        <np role="obj" case="STA" gender="cl.9" number="sing">
+          <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+              <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.9">
+          <np def="def" number="sing" role="subj" locus="number" gender="cl.9" case="STA">
            <word posp="noun" gloss="mouse"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9">
+          <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
+          <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
          <word posp="verb" gloss="catch"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.9">
+      <np def="def" number="sing" role="subj" locus="number" gender="cl.9" case="STA">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9">
+      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
+      <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
+      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np role="obj" case="STA" gender="cl.9" number="sing">
    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
    <subs>
-        <np role="obj" case="STA" gender="cl.9" number="sing">
      <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
          <word gloss="cheese" lexposp="noun" posp="verb">
            <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
            <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
          </word>
        </vp>
      </subs>
-          <np def="def" number="sing" role="subj" locus="number" gender="cl.9" case="STA">
+      <np def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">
        <word posp="noun" gloss="mouse"/>
      </np>
-        </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9">
        <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
        <word posp="verb" gloss="catch"/>
      </vp>
    </subs>
-      <np def="def" number="sing" role="subj" locus="number" gender="cl.9" case="STA">
+    <np def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">
      <word posp="noun" gloss="cat"/>
    </np>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
      <word posp="verb" gloss="pat"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
    <subs>
      <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-          <word gloss="cheese" lexposp="noun" posp="verb">
+          <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
            <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
            <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
          </word>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9">
        <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
        <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
-        <word posp="verb" gloss="catch"/>
+        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
      <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <subs>
    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-          <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-          </word>
-        </vp>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9">
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9">
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a t a t a t a t" slots="Cip Cir">takatatatat</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k a t &#x254;i &#x2C8; t a k a k a k a k a t a t a t" slots="Cir Cfr">katɔiˈtakakakakatatat</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k" slots="Cir Cfr">takaˈkakatatak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

/t/ + /k/ > // + /k/
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a t a t a t a t" slots="Cip Cir">takatatatat</thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k a t &#x254;i &#x2C8; t a k a k a k a k a t a t a t" slots="Cir Cfr">katɔiˈtakakakakatatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a t a t a t a" underlying="t a k a t a t a t a t">takatatata</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k a t &#x254;i &#x2C8; t a k a k a k a k a t a t a t">katɔiˈtakakakakatatat</word>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a" slots="Cip V2">tatakatata</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k" slots="Cir Cfr">takaˈkakatatak</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k">takaˈkakatatak</word>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="t a k a t a t a t a" underlying="t a k a t a t a t a t">takatatata</thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k a t &#x254;i &#x2C8; t a k a k a k a k a t a t a t">katɔiˈtakakakakatatat</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ" ph="t a t a k a t a t a">tatakatata</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9" ph="t a k a &#x2C8; k a k a t a t a k">takaˈkakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" underlying="t a k a t a t a t a t">takatatata</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">katɔiˈtakakakakatatat</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ">tatakatata</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.9">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.9.OBJ">tatakatata</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.9">takaˈkakatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takatatatat-&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;kaˈtɔitakakakakatatat&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;kaˈtakatakakatataka&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaukatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔikatakakatata&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.9.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈkakakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka katataka tatakat takatatatakaˈtɔitakakakakatatat kaˈtakatakakatataka tatakat tatakatata ˈtaukatatak ˈkɔikatakakatata tatakat katakakata tatakatata taˈkakakatatak</p>
+  <p>katataka katataka tatakat takatatatakatoitakakakakatatat katakatakakatataka tatakat tatakatata taukatatak koikatakakatata tatakat katakakata tatakatata takakakatatak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>takatatatat-</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>kaˈtɔitakakakakatatat</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>kaˈtakatakakatataka</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>tatakatata</o>
+      <g>3.sing.cl.9.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtaukatatak</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ˈkɔikatakakatata</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>katakakata</o>
+      <g>1excl.sing.POS</g>
+    </w>
+    <w>
+      <o>tatakatata</o>
+      <g>3.sing.cl.9.OBJ</g>
+    </w>
+    <w>
+      <o>taˈkakakatatak</o>
+      <g>pat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" case="STA" person="1excl"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing"/>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a k a t" slots="Cir Cfr">kɔiˈtakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k au &#x2C8; t a t a k a t" slots="Cir Cfr">kauˈtatakat</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" case="STA" person="1excl" ph="k a t &#x254;i &#x2C8; t a k a k a k a k a t a t a t" slots="Cir Cfr">katɔiˈtakakakakatatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k" slots="Cip Cfp">katakakatak</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="t au &#x2C8; t a k a k a t" slots="Cir Cfr">tauˈtakakat</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k" slots="Cip Cfp">katakakatak</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k" slots="Cip Cfp">katakakatak</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing" ph="t a k a &#x2C8; k a k a t a t a k" slots="Cir Cfr">takaˈkakatatak</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a k a t" slots="Cir Cfr">kɔiˈtakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k au &#x2C8; t a t a k a t" slots="Cir Cfr">kauˈtatakat</word>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" case="STA" person="1excl" ph="k a t &#x254;i &#x2C8; t a k a k a k a k a t a t a t" slots="Cir Cfr">katɔiˈtakakakakatatat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k" slots="Cip Cfp">katakakatak</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="t au &#x2C8; t a k a k a t" slots="Cir Cfr">tauˈtakakat</word>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl" ph="k a t a &#x2C8; k a t a k a k a t a t a k a" slots="Cir V2">kataˈkatakakatataka</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k" slots="Cip Cfp">katakakatak</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="t au &#x2C8; k a t a t a k" slots="Cir Cfr">tauˈkatatak</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a" slots="Cir V2">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a" slots="Cip V2">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k" slots="Cip Cfp">katakakatak</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing" ph="t a k a &#x2C8; k a k a t a t a k" slots="Cir Cfr">takaˈkakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a k a t">kɔiˈtakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k au &#x2C8; t a t a k a t">kauˈtatakat</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" case="STA" person="1excl" ph="k a t &#x254;i &#x2C8; t a k a k a k a k a t a t a t">katɔiˈtakakakakatatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k">katakakatak</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="t au &#x2C8; t a k a k a t">tauˈtakakat</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k">katakakatak</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k">katakakatak</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing" ph="t a k a &#x2C8; k a k a t a t a k">takaˈkakatatak</word>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" ph="k &#x254;i &#x2C8; t a k a t">kɔiˈtakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="k au &#x2C8; t a t a k a t">kauˈtatakat</word>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" case="STA" person="1excl" ph="k a t &#x254;i &#x2C8; t a k a k a k a k a t a t a t">katɔiˈtakakakakatatat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k">katakakatak</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="t au &#x2C8; t a k a k a t">tauˈtakakat</word>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl" ph="k a t a &#x2C8; k a t a k a k a t a t a k a">kataˈkatakakatataka</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k">katakakatak</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="t au &#x2C8; k a t a t a k">tauˈkatatak</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl" ph="k &#x254;i &#x2C8; k a t a k a k a t a t a">kɔiˈkatakakatata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS" ph="k a t a k a k a t a">katakakata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k">katakakatak</thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing" ph="t a k a &#x2C8; k a k a t a t a k">takaˈkakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA">kɔiˈtakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">kauˈtatakat</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" gender="cl.2" case="STA" person="1excl">katɔiˈtakakakakatatat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ">katakakatak</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">tauˈtakakat</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl">kataˈkatakakatataka</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ">katakakatak</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">tauˈkatatak</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" gender="cl.9" case="STA" person="1excl">kɔiˈkatakakatata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="1excl.sing.POS">katakakata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ">katakakatak</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">takaˈkakatatak</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitakat&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkautatakat&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;kaˈtɔitakakakakatatat&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtautakakat&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;kaˈtakatakakatataka&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtaukatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔikatakakatata&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈkakakatatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katataka katataka katataka ˈkɔitakat tatakat ˈkautatakat kaˈtɔitakakakakatatat tatakat katakakatak ˈtautakakat kaˈtakatakakatataka tatakat katakakatak ˈtaukatatak ˈkɔikatakakatata tatakat katakakata katakakatak taˈkakakatatak</p>
+  <p>katataka katataka katataka koitakat tatakat kautatakat katoitakakakakatatat tatakat katakakatak tautakakat katakatakakatataka tatakat katakakatak taukatatak koikatakakatata tatakat katakakata katakakatak takakakatatak</p>
+  <il>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔitakat</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>ˈkautatakat</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>kaˈtɔitakakakakatatat</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>katakakatak</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtautakakat</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>kaˈtakatakakatataka</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>katakakatak</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>ˈtaukatatak</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ˈkɔikatakakatata</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>katakakata</o>
+      <g>1excl.sing.POS</g>
+    </w>
+    <w>
+      <o>katakakatak</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>taˈkakakatatak</o>
+      <g>pat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module 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"/>
        </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"/>
        </np>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl"/>
        </np>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
  </s>
</example>

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
    <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT">
-      <word posp="noun" gloss="boy"/>
+      <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT"/>
    </np>
    <np role="owner" number="sing" gender="cl.3" case="ACT">
      <subs>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7">
          <thingy type="npcase.number" function="proclitic" gloss="DAT.sing"/>
-          <word posp="noun" gloss="girl"/>
+          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7"/>
        </np>
        <np number="sing" role="obj" locus="number" case="STA" gender="cl.4">
          <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-          <word posp="noun" gloss="apple"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.4"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4">
          <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
          <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4"/>
          <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7"/>
-          <word posp="verb" gloss="give"/>
+          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4"/>
        </vp>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6">
      <thingy type="npcase.number" function="proclitic" gloss="DAT.sing"/>
-      <word posp="noun" gloss="teacher"/>
+      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6">
      <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
      <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.3.POS"/>
      <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.6"/>
-      <word posp="verb" gloss="surprise"/>
+      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
+  <flat>
    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <np number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT">
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT"/>
-    </np>
-    <np role="owner" number="sing" gender="cl.3" case="ACT">
-      <subs>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7">
    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing"/>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7"/>
-        </np>
-        <np number="sing" role="obj" locus="number" case="STA" gender="cl.4">
    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.4"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4">
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4"/>
    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4"/>
-        </vp>
-      </subs>
-    </np>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6">
    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing"/>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6">
    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.3.POS"/>
    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.6"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT"/>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.4"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4"/>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4"/>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.3.POS"/>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.6"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT" ph="t a &#x2C8; k a t a k a t a t a t a t" slots="Cir Cfr">taˈkatakatatatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k" slots="Cip Cfp">kakakatak</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.4" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">tataiˈtakakakatakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ" ph="k a t a k a k a k a k" slots="Cip Cfp">katakakakak</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ" ph="k a k a t a t a k a t" slots="Cip Cfp">kakatatakat</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4" ph="t a &#x2C8; k a t a t a k" slots="Cir Cfr">taˈkatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k" slots="Cip Cfp">kakakatak</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6" ph="k a k au &#x2C8; k a t a t a t a k a k a t a k" slots="Cir Cfr">kakauˈkatatatakakatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.3.POS" ph="t a k a k a k a k a t" slots="Cip Cfp">takakakakat</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.6.INDOBJ" ph="k a k a k a t a k a k" slots="Cip Cfp">kakakatakak</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6" ph="t a t ai &#x2C8; t a t a t a k a t" slots="Cir Cfr">tataiˈtatatakat</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT" ph="t a &#x2C8; k a t a k a t a t a t a t" slots="Cir Cfr">taˈkatakatatatat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k" slots="Cip Cfp">kakakatak</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.4" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k" slots="Cir Cfr">tataiˈtakakakatakakak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ" ph="k a t a k a k a k a k" slots="Cip Cfp">katakakakak</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ" ph="k a k a t a t a k a t" slots="Cip Cfp">kakatatakat</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4" ph="t a &#x2C8; k a t a t a k" slots="Cir Cfr">taˈkatatak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k" slots="Cip Cfp">kakakatak</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6" ph="k a k au &#x2C8; k a t a t a t a k a k a t a k" slots="Cir Cfr">kakauˈkatatatakakatak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.3.POS" ph="t a k a k a k a k a t" slots="Cip Cfp">takakakakat</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.6.INDOBJ" ph="k a k a k a t a k a k" slots="Cip Cfp">kakakatakak</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6" ph="t a t ai &#x2C8; t a t a t a k a t" slots="Cir Cfr">tataiˈtatatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT" ph="t a &#x2C8; k a t a k a t a t a t a t">taˈkatakatatatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k">kakakatak</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.4" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k">tataiˈtakakakatakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ" ph="k a t a k a k a k a k">katakakakak</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ" ph="k a k a t a t a k a t">kakatatakat</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4" ph="t a &#x2C8; k a t a t a k">taˈkatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k">kakakatak</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6" ph="k a k au &#x2C8; k a t a t a t a k a k a t a k">kakauˈkatatatakakatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.3.POS" ph="t a k a k a k a k a t">takakakakat</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.6.INDOBJ" ph="k a k a k a t a k a k">kakakatakak</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6" ph="t a t ai &#x2C8; t a t a t a k a t">tataiˈtatatakat</word>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT" ph="t a &#x2C8; k a t a k a t a t a t a t">taˈkatakatatatat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k">kakakatak</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.4" ph="t a t ai &#x2C8; t a k a k a k a t a k a k a k">tataiˈtakakakatakakak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ" ph="k a t a k a k a k a k">katakakakak</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ" ph="k a k a t a t a k a t">kakatatakat</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4" ph="t a &#x2C8; k a t a t a k">taˈkatatak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k">kakakatak</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6" ph="k a k au &#x2C8; k a t a t a t a k a k a t a k">kakauˈkatatatakakatak</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.3.POS" ph="t a k a k a k a k a t">takakakakat</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.6.INDOBJ" ph="k a k a k a t a k a k">kakakatakak</thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6" ph="t a t ai &#x2C8; t a t a t a k a t">tataiˈtatatakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" gender="cl.7" case="ACT">taˈkatakatatatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing">kakakatak</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.7">kaˈkatatakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="STA" gender="cl.4">tataiˈtakakakatakakak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="3.sing.cl.4.OBJ">katakakakak</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ">kakatatakat</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing.cl.7" obj="3.sing.cl.4">taˈkatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing">kakakatak</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.6">kakauˈkatatatakakatak</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.3.POS">takakakakat</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.6.INDOBJ">kakakatakak</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.3" indobj="3.sing.cl.6">tataiˈtatatakat</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtakatakatatatat&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;kakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkakatatakatatak&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;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈtaitakakakatakakak&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakatatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtakatatak&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;kakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaˈkaukatatatakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;takakakakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.3.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakatakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;taˈtaitatatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surprise&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka ˈtakatakatatatat kakakatak ˈkakatatakatatak katataka taˈtaitakakakatakakak tatakat katakakakak kakatatakat ˈtakatatak kakakatak kaˈkaukatatatakakatak tatakat takakakakat kakakatakak taˈtaitatatakat</p>
+  <p>kakakaka takatakatatatat kakakatak kakatatakatatak katataka tataitakakakatakakak tatakat katakakakak kakatatakat takatatak kakakatak kakaukatatatakakatak tatakat takakakakat kakakatakak tataitatatakat</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>ˈtakatakatatatat</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>kakakatak</o>
+      <g>DAT.sing</g>
+    </w>
+    <w>
+      <o>ˈkakatatakatatak</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>taˈtaitakakakatakakak</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>katakakakak</o>
+      <g>3.sing.cl.4.OBJ</g>
+    </w>
+    <w>
+      <o>kakatatakat</o>
+      <g>3.sing.cl.7.INDOBJ</g>
+    </w>
+    <w>
+      <o>ˈtakatatak</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>kakakatak</o>
+      <g>DAT.sing</g>
+    </w>
+    <w>
+      <o>kaˈkaukatatatakakatak</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>takakakakat</o>
+      <g>3.sing.cl.3.POS</g>
+    </w>
+    <w>
+      <o>kakakatakak</o>
+      <g>3.sing.cl.6.INDOBJ</g>
+    </w>
+    <w>
+      <o>taˈtaitatatakat</o>
+      <g>surprise</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.7"/>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.7"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" tr="rheme"/>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="STA"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES"/>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST"/>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS"/>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing"/>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" indobj="3.sing.cl.7" obj="1excl.sing"/>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.7" ph="t a &#x2C8; k a t a k a t a t a t a t" slots="Cir Cfr">taˈkatakatatatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k" slots="Cip Cfp">kakakatak</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" tr="rheme" ph="k &#x254;i &#x2C8; t a k a t" slots="Cir Cfr">kɔiˈtakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="STA" ph="k a &#x2C8; t a k a t" slots="Cir Cfr">kaˈtakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="k a t a t a k a k a k" slots="Cip Cfp">katatakakak</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="k &#x254;i &#x2C8; t a k a t a" slots="Cir V2">kɔiˈtakata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k" slots="Cip Cfp">katakakatak</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ" ph="k a k a t a t a k a t" slots="Cip Cfp">kakatatakat</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" indobj="3.sing.cl.7" obj="1excl.sing" ph="t a &#x2C8; t a t a t a" slots="Cir V2">taˈtatata</word>
  </flat>
</example>

vowelharmony:

No change.

applysandhi:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a" slots="Cip V2">kakakaka</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.7" ph="t a &#x2C8; k a t a k a t a t a t a t" slots="Cir Cfr">taˈkatakatatatat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k" slots="Cip Cfp">kakakatak</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k" slots="Cir Cfr">kaˈkatatakatatak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" tr="rheme" ph="k &#x254;i &#x2C8; t a k a t" slots="Cir Cfr">kɔiˈtakat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a" slots="Cip V2">katataka</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="STA" ph="k a &#x2C8; t a k a t" slots="Cir Cfr">kaˈtakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a" slots="Cip V2">takata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="k a t a t a k a k a k" slots="Cip Cfp">katatakakak</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="k &#x254;i &#x2C8; t a k a t a" slots="Cir V2">kɔiˈtakata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t" slots="Cip Cfp">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t" slots="Cip Cfp">kakakakatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k" slots="Cip Cfp">katakakatak</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ" ph="k a k a t a t a k a t" slots="Cip Cfp">kakatatakat</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" indobj="3.sing.cl.7" obj="1excl.sing" ph="t a &#x2C8; t a t a t a" slots="Cir V2">taˈtatata</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.7" ph="t a &#x2C8; k a t a k a t a t a t a t">taˈkatakatatatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k">kakakatak</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" tr="rheme" ph="k &#x254;i &#x2C8; t a k a t">kɔiˈtakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="STA" ph="k a &#x2C8; t a k a t">kaˈtakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="k a t a t a k a k a k">katatakakak</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="k &#x254;i &#x2C8; t a k a t a">kɔiˈtakata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k">katakakatak</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ" ph="k a k a t a t a k a t">kakatatakat</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" indobj="3.sing.cl.7" obj="1excl.sing" ph="t a &#x2C8; t a t a t a">taˈtatata</word>
  </flat>
</example>

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing" ph="k a k a k a k a">kakakaka</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.7" ph="t a &#x2C8; k a t a k a t a t a t a t">taˈkatakatatatat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing" ph="k a k a k a t a k">kakakatak</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.7" ph="k a &#x2C8; k a t a t a k a t a t a k">kaˈkatatakatatak</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" tr="rheme" ph="k &#x254;i &#x2C8; t a k a t">kɔiˈtakat</word>
-    <thingy type="npcase.number" function="proclitic" gloss="STA.sing" ph="k a t a t a k a">katataka</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="STA" ph="k a &#x2C8; t a k a t">kaˈtakat</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES" ph="t a k a t a">takata</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ" ph="k a t a t a k a k a k">katatakakak</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="k &#x254;i &#x2C8; t a k a t a">kɔiˈtakata</word>
-    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST" ph="t a t a k a t">tatakat</thingy>
-    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS" ph="k a k a k a k a t a k a t">kakakakatakat</thingy>
-    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ" ph="k a t a k a k a t a k">katakakatak</thingy>
-    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ" ph="k a k a t a t a k a t">kakatatakat</thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" indobj="3.sing.cl.7" obj="1excl.sing" ph="t a &#x2C8; t a t a t a">taˈtatata</word>
+    <thingy type="npcase.number" function="proclitic" gloss="ACT.sing">kakakaka</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="ACT" gender="cl.7">taˈkatakatatatat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="DAT.sing">kakakatak</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.7">kaˈkatatakatatak</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.2" def="neither" role="owned" locus="number" case="STA" tr="rheme">kɔiˈtakat</word>
+    <thingy type="npcase.number" function="proclitic" gloss="STA.sing">katataka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.2" def="neither" role="obj" locus="number" case="STA">kaˈtakat</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PRES">takata</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="2.sing.OBJ">katatakakak</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">kɔiˈtakata</word>
+    <thingy type="vpvoice.mode.ta" function="proclitic" gloss="active.indicative.PAST">tatakat</thingy>
+    <thingy type="vpsubj.negation" function="proclitic" gloss="3.sing.cl.7.POS">kakakakatakat</thingy>
+    <thingy type="vpobj" function="proclitic" gloss="1excl.sing.OBJ">katakakatak</thingy>
+    <thingy type="vpindobj" function="proclitic" gloss="3.sing.cl.7.INDOBJ">kakatatakat</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.7" indobj="3.sing.cl.7" obj="1excl.sing">taˈtatata</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtakatakatatatat&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;kakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkakatatakatatak&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;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitakat&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;katataka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;STA&lt;/span&gt;.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkatakat&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;takata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PRES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katatakakak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkɔitakata&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;tatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;active.indicative.&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakakakatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;katakakatak&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakatatakat&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.7.&lt;span class="glssc"&gt;INDOBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtatatata&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tell&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakakaka ˈtakatakatatatat kakakatak ˈkakatatakatatak katataka ˈkɔitakat katataka ˈkatakat takata katatakakak ˈkɔitakata tatakat kakakakatakat katakakatak kakatatakat ˈtatatata</p>
+  <p>kakakaka takatakatatatat kakakatak kakatatakatatak katataka koitakat katataka katakat takata katatakakak koitakata tatakat kakakakatakat katakakatak kakatatakat tatatata</p>
+  <il>
+    <w>
+      <o>kakakaka</o>
+      <g>ACT.sing</g>
+    </w>
+    <w>
+      <o>ˈtakatakatatatat</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>kakakatak</o>
+      <g>DAT.sing</g>
+    </w>
+    <w>
+      <o>ˈkakatatakatatak</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkɔitakat</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>katataka</o>
+      <g>STA.sing</g>
+    </w>
+    <w>
+      <o>ˈkatakat</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>takata</o>
+      <g>active.indicative.PRES</g>
+    </w>
+    <w>
+      <o>katatakakak</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>ˈkɔitakata</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>tatakat</o>
+      <g>active.indicative.PAST</g>
+    </w>
+    <w>
+      <o>kakakakatakat</o>
+      <g>3.sing.cl.7.POS</g>
+    </w>
+    <w>
+      <o>katakakatak</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>kakatatakat</o>
+      <g>3.sing.cl.7.INDOBJ</g>
+    </w>
+    <w>
+      <o>ˈtatatata</o>
+      <g>tell</g>
+    </w>
+  </il>
</example>