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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for woman/noun/case/obligatory
Got NOM
About to call getSlotValue for knife/noun/case/obligatory
Got LOC
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
About to call getSlotValue for yon/det/gender/obligatory
Got cl.5
About to call getSlotValue for yon/det/number/obligatory
Got plur
About to call getSlotValue for blind/noun/case/obligatory
Got GEN
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number" case="LOC" gender="cl.9" possessor="no.owner">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.9" possessor="no.owner"/>
+          <thingy type="nouncase" function="suffix" gloss="LOC"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </pp>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC">
      <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
      <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
      <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
+      <thingy type="detgender" function="suffix" gloss="cl.5"/>
+      <thingy type="detnumber" function="suffix" gloss="plur"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
    </np>
    <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
      <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np number="sing" def="def" locus="number" case="LOC" gender="cl.9" possessor="no.owner">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.9" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="LOC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-      </pp>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC">
    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
    <thingy type="nouncase" function="suffix" gloss="ACC"/>
    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
    <thingy type="detgender" function="suffix" gloss="cl.5"/>
    <thingy type="detnumber" function="suffix" gloss="plur"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
-    </np>
-    <np number="sing" def="def" role="owner" case="GEN" possessor="no.owner">
    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.9" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC"/>
-    <thingy type="detgender" function="suffix" gloss="cl.5"/>
-    <thingy type="detnumber" function="suffix" gloss="plur"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="w au z">wauz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n &#x259; &#x261; a d">nəɡad</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.9" possessor="no.owner" ph="&#x261; i j">ɡij</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x259; t">ət</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC" ph="r a l">ral</word>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC" ph="k u&#x2D0;">kuː</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="plur" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS" ph="k &#x259; r">kər</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="n i&#x2D0; b">niːb</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="w au z">wauz</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n &#x259; &#x261; a d">nəɡad</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.9" possessor="no.owner" ph="&#x261; i j">ɡij</word>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x259; t">ət</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC" ph="r a l">ral</word>
-    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC" ph="k u&#x2D0;">kuː</word>
-    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
-    <thingy type="detnumber" function="suffix" gloss="plur" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS" ph="k &#x259; r">kər</thingy>
-    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner" ph="n i&#x2D0; b">niːb</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.5" possessor="no.owner">wauz</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">nəɡad</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" gender="cl.9" possessor="no.owner">ɡij</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC">ət</thingy>
+    <word posp="noun" gloss="mouse" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="num" gloss="three" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC">ral</word>
+    <word posp="det" gloss="yon" role="owned" def="def" number="plur" locus="number" gender="cl.5" possessor="3.sing.cl.10" tr="rheme" case="ACC">kuː</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="plur">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS">kər</thingy>
+    <word posp="noun" gloss="blind" lexposp="adj" number="sing" def="def" role="owner" case="GEN" possessor="no.owner">niːb</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ik</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wauz&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nəɡad&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;ɡij&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;-ət&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tanə̃ːr&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;-aj&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;ral&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;kuː&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;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kər&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.10.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niːb&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;-ik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suːr&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;ləj&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;</p>
+  <p>wauzas nəɡad ɡijət tanə̃ːraj ral kuːpas kər niːbik suːr ləj</p>
+  <p>wauzas nəɡad ɡijət tanə#ːraj ral kuːpas kər niːbik suːr ləj</p>
+  <il>
+    <w>
+      <o>wauz</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>nəɡad</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ɡij</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-ət</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>tanə̃ːr</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ral</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>kuː</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>cl.5</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>kər</o>
+      <g>3.sing.cl.10.POSS</g>
+    </w>
+    <w>
+      <o>niːb</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>-ik</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>suːr</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="l &#x259;#&#x2D0; n">lə#ːn</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="z i w">ziw</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.5" ph="s a &#x288;">saʈ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="l &#x259;#&#x2D0; n">lə#ːn</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="z i w">ziw</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.5" ph="s a &#x288;">saʈ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">lə#ːn</word>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner">ziw</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.6" obj="3.sing.cl.5">saʈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lə̃ːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lə̃ːn ziw saʈ</p>
+  <p>lə#ːn ziw saʈ</p>
+  <il>
+    <w>
+      <o>lə̃ːn</o>
+      <g>3.sing.cl.6</g>
+    </w>
+    <w>
+      <o>ziw</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>saʈ</o>
+      <g>love</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
-    <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.4">
      <word posp="noun" gloss="NN1"/>
    </np>
-    <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.4">
      <word posp="noun" gloss="NN2"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="hate"/>
    </vp>
  </s>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Wipaw hates Dalaz.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="Wipaw" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" propernoun="yes" ph="w i p a w">wipaw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="Dalaz" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" propernoun="yes" ph="d &#x259;# l &#x259; z">də#ləz</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="n i t i r">nitir</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Wipaw hates Dalaz.">
  <flat>
-    <word posp="noun" gloss="Wipaw" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" propernoun="yes" ph="w i p a w">wipaw</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="Dalaz" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" propernoun="yes" ph="d &#x259;# l &#x259; z">də#ləz</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="n i t i r">nitir</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="Wipaw" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" propernoun="yes">wipaw</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="noun" gloss="Dalaz" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" propernoun="yes">də#ləz</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4">nitir</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wipaw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Wipaw&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;də̃ləz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Dalaz&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-aj&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;nitir&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hate&lt;/span&gt;&lt;/span&gt;</p>
+  <p>wipawas də̃ləzaj nitir</p>
+  <p>Wipawas Də#ləzaj nitir</p>
+  <il>
+    <w>
+      <o>wipaw</o>
+      <g>Wipaw</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>də̃ləz</o>
+      <g>Dalaz</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>nitir</o>
+      <g>hate</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

<example id="posso1" translation="the boy's apple">
  <np type="owner_owned" case="NOM" gender="cl.5" number="sing">
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
-      <word posp="noun" gloss="boy"/>
-    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
      <word posp="noun" gloss="apple"/>
    </np>
+    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
+      <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.5" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
      <word posp="noun" gloss="apple"/>
+      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
      <word posp="noun" gloss="boy"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </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.5" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
    <word posp="noun" gloss="apple"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="noun" gloss="boy"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
