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

<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">
+    <np role="obj" tr="rheme">
+      <np type="owner_owned">
+        <np number="sing" def="def" role="owner">
+          <word posp="noun" gloss="blind" lexposp="adj"/>
+        </np>
+        <np role="owned" def="def" number="plur" locus="number">
          <word posp="noun" gloss="mouse"/>
-      <word posp="adj" gloss="blind"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
+      </np>
+    </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" tr="rheme">
      <np type="owner_owned">
        <np number="sing" def="def" role="owner">
          <word posp="noun" gloss="blind" lexposp="adj"/>
        </np>
        <np role="owned" def="def" number="plur" locus="number">
          <word posp="noun" gloss="mouse"/>
          <word posp="num" gloss="three"/>
          <word posp="det" gloss="yon"/>
        </np>
      </np>
    </np>
  </s>
</example>

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="cl.1">
-      <np type="owner_owned" gender="cl.1">
-        <np role="owned" def="def" locus="number" gender="cl.1">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
+      <np type="owner_owned" gender="cl.1" case="ACC">
+        <np role="owned" def="def" locus="number" gender="cl.1" case="ACC">
          <word posp="det" gloss="yon"/>
          <word posp="num" gloss="three"/>
          <word posp="noun" gloss="mouse"/>
        </np>
-        <np def="def" role="owner">
+        <np def="def" role="owner" case="ACC">
          <word posp="noun" gloss="blind" lexposp="adj"/>
        </np>
      </np>
    </np>
    <np role="subj" def="def" locus="number" case="NOM" gender="cl.1">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
-        <np def="def" locus="number" gender="cl.4">
+        <np def="def" locus="number" gender="cl.4" case="NOM">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
-    <np role="obj" tr="rheme" case="ACC" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <np type="owner_owned" gender="cl.1" case="ACC">
+    <np type="owner_owned" gender="cl.1" case="ACC" role="obj" tr="rheme">
      <np role="owned" def="def" locus="number" gender="cl.1" case="ACC">
        <word posp="det" gloss="yon"/>
        <word posp="num" gloss="three"/>
        <word posp="noun" gloss="mouse"/>
      </np>
      <np def="def" role="owner" case="ACC">
        <word posp="noun" gloss="blind" lexposp="adj"/>
      </np>
    </np>
-    </np>
    <np role="subj" def="def" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np def="def" locus="number" gender="cl.4" case="NOM">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np type="owner_owned" gender="cl.1" case="ACC" role="obj" tr="rheme">
-      <np role="owned" def="def" locus="number" gender="cl.1" case="ACC">
+    <np role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme">
      <word posp="det" gloss="yon"/>
      <word posp="num" gloss="three"/>
      <word posp="noun" gloss="mouse"/>
    </np>
    <np def="def" role="owner" case="ACC">
      <word posp="noun" gloss="blind" lexposp="adj"/>
    </np>
-    </np>
    <np role="subj" def="def" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np def="def" locus="number" gender="cl.4" case="NOM">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
  </s>
</example>

movedowntoword:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="catch"/>
+      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme">
-      <word posp="det" gloss="yon"/>
-      <word posp="num" gloss="three"/>
-      <word posp="noun" gloss="mouse"/>
+      <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
+      <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
+      <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
    </np>
    <np def="def" role="owner" case="ACC">
-      <word posp="noun" gloss="blind" lexposp="adj"/>
+      <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" case="ACC"/>
    </np>
    <np role="subj" def="def" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="woman"/>
+      <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="NOM" gender="cl.1"/>
      <pp role="comitative">
-        <word gloss="COMIT" posp="pp"/>
+        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np def="def" locus="number" gender="cl.4" case="NOM">
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" def="def" locus="number" gender="cl.4" case="NOM"/>
        </np>
      </pp>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for yon/det/gender/obligatory
Got cl.1
About to call getSlotValue for mouse/noun/def/optional
Got def
About to call getSlotValue for blind/noun/def/optional
Got def
About to call getSlotValue for woman/noun/def/optional
Got def
About to call getSlotValue for knife/noun/def/optional
Got def
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme">
      <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
+      <thingy type="detgender" function="suffix" gloss="cl.1"/>
      <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
      <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" role="owner" case="ACC">
      <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np role="subj" def="def" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="NOM" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np def="def" locus="number" gender="cl.4" case="NOM">
          <word posp="noun" gloss="knife" def="def" locus="number" gender="cl.4" case="NOM"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
        </np>
      </pp>
    </np>
  </s>
</example>

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <np role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme">
    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-    </np>
-    <np def="def" role="owner" case="ACC">
    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" case="ACC"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-    </np>
-    <np role="subj" def="def" locus="number" case="NOM" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="NOM" gender="cl.1"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np def="def" locus="number" gender="cl.4" case="NOM">
    <word posp="noun" gloss="knife" def="def" locus="number" gender="cl.4" case="NOM"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-        </np>
-      </pp>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
-    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" def="def" locus="number" gender="cl.4" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="&#x261; e &#x2C8;">ɡeˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="p o &#x2C8; r">poˈr</word>
+    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" case="ACC" ph="t&#x361;&#x283; &#x254;&#x330; &#x2C8; m">t͡ʃɔ̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="NOM" gender="cl.1" ph="t&#x361;&#x255; u &#x2C8; n">t͡ɕuˈn</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕorøˈ</word>
+    <word posp="noun" gloss="knife" def="def" locus="number" gender="cl.4" case="NOM" ph="j a &#x2C8; s">jaˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="&#x261; e &#x2C8;">ɡeˈ</word>
    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="p o &#x2C8; r">poˈr</word>
    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" case="ACC" ph="t&#x361;&#x283; &#x254;&#x330; &#x2C8; m">t͡ʃɔ̰ˈm</word>
    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="NOM" gender="cl.1" ph="t&#x361;&#x255; u &#x2C8; n">t͡ɕuˈn</word>
    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕorøˈ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;&#x255; &#xF8; r &#xF8; &#x2C8;" underlying="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕørøˈ</word>
    <word posp="noun" gloss="knife" def="def" locus="number" gender="cl.4" case="NOM" ph="j a &#x2C8; s">jaˈs</word>
    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="&#x261; e &#x2C8;">ɡeˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
-    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="p o &#x2C8; r">poˈr</word>
-    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" case="ACC" ph="t&#x361;&#x283; &#x254;&#x330; &#x2C8; m">t͡ʃɔ̰ˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="NOM" gender="cl.1" ph="t&#x361;&#x255; u &#x2C8; n">t͡ɕuˈn</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;&#x255; &#xF8; r &#xF8; &#x2C8;" underlying="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕørøˈ</word>
-    <word posp="noun" gloss="knife" def="def" locus="number" gender="cl.4" case="NOM" ph="j a &#x2C8; s">jaˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="det" gloss="yon" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme">ɡeˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">l</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme">poˈr</word>
+    <word posp="noun" gloss="mouse" role="owned" def="def" locus="number" gender="cl.1" case="ACC" tr="rheme">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" def="def" role="owner" case="ACC">t͡ʃɔ̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="woman" role="subj" def="def" locus="number" case="NOM" gender="cl.1">t͡ɕuˈn</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" underlying="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕørøˈ</word>
+    <word posp="noun" gloss="knife" def="def" locus="number" gender="cl.4" case="NOM">jaˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡɔ̰&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡe&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;-l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpor&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;loˈda̰m&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ʃɔ̰m&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈt͡ɕun&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ɕoˈrø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjas&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡɔ̰m ʒul la̰r ˈɡel ˈpor loˈda̰men ˈt͡ʃɔ̰men ˈt͡ɕunen t͡ɕøˈrø ˈjasen</p>
+  <p>go’m zhul la’r gel pór lóda’men cho’men tyunen tyørø yasen</p>
+  <il>
+    <w>
+      <o>ˈɡɔ̰</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈɡe</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-l</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ˈpor</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>loˈda̰m</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈt͡ʃɔ̰m</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈt͡ɕun</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>t͡ɕoˈrø</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈjas</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
    </vp>
    <np def="def" tr="theme" role="obj" locus="number" case="ACC" gender="cl.1">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="pron" gender="cl.2" gloss="3.cl.2"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for love/verb/mode/obligatory