-    <word posp="noun" gloss="boy"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got NOM
About to call getSlotValue for boy/noun/case/obligatory
Got GEN
<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="posso1" translation="the boy's apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
+  <flat>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM" ph="l i &#x261; a k">liɡak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="n i&#x2D0; p">niːp</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM" ph="l i &#x261; a k">liɡak</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="n i&#x2D0; p">niːp</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">liɡak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS">jə</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">niːp</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ik</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liɡak&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jə&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niːp&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;-ik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>liɡakas jə niːpik</p>
+  <p>liɡakas jə niːpik</p>
+  <il>
+    <w>
+      <o>liɡak</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>jə</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>niːp</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ik</o>
+      <g>GEN</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module simplifynumber:

No change.

createpronouns:

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

module markowned:

<example id="posso1b" translation="his (the boy's) apple">
  <np type="owner_owned" case="NOM" gender="cl.5" number="sing">
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6">
+    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6"/>
    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
      <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.5" number="sing">
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6"/>
-    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
      <word posp="noun" gloss="apple"/>
    </np>
+    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
+      <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6"/>
    </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.5" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
      <word posp="noun" gloss="apple"/>
+      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </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.5" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
    <word posp="noun" gloss="apple"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6"/>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got NOM
<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="posso1b" translation="his (the boy's) apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
+  <flat>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM" ph="l i &#x261; a k">liɡak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="l &#x259;#&#x2D0; n">lə#ːn</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM" ph="l i &#x261; a k">liɡak</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
-    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="l &#x259;#&#x2D0; n">lə#ːn</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">liɡak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS">jə</thingy>
+    <word posp="pron" number="sing" gender="cl.6" gloss="3.sing.cl.6" def="def" locus="number" role="owner" case="GEN" possessor="no.owner">lə#ːn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liɡak&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jə&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lə̃ːn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6&lt;/span&gt;&lt;/span&gt;</p>
+  <p>liɡakas jə lə̃ːn</p>
+  <p>liɡakas jə lə#ːn</p>
+  <il>
+    <w>
+      <o>liɡak</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>jə</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>lə̃ːn</o>
+      <g>3.sing.cl.6</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="posso2" translation="my apple">
  <np type="owner_owned" case="NOM" gender="cl.5" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing">
      <word posp="noun" gloss="apple"/>
+      <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
    </np>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" case="NOM" gender="cl.5" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM">
    <word posp="noun" gloss="apple"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM">
-    <word posp="noun" gloss="apple"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for apple/noun/case/obligatory
Got NOM
<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM">
+  <flat>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM" ph="l i &#x261; a k">liɡak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS" ph="&#x261; i &#x14B;">ɡiŋ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM" ph="l i &#x261; a k">liɡak</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS" ph="&#x261; i &#x14B;">ɡiŋ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="1excl.sing" case="NOM">liɡak</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS">ɡiŋ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;liɡak&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&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;1excl.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>liɡakas ɡiŋ</p>
+  <p>liɡakas ɡiŋ</p>
+  <il>
+    <w>
+      <o>liɡak</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>ɡiŋ</o>
+      <g>1excl.sing.POSS</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" case="NOM" number="sing" possessor="no.owner" gender="cl.5">
      <np type="owner_owned" gender="cl.5" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
          <word posp="noun" gloss="daughter"/>
+          <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
          <word posp="noun" gloss="hunter"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np role="obj" case="ACC" number="sing" possessor="no.owner" gender="cl.6">
      <np type="owner_owned" gender="cl.6" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10">
          <word posp="noun" gloss="son"/>
+          <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
        </np>
        <np type="owner_owned" role="owner" gender="cl.10" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing">
            <word posp="noun" gloss="neighbour"/>
+            <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
          </np>
        </np>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">
      <word posp="verb" gloss="kiss"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" case="NOM" number="sing" possessor="no.owner" gender="cl.5">
-      <np type="owner_owned" gender="cl.5" number="sing">
+    <np type="owner_owned" gender="cl.5" number="sing" role="subj" case="NOM" possessor="no.owner">
      <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
        <word posp="noun" gloss="daughter"/>
        <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
      </np>
      <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
        <word posp="noun" gloss="hunter"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np role="obj" case="ACC" number="sing" possessor="no.owner" gender="cl.6">
-      <np type="owner_owned" gender="cl.6" number="sing">
+    <np type="owner_owned" gender="cl.6" number="sing" role="obj" case="ACC" possessor="no.owner">
      <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10">
        <word posp="noun" gloss="son"/>
        <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
      </np>
      <np type="owner_owned" role="owner" gender="cl.10" number="sing">
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing">
          <word posp="noun" gloss="neighbour"/>
          <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
        </np>
      </np>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np type="owner_owned" gender="cl.5" number="sing" role="subj" case="NOM" possessor="no.owner">
-      <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
      <word posp="noun" gloss="daughter"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
      <word posp="noun" gloss="hunter"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <np type="owner_owned" gender="cl.6" number="sing" role="obj" case="ACC" possessor="no.owner">
-      <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC">
      <word posp="noun" gloss="son"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
    </np>
-      <np type="owner_owned" role="owner" gender="cl.10" number="sing">
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing">
      <word posp="noun" gloss="neighbour"/>
      <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
    </np>
-      </np>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

movedowntoword:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC">
-      <word posp="noun" gloss="son"/>
+      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing">
-      <word posp="noun" gloss="neighbour"/>
+      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">
-      <word posp="verb" gloss="kiss"/>
+      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for daughter/noun/case/obligatory
Got NOM
About to call getSlotValue for hunter/noun/case/obligatory
Got GEN
About to call getSlotValue for son/noun/case/obligatory
Got ACC
About to call getSlotValue for neighbour/noun/case/obligatory
Got GEN
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing"/>
+      <thingy type="nouncase" function="suffix" gloss="GEN"/>
      <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">