Got indicative
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
    </vp>
    <np def="def" tr="theme" role="obj" locus="number" case="ACC" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
-    </vp>
-    <np def="def" tr="theme" role="obj" locus="number" case="ACC" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    </np>
-    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="n &#xF8; &#x2C8;">nøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="d&#x361;z ai &#x2C8; l">d͡zaiˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="j o &#x2C8; l">joˈl</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="n &#xF8; &#x2C8;">nøˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" ph="d&#x361;z ai &#x2C8; l">d͡zaiˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="j o &#x2C8; l">joˈl</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">nøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC">d͡zaiˈl</word>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" tr="theme" role="subj" locus="number" case="NOM">joˈl</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;win&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zail&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjol&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈnøm win la̰r ˈd͡zail ˈjol</p>
+  <p>nøm win la’r dzail yól</p>
+  <il>
+    <w>
+      <o>ˈnø</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>win</o>
+      <g>3.cl.2.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈd͡zail</o>
+      <g>3.cl.1</g>
+    </w>
+    <w>
+      <o>ˈjol</o>
+      <g>3.cl.2</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Bidzoos hates Zhizhaus.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="NN2" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="NN1" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="d&#x361;z a j &#xF8; &#x2C8;">d͡zajøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="Zhizhaus" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" propernoun="yes" ph="&#x292; i &#x292; au &#x2C8; s">ʒiʒauˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="Bidzoos" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" propernoun="yes" ph="b i d&#x361;z y&#x330; &#x2C8; s">bid͡zy̰ˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Bidzoos hates Zhizhaus.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2" ph="d&#x361;z a j &#xF8; &#x2C8;">d͡zajøˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="Zhizhaus" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" propernoun="yes" ph="&#x292; i &#x292; au &#x2C8; s">ʒiʒauˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="Bidzoos" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" propernoun="yes" ph="b i d&#x361;z y&#x330; &#x2C8; s">bid͡zy̰ˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="3.cl.1" subj="3.cl.2">d͡zajøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="Zhizhaus" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" propernoun="yes">ʒiʒauˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="Bidzoos" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" propernoun="yes">bid͡zy̰ˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zaˈjø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hate&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;win&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒiˈʒaus&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Zhizhaus&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;biˈd͡zy̰s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Bidzoos&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>d͡zaˈjøm win la̰r ʒiˈʒausen biˈd͡zy̰sen</p>
+  <p>dzayøm win la’r Zhizhausen Bidzü’sen</p>
+  <il>
+    <w>
+      <o>d͡zaˈjø</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>win</o>
+      <g>3.cl.2.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʒiˈʒaus</o>
+      <g>Zhizhaus</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>biˈd͡zy̰s</o>
+      <g>Bidzoos</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="&#x261; i &#x272; e&#x330; &#x2C8; r">ɡiɲḛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" case="NOM" ph="d&#x361;&#x292; au &#x2C8;">d͡ʒauˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="&#x261; i &#x272; e&#x330; &#x2C8; r">ɡiɲḛˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" case="NOM" ph="d&#x361;&#x292; au &#x2C8;">d͡ʒauˈ</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM">ɡiɲḛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="boy" def="def" locus="number" role="owner" gender="cl.2" case="NOM">d͡ʒauˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiˈɲḛr&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒau&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡiˈɲḛren ˈd͡ʒauen</p>
+  <p>giñe’ren jauen</p>
+  <il>
+    <w>
+      <o>ɡiˈɲḛr</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒau</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" case="NOM"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="&#x261; i &#x272; e&#x330; &#x2C8; r">ɡiɲḛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" case="NOM" ph="j o &#x2C8; l">joˈl</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="&#x261; i &#x272; e&#x330; &#x2C8; r">ɡiɲḛˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" case="NOM" ph="j o &#x2C8; l">joˈl</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM">ɡiɲḛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="pron" gender="cl.2" gloss="3.cl.2" def="def" locus="number" role="owner" case="NOM">joˈl</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiˈɲḛr&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈjol&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡiˈɲḛren ˈjol</p>
+  <p>giñe’ren yól</p>
+  <il>
+    <w>
+      <o>ɡiˈɲḛr</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈjol</o>
+      <g>3.cl.2</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" role="owner" case="NOM"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="&#x261; i &#x272; e&#x330; &#x2C8; r">ɡiɲḛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" role="owner" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="&#x261; i &#x272; e&#x330; &#x2C8; r">ɡiɲḛˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" role="owner" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word posp="noun" gloss="apple" def="def" locus="number" role="owned" gender="cl.1" case="NOM">ɡiɲḛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" role="owner" case="NOM">d͡zøˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiˈɲḛr&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡiˈɲḛren ˈd͡zøn</p>
+  <p>giñe’ren dzøn</p>
+  <il>
+    <w>
+      <o>ɡiˈɲḛr</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for kiss/verb/mode/obligatory
Got indicative
About to call getSlotValue for son/noun/def/optional
Got def
About to call getSlotValue for neighbour/noun/def/optional
Got def
About to call getSlotValue for daughter/noun/def/optional
Got def
About to call getSlotValue for hunter/noun/def/optional
Got def
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np def="def" locus="number" role="owned" gender="cl.2" case="ACC">
      <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" locus="number" role="owned" gender="cl.1" case="ACC">
      <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.1" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="neither" locus="number" role="owner" person="2" case="ACC">
      <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="ACC"/>
    </np>
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <np def="def" locus="number" role="owned" gender="cl.1" case="NOM">
      <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="NOM"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" locus="number" role="owner" gender="cl.2" case="NOM">
      <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="NOM"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.1" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="ACC"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1" ph="d i d i&#x330; &#x2C8;">didḭˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="ACC" ph="m &#x25B;&#x330; &#x2C8; l">mɛ̰ˈl</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.1" case="ACC" ph="d i z i &#x2C8; r">diziˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="ACC" ph="n i &#x2C8;">niˈ</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="d&#x361;&#x292; a&#x330; &#x2C8; r">d͡ʒa̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="NOM" ph="l i r i &#x2C8; s">liriˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1" ph="d i d i&#x330; &#x2C8;">didḭˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="ACC" ph="m &#x25B;&#x330; &#x2C8; l">mɛ̰ˈl</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.1" case="ACC" ph="d i z i &#x2C8; r">diziˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="ACC" ph="n i &#x2C8;">niˈ</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="d&#x361;&#x292; a&#x330; &#x2C8; r">d͡ʒa̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="NOM" ph="l i r i &#x2C8; s">liriˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.1">didḭˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="ACC">mɛ̰ˈl</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="neighbour" def="def" locus="number" role="owned" gender="cl.1" case="ACC">diziˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="ACC">niˈ</word>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="NOM">d͡ʒa̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="NOM">liriˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈdḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kiss&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmɛ̰l&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈzir&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈni&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒa̰r&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liˈris&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>diˈdḭm ʒul la̰r ˈmɛ̰len diˈziren ˈni ˈd͡ʒa̰ren liˈrisen</p>
+  <p>didi’m zhul la’r mæ’len diziren ni ja’ren lirisen</p>
+  <il>
+    <w>
+      <o>diˈdḭ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈmɛ̰l</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>diˈzir</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈni</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒa̰r</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>liˈris</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