+  <flat>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC"/>
    <thingy type="nouncase" function="suffix" gloss="ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM" ph="s u &#x14B;">suŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC" ph="l &#x259;# l">lə#l</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS" ph="k &#x259; r">kər</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing" ph="d a &#x261; a &#x261;">daɡaɡ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="j &#x259; &#x14B;">jəŋ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6" ph="&#x14B; a j &#x259;# p">ŋajə#p</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM" ph="s u &#x14B;">suŋ</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC" ph="l &#x259;# l">lə#l</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS" ph="k &#x259; r">kər</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing" ph="d a &#x261; a &#x261;">daɡaɡ</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="j &#x259; &#x14B;">jəŋ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6" ph="&#x14B; a j &#x259;# p">ŋajə#p</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.6" case="NOM">suŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS">jə</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">sanar</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ik</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="ACC">lə#l</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS">kər</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="2.sing">daɡaɡ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS">jəŋ</thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">ŋajə#p</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suŋ&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jə&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanar&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;-ik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lə̃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;-aj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kər&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.10.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daɡaɡ&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;-ik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋajə̃p&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;ləj&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;</p>
+  <p>suŋas jə sanarik lə̃laj kər daɡaɡik jəŋ ŋajə̃p ləj</p>
+  <p>suŋas jə sanarik lə#laj kər daɡaɡik jəŋ ŋajə#p ləj</p>
+  <il>
+    <w>
+      <o>suŋ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>jə</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>sanar</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ik</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>lə̃l</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kər</o>
+      <g>3.sing.cl.10.POSS</g>
+    </w>
+    <w>
+      <o>daɡaɡ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-ik</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>jəŋ</o>
+      <g>2.sing.POSS</g>
+    </w>
+    <w>
+      <o>ŋajə̃p</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module 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.5">
    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
  </np>
</example>

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
    <word posp="noun" gloss="lamb"/>
    <word gloss="a" posp="det"/>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
-    <word posp="noun" gloss="lamb"/>
-    <word gloss="a" posp="det"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for a/det/gender/obligatory
Got cl.5
About to call getSlotValue for a/det/number/obligatory
Got sing
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+    <thingy type="detgender" function="suffix" gloss="cl.5"/>
+    <thingy type="detnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="lamb0" translation="a lamb">
-  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.5"/>
    <thingy type="detnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.5"/>
-    <thingy type="detnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s i z u x">sizux</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s i z u x">sizux</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s u z u x" underlying="s i z u x">suzux</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s u z u x" underlying="s i z u x">suzux</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
-    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
-    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" underlying="s i z u x">suzux</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing">əp</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sizux&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&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;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-əp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>suzuxas rəpəp</p>
+  <p>suzuxas rəpəp</p>
+  <il>
+    <w>
+      <o>sizux</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>rə</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>cl.5</g>
+    </w>
+    <w>
+      <o>-əp</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
    <word gloss="lamb" lexposp="noun" posp="noun">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
    <word gloss="a" posp="det"/>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
-    <word gloss="lamb" lexposp="noun" posp="noun">
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
-    <word gloss="a" posp="det"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for a/det/gender/obligatory
Got cl.5
About to call getSlotValue for a/det/number/obligatory
Got sing
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+    <thingy type="detgender" function="suffix" gloss="cl.5"/>
+    <thingy type="detnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </np>
</example>

flatten:

<example id="lamb1" translation="a little lamb">
-  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
+  <flat>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    </word>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.5"/>
    <thingy type="detnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.5"/>
-    <thingy type="detnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s i z u x">sizux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i x">ix</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb1" translation="a little lamb">
  <flat>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s i z u x">sizux</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i x">ix</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s u z u x" underlying="s i z u x">suzux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="u x" underlying="i x">ux</thingy>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s u z u x" underlying="s i z u x">suzux</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="u x" underlying="i x">ux</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
-    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
-    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" underlying="s i z u x">suzux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="i x">ux</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing">əp</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sizux&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;-ix&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&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;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-əp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>suzuxuxas rəpəp</p>
+  <p>suzuxuxas rəpəp</p>
+  <il>
+    <w>
+      <o>sizux</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ix</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>rə</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>cl.5</g>
+    </w>
+    <w>
+      <o>-əp</o>
+      <g>sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <word gloss="a" posp="det"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="have"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
-      <word gloss="lamb" lexposp="noun" posp="noun">
+      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
-      <word gloss="a" posp="det"/>
+      <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
-      <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" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got ACC
About to call getSlotValue for a/det/gender/obligatory
Got cl.5
About to call getSlotValue for a/det/number/obligatory
Got sing
<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
      <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
+      <thingy type="detgender" function="suffix" gloss="cl.5"/>
+      <thingy type="detnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
+  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
-      <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-      </word>
    <thingy type="nouncase" function="suffix" gloss="ACC"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.5"/>
    <thingy type="detnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.5"/>
-    <thingy type="detnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="z i w">ziw</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="s i z u x">sizux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i x">ix</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="w &#x259;&#x2D0; p">wəːp</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="z i w">ziw</word>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="s i z u x">sizux</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i x">ix</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="s u z u x" underlying="s i z u x">suzux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="u x" underlying="i x">ux</thingy>
    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="w &#x259;&#x2D0; p">wəːp</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="z i w">ziw</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="s u z u x" underlying="s i z u x">suzux</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="u x" underlying="i x">ux</thingy>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
-    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
-    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="w &#x259;&#x2D0; p">wəːp</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">ziw</word>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" underlying="s i z u x">suzux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="i x">ux</thingy>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing">əp</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">wəːp</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sizux&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;-ix&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;-aj&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;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-əp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wəːp&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;ləj&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;</p>
+  <p>ziw suzuxuxaj rəpəp wəːp ləj</p>
+  <p>ziw suzuxuxaj rəpəp wəːp ləj</p>
+  <il>
+    <w>
+      <o>ziw</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>sizux</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ix</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>rə</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>cl.5</g>
+    </w>
+    <w>
+      <o>-əp</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>wəːp</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-      <word gloss="have" lexposp="verb" posp="verb">
+      <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
+  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-      <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
-    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="z i w">ziw</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="w &#x259;&#x2D0; p">wəːp</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="a r">ar</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="z i w">ziw</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="w &#x259;&#x2D0; p">wəːp</word>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="a r">ar</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">ziw</word>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">wəːp</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb">ar</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wəːp&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;-ar&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;ləj&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;</p>
+  <p>ziw wəːpar ləj</p>
+  <p>ziw wəːpar ləj</p>
+  <il>
+    <w>
+      <o>ziw</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>wəːp</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-ar</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np role="obj" gender="cl.10" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
          <word gloss="lamb" lexposp="noun" posp="noun">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
          <word gloss="a" posp="det"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
          <word posp="verb" gloss="have"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5"/>