No change.

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word gloss="a" posp="det" tr="rheme" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="NOM" gender="cl.1"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word gloss="a" posp="det" tr="rheme" locus="number" case="NOM" gender="cl.1" ph="w e &#x2C8;">weˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="NOM" gender="cl.1" ph="l a t&#x361;&#x283; o &#x2C8; r">lat͡ʃoˈr</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word gloss="a" posp="det" tr="rheme" locus="number" case="NOM" gender="cl.1" ph="w e &#x2C8;">weˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
-    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="NOM" gender="cl.1" ph="l a t&#x361;&#x283; o &#x2C8; r">lat͡ʃoˈr</word>
+    <word gloss="a" posp="det" tr="rheme" locus="number" case="NOM" gender="cl.1">weˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">l</thingy>
+    <word posp="noun" gloss="lamb" tr="rheme" locus="number" case="NOM" gender="cl.1">lat͡ʃoˈr</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈwe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;laˈt͡ʃor&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈwel laˈt͡ʃor</p>
+  <p>wel lachór</p>
+  <il>
+    <w>
+      <o>ˈwe</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-l</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>laˈt͡ʃor</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>

module adj2noun:

<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 role="obj" tr="rheme">
+          <np type="owner_owned">
+            <np number="sing" def="def" role="owner">
+              <word posp="noun" gloss="little" lexposp="adj"/>
+            </np>
+            <np role="owned" def="indef" number="sing" locus="number">
              <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
            </np>
+          </np>
+        </np>
      </subs>
    </np>
  </s>
</example>

module articles:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

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

module ngen:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np role="obj" tr="rheme" case="ACC">
          <np type="owner_owned" gender="cl.1">
-            <np def="def" role="owner">
-              <word posp="noun" gloss="little" lexposp="adj"/>
-            </np>
            <np role="owned" locus="number" gender="cl.1">
              <word posp="noun" gloss="lamb"/>
              <word gloss="a" posp="det"/>
            </np>
+            <np def="def" role="owner">
+              <word posp="noun" gloss="little" lexposp="adj"/>
            </np>
          </np>
+        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.1">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np role="obj" tr="rheme" case="ACC">
          <np type="owner_owned" gender="cl.1">
            <np role="owned" locus="number" gender="cl.1">
-              <word posp="noun" gloss="lamb"/>
              <word gloss="a" posp="det"/>
+              <word posp="noun" gloss="lamb"/>
            </np>
            <np def="def" role="owner">
              <word posp="noun" gloss="little" lexposp="adj"/>
            </np>
          </np>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.1">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">
          <word posp="verb" gloss="have"/>
        </vp>
-        <np role="obj" tr="rheme" case="ACC">
+        <np role="obj" tr="rheme" case="ACC" gender="cl.1">
          <np type="owner_owned" gender="cl.1">
            <np role="owned" locus="number" gender="cl.1">
              <word gloss="a" posp="det"/>
              <word posp="noun" gloss="lamb"/>
            </np>
            <np def="def" role="owner">
              <word posp="noun" gloss="little" lexposp="adj"/>
            </np>
          </np>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.1">
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="want"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="have"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        </vp>
        <np role="obj" tr="rheme" case="ACC" gender="cl.1">
-          <np type="owner_owned" gender="cl.1">
-            <np role="owned" locus="number" gender="cl.1">
+          <thingy type="npcase" function="proclitic" gloss="ACC"/>
+          <np type="owner_owned" gender="cl.1" case="ACC">
+            <np role="owned" locus="number" gender="cl.1" case="ACC">
              <word gloss="a" posp="det"/>
              <word posp="noun" gloss="lamb"/>
            </np>
-            <np def="def" role="owner">
+            <np def="def" role="owner" case="ACC">
              <word posp="noun" gloss="little" lexposp="adj"/>
            </np>
          </np>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.1">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="want"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="have"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        </vp>
-        <np role="obj" tr="rheme" case="ACC" gender="cl.1">
        <thingy type="npcase" function="proclitic" gloss="ACC"/>
-          <np type="owner_owned" gender="cl.1" case="ACC">
+        <np type="owner_owned" gender="cl.1" case="ACC" role="obj" tr="rheme">
          <np role="owned" locus="number" gender="cl.1" case="ACC">
            <word gloss="a" posp="det"/>
            <word posp="noun" gloss="lamb"/>
          </np>
          <np def="def" role="owner" case="ACC">
            <word posp="noun" gloss="little" lexposp="adj"/>
          </np>
        </np>
-        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

unwrapOwnerOwned:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="want"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="have"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        </vp>
        <thingy type="npcase" function="proclitic" gloss="ACC"/>
-        <np type="owner_owned" gender="cl.1" case="ACC" role="obj" tr="rheme">
-          <np role="owned" locus="number" gender="cl.1" case="ACC">
+        <np role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme">
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="lamb"/>
        </np>
        <np def="def" role="owner" case="ACC">
          <word posp="noun" gloss="little" lexposp="adj"/>
        </np>
-        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="pron" gender="cl.1" gloss="3.cl.1"/>
    </np>
  </s>
</example>

movedowntoword:

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

addaffixes:

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

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    </vp>
-    <np role="obj" case="ACC" gender="cl.4">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-        </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-        <np role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme">
    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
-        </np>
-        <np def="def" role="owner" case="ACC">
    <word posp="noun" gloss="little" lexposp="adj" def="def" role="owner" case="ACC"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-      </subs>
-    </np>
-    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme"/>
-    <word posp="noun" gloss="little" lexposp="adj" def="def" role="owner" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="NOM"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1" ph="&#x261; &#xF8; &#x2C8;">ɡøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" ph="&#x292; o &#x2C8;">ʒoˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="w e &#x2C8;">weˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
+    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="l a t&#x361;&#x283; o &#x2C8; r">lat͡ʃoˈr</word>
+    <word posp="noun" gloss="little" lexposp="adj" def="def" role="owner" case="ACC" ph="d&#x361;z &#x153; &#x2C8; l">d͡zœˈl</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="d&#x361;z ai &#x2C8; l">d͡zaiˈl</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1" ph="&#x261; &#xF8; &#x2C8;">ɡøˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" ph="&#x292; o &#x2C8;">ʒoˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="w e &#x2C8;">weˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
-    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme" ph="l a t&#x361;&#x283; o &#x2C8; r">lat͡ʃoˈr</word>
-    <word posp="noun" gloss="little" lexposp="adj" def="def" role="owner" case="ACC" ph="d&#x361;z &#x153; &#x2C8; l">d͡zœˈl</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="NOM" ph="d&#x361;z ai &#x2C8; l">d͡zaiˈl</word>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">ɡøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1">ʒoˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word gloss="a" posp="det" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme">weˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">l</thingy>
+    <word posp="noun" gloss="lamb" role="owned" locus="number" gender="cl.1" case="ACC" tr="rheme">lat͡ʃoˈr</word>
+    <word posp="noun" gloss="little" lexposp="adj" def="def" role="owner" case="ACC">d͡zœˈl</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4">buka̰ˈl</word>
+    <word posp="pron" gender="cl.1" gloss="3.cl.1" def="def" tr="theme" role="subj" locus="number" case="NOM">d͡zaiˈl</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡø&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʒo&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈwe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;laˈt͡ʃor&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;ˈd͡zœl&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zail&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.1&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡøm ʒul la̰r ˈʒom ʒul la̰r ˈwel laˈt͡ʃor ˈd͡zœlen buˈka̰l ˈd͡zail</p>
+  <p>gøm zhul la’r zhóm zhul la’r wel lachór dzœlen buka’l dzail</p>
+  <il>
+    <w>
+      <o>ˈɡø</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈʒo</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈwe</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-l</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>laˈt͡ʃor</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>ˈd͡zœl</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ˈd͡zail</o>
+      <g>3.cl.1</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for love/verb/mode/obligatory
Got indicative
<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
    </vp>
    <np def="neither" role="obj" locus="number" case="ACC" person="2">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC"/>
    </np>
    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl" ph="n &#xF8; &#x2C8;">nøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" ph="n i &#x2C8;">niˈ</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl" ph="n &#xF8; &#x2C8;">nøˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" ph="n i &#x2C8;">niˈ</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl">nøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC">niˈ</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM">d͡zøˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;han&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈni&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈnøm han la̰r ˈni ˈd͡zøn</p>