+      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np role="obj" gender="cl.10" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
-          <word gloss="lamb" lexposp="noun" posp="noun">
+          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
-          <word gloss="a" posp="det"/>
+          <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-          <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" subj="3.sing.cl.5"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" gender="cl.10" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10">
-      <word posp="verb" gloss="want"/>
-      <word posp="adv" gloss="often"/>
+      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10"/>
+      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/case/obligatory
Got NOM
About to call getSlotValue for a/det/gender/obligatory
Got cl.5
About to call getSlotValue for a/det/number/obligatory
Got sing
<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np role="obj" gender="cl.10" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
            <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
            <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
          </word>
+          <thingy type="nouncase" function="suffix" gloss="NOM"/>
          <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+          <thingy type="detgender" function="suffix" gloss="cl.5"/>
+          <thingy type="detnumber" function="suffix" gloss="sing"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <word gloss="COMP" posp="pp" role="obj" gender="cl.10" number="sing" possessor="no.owner"/>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10">
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10"/>
      <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

<example id="lamb4" translation="She often wanted to have a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" gender="cl.5" possessor="no.owner">
+  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np role="obj" gender="cl.10" number="sing" possessor="no.owner">
-      <subs>
-        <np number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
-          <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-          </word>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.5"/>
    <thingy type="detnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.10" number="sing" possessor="no.owner"/>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10">
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10"/>
    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.5"/>
-    <thingy type="detnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.10" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" possessor="no.owner" ph="z i w">ziw</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s i z u x">sizux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i x">ix</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="w &#x259;&#x2D0; p">wəːp</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.10" number="sing" possessor="no.owner" ph="s i &#x288; &#x259; &#x261;">siʈəɡ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10" ph="b &#x254;i &#x14B;">bɔiŋ</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10" ph="d a&#x2D0;">daː</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" possessor="no.owner" ph="z i w">ziw</word>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s i z u x">sizux</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="i x">ix</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s u z u x" underlying="s i z u x">suzux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="u x" underlying="i x">ux</thingy>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="w &#x259;&#x2D0; p">wəːp</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word gloss="COMP" posp="pp" role="obj" gender="cl.10" number="sing" possessor="no.owner" ph="s i &#x288; &#x259; &#x261;">siʈəɡ</word>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10" ph="b &#x254;i &#x14B;">bɔiŋ</word>
    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10" ph="d a&#x2D0;">daː</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" possessor="no.owner" ph="z i w">ziw</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="s u z u x" underlying="s i z u x">suzux</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="u x" underlying="i x">ux</thingy>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
-    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
-    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="w &#x259;&#x2D0; p">wəːp</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" gender="cl.10" number="sing" possessor="no.owner" ph="s i &#x288; &#x259; &#x261;">siʈəɡ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10" ph="b &#x254;i &#x14B;">bɔiŋ</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10" ph="d a&#x2D0;">daː</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.5" gloss="3.sing.cl.5" def="def" tr="theme" role="subj" locus="number" possessor="no.owner">ziw</word>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" underlying="s i z u x">suzux</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="i x">ux</thingy>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing">əp</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">wəːp</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word gloss="COMP" posp="pp" role="obj" gender="cl.10" number="sing" possessor="no.owner">siʈəɡ</word>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10">bɔiŋ</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.10">daː</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ziw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sizux&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;-ix&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&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;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-əp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wəːp&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;ləj&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;siʈəɡ&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;bɔiŋ&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;daː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ləj&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;</p>
+  <p>ziw suzuxuxas rəpəp wəːp ləj siʈəɡ bɔiŋ daː ləj</p>
+  <p>ziw suzuxuxas rəpəp wəːp ləj siʈəɡ bɔiŋ daː ləj</p>
+  <il>
+    <w>
+      <o>ziw</o>
+      <g>3.sing.cl.5</g>
+    </w>
+    <w>
+      <o>sizux</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ix</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>rə</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>cl.5</g>
+    </w>
+    <w>
+      <o>-əp</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>wəːp</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>siʈəɡ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>bɔiŋ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>daː</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="s &#x254;i p">sɔip</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="s a &#x288;">saʈ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="s &#x254;i p">sɔip</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="s a &#x288;">saʈ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">man</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner">sɔip</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">saʈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;man&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sɔip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>man sɔip saʈ</p>
+  <p>man sɔip saʈ</p>
+  <il>
+    <w>
+      <o>man</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>sɔip</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>saʈ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2noun:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

<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" case="LOC" gender="cl.4">
+    <np def="def" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="table"/>
    </np>
  </pp>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="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" case="LOC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="table"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </pp>
</example>

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" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </pp>
</example>

addaffixes:

About to call getSlotValue for table/noun/case/obligatory
Got LOC
<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" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="LOC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </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" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="LOC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </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" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="w a n">wan</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="w &#x259;#&#x2D0; t">wə#ːt</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x259; t">ət</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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="w a n">wan</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner" ph="w &#x259;#&#x2D0; t">wə#ːt</word>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x259; t">ət</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">wan</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" gender="cl.4" possessor="no.owner">wə#ːt</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC">ət</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wan&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;wə̃ːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ət&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>wan wə̃ːtət</p>
+  <p>wan wə#ːtət</p>
+  <il>
+    <w>
+      <o>wan</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>wə̃ːt</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-ət</o>
+      <g>LOC</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

<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" case="LOC" gender="cl.7">
+    <np def="def" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner">
      <word posp="noun" gloss="box"/>
    </np>
  </pp>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="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" case="LOC" gender="cl.7" possessor="no.owner">
      <word posp="noun" gloss="box"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </pp>
</example>

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" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </pp>
</example>

addaffixes:

About to call getSlotValue for box/noun/case/obligatory
Got LOC
<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" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner">
      <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="LOC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </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" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner">
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="LOC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </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" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="r a&#x2D0; n">raːn</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner" ph="p a x a d">paxad</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x259; t">ət</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></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="r a&#x2D0; n">raːn</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner" ph="p a x a d">paxad</word>
-    <thingy type="nouncase" function="suffix" gloss="LOC" attach="suffix" ph="&#x259; t">ət</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">raːn</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" gender="cl.7" possessor="no.owner">paxad</word>
+    <thingy type="nouncase" function="suffix" gloss="LOC">ət</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;raː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;paxad&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;-ət&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>raːn paxadət</p>
+  <p>raːn paxadət</p>
+  <il>
+    <w>
+      <o>raːn</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>paxad</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-ət</o>
+      <g>LOC</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module addgender:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp"/>
    <np number="sing" def="neither" locus="number" case="LOC" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos3" translation="with me">
  <pp role="comitative">
-    <word gloss="COMIT" posp="pp"/>
+    <word gloss="COMIT" posp="pp" role="comitative"/>
    <np number="sing" def="neither" locus="number" case="LOC" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </pp>
</example>

addaffixes:

No change.

flatten:

<example id="adpos3" translation="with me">
-  <pp role="comitative">
+  <flat>
    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <np number="sing" def="neither" locus="number" case="LOC" possessor="no.owner" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="n &#x259; &#x261; a d">nəɡad</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC" possessor="no.owner" ph="m a n">man</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="n &#x259; &#x261; a d">nəɡad</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC" possessor="no.owner" ph="m a n">man</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">nəɡad</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" locus="number" case="LOC" possessor="no.owner">man</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nəɡad&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;man&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nəɡad man</p>
+  <p>nəɡad man</p>
+  <il>
+    <w>
+      <o>nəɡad</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>man</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for jaguar/noun/case/obligatory
Got NOM
About to call getSlotValue for hunter/noun/case/obligatory
Got ACC
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="t i k i l">tikil</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6" ph="k &#x259;#&#x2D0; k">kə#ːk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="t i k i l">tikil</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6" ph="k &#x259;#&#x2D0; k">kə#ːk</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">tikil</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.6" possessor="no.owner">sanar</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.6">kə#ːk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tikil&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanar&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;-aj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kə̃ːk&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;ləj&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;</p>
+  <p>tikilas sanaraj kə̃ːk ləj</p>
+  <p>tikilas sanaraj kə#ːk ləj</p>
+  <il>
+    <w>
+      <o>tikil</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>sanar</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kə̃ːk</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.5" case="ACC"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.5"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" possessor="3.sing.cl.6"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="l &#x259; &#x288; ai l">ləʈail</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.5" case="ACC" ph="k a s">kas</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.5.POSS" ph="k a &#x14B;">kaŋ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" possessor="3.sing.cl.6" ph="s u &#x14B;">suŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s i p">sip</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="l &#x259; &#x288; ai l">ləʈail</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.5" case="ACC" ph="k a s">kas</word>
    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.5.POSS" ph="k a &#x14B;">kaŋ</thingy>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" possessor="3.sing.cl.6" ph="s u &#x14B;">suŋ</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="u k" underlying="i k">uk</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s i p">sip</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="l &#x259; &#x288; ai l">ləʈail</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.5" case="ACC" ph="k a s">kas</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.5.POSS" ph="k a &#x14B;">kaŋ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" possessor="3.sing.cl.6" ph="s u &#x14B;">suŋ</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="u k" underlying="i k">uk</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s i p">sip</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.5" possessor="no.owner">ləʈail</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.5" possessor="3.sing.cl.5" case="ACC">kas</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.5.POSS">kaŋ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.5" possessor="3.sing.cl.6">suŋ</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" underlying="i k">uk</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS">jə</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" gender="cl.6" possessor="no.owner">sanar</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ik</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">sip</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ləʈail&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kas&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;-aj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kaŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.5.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jə&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanar&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;-ik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sip&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;ləj&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;</p>
+  <p>ləʈailas kasaj kaŋ suŋuk jə sanarik sip ləj</p>
+  <p>ləʈailas kasaj kaŋ suŋuk jə sanarik sip ləj</p>
+  <il>
+    <w>
+      <o>ləʈail</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>kas</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kaŋ</o>
+      <g>3.sing.cl.5.POSS</g>
+    </w>
+    <w>
+      <o>suŋ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ik</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>jə</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>sanar</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ik</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>sip</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module 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.6">
+    <np type="owner_owned" role="owner" gender="cl.10">
+      <np type="owner_owned" role="owner" gender="cl.6">
        <np number="sing" def="neither" locus="number" role="owner" case="GEN">
          <word person="2" number="sing" posp="pron"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned" case="GEN">
+        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned" case="GEN">
+      <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10">
        <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.6">
      <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.6">
-    <np type="owner_owned" role="owner" gender="cl.10">
-      <np type="owner_owned" role="owner" gender="cl.6">
+  <np type="owner_owned" case="NOM" gender="cl.6" number="sing">
+    <np type="owner_owned" role="owner" gender="cl.10" number="sing">
+      <np type="owner_owned" role="owner" gender="cl.6" number="sing">
        <np number="sing" def="neither" locus="number" role="owner" case="GEN">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.6">
      <word posp="noun" gloss="book"/>
    </np>
  </np>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM">
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6">
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing">
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
  </np>
</example>

addaffixes:

About to call getSlotValue for book/noun/case/obligatory
Got NOM
About to call getSlotValue for friend/noun/case/obligatory
Got GEN
About to call getSlotValue for son/noun/case/obligatory
Got GEN
<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM">
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM"/>
+    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6">
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing"/>
+    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
  </np>
</example>

flatten:

<example id="poss3" translation="your son's friend's book">
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM">
+  <flat>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6">
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing"/>
    <thingy type="nouncase" function="suffix" gloss="GEN"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing"/>
-    <thingy type="nouncase" function="suffix" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM" ph="b u&#x2D0; k">buːk</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS" ph="k &#x259; r">kər</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6" ph="p u p">pup</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" ph="l &#x259;# l">lə#l</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="j &#x259; &#x14B;">jəŋ</thingy>
  </flat>
</example>

vowelharmony:

<example id="poss3" translation="your son's friend's book">
  <flat>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM" ph="b u&#x2D0; k">buːk</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS" ph="k &#x259; r">kər</thingy>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6" ph="p u p">pup</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
+    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="u k" underlying="i k">uk</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" ph="l &#x259;# l">lə#l</word>
    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="j &#x259; &#x14B;">jəŋ</thingy>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM" ph="b u&#x2D0; k">buːk</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS" ph="k &#x259; r">kər</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6" ph="p u p">pup</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="u k" underlying="i k">uk</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS" ph="j &#x259;">jə</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing" ph="l &#x259;# l">lə#l</word>
-    <thingy type="nouncase" function="suffix" gloss="GEN" attach="suffix" ph="i k">ik</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="j &#x259; &#x14B;">jəŋ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.6" possessor="3.sing.cl.10" case="NOM">buːk</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.10.POSS">kər</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.10" possessor="3.sing.cl.6">pup</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN" underlying="i k">uk</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.6.POSS">jə</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" gender="cl.6" possessor="2.sing">lə#l</word>
+    <thingy type="nouncase" function="suffix" gloss="GEN">ik</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS">jəŋ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;buːk&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kər&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.10.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pup&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;-ik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jə&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.6.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lə̃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;-ik&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jəŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>buːkas kər pupuk jə lə̃lik jəŋ</p>
+  <p>buːkas kər pupuk jə lə#lik jəŋ</p>
+  <il>
+    <w>
+      <o>buːk</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>kər</o>
+      <g>3.sing.cl.10.POSS</g>
+    </w>
+    <w>
+      <o>pup</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-ik</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>jə</o>
+      <g>3.sing.cl.6.POSS</g>
+    </w>
+    <w>
+      <o>lə̃l</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ik</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>jəŋ</o>
+      <g>2.sing.POSS</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" ph="r i&#x2D0; &#x261;">riːɡ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5" ph="r i&#x2D0; &#x261;">riːɡ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.5">riːɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaːx&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;riːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>jaːxas riːɡ</p>
+  <p>jaːxas riːɡ</p>
+  <il>
+    <w>
+      <o>jaːx</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>riːɡ</o>
+      <g>sleep</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5">
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" ph="x &#x259;#&#x2D0; &#x261;">xə#ːɡ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" ph="x &#x259;#&#x2D0; &#x261;">xə#ːɡ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5">xə#ːɡ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaːx&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xə̃ːɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>jaːxas xə̃ːɡ</p>
+  <p>jaːxas xə#ːɡ</p>
+  <il>
+    <w>
+      <o>jaːx</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xə̃ːɡ</o>
+      <g>run</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
+      <thingy type="nouncase" function="suffix" gloss="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="j a j a r">jajar</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="j a j a r">jajar</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.5" obj="3.sing.cl.5">jajar</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaːx&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tanə̃ːr&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;-aj&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;jajar&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt;</p>
+  <p>jaːxas tanə̃ːraj jajar</p>
+  <p>jaːxas tanə#ːraj jajar</p>
+  <il>
+    <w>
+      <o>jaːx</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tanə̃ːr</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>jajar</o>
+      <g>chase</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.5" possessor="no.owner">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.5" possessor="no.owner">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaːx&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tanə̃ːr&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;-aj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suːr&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;ləj&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;</p>
+  <p>jaːxas tanə̃ːraj suːr ləj</p>
+  <p>jaːxas tanə#ːraj suːr ləj</p>
+  <il>
+    <w>
+      <o>jaːx</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tanə̃ːr</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>suːr</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="t i k i l">tikil</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="b a n">ban</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="s i k &#x259; r">sikər</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="b a n">ban</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="l &#x259; &#x288; ai l">ləʈail</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.5" ph="k &#x259;#&#x2D0; k">kə#ːk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="s a n a r">sanar</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="t i k i l">tikil</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="b a n">ban</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="s i k &#x259; r">sikər</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="b a n">ban</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="l &#x259; &#x288; ai l">ləʈail</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.5" ph="k &#x259;#&#x2D0; k">kə#ːk</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">sanar</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC">tikil</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="conj" gloss="and">ban</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC">sikər</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="conj" gloss="and">ban</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.5" possessor="no.owner" role="obj" tr="rheme" case="ACC">ləʈail</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" obj="3.plur.cl.5">kə#ːk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sanar&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tikil&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;-aj&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;ban&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;sikər&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;-aj&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;ban&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;ləʈail&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;-aj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kə̃ːk&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;ləj&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;</p>
+  <p>sanaras tikilaj ban sikəraj ban ləʈailaj kə̃ːk ləj</p>
+  <p>sanaras tikilaj ban sikəraj ban ləʈailaj kə#ːk ləj</p>
+  <il>
+    <w>
+      <o>sanar</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>tikil</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ban</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>sikər</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ban</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ləʈail</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>kə̃ːk</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.5" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.5" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">man</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.5">ɡadɔir</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;man&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaːx&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;-aj&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;ɡadɔir&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;ləj&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;</p>
+  <p>man jaːxaj ɡadɔir ləj</p>
+  <p>man jaːxaj ɡadɔir ləj</p>
+  <il>
+    <w>
+      <o>man</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>jaːx</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ɡadɔir</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/case/obligatory
Got ACC
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
+        <thingy type="nouncase" function="suffix" gloss="NOM"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">
          <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
+          <thingy type="nouncase" function="suffix" gloss="ACC"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </relp>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" comma="after"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" comma="after" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" comma="after" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">man</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ɡadɔir</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">daːt</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" obj="3.sing.cl.5">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" comma="after">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;man&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡadɔir&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;ləj&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;jaːx&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suːr&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;ləj&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;tanə̃ːr&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;-aj&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;</p>
+  <p>man ɡadɔir ləj jaːxas, daːt suːr ləj tanə̃ːraj</p>
+  <p>man ɡadɔir ləj jaːxas, daːt suːr ləj tanə#ːraj</p>
+  <il>
+    <w>
+      <o>man</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɡadɔir</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>jaːx</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>daːt</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>suːr</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tanə̃ːr</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</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 NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

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

module affixdensity:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word person="1excl" number="sing" posp="pron"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np id="parent" gender="cl.5" number="sing">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
+    <np id="parent" gender="cl.5" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5">
+        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="catch"/>
        </vp>