+  <p>nøm han la’r ni dzøn</p>
+  <il>
+    <w>
+      <o>ˈnø</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>han</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈni</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module propagatenumber:

No change.

module simplifynumber:

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

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for table/noun/def/optional
Got def
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
    <np def="def" locus="number" gender="cl.3">
      <word posp="noun" gloss="table" def="def" locus="number" gender="cl.3"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
+  <flat>
    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <np def="def" locus="number" gender="cl.3">
    <word posp="noun" gloss="table" def="def" locus="number" gender="cl.3"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" locus="number" gender="cl.3"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="n i&#x330; &#x2C8; n">nḭˈn</word>
+    <word posp="noun" gloss="table" def="def" locus="number" gender="cl.3" ph="p &#x25B; &#x2C8; r">pɛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="n i&#x330; &#x2C8; n">nḭˈn</word>
-    <word posp="noun" gloss="table" def="def" locus="number" gender="cl.3" ph="p &#x25B; &#x2C8; r">pɛˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">nḭˈn</word>
+    <word posp="noun" gloss="table" def="def" locus="number" gender="cl.3">pɛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnḭn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpɛr&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈnḭn ˈpɛren</p>
+  <p>ni’n pæren</p>
+  <il>
+    <w>
+      <o>ˈnḭn</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ˈpɛr</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module propagatenumber:

No change.

module simplifynumber:

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

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for box/noun/def/optional
Got def
<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
    <np def="def" locus="number" gender="cl.2">
      <word posp="noun" gloss="box" def="def" locus="number" gender="cl.2"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
+  <flat>
    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <np def="def" locus="number" gender="cl.2">
    <word posp="noun" gloss="box" def="def" locus="number" gender="cl.2"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" locus="number" gender="cl.2"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d&#x361;&#x292; &#x259;# &#x2C8; n">d͡ʒə#ˈn</word>
+    <word posp="noun" gloss="box" def="def" locus="number" gender="cl.2" ph="&#x279; u &#x292; a &#x2C8;">ɹuʒaˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="d&#x361;&#x292; &#x259;# &#x2C8; n">d͡ʒə#ˈn</word>
-    <word posp="noun" gloss="box" def="def" locus="number" gender="cl.2" ph="&#x279; u &#x292; a &#x2C8;">ɹuʒaˈ</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">d͡ʒə#ˈn</word>
+    <word posp="noun" gloss="box" def="def" locus="number" gender="cl.2">ɹuʒaˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒə̃n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɹuˈʒa&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈd͡ʒə̃n ɹuˈʒaen</p>
+  <p>jẽn ɹuzhaen</p>
+  <il>
+    <w>
+      <o>ˈd͡ʒə̃n</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>ɹuˈʒa</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕorøˈ</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
  </flat>
</example>

vowelharmony:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕorøˈ</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;&#x255; &#xF8; r &#xF8; &#x2C8;" underlying="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕørøˈ</word>
    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
  </flat>
</example>

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="t&#x361;&#x255; &#xF8; r &#xF8; &#x2C8;" underlying="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕørøˈ</word>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word gloss="COMIT" posp="pp" role="comitative" underlying="t&#x361;&#x255; o r &#xF8; &#x2C8;">t͡ɕørøˈ</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" locus="number">d͡zøˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ɕoˈrø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ɕøˈrø ˈd͡zøn</p>
+  <p>tyørø dzøn</p>
+  <il>
+    <w>
+      <o>t͡ɕoˈrø</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for kill/verb/mode/obligatory
Got indicative
About to call getSlotValue for hunter/noun/def/optional
Got def
About to call getSlotValue for jaguar/noun/def/optional
Got def
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.4">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.4"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.4"/>
    </vp>
    <np def="def" role="obj" locus="number" case="ACC" gender="cl.2">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="ACC" gender="cl.2"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" role="subj" locus="number" case="NOM" gender="cl.4">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="NOM" gender="cl.4"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.4"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="ACC" gender="cl.2"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="NOM" gender="cl.4"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.4" ph="t &#xF8; &#x2C8;">tøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4.SUBJ" ph="d&#x361;z a r">d͡zar</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="ACC" gender="cl.2" ph="l i r i &#x2C8; s">liriˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="NOM" gender="cl.4" ph="b u d ai &#x2C8; s">budaiˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.4" ph="t &#xF8; &#x2C8;">tøˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4.SUBJ" ph="d&#x361;z a r">d͡zar</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="ACC" gender="cl.2" ph="l i r i &#x2C8; s">liriˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="NOM" gender="cl.4" ph="b u d ai &#x2C8; s">budaiˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.2" subj="3.cl.4">tøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4.SUBJ">d͡zar</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="hunter" def="def" role="obj" locus="number" case="ACC" gender="cl.2">liriˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="jaguar" def="def" role="subj" locus="number" case="NOM" gender="cl.4">budaiˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.4.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liˈris&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈdais&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈtøm ʒul d͡zar la̰r liˈrisen buˈdaisen</p>
+  <p>tøm zhul dzar la’r lirisen budaisen</p>
+  <il>
+    <w>
+      <o>ˈtø</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>d͡zar</o>
+      <g>3.cl.4.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>liˈris</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>buˈdais</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for dog/noun/def/optional
Got def
About to call getSlotValue for daughter/noun/def/optional
Got def
About to call getSlotValue for hunter/noun/def/optional
Got def
About to call getSlotValue for lion/noun/def/optional
Got def
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np def="def" locus="number" role="owned" gender="cl.1" case="ACC">
      <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" locus="number" role="owned" gender="cl.1" case="ACC">
      <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" locus="number" role="owner" gender="cl.2" case="ACC">
      <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="t &#x153; &#x2C8;">tœˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" case="ACC" ph="&#x272; o &#x2C8; s">ɲoˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="ACC" ph="d&#x361;&#x292; a&#x330; &#x2C8; r">d͡ʒa̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="ACC" ph="l i r i &#x2C8; s">liriˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="&#x261; a&#x330; d e&#x330; &#x2C8; m">ɡa̰dḛˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="t &#x153; &#x2C8;">tœˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" case="ACC" ph="&#x272; o &#x2C8; s">ɲoˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="ACC" ph="d&#x361;&#x292; a&#x330; &#x2C8; r">d͡ʒa̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="ACC" ph="l i r i &#x2C8; s">liriˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="&#x261; a&#x330; d e&#x330; &#x2C8; m">ɡa̰dḛˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">tœˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="dog" def="def" locus="number" role="owned" gender="cl.1" case="ACC">ɲoˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="daughter" def="def" locus="number" role="owned" gender="cl.1" case="ACC">d͡ʒa̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="hunter" def="def" locus="number" role="owner" gender="cl.2" case="ACC">liriˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="lion" def="def" role="subj" locus="number" case="NOM" gender="cl.1">ɡa̰dḛˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtœ&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɲos&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒa̰r&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liˈris&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡa̰ˈdḛm&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈtœm ʒul la̰r ˈɲosen ˈd͡ʒa̰ren liˈrisen ɡa̰ˈdḛmen</p>
+  <p>tœm zhul la’r ñósen ja’ren lirisen ga’de’men</p>
+  <il>
+    <w>
+      <o>ˈtœ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈɲos</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒa̰r</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>liˈris</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ɡa̰ˈdḛm</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for book/noun/def/optional
Got def
About to call getSlotValue for friend/noun/def/optional
Got def
About to call getSlotValue for son/noun/def/optional
Got def
<example id="poss3" translation="your son's friend's book">
  <thingy type="npcase" function="proclitic" gloss="NOM"/>
  <np def="def" locus="number" role="owned" gender="cl.3" case="NOM">
    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.3" case="NOM"/>