-        <np id="parent" gender="cl.5" number="sing">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5">
+        <np id="parent" gender="cl.5" number="sing" possessor="no.owner">
+          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5">
+            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </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:

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

copyuptophrase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
          <word posp="verb" gloss="catch"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
            </vp>
          </relp>
        </np>
      </relp>
    </np>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing" possessor="no.owner">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
+            <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
+              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
+              <thingy type="vpta" function="enclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="enclitic" gloss="active"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
          </relp>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </relp>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np id="parent" gender="cl.5" number="sing" possessor="no.owner">
+    <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
        <word posp="noun" gloss="cat"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
          <word posp="pron" gloss="RELPRON"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
          <word posp="verb" gloss="catch"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
-        <np id="parent" gender="cl.5" number="sing" possessor="no.owner">
+        <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
            <word posp="noun" gloss="mouse"/>
            <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
              <word posp="pron" gloss="RELPRON"/>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
          </relp>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </relp>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
-        <word posp="noun" gloss="cat"/>
+        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
-          <word posp="pron" gloss="RELPRON"/>
+          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-          <word posp="verb" gloss="catch"/>
+          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
-            <word posp="noun" gloss="mouse"/>
+            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
            <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
-              <word posp="pron" gloss="RELPRON"/>
+              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-              <word gloss="cheese" lexposp="noun" posp="verb">
+              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
          </relp>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </relp>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for cat/noun/case/obligatory
Got NOM
About to call getSlotValue for mouse/noun/case/obligatory
Got NOM
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
        <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
+        <thingy type="nouncase" function="suffix" gloss="NOM"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <relp comma="after">
        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
          <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
          <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
            <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
+            <thingy type="nouncase" function="suffix" gloss="NOM"/>
            <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
          </np>
          <relp comma="after">
            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
              <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
            </vp>
          </relp>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </relp>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
-              <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" comma="after"/>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-              </word>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-          </relp>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-      </relp>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" comma="after"/>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" comma="after" ph="j a &#x261; u&#x2D0; x">jaɡuːx</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="i r">ir</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" comma="after" ph="j a &#x261; u&#x2D0; x">jaɡuːx</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="i r">ir</thingy>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="u r" underlying="i r">ur</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" comma="after" ph="j a &#x261; u&#x2D0; x">jaɡuːx</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="u r" underlying="i r">ur</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">man</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ɡadɔir</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">daːt</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">daːt</word>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" comma="after">jaɡuːx,</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" underlying="i r">ur</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;man&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡadɔir&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;ləj&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;jaːx&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suːr&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;ləj&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;tanə̃ːr&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jaɡuːx&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;-ir&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;ləj&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;</p>
+  <p>man ɡadɔir ləj jaːxas, daːt suːr ləj tanə̃ːras, daːt jaɡuːx,ur ləj</p>
+  <p>man ɡadɔir ləj jaːxas, daːt suːr ləj tanə#ːras, daːt jaɡuːx,ur ləj</p>
+  <il>
+    <w>
+      <o>man</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɡadɔir</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>jaːx</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>daːt</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>suːr</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tanə̃ːr</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>daːt</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>jaɡuːx</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-ir</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

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

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

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

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
-      <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-      </np>
-      <relp comma="after">
-        <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np id="parent" gender="cl.5" number="sing" possessor="no.owner" case="NOM">
-          <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.5" possessor="no.owner">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-          </np>
-          <relp comma="after">
-            <np id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            </np>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-            </vp>
-            <np id="parent" gender="cl.8" number="sing" possessor="no.owner" case="NOM">
-              <np def="def" number="sing" role="obj" locus="number" id="headnp" tr="" gender="cl.8" possessor="no.owner">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.8" possessor="no.owner"/>
    <thingy type="nouncase" function="suffix" gloss="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-              </np>