+    <thingy type="noundef" function="suffix" gloss="def"/>
  </np>
  <np def="def" locus="number" role="owned" gender="cl.1" case="NOM">
    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.1" case="NOM"/>
+    <thingy type="noundef" function="suffix" gloss="def"/>
  </np>
  <np def="def" locus="number" role="owned" gender="cl.2" case="NOM">
    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="NOM"/>
+    <thingy type="noundef" function="suffix" gloss="def"/>
  </np>
  <np def="neither" locus="number" role="owner" person="2" case="NOM">
    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="NOM"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.3" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.1" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="NOM"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="NOM"/>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.3" case="NOM" ph="b u n">bun</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="n o &#x2C8; r">noˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="NOM" ph="m &#x25B;&#x330; &#x2C8; l">mɛ̰ˈl</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="NOM" ph="n i &#x2C8;">niˈ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.3" case="NOM" ph="b u n">bun</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.1" case="NOM" ph="n o &#x2C8; r">noˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="NOM" ph="m &#x25B;&#x330; &#x2C8; l">mɛ̰ˈl</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="NOM" ph="n i &#x2C8;">niˈ</word>
+    <word posp="noun" gloss="book" def="def" locus="number" role="owned" gender="cl.3" case="NOM">bun</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="friend" def="def" locus="number" role="owned" gender="cl.1" case="NOM">noˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="son" def="def" locus="number" role="owned" gender="cl.2" case="NOM">mɛ̰ˈl</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" locus="number" role="owner" case="NOM">niˈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnor&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈmɛ̰l&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈni&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt;</p>
+  <p>bunen ˈnoren ˈmɛ̰len ˈni</p>
+  <p>bunen nóren mæ’len ni</p>
+  <il>
+    <w>
+      <o>bun</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈnor</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈmɛ̰l</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈni</o>
+      <g>2</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1" ph="z u &#x2C8;">zuˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1" ph="z u &#x2C8;">zuˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.cl.1">zuˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈzu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɹɛ̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈzum ˈɹɛ̰ren</p>
+  <p>zum ɹæ’ren</p>
+  <il>
+    <w>
+      <o>ˈzu</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ˈɹɛ̰r</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1">
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
    </np>
  </s>
</example>
calling defaultval for mode/
defaultval: verb, mode
returning indicative

addaffixes:

About to call getSlotValue for run/verb/mode/obligatory
Got indicative
About to call getSlotValue for cat/noun/def/optional
Got def
<example id="intr_act" translation="The cat is running.">
  <s>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1">
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1" ph="d&#x361;&#x292; &#x153; &#x2C8;">d͡ʒœˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1" ph="d&#x361;&#x292; &#x153; &#x2C8;">d͡ʒœˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.cl.1">d͡ʒœˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒœ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɹɛ̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈd͡ʒœm ˈɹɛ̰ren</p>
+  <p>jœm ɹæ’ren</p>
+  <il>
+    <w>
+      <o>ˈd͡ʒœ</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ˈɹɛ̰r</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1">
-      <word posp="verb" gloss="chase"/>
+      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1"/>
    </np>
    <np def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
    </np>
  </s>
</example>
calling defaultval for mode/
defaultval: verb, mode
returning indicative

addaffixes:

About to call getSlotValue for chase/verb/mode/obligatory
Got indicative
About to call getSlotValue for mouse/noun/def/optional
Got def
About to call getSlotValue for cat/noun/def/optional
Got def
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1">
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1" ph="m u t&#x361;&#x283; &#x254; &#x2C8;">mut͡ʃɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1" ph="m u t&#x361;&#x283; &#x254; &#x2C8;">mut͡ʃɔˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" obj="3.cl.1" subj="3.cl.1">mut͡ʃɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;muˈt͡ʃɔ&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;loˈda̰m&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɹɛ̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>muˈt͡ʃɔm la̰r loˈda̰men ˈɹɛ̰ren</p>
+  <p>muchom la’r lóda’men ɹæ’ren</p>
+  <il>
+    <w>
+      <o>muˈt͡ʃɔ</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>loˈda̰m</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈɹɛ̰r</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for mouse/noun/def/optional
Got def
About to call getSlotValue for cat/noun/def/optional
Got def
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
    </vp>
    <np def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.1">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.1">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡɔ̰&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;loˈda̰m&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɹɛ̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡɔ̰m ʒul la̰r loˈda̰men ˈɹɛ̰ren</p>
+  <p>go’m zhul la’r lóda’men ɹæ’ren</p>
+  <il>
+    <w>
+      <o>ˈɡɔ̰</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>loˈda̰m</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈɹɛ̰r</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for kill/verb/mode/obligatory
Got indicative
About to call getSlotValue for jaguar/noun/def/optional
Got def
About to call getSlotValue for tiger/noun/def/optional
Got def
About to call getSlotValue for lion/noun/def/optional
Got def
About to call getSlotValue for hunter/noun/def/optional
Got def
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
    </vp>
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <np def="def" locus="number" gender="cl.4" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="jaguar" def="def" locus="number" gender="cl.4" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="cl.4" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2" ph="t &#xF8; &#x2C8;">tøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="cl.4" role="obj" tr="rheme" case="ACC" ph="b u d ai &#x2C8; s">budaiˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="conj" gloss="and" ph="d i &#x2C8; s">diˈs</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC" ph="t&#x361;&#x255; o &#x292; i &#x2C8; l">t͡ɕoʒiˈl</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="conj" gloss="and" ph="d i &#x2C8; s">diˈs</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC" ph="&#x261; a&#x330; d e&#x330; &#x2C8; m">ɡa̰dḛˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" ph="l i r i &#x2C8; s">liriˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2" ph="t &#xF8; &#x2C8;">tøˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="cl.4" role="obj" tr="rheme" case="ACC" ph="b u d ai &#x2C8; s">budaiˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="conj" gloss="and" ph="d i &#x2C8; s">diˈs</word>
-    <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC" ph="t&#x361;&#x255; o &#x292; i &#x2C8; l">t͡ɕoʒiˈl</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word posp="conj" gloss="and" ph="d i &#x2C8; s">diˈs</word>
-    <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC" ph="&#x261; a&#x330; d e&#x330; &#x2C8; m">ɡa̰dḛˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" ph="l i r i &#x2C8; s">liriˈs</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.2">tøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="jaguar" def="def" locus="number" gender="cl.4" role="obj" tr="rheme" case="ACC">budaiˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="conj" gloss="and">diˈs</word>
+    <word posp="noun" gloss="tiger" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC">t͡ɕoʒiˈl</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="conj" gloss="and">diˈs</word>
+    <word posp="noun" gloss="lion" def="def" locus="number" gender="cl.1" role="obj" tr="rheme" case="ACC">ɡa̰dḛˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="hunter" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2">liriˈs</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;win&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈdais&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdis&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;t͡ɕoˈʒil&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈdis&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;ɡa̰ˈdḛm&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liˈris&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈtøm ʒul win la̰r buˈdaisen ˈdis t͡ɕoˈʒilen ˈdis ɡa̰ˈdḛmen liˈrisen</p>
+  <p>tøm zhul win la’r budaisen dis tyózhilen dis ga’de’men lirisen</p>
+  <il>
+    <w>
+      <o>ˈtø</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>win</o>
+      <g>3.cl.2.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>buˈdais</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈdis</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>t͡ɕoˈʒil</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈdis</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ɡa̰ˈdḛm</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>liˈris</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for cat/noun/def/optional
Got def
<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
    </vp>
    <np def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl" ph="p u &#x272; &#x254; &#x2C8;">puɲɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl" ph="p u &#x272; &#x254; &#x2C8;">puɲɔˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl">puɲɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="cat" def="def" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM">d͡zøˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puˈɲɔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;han&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɹɛ̰r&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>puˈɲɔm ʒul han la̰r ˈɹɛ̰ren ˈd͡zøn</p>
+  <p>puñom zhul han la’r ɹæ’ren dzøn</p>
+  <il>
+    <w>
+      <o>puˈɲɔ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>han</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈɹɛ̰r</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</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 adj2noun:

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

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

<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 role="obj" case="ACC" gender="cl.4" number="sing">
+    <np role="obj" case="ACC" gender="cl.4">
      <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" case="ACC" gender="cl.1">
+        <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
          <word posp="noun" gloss="mouse"/>
        </np>
-        <np def="def" number="sing" role="subj" locus="number" case="NOM" gender="cl.1">
+        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
          <word posp="noun" gloss="cat"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
-      <word person="1excl" number="sing" posp="pron"/>
+    <np def="neither" role="subj" locus="number" case="NOM">
+      <word person="1excl" posp="pron"/>
    </np>
  </s>
</example>

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
        </vp>
        <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
+          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="mouse"/>
        </np>
        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="cat"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for mouse/noun/def/optional
Got def
About to call getSlotValue for cat/noun/def/optional
Got def
<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" obj="3.cl.4" subj="1excl">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
        </vp>
        <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
        </np>
        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
      </subs>
    </np>
    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    </vp>
-    <np role="obj" case="ACC" gender="cl.4">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-        </vp>
-        <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-        </np>
-        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-      </subs>
-    </np>
-    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl" ph="p u &#x272; &#x254; &#x2C8;">puɲɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="ACC" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl" ph="p u &#x272; &#x254; &#x2C8;">puɲɔˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="ACC" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl">puɲɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="obj" locus="number" case="ACC" gender="cl.1">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4">buka̰ˈl</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM">d͡zøˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puˈɲɔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;han&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡɔ̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;loˈda̰m&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɹɛ̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>puˈɲɔm ʒul han la̰r ˈɡɔ̰m ʒul la̰r loˈda̰men ˈɹɛ̰ren buˈka̰l ˈd͡zøn</p>
+  <p>puñom zhul han la’r go’m zhul la’r lóda’men ɹæ’ren buka’l dzøn</p>
+  <il>
+    <w>
+      <o>puˈɲɔ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>han</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈɡɔ̰</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>loˈda̰m</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈɹɛ̰r</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</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 adj2noun:

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

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

<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 role="obj" case="ACC" gender="cl.4" number="sing">
+    <np role="obj" case="ACC" gender="cl.4">
      <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" case="ACC" gender="cl.4" number="sing">
+        <np role="obj" case="ACC" gender="cl.4">
          <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="obj" locus="number" case="ACC" gender="cl.1">
+            <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
              <word posp="noun" gloss="cheese"/>
            </np>
-            <np def="def" number="sing" role="subj" locus="number" case="NOM" gender="cl.1">
+            <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
              <word posp="noun" gloss="mouse"/>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
-        <np def="def" number="sing" role="subj" locus="number" case="NOM" gender="cl.1">
+        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
          <word posp="noun" gloss="cat"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
-      <word person="1excl" number="sing" posp="pron"/>
+    <np def="neither" role="subj" locus="number" case="NOM">
+      <word person="1excl" posp="pron"/>
    </np>
  </s>
</example>

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl">
+      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
+      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
+          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
        </vp>
        <np role="obj" case="ACC" gender="cl.4">
+          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
+              <thingy type="vpvoice" function="proclitic" gloss="active"/>
              <word posp="verb" gloss="eat"/>
+              <thingy type="vpta" function="enclitic" gloss="PAST"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+              <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
            </vp>
            <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
+              <thingy type="npcase" function="proclitic" gloss="ACC"/>
              <word posp="noun" gloss="cheese"/>
            </np>
            <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
+              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="noun" gloss="mouse"/>
            </np>
            <word gloss="COMP" posp="pp"/>
          </subs>
        </np>
        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
+          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="cat"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
+      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
        </vp>
        <np role="obj" case="ACC" gender="cl.4">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
              <thingy type="vpvoice" function="proclitic" gloss="active"/>
-              <word posp="verb" gloss="eat"/>
+              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
            </vp>
            <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
              <thingy type="npcase" function="proclitic" gloss="ACC"/>
-              <word posp="noun" gloss="cheese"/>
+              <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
            </np>
            <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
-              <word posp="noun" gloss="mouse"/>
+              <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
            </np>
-            <word gloss="COMP" posp="pp"/>
+            <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
          </subs>
        </np>
        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
-          <word posp="noun" gloss="cat"/>
+          <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
      </subs>
    </np>
    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1"/>
+      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for cheese/noun/def/optional
Got def
About to call getSlotValue for mouse/noun/def/optional
Got def
About to call getSlotValue for cat/noun/def/optional
Got def
<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" obj="3.cl.4" subj="1excl">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
        </vp>
        <np role="obj" case="ACC" gender="cl.4">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
              <thingy type="vpvoice" function="proclitic" gloss="active"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
+              <thingy type="verbmode" function="suffix" gloss="indicative"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
            </vp>
            <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
              <thingy type="npcase" function="proclitic" gloss="ACC"/>
              <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
+              <thingy type="noundef" function="suffix" gloss="def"/>
            </np>
            <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
+              <thingy type="noundef" function="suffix" gloss="def"/>
            </np>
            <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
          </subs>
        </np>
        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
      </subs>
    </np>
    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    </vp>
-    <np role="obj" case="ACC" gender="cl.4">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-        </vp>
-        <np role="obj" case="ACC" gender="cl.4">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-          <subs>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-            </vp>
-            <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-            </np>
-            <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-            </np>
    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-          </subs>
-        </np>
-        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-      </subs>
-    </np>
-    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl" ph="p u &#x272; &#x254; &#x2C8;">puɲɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="t &#x153; &#x2C8;">tœˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1" ph="w a p &#x25B; &#x2C8; r">wapɛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl" ph="p u &#x272; &#x254; &#x2C8;">puɲɔˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1" ph="t &#x153; &#x2C8;">tœˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1" ph="w a p &#x25B; &#x2C8; r">wapɛˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl">puɲɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="3.cl.1">tœˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1">wapɛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4">buka̰ˈl</word>
+    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4">buka̰ˈl</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM">d͡zøˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puˈɲɔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;han&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡɔ̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtœ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waˈpɛr&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;loˈda̰m&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɹɛ̰r&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>puˈɲɔm ʒul han la̰r ˈɡɔ̰m ʒul la̰r ˈtœm ʒul la̰r waˈpɛren loˈda̰men buˈka̰l ˈɹɛ̰ren buˈka̰l ˈd͡zøn</p>
+  <p>puñom zhul han la’r go’m zhul la’r tœm zhul la’r wapæren lóda’men buka’l ɹæ’ren buka’l dzøn</p>
+  <il>
+    <w>
+      <o>puˈɲɔ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>han</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈɡɔ̰</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈtœ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>waˈpɛr</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>loˈda̰m</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ˈɹɛ̰r</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</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 adj2noun:

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

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for pat/verb/mode/obligatory
Got indicative
About to call getSlotValue for catch/verb/mode/obligatory
Got indicative
About to call getSlotValue for eat/verb/mode/obligatory
Got indicative
About to call getSlotValue for buy/verb/mode/obligatory
Got indicative
About to call getSlotValue for cheese/noun/def/optional
Got def
About to call getSlotValue for mouse/noun/def/optional
Got def
About to call getSlotValue for cat/noun/def/optional
Got def
<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" obj="3.cl.4" subj="1excl">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
        </vp>
        <np role="obj" case="ACC" gender="cl.4">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">
              <thingy type="vpvoice" function="proclitic" gloss="active"/>
              <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
+              <thingy type="verbmode" function="suffix" gloss="indicative"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
            </vp>
            <np role="obj" case="ACC" gender="cl.4">
              <thingy type="npcase" function="proclitic" gloss="ACC"/>
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl">
                  <thingy type="vpvoice" function="proclitic" gloss="active"/>
                  <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl"/>