-              <relp comma="after">
-                <np id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.8" possessor="no.owner">
    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.8" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-                </np>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.8" subj="1excl.sing">
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.8" subj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-                </vp>
-                <np number="sing" def="neither" role="subj" locus="number" case="NOM" gender="cl.8" possessor="no.owner" person="1excl">
-                  <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-                </np>
-              </relp>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            </np>
-          </relp>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-      </relp>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </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>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.8" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.8" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.8" subj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s i p">sip</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.8" possessor="no.owner" ph="j a &#x261; u&#x2D0; x">jaɡuːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.8" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.8" subj="1excl.sing" ph="k a k">kak</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after" ph="m a n">man</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="&#x261; a d &#x254;i r">ɡadɔir</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="j a&#x2D0; x">jaːx</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s u&#x2D0; r">suːr</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner" ph="t a n &#x259;#&#x2D0; r">tanə#ːr</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5" ph="s i p">sip</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.8" possessor="no.owner" ph="j a &#x261; u&#x2D0; x">jaɡuːx</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.8" possessor="no.owner" ph="d a&#x2D0; t">daːt</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.8" subj="1excl.sing" ph="k a k">kak</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after" ph="m a n">man</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">man</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">ɡadɔir</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner">jaːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">daːt</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">suːr</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.5" possessor="no.owner">tanə#ːr</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="subj" comma="before" case="NOM" gender="cl.5" possessor="no.owner">daːt</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.5">sip</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" id="headnp" gender="cl.8" possessor="no.owner">jaɡuːx</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as,</thingy>
+    <word posp="pron" gloss="RELPRON" id="relnp" number="sing" def="neither" role="obj" comma="before" case="ACC" gender="cl.8" possessor="no.owner">daːt</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing.cl.8" subj="1excl.sing">kak</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" comma="after">man</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;man&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡadɔir&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;ləj&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;jaːx&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;suːr&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;ləj&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;tanə̃ːr&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sip&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;ləj&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;jaɡuːx&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;daːt&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;RELPRON&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kak&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;ləj&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;man&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>man ɡadɔir ləj jaːxas, daːt suːr ləj tanə̃ːras, daːt sip ləj jaɡuːxas, daːt kak ləj man</p>
+  <p>man ɡadɔir ləj jaːxas, daːt suːr ləj tanə#ːras, daːt sip ləj jaɡuːxas, daːt kak ləj man</p>
+  <il>
+    <w>
+      <o>man</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ɡadɔir</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>jaːx</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>daːt</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>suːr</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tanə̃ːr</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>daːt</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>sip</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>jaɡuːx</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>daːt</o>
+      <g>RELPRON</g>
+    </w>
+    <w>
+      <o>kak</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>man</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="ACC"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.5"/>
-    <thingy type="detnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.5" obj="3.sing.cl.5"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.10" number="sing" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.10" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.10" indobj="3.sing.cl.10"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="n i&#x2D0; p">niːp</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.5" possessor="no.owner" ph="x a &#x288;">xaʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x259;# n">ə#n</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="l i &#x261; a k">liɡak</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.5" obj="3.sing.cl.5" ph="x a l">xal</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.10" number="sing" possessor="no.owner" ph="s i &#x288; &#x259; &#x261;">siʈəɡ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.10" possessor="no.owner" ph="d i &#x288; &#x259;&#x2D0; l">diʈəːl</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x259;# n">ə#n</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.10" indobj="3.sing.cl.10" ph="k i &#x261; a r">kiɡar</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="n i&#x2D0; p">niːp</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.5" possessor="no.owner" ph="x a &#x288;">xaʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x259;# n">ə#n</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="l i &#x261; a k">liɡak</word>
-    <thingy type="nouncase" function="suffix" gloss="ACC" attach="suffix" ph="a j">aj</thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner" ph="r &#x259;">rə</word>
-    <thingy type="detgender" function="suffix" gloss="cl.5" attach="suffix" ph="p">p</thingy>
-    <thingy type="detnumber" function="suffix" gloss="sing" attach="suffix" ph="&#x259; p">əp</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.5" obj="3.sing.cl.5" ph="x a l">xal</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.10" number="sing" possessor="no.owner" ph="s i &#x288; &#x259; &#x261;">siʈəɡ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.10" possessor="no.owner" ph="d i &#x288; &#x259;&#x2D0; l">diʈəːl</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x259;# n">ə#n</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.10" indobj="3.sing.cl.10" ph="k i &#x261; a r">kiɡar</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">niːp</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.5" possessor="no.owner">xaʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">ə#n</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">liɡak</word>
+    <thingy type="nouncase" function="suffix" gloss="ACC">aj</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.5" possessor="no.owner">rə</word>
+    <thingy type="detgender" function="suffix" gloss="cl.5">p</thingy>
+    <thingy type="detnumber" function="suffix" gloss="sing">əp</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.5" obj="3.sing.cl.5">xal</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
+    <word gloss="COMP" posp="pp" role="subj" case="NOM" gender="cl.10" number="sing" possessor="no.owner">siʈəɡ</word>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.10" possessor="no.owner">diʈəːl</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">ə#n</thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.10" indobj="3.sing.cl.10">kiɡar</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niːp&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&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;&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;liɡak&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;-aj&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;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.5&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-əp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xal&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;ləj&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;siʈəɡ&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;diʈəː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;-ə̃n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kiɡar&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;ləj&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;</p>
+  <p>niːpas xaʈə̃n liɡakaj rəpəp xal ləj siʈəɡ diʈəːlə̃n kiɡar ləj</p>
+  <p>niːpas xaʈə#n liɡakaj rəpəp xal ləj siʈəɡ diʈəːlə#n kiɡar ləj</p>
+  <il>
+    <w>
+      <o>niːp</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xaʈ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ə̃n</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>liɡak</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-aj</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>rə</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-p</o>
+      <g>cl.5</g>
+    </w>
+    <w>
+      <o>-əp</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>xal</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>siʈəɡ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>diʈəːl</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-ə̃n</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>kiɡar</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</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 NRel:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.5" possessor="no.owner"/>
-    <thingy type="nouncase" function="suffix" gloss="DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.10" number="sing" possessor="no.owner" person="1excl"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.5" obj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="n i&#x2D0; p">niːp</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.5" possessor="no.owner" ph="x a &#x288;">xaʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x259;# n">ə#n</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="s &#x254;i p">sɔip</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="s a &#x288;">saʈ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.10" number="sing" possessor="no.owner" person="1excl" ph="s i &#x288; &#x259; &#x261;">siʈəɡ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.5" obj="1excl.sing" ph="s &#x259;# n">sə#n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner" ph="n i&#x2D0; p">niːp</word>
-    <thingy type="nouncase" function="suffix" gloss="NOM" attach="suffix" ph="a s">as</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.5" possessor="no.owner" ph="x a &#x288;">xaʈ</word>
-    <thingy type="nouncase" function="suffix" gloss="DAT" attach="suffix" ph="&#x259;# n">ə#n</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m a n">man</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="s &#x254;i p">sɔip</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="s a &#x288;">saʈ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.10" number="sing" possessor="no.owner" person="1excl" ph="s i &#x288; &#x259; &#x261;">siʈəɡ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.5" obj="1excl.sing" ph="s &#x259;# n">sə#n</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="l &#x259; j">ləj</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.6" possessor="no.owner">niːp</word>
+    <thingy type="nouncase" function="suffix" gloss="NOM">as</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.5" possessor="no.owner">xaʈ</word>
+    <thingy type="nouncase" function="suffix" gloss="DAT">ə#n</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.5" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">man</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.5" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner">sɔip</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">saʈ</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" case="ACC" gender="cl.10" number="sing" possessor="no.owner" person="1excl">siʈəɡ</word>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.6" indobj="3.sing.cl.5" obj="1excl.sing">sə#n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ləj</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niːp&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;-as&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xaʈ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;girl&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;&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;man&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sɔip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saʈ&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;siʈəɡ&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;sə̃n&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;ləj&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;</p>
+  <p>niːpas xaʈə̃n man sɔip saʈ siʈəɡ sə̃n ləj</p>
+  <p>niːpas xaʈə#n man sɔip saʈ siʈəɡ sə#n ləj</p>
+  <il>
+    <w>
+      <o>niːp</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-as</o>
+      <g>NOM</g>
+    </w>
+    <w>
+      <o>xaʈ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ə̃n</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>man</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>sɔip</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>saʈ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>siʈəɡ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>sə̃n</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>ləj</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>