+                  <thingy type="verbmode" function="suffix" gloss="indicative"/>
                  <thingy type="vpta" function="enclitic" gloss="PAST"/>
                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                  <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
                </vp>
                <np def="def" role="obj" locus="number" case="ACC" gender="cl.1">
                  <thingy type="npcase" function="proclitic" gloss="ACC"/>
                  <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
+                  <thingy type="noundef" function="suffix" gloss="def"/>
                </np>
                <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
                  <thingy type="npcase" function="proclitic" gloss="NOM"/>
                  <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
                </np>
                <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
              </subs>
            </np>
            <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
              <thingy type="npcase" function="proclitic" gloss="NOM"/>
              <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
+              <thingy type="noundef" function="suffix" gloss="def"/>
            </np>
            <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
          </subs>
        </np>
        <np def="def" role="subj" locus="number" case="NOM" gender="cl.1">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
      </subs>
    </np>
    <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl" ph="p u &#x272; &#x254; &#x2C8;">puɲɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1" ph="t &#x153; &#x2C8;">tœˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl" ph="&#x288; &#x259;# &#x2C8;">ʈə#ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1" ph="w a p &#x25B; &#x2C8; r">wapɛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl" ph="p u &#x272; &#x254; &#x2C8;">puɲɔˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1" ph="&#x261; &#x254;&#x330; &#x2C8;">ɡɔ̰ˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1" ph="t &#x153; &#x2C8;">tœˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.1.SUBJ" ph=""></thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl" ph="&#x288; &#x259;# &#x2C8;">ʈə#ˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1" ph="w a p &#x25B; &#x2C8; r">wapɛˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="l o d a&#x330; &#x2C8; m">loda̰ˈm</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1" ph="&#x279; &#x25B;&#x330; &#x2C8; r">ɹɛ̰ˈr</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="1excl">puɲɔˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">ɡɔ̰ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.4" subj="3.cl.1">tœˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" subj="1excl">ʈə#ˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="noun" gloss="cheese" def="def" role="obj" locus="number" case="ACC" gender="cl.1">wapɛˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM">d͡zøˈn</word>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4">buka̰ˈl</word>
+    <word posp="noun" gloss="mouse" def="def" role="subj" locus="number" case="NOM" gender="cl.1">loda̰ˈm</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4">buka̰ˈl</word>
+    <word posp="noun" gloss="cat" def="def" role="subj" locus="number" case="NOM" gender="cl.1">ɹɛ̰ˈr</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word gloss="COMP" posp="pp" role="obj" case="ACC" gender="cl.4">buka̰ˈl</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM">d͡zøˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;puˈɲɔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;pat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;han&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡɔ̰&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈtœ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʈə̃&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;buy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;han&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;waˈpɛr&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;loˈda̰m&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɹɛ̰r&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt;</p>
+  <p>puˈɲɔm ʒul han la̰r ˈɡɔ̰m ʒul la̰r ˈtœm ʒul la̰r ˈʈə̃m ʒul han la̰r waˈpɛren ˈd͡zøn buˈka̰l loˈda̰men buˈka̰l ˈɹɛ̰ren buˈka̰l ˈd͡zøn</p>
+  <p>puñom zhul han la’r go’m zhul la’r tœm zhul la’r rtẽm zhul han la’r wapæren dzøn buka’l lóda’men buka’l ɹæ’ren buka’l dzøn</p>
+  <il>
+    <w>
+      <o>puˈɲɔ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>han</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈɡɔ̰</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈtœ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈʈə̃</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>han</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>waˈpɛr</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>loˈda̰m</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ˈɹɛ̰r</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</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 adj2noun:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module embed:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for surprise/verb/mode/obligatory
Got indicative
About to call getSlotValue for teacher/noun/def/optional
Got def
About to call getSlotValue for give/verb/mode/obligatory
Got indicative
About to call getSlotValue for a/det/gender/obligatory
Got cl.1
About to call getSlotValue for apple/noun/def/optional
About to call getSlotValue for girl/noun/def/optional
Got def
About to call getSlotValue for boy/noun/def/optional
Got def
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.4">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.4"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.4"/>
    </vp>
    <np def="def" role="indobj" locus="number" case="DAT" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np role="subj" case="NOM" gender="cl.4">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" indobj="3.cl.1" subj="3.cl.2">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" indobj="3.cl.1" subj="3.cl.2"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
        </vp>
        <np role="obj" locus="number" case="ACC" gender="cl.1">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word gloss="a" posp="det" role="obj" locus="number" case="ACC" gender="cl.1"/>
+          <thingy type="detgender" function="suffix" gloss="cl.1"/>
          <word posp="noun" gloss="apple" role="obj" locus="number" case="ACC" gender="cl.1"/>
        </np>
        <np def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1">
          <thingy type="npcase" function="proclitic" gloss="DAT"/>
          <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
        </np>
        <np def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word posp="noun" gloss="boy" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2"/>
+          <thingy type="noundef" function="suffix" gloss="def"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.4"/>
      </subs>
    </np>
  </s>
</example>

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.4">
+  <flat>
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.4"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4"/>
-    </vp>
-    <np def="def" role="indobj" locus="number" case="DAT" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-    </np>
-    <np role="subj" case="NOM" gender="cl.4">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" indobj="3.cl.1" subj="3.cl.2">
    <thingy type="vpvoice" function="proclitic" gloss="active"/>
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" indobj="3.cl.1" subj="3.cl.2"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
-        </vp>
-        <np role="obj" locus="number" case="ACC" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="ACC"/>
    <word gloss="a" posp="det" role="obj" locus="number" case="ACC" gender="cl.1"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <word posp="noun" gloss="apple" role="obj" locus="number" case="ACC" gender="cl.1"/>
-        </np>
-        <np def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1">
    <thingy type="npcase" function="proclitic" gloss="DAT"/>
    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-        </np>
-        <np def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2">
    <thingy type="npcase" function="proclitic" gloss="NOM"/>
    <word posp="noun" gloss="boy" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2"/>
    <thingy type="noundef" function="suffix" gloss="def"/>
-        </np>
    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.4"/>
-      </subs>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.4"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" indobj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word gloss="a" posp="det" role="obj" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <word posp="noun" gloss="apple" role="obj" locus="number" case="ACC" gender="cl.1"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="boy" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.4"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.4" ph="d i t&#x361;&#x255; i &#x2C8;">dit͡ɕiˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4.SUBJ" ph="d&#x361;z a r">d͡zar</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="t i m">tim</thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" ph="d i t&#x361;&#x283; &#x259;&#x303; l">dit͡ʃə̃l</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" indobj="3.cl.1" subj="3.cl.2" ph="s e &#x2C8;">seˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word gloss="a" posp="det" role="obj" locus="number" case="ACC" gender="cl.1" ph="w e &#x2C8;">weˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" case="ACC" gender="cl.1" ph="&#x261; i &#x272; e&#x330; &#x2C8; r">ɡiɲḛˈr</word>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="t i m">tim</thingy>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" ph="&#x292; i &#x2C8;">ʒiˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" ph="d&#x361;&#x292; au &#x2C8;">d͡ʒauˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.4" ph="d i t&#x361;&#x255; i &#x2C8;">dit͡ɕiˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4.SUBJ" ph="d&#x361;z a r">d͡zar</thingy>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="t i m">tim</thingy>
-    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" ph="d i t&#x361;&#x283; &#x259;&#x303; l">dit͡ʃə̃l</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" indobj="3.cl.1" subj="3.cl.2" ph="s e &#x2C8;">seˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word gloss="a" posp="det" role="obj" locus="number" case="ACC" gender="cl.1" ph="w e &#x2C8;">weˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="l">l</thingy>
-    <word posp="noun" gloss="apple" role="obj" locus="number" case="ACC" gender="cl.1" ph="&#x261; i &#x272; e&#x330; &#x2C8; r">ɡiɲḛˈr</word>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="t i m">tim</thingy>
-    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" ph="&#x292; i &#x2C8;">ʒiˈ</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="boy" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" ph="d&#x361;&#x292; au &#x2C8;">d͡ʒauˈ</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.4" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.cl.1" subj="3.cl.4">dit͡ɕiˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.4.SUBJ">d͡zar</thingy>
+    <thingy type="npcase" function="proclitic" gloss="DAT">tim</thingy>
+    <word posp="noun" gloss="teacher" def="def" role="indobj" locus="number" case="DAT" gender="cl.1">dit͡ʃə̃l</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.cl.1" indobj="3.cl.1" subj="3.cl.2">seˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word gloss="a" posp="det" role="obj" locus="number" case="ACC" gender="cl.1">weˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">l</thingy>
+    <word posp="noun" gloss="apple" role="obj" locus="number" case="ACC" gender="cl.1">ɡiɲḛˈr</word>
+    <thingy type="npcase" function="proclitic" gloss="DAT">tim</thingy>
+    <word posp="noun" gloss="girl" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1">ʒiˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="boy" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2">d͡ʒauˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.4">buka̰ˈl</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈt͡ɕi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surprise&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;d͡zar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.4.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tim&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dit͡ʃə̃l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈse&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;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;win&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈwe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiˈɲḛr&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;tim&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʒi&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒau&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>diˈt͡ɕim ʒul d͡zar tim dit͡ʃə̃len ˈsem ʒul win la̰r ˈwel ɡiˈɲḛr tim ˈʒien ˈd͡ʒauen buˈka̰l</p>
+  <p>dityim zhul dzar tim dichə̃len sem zhul win la’r wel giñe’r tim zhien jauen buka’l</p>
+  <il>
+    <w>
+      <o>diˈt͡ɕi</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>d͡zar</o>
+      <g>3.cl.4.SUBJ</g>
+    </w>
+    <w>
+      <o>tim</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>dit͡ʃə̃l</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈse</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>win</o>
+      <g>3.cl.2.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈwe</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-l</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ɡiˈɲḛr</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>tim</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ˈʒi</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒau</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</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 adj2noun:

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

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

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

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for tell/verb/mode/obligatory
Got indicative
About to call getSlotValue for love/verb/mode/obligatory
Got indicative
About to call getSlotValue for girl/noun/def/optional
Got def
About to call getSlotValue for boy/noun/def/optional
Got def
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2" indobj="3.cl.1" subj="3.cl.2">
      <thingy type="vpvoice" function="proclitic" gloss="active"/>
      <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2" indobj="3.cl.1" subj="3.cl.2"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="cl.4" person="2">
      <thingy type="npcase" function="proclitic" gloss="ACC"/>
      <subs>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl">
          <thingy type="vpvoice" function="proclitic" gloss="active"/>
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
          <thingy type="vpta" function="enclitic" gloss="PRES"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
        </vp>
        <np def="neither" role="obj" locus="number" case="ACC" person="2">
          <thingy type="npcase" function="proclitic" gloss="ACC"/>
          <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC"/>
        </np>
        <np def="neither" role="subj" locus="number" case="NOM" person="1excl">
          <thingy type="npcase" function="proclitic" gloss="NOM"/>
          <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.4" person="2"/>
      </subs>
    </np>
    <np def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1">
      <thingy type="npcase" function="proclitic" gloss="DAT"/>
      <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
    <np def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2">
      <thingy type="npcase" function="proclitic" gloss="NOM"/>
      <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2"/>
+      <thingy type="noundef" function="suffix" gloss="def"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2" indobj="3.cl.1" subj="3.cl.2"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <thingy type="vpvoice" function="proclitic" gloss="active"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl"/>
-    <thingy type="npcase" function="proclitic" gloss="ACC"/>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.4" person="2"/>
-    <thingy type="npcase" function="proclitic" gloss="DAT"/>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
-    <thingy type="npcase" function="proclitic" gloss="NOM"/>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2"/>
-    <thingy type="noundef" function="suffix" gloss="def"/>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2" indobj="3.cl.1" subj="3.cl.2" ph="l au &#x2C8;">lauˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl" ph="n &#xF8; &#x2C8;">nøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" ph="n i &#x2C8;">niˈ</word>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.4" person="2" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="DAT" ph="t i m">tim</thingy>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" ph="&#x292; i &#x2C8;">ʒiˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" ph="d&#x361;&#x292; au &#x2C8;">d͡ʒauˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2" indobj="3.cl.1" subj="3.cl.2" ph="l au &#x2C8;">lauˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; u l">ʒul</thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ" ph="w i n">win</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <thingy type="vpvoice" function="proclitic" gloss="active" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl" ph="n &#xF8; &#x2C8;">nøˈ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph="m">m</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ" ph="h a n">han</thingy>
-    <thingy type="npcase" function="proclitic" gloss="ACC" ph="l a&#x330; r">la̰r</thingy>
-    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" ph="n i &#x2C8;">niˈ</word>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" ph="d&#x361;z &#xF8; &#x2C8; n">d͡zøˈn</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.4" person="2" ph="b u k a&#x330; &#x2C8; l">buka̰ˈl</word>
-    <thingy type="npcase" function="proclitic" gloss="DAT" ph="t i m">tim</thingy>
-    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" ph="&#x292; i &#x2C8;">ʒiˈ</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
-    <thingy type="npcase" function="proclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" ph="d&#x361;&#x292; au &#x2C8;">d͡ʒauˈ</word>
-    <thingy type="noundef" function="suffix" gloss="def" attach="suffix" ph="e n">en</thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="2" indobj="3.cl.1" subj="3.cl.2">lauˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒul</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.cl.2.SUBJ">win</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2" subj="1excl">nøˈ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative">m</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.SUBJ">han</thingy>
+    <thingy type="npcase" function="proclitic" gloss="ACC">la̰r</thingy>
+    <word person="2" posp="pron" gloss="2" gender="cl.1" def="neither" role="obj" locus="number" case="ACC">niˈ</word>
+    <word person="1excl" posp="pron" gloss="1excl" gender="cl.1" def="neither" role="subj" locus="number" case="NOM">d͡zøˈn</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.4" person="2">buka̰ˈl</word>
+    <thingy type="npcase" function="proclitic" gloss="DAT">tim</thingy>
+    <word posp="noun" gloss="girl" def="def" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1">ʒiˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
+    <word posp="noun" gloss="boy" def="def" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2">d͡ʒauˈ</word>
+    <thingy type="noundef" function="suffix" gloss="def">en</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈlau&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;tell&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;win&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.cl.2.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnø&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;indicative&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;han&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;la̰r&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈni&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡zøn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buˈka̰l&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tim&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʒi&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈd͡ʒau&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;-en&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈlaum ʒul win la̰r ˈnøm han la̰r ˈni ˈd͡zøn buˈka̰l tim ˈʒien ˈd͡ʒauen</p>
+  <p>laum zhul win la’r nøm han la’r ni dzøn buka’l tim zhien jauen</p>
+  <il>
+    <w>
+      <o>ˈlau</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>ʒul</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>win</o>
+      <g>3.cl.2.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈnø</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-m</o>
+      <g>indicative</g>
+    </w>
+    <w>
+      <o>han</o>
+      <g>1excl.SUBJ</g>
+    </w>
+    <w>
+      <o>la̰r</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ˈni</o>
+      <g>2</g>
+    </w>
+    <w>
+      <o>ˈd͡zøn</o>
+      <g>1excl</g>
+    </w>
+    <w>
+      <o>buˈka̰l</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>tim</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ˈʒi</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+    <w>
+      <o>ˈd͡ʒau</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-en</o>
+      <g>def</g>
+    </w>
+  </il>
</example>