initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

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

module constorder:

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

module propagatenumber:

No change.

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.1">
+    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
-        <np number="sing" def="def" locus="number" gender="cl.2">
+        <np number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4">
+    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
      <word posp="num" gloss="three"/>
      <word posp="det" gloss="yon"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="knife"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
    </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.1" obj="3.plur.cl.4">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="det" gloss="yon"/>
      <word posp="num" gloss="three"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
    </np>
  </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.1" possessor="no.owner">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="knife"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s"/>
      </pp>
+      <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.1" obj="3.plur.cl.4">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="det" gloss="yon"/>
      <word posp="num" gloss="three"/>
      <word posp="noun" gloss="mouse"/>
      <word posp="adj" gloss="blind"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.1" 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.1" possessor="no.owner"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner">
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
-        <word gloss="COMIT" posp="pp" owner="3s"/>
+        <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
      </pp>
      <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.1" obj="3.plur.cl.4">
-      <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.1" obj="3.plur.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
-      <word posp="det" gloss="yon"/>
-      <word posp="num" gloss="three"/>
-      <word posp="noun" gloss="mouse"/>
-      <word posp="adj" gloss="blind"/>
+      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for woman/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for knife/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for yon/det/gender/obligatory
Got cl.4
About to call getSlotValue for mouse/noun/number.case/obligatory
Got plur.ACC
<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.1" possessor="no.owner">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.1" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <pp role="comitative">
        <np number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
      </pp>
      <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.1" obj="3.plur.cl.4">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.plur.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="detgender" function="suffix" gloss="cl.4"/>
      <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
      <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
      <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.1" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.1" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-      <pp role="comitative">
-        <np number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-      </pp>
    <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.1" obj="3.plur.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.plur.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.4"/>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </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.1" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
-    <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.1" obj="3.plur.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.4"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.1" possessor="no.owner" ph="&#x28B; au &#x2C8; w">ʋauˈw</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner" ph="k &#x258; &#x2C8; &#x253;">kɘˈɓ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="s u d&#x361;&#x292; &#x258; &#x2C8; d&#x361;&#x292;">sud͡ʒɘˈd͡ʒ</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.1" obj="3.plur.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="k&#x2B0;&#x2B7; e &#x2C8;">kʰʷeˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="n">n</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="w i &#x2C8; n">wiˈn</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x272; i &#x27E; e &#x2C8; s">ɲiɾeˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i p">ip</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x257; ai &#x2C8;">ɗaiˈ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" 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.1" possessor="no.owner" ph="&#x28B; au &#x2C8; w">ʋauˈw</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner" ph="k &#x258; &#x2C8; &#x253;">kɘˈɓ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="s u d&#x361;&#x292; &#x258; &#x2C8; d&#x361;&#x292;">sud͡ʒɘˈd͡ʒ</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.1" obj="3.plur.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="k&#x2B0;&#x2B7; e &#x2C8;">kʰʷeˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="n">n</thingy>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="w i &#x2C8; n">wiˈn</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x272; i &#x27E; e &#x2C8; s">ɲiɾeˈs</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i p">ip</thingy>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x257; ai &#x2C8;">ɗaiˈ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" gender="cl.1" possessor="no.owner">ʋauˈw</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" gender="cl.2" possessor="no.owner">kɘˈɓ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">sud͡ʒɘˈd͡ʒ</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.1" obj="3.plur.cl.4">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">kʰʷeˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4">n</thingy>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">wiˈn</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">ɲiɾeˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC">ip</thingy>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">ɗaiˈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʋauw&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ɘɓ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;suˈd͡ʒɘd͡ʒ&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;ˈkʷɨ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkʰʷe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈwin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;three&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲiˈɾes&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;-ip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&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;ˈɗai&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈʋauwɨd͡ʒ ˈkɘɓɨd͡ʒ suˈd͡ʒɘd͡ʒ ˈkʷɨn kʰʷib ˈkʰʷen ˈwin ɲiˈɾesip ˈɗai</p>
+  <p>wauwwïj këbbïj sujëj quïn quhib quhen wwin ñiresip ddai</p>
+  <il>
+    <w>
+      <o>ˈʋauw</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈkɘɓ</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>suˈd͡ʒɘd͡ʒ</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ˈkʷɨ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈkʰʷe</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>cl.4</g>
+    </w>
+    <w>
+      <o>ˈwin</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ɲiˈɾes</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ip</o>
+      <g>plur.ACC</g>
+    </w>
+    <w>
+      <o>ˈɗai</o>
+      <g>blind</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1">
-      <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.2" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

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

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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.2" obj="3.sing.cl.1" ph="&#x25F; i &#x2C8;">ɟiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x261; &#xE6; &#x2C8; d">ɡæˈd</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1" ph="&#x25F; i &#x2C8;">ɟiˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x261; &#xE6; &#x2C8; d">ɡæˈd</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <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.2" obj="3.sing.cl.1">ɟiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q">kʰiɾ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner">ɡæˈd</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟi&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰiɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡæd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟin kʰiɾ ˈɡæd</p>
+  <p>dyin khir gäd</p>
+  <il>
+    <w>
+      <o>ˈɟi</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰiɾ</o>
+      <g>PRES.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈɡæd</o>
+      <g>3.sing.cl.1</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
+      <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.2" obj="3.sing.cl.1">
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2"/>
+      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" 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="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1">
-      <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.2" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
+      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for 3.sing.cl.2/pron/number/optional
Got sing
About to call getSlotValue for love/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 3.sing.cl.1/pron/number/optional
Got sing
<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <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.2" obj="3.sing.cl.1">
      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
+  <flat>
    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <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.2" obj="3.sing.cl.1">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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.2" obj="3.sing.cl.1"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p &#x254; &#x2C8;">pɔˈ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <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.2" obj="3.sing.cl.1" ph="&#x25F; i &#x2C8;">ɟiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x261; &#xE6; &#x2C8; d">ɡæˈd</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p &#x254; &#x2C8;">pɔˈ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <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.2" obj="3.sing.cl.1" ph="&#x25F; i &#x2C8;">ɟiˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
-    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x261; &#xE6; &#x2C8; d">ɡæˈd</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner">pɔˈ</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.2" obj="3.sing.cl.1">ɟiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q">kʰiɾ</thingy>
+    <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1" def="def" tr="theme" role="obj" locus="number" case="ACC" possessor="no.owner">ɡæˈd</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈpɔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2&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;love&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;not.&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;kʰiɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡæd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈpɔ ˈɟin kʰiɾ ˈɡæd</p>
+  <p>po dyin khir gäd</p>
+  <il>
+    <w>
+      <o>ˈpɔ</o>
+      <g>3.sing.cl.2</g>
+    </w>
+    <w>
+      <o>ˈɟi</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰiɾ</o>
+      <g>PRES.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈɡæd</o>
+      <g>3.sing.cl.1</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="NN1"/>
    </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.2" obj="3.sing.cl.1">
      <word posp="verb" gloss="hate"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="NN2"/>
    </np>
  </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.2" possessor="no.owner">
      <word posp="noun" gloss="NN1"/>
+      <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.2" obj="3.sing.cl.1">
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="NN2"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.2" 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.2" 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.2" obj="3.sing.cl.1">
-      <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.2" obj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" 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.1" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for NN1/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for hate/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for NN2/noun/number.case/obligatory
Got sing.ACC
<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <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.2" obj="3.sing.cl.1">
      <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.2" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.2" obj="3.sing.cl.1">
    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.2" obj="3.sing.cl.1"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Nigak hates Spasig.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <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.2" obj="3.sing.cl.1"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="Nigak" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" propernoun="yes" ph="n i &#x261;&#x2B7; &#xE6; &#x2C8; k&#x2B0;&#x2B7;">niɡʷæˈkʰʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.2" obj="3.sing.cl.1" ph="&#x28B; u t&#x361;&#x283; &#x251; &#x2C8;">ʋut͡ʃɑˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
+    <word posp="noun" gloss="Spasig" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner" propernoun="yes" ph="s+p &#x251; s i &#x2C8; &#x261;&#x2B7;">spɑsiˈɡʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Nigak hates Spasig.">
  <flat>
-    <word posp="noun" gloss="Nigak" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" propernoun="yes" ph="n i &#x261;&#x2B7; &#xE6; &#x2C8; k&#x2B0;&#x2B7;">niɡʷæˈkʰʷ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.2" obj="3.sing.cl.1" ph="&#x28B; u t&#x361;&#x283; &#x251; &#x2C8;">ʋut͡ʃɑˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
-    <word posp="noun" gloss="Spasig" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner" propernoun="yes" ph="s+p &#x251; s i &#x2C8; &#x261;&#x2B7;">spɑsiˈɡʷ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="Nigak" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" propernoun="yes">niɡʷæˈkʰʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</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.2" obj="3.sing.cl.1">ʋut͡ʃɑˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q">kʰiɾ</thingy>
+    <word posp="noun" gloss="Spasig" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner" propernoun="yes">spɑsiˈɡʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈɡʷækʰʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Nigak&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ʋuˈt͡ʃɑ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hate&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰiɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;spɑˈsiɡʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Spasig&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>niˈɡʷækʰʷɨd͡ʒ ʋuˈt͡ʃɑn kʰiɾ spɑˈsiɡʷɑd</p>
+  <p>Nigwäquhïj wuchan khir Spasigwad</p>
+  <il>
+    <w>
+      <o>niˈɡʷækʰʷ</o>
+      <g>Nigak</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ʋuˈt͡ʃɑ</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰiɾ</o>
+      <g>PRES.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>spɑˈsiɡʷ</o>
+      <g>Spasig</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

addaffixes:

About to call getSlotValue for apple/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for boy/noun/number.case/obligatory
Got sing.NOM
<example id="posso1" translation="the boy's apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.1" possessor="3.sing.cl.2" case="NOM">
+  <flat>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.1" possessor="3.sing.cl.2" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x261; u k &#x25B; &#x2C8; m">ɡukɛˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x261; &#x251; &#x2C8; s+t">ɡɑˈst</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.1" possessor="3.sing.cl.2" case="NOM" ph="&#x261; u k &#x25B; &#x2C8; m">ɡukɛˈm</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x261; &#x251; &#x2C8; s+t">ɡɑˈst</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.1" possessor="3.sing.cl.2" case="NOM">ɡukɛˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS">kʷɑj</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">ɡɑˈst</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuˈkɛm&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷɑj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&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;ˈɡɑst&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡuˈkɛmɨd͡ʒ kʷɑj ˈɡɑstɨd͡ʒ</p>
+  <p>gukæmïj quay gastïj</p>
+  <il>
+    <w>
+      <o>ɡuˈkɛm</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>kʷɑj</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ˈɡɑst</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for apple/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for 3.sing.cl.2/pron/number/optional
Got sing
<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" possessor="no.owner"/>
+    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <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.1" possessor="3.sing.cl.2" case="NOM">
+  <flat>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <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.1" possessor="3.sing.cl.2" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="&#x261; u k &#x25B; &#x2C8; m">ɡukɛˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" possessor="no.owner" ph="p &#x254; &#x2C8;">pɔˈ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <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.1" possessor="3.sing.cl.2" case="NOM" ph="&#x261; u k &#x25B; &#x2C8; m">ɡukɛˈm</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
-    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" possessor="no.owner" ph="p &#x254; &#x2C8;">pɔˈ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></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.1" possessor="3.sing.cl.2" case="NOM">ɡukɛˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS">kʷɑj</thingy>
+    <word posp="pron" number="sing" gender="cl.2" gloss="3.sing.cl.2" def="def" locus="number" role="owner" possessor="no.owner">pɔˈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuˈkɛm&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷɑj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&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;ˈpɔ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡuˈkɛmɨd͡ʒ kʷɑj ˈpɔ</p>
+  <p>gukæmïj quay po</p>
+  <il>
+    <w>
+      <o>ɡuˈkɛm</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>kʷɑj</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ˈpɔ</o>
+      <g>3.sing.cl.2</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

addaffixes:

About to call getSlotValue for apple/noun/number.case/obligatory
Got sing.NOM
<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM"/>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.1" possessor="1excl.sing" case="NOM">
+  <flat>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.1" possessor="1excl.sing" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM" ph="&#x261; u k &#x25B; &#x2C8; m">ɡukɛˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS" ph="&#x28E; &#x268; k">ʎɨk</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.1" possessor="1excl.sing" case="NOM" ph="&#x261; u k &#x25B; &#x2C8; m">ɡukɛˈm</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS" ph="&#x28E; &#x268; k">ʎɨk</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="1excl.sing" case="NOM">ɡukɛˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS">ʎɨk</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuˈkɛm&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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&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>ɡuˈkɛmɨd͡ʒ ʎɨk</p>
+  <p>gukæmïj llïk</p>
+  <il>
+    <w>
+      <o>ɡuˈkɛm</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ʎɨk</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 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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

unwrapOwnerOwned:

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

addaffixes:

About to call getSlotValue for daughter/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for hunter/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for kiss/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for son/noun/number.case/obligatory
Got sing.ACC
About to call getSlotValue for neighbour/noun/number.case/obligatory
Got sing.NOM
<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.1" possessor="3.sing.cl.2" case="NOM">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <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.1" obj="3.sing.cl.2">
      <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="ACC">
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="2.sing">
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="2.sing"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </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.1" possessor="3.sing.cl.2" case="NOM">
+  <flat>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.1" obj="3.sing.cl.2">
    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="ACC">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="2.sing">
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="2.sing"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </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.1" possessor="3.sing.cl.2" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <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.1" obj="3.sing.cl.2"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="2.sing"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM" ph="f au &#x2C8; &#x272;">fauˈɲ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x261; i p &#x25B; &#x2C8; &#x28B;">ɡipɛˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2" ph="s+c &#x251; w i &#x2C8;">scɑwiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="ACC" ph="n &#x258; &#x2C8; t&#x361;&#x283;">nɘˈt͡ʃ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS" ph="&#x272; &#xE6; s">ɲæs</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="2.sing" ph="s i b &#x25B; &#x2C8; &#x257;">sibɛˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="k&#x2B7; &#xE6; t&#x361;&#x283;">kʷæt͡ʃ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" 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.1" possessor="3.sing.cl.2" case="NOM" ph="f au &#x2C8; &#x272;">fauˈɲ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x261; i p &#x25B; &#x2C8; &#x28B;">ɡipɛˈʋ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2" ph="s+c &#x251; w i &#x2C8;">scɑwiˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="ACC" ph="n &#x258; &#x2C8; t&#x361;&#x283;">nɘˈt͡ʃ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS" ph="&#x272; &#xE6; s">ɲæs</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="2.sing" ph="s i b &#x25B; &#x2C8; &#x257;">sibɛˈɗ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="k&#x2B7; &#xE6; t&#x361;&#x283;">kʷæt͡ʃ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" case="NOM">fauˈɲ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS">kʷɑj</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">ɡipɛˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</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.1" obj="3.sing.cl.2">scɑwiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="ACC">nɘˈt͡ʃ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS">ɲæs</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="2.sing">sibɛˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS">kʷæt͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfauɲ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷɑj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&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;ɡiˈpɛʋ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;scɑˈwi&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈnɘt͡ʃ&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;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ɲæs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.&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;siˈbɛɗ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷæt͡ʃ&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>ˈfauɲɨd͡ʒ kʷɑj ɡiˈpɛʋɨd͡ʒ scɑˈwin kʰʷib ˈnɘt͡ʃɑd ɲæs siˈbɛɗɨd͡ʒ kʷæt͡ʃ</p>
+  <p>fauñïj quay gipæwïj styawwin quhib nëchad ñäs sibæddïj quäch</p>
+  <il>
+    <w>
+      <o>ˈfauɲ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>kʷɑj</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ɡiˈpɛʋ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>scɑˈwi</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈnɘt͡ʃ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>ɲæs</o>
+      <g>3.sing.cl.1.POSS</g>
+    </w>
+    <w>
+      <o>siˈbɛɗ</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>kʷæt͡ʃ</o>
+      <g>2.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module 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.4">
    <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.4">
+  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" 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:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

addaffixes:

About to call getSlotValue for a/det/gender/obligatory
Got cl.4
About to call getSlotValue for lamb/noun/number.case/obligatory
Got sing.NOM
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
+    <thingy type="detgender" function="suffix" gloss="cl.4"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.4" possessor="no.owner">
+  <flat>
    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.4"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.4"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="f o &#x2C8;">foˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="n">n</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="&#x257; i &#x25F; &#x254; &#x2C8; j">ɗiɟɔˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="f o &#x2C8;">foˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="n">n</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="&#x257; i &#x25F; &#x254; &#x2C8; j">ɗiɟɔˈj</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner">foˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4">n</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" gender="cl.4" possessor="no.owner">ɗiɟɔˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfo&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɗiˈɟɔj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈfon ɗiˈɟɔjɨd͡ʒ</p>
+  <p>fón ddidyoyïj</p>
+  <il>
+    <w>
+      <o>ˈfo</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>cl.4</g>
+    </w>
+    <w>
+      <o>ɗiˈɟɔj</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module adpositions:

No change.

module constorder:

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

module addgender:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<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.1" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.1" gloss="3.sing.cl.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.2" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
+          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
-          <word gloss="a" posp="det"/>
        </np>
      </subs>
    </np>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
      <word posp="verb" gloss="want"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.2" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4">
          <word posp="verb" gloss="have"/>
+          <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="lamb"/>
          <word posp="adj" gloss="little"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </subs>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
-      <word posp="verb" gloss="want"/>
+      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.2" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4">
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4"/>
          <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
-          <word gloss="a" posp="det"/>
-          <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
+          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+          <word posp="adj" gloss="little" 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>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for want/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for have/verb/comp/obligatory
Got COMP
About to call getSlotValue for a/det/gender/obligatory
Got cl.4
About to call getSlotValue for lamb/noun/number.case/obligatory
Got sing.ACC
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.2" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4"/>
+          <thingy type="verbcomp" function="suffix" gloss="COMP"/>
          <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
          <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+          <thingy type="detgender" function="suffix" gloss="cl.4"/>
          <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
          <word posp="adj" gloss="little" 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>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">
+  <flat>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np role="obj" case="ACC" gender="cl.2" number="sing" possessor="no.owner">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.4"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <word posp="adj" gloss="little" 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>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.4"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="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.1" obj="3.sing.cl.2" ph="&#x28B; o &#x2C8;">ʋoˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4" ph="n &#x251; &#x2C8;">nɑˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="d&#x361;&#x292;">d͡ʒ</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="f o &#x2C8;">foˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="n">n</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x257; i &#x25F; &#x254; &#x2C8; j">ɗiɟɔˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="k&#x2B0; u &#x2C8; n">kʰuˈn</word>
+    <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="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2" ph="&#x28B; o &#x2C8;">ʋoˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4" ph="n &#x251; &#x2C8;">nɑˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="d&#x361;&#x292;">d͡ʒ</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="f o &#x2C8;">foˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.4" attach="suffix" ph="n">n</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x257; i &#x25F; &#x254; &#x2C8; j">ɗiɟɔˈj</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
-    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="k&#x2B0; u &#x2C8; n">kʰuˈn</word>
-    <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="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.1" obj="3.sing.cl.2">ʋoˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" obj="3.sing.cl.4">nɑˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP">d͡ʒ</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">foˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.4">n</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">ɗiɟɔˈj</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</thingy>
+    <word posp="adj" gloss="little" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">kʰuˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʋo&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&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;have&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfo&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɗiˈɟɔj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʰun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈʋon kʰʷib ˈnɑd͡ʒ kʰʷib ˈfon ɗiˈɟɔjɑd ˈkʰun</p>
+  <p>wón quhib naj quhib fón ddidyoyad khun</p>
+  <il>
+    <w>
+      <o>ˈʋo</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈnɑ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-d͡ʒ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈfo</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>cl.4</g>
+    </w>
+    <w>
+      <o>ɗiˈɟɔj</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>ˈkʰun</o>
+      <g>little</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

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

prodrop:

<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.1"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
      <word posp="verb" gloss="love"/>
    </vp>
    <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.1"/>
    </np>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" 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.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <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.1"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for love/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 2.sing/pron/number/optional
Got sing
<example id="love" translation="I love you.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" 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="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
    <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.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
+  <flat>
    <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="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-    </vp>
-    <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.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <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="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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" ph="&#x25F; i &#x2C8;">ɟiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="f o &#x2C8; &#x27E;">foˈɾ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <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="&#x25F; i &#x2C8;">ɟiˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="f o &#x2C8; &#x27E;">foˈɾ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <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">ɟiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q">kʰiɾ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner">foˈɾ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟi&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰiɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfoɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟin kʰiɾ ˈfoɾ</p>
+  <p>dyin khir fór</p>
+  <il>
+    <w>
+      <o>ˈɟi</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰiɾ</o>
+      <g>PRES.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈfoɾ</o>
+      <g>2.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np type="owner_owned" number="sing">
-      <np def="def" number="sing" locus="number" gender="cl.2">
+      <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
        <word posp="noun" gloss="table"/>
      </np>
-      <np def="def" number="sing" gender="cl.4">
+      <np def="def" number="sing" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="surface"/>
      </np>
    </np>
    <word gloss="in" posp="pp" owner="3s"/>
  </pp>
</example>

module ngen:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np type="owner_owned" number="sing">
-      <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
-        <word posp="noun" gloss="table"/>
-      </np>
      <np def="def" number="sing" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="surface"/>
      </np>
+      <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
+        <word posp="noun" gloss="table"/>
      </np>
+    </np>
    <word gloss="in" posp="pp" owner="3s"/>
  </pp>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np type="owner_owned" number="sing">
      <np def="def" number="sing" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="surface"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
        <word posp="noun" gloss="table"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
    </np>
    <word gloss="in" posp="pp" owner="3s"/>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <np type="owner_owned" number="sing">
    <np def="def" number="sing" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="surface"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="table"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
-    </np>
    <word gloss="in" posp="pp" owner="3s"/>
  </pp>
</example>

movedowntoword:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" number="sing" gender="cl.4" possessor="no.owner">
-      <word posp="noun" gloss="surface"/>
+      <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
-    <word gloss="in" posp="pp" owner="3s"/>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
  </pp>
</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 surface/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for table/noun/number.case/obligatory
Got sing.NOM
<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" number="sing" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
  </pp>
</example>

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
-    <np def="def" number="sing" gender="cl.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.4" possessor="no.owner" ph="&#x27E; &#x254; &#x2C8; n">ɾɔˈn</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner" ph="&#x28B; u &#x2C8; k&#x2B0;">ʋuˈkʰ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="&#x261; &#x268; &#x2C8; m">ɡɨˈm</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.4" possessor="no.owner" ph="&#x27E; &#x254; &#x2C8; n">ɾɔˈn</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner" ph="&#x28B; u &#x2C8; k&#x2B0;">ʋuˈkʰ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes" ph="&#x261; &#x268; &#x2C8; m">ɡɨˈm</word>
+    <word posp="noun" gloss="surface" def="def" number="sing" gender="cl.4" possessor="no.owner">ɾɔˈn</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">ʋuˈkʰ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word gloss="in" posp="pp" owner="3s" p="in" location="surface" precise="yes">ɡɨˈm</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɾɔn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈʋukʰ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈɡɨm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɾɔnɨd͡ʒ ˈʋukʰɨd͡ʒ ˈɡɨm</p>
+  <p>ronïj wukhïj gïm</p>
+  <il>
+    <w>
+      <o>ˈɾɔn</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈʋukʰ</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈɡɨm</o>
+      <g>in</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module addgender:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np type="owner_owned" number="sing">
-      <np def="def" number="sing" locus="number" gender="cl.2">
+      <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
        <word posp="noun" gloss="box"/>
      </np>
-      <np def="def" number="sing" gender="cl.4">
+      <np def="def" number="sing" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="inside"/>
      </np>
    </np>
    <word gloss="to" posp="pp" owner="3s"/>
  </pp>
</example>

module ngen:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np type="owner_owned" number="sing">
-      <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
-        <word posp="noun" gloss="box"/>
-      </np>
      <np def="def" number="sing" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="inside"/>
      </np>
+      <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
+        <word posp="noun" gloss="box"/>
      </np>
+    </np>
    <word gloss="to" posp="pp" owner="3s"/>
  </pp>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np type="owner_owned" number="sing">
      <np def="def" number="sing" gender="cl.4" possessor="no.owner">
        <word posp="noun" gloss="inside"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
        <word posp="noun" gloss="box"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
    </np>
    <word gloss="to" posp="pp" owner="3s"/>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <np type="owner_owned" number="sing">
    <np def="def" number="sing" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="inside"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="box"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
-    </np>
    <word gloss="to" posp="pp" owner="3s"/>
  </pp>
</example>

movedowntoword:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" number="sing" gender="cl.4" possessor="no.owner">
-      <word posp="noun" gloss="inside"/>
+      <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
-    <word gloss="to" posp="pp" owner="3s"/>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
  </pp>
</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 inside/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for box/noun/number.case/obligatory
Got sing.NOM
<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" number="sing" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
  </pp>
</example>

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
-    <np def="def" number="sing" gender="cl.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.4" possessor="no.owner" ph="&#x261;&#x2B7; &#x251; &#x2C8; m">ɡʷɑˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner" ph="n i t&#x361;&#x283; &#x268; &#x2C8; t">nit͡ʃɨˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="t &#x258; &#x2C8; n">tɘˈn</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.4" possessor="no.owner" ph="&#x261;&#x2B7; &#x251; &#x2C8; m">ɡʷɑˈm</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner" ph="n i t&#x361;&#x283; &#x268; &#x2C8; t">nit͡ʃɨˈt</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes" ph="t &#x258; &#x2C8; n">tɘˈn</word>
+    <word posp="noun" gloss="inside" def="def" number="sing" gender="cl.4" possessor="no.owner">ɡʷɑˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" gender="cl.2" possessor="no.owner">nit͡ʃɨˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word gloss="to" posp="pp" owner="3s" p="to" location="inside" precise="yes">tɘˈn</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡʷɑm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;niˈt͡ʃɨt&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈtɘn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡʷɑmɨd͡ʒ niˈt͡ʃɨtɨd͡ʒ ˈtɘn</p>
+  <p>gwamïj nichïtïj tën</p>
+  <il>
+    <w>
+      <o>ˈɡʷɑm</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>niˈt͡ʃɨt</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈtɘn</o>
+      <g>to</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
<example id="adpos3" translation="with me">
  <pp role="comitative">
    <np number="sing" def="neither" locus="number" possessor="no.owner" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" locus="number" possessor="no.owner"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
  </pp>
</example>

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" locus="number" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" locus="number" possessor="no.owner" ph="k&#x2B7; e &#x2C8; &#x261;">kʷeˈɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="s u d&#x361;&#x292; &#x258; &#x2C8; d&#x361;&#x292;">sud͡ʒɘˈd͡ʒ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" locus="number" possessor="no.owner" ph="k&#x2B7; e &#x2C8; &#x261;">kʷeˈɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" owner="3s" role="comitative" ph="s u d&#x361;&#x292; &#x258; &#x2C8; d&#x361;&#x292;">sud͡ʒɘˈd͡ʒ</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" locus="number" possessor="no.owner">kʷeˈɡ</word>
+    <word gloss="COMIT" posp="pp" owner="3s" role="comitative">sud͡ʒɘˈd͡ʒ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkʷeɡ&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;suˈd͡ʒɘd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈkʷeɡ suˈd͡ʒɘd͡ʒ</p>
+  <p>queg sujëj</p>
+  <il>
+    <w>
+      <o>ˈkʷeɡ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>suˈd͡ʒɘd͡ʒ</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="jaguar"/>
    </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.4" obj="3.sing.cl.2">
      <word posp="verb" gloss="kill"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter"/>
    </np>
  </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.4" possessor="no.owner">
      <word posp="noun" gloss="jaguar"/>
+      <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.4" obj="3.sing.cl.2">
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.4" 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.4" 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.4" obj="3.sing.cl.2">
-      <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.4" obj="3.sing.cl.2"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" 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.2" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for jaguar/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for kill/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for hunter/noun/number.case/obligatory
Got sing.ACC
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <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.4" obj="3.sing.cl.2">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.4" obj="3.sing.cl.2">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.2"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </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.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <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.4" obj="3.sing.cl.2"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="d i &#x27E; &#x25B; &#x2C8; &#x261;&#x2B7;">diɾɛˈɡʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" obj="3.sing.cl.2" ph="t &#xE6; &#x2C8;">tæˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="&#x261; i p &#x25B; &#x2C8; &#x28B;">ɡipɛˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" 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.4" possessor="no.owner" ph="d i &#x27E; &#x25B; &#x2C8; &#x261;&#x2B7;">diɾɛˈɡʷ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" obj="3.sing.cl.2" ph="t &#xE6; &#x2C8;">tæˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner" ph="&#x261; i p &#x25B; &#x2C8; &#x28B;">ɡipɛˈʋ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner">diɾɛˈɡʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</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.4" obj="3.sing.cl.2">tæˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" gender="cl.2" possessor="no.owner">ɡipɛˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈɾɛɡʷ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈtæ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiˈpɛʋ&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;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>diˈɾɛɡʷɨd͡ʒ ˈtæn kʰʷib ɡiˈpɛʋɑd</p>
+  <p>dirægwïj tän quhib gipæwad</p>
+  <il>
+    <w>
+      <o>diˈɾɛɡʷ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈtæ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ɡiˈpɛʋ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module propagatenumber:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="lion"/>
+      <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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" number="sing" possessor="no.owner" gender="cl.4">
      <np type="owner_owned" gender="cl.4" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1">
          <word posp="noun" gloss="dog"/>
+          <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
        </np>
        <np type="owner_owned" role="owner" gender="cl.1" number="sing">
          <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
            <word posp="noun" gloss="daughter"/>
+            <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
          </np>
          <np number="sing" def="def" locus="number" role="owner" gender="cl.2" 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>
  </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.4" possessor="no.owner">
      <word posp="noun" gloss="lion"/>
      <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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np role="obj" case="ACC" number="sing" possessor="no.owner" gender="cl.4">
-      <np type="owner_owned" gender="cl.4" number="sing">
+    <np type="owner_owned" gender="cl.4" number="sing" role="obj" case="ACC" possessor="no.owner">
      <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1">
        <word posp="noun" gloss="dog"/>
        <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
      </np>
      <np type="owner_owned" role="owner" gender="cl.1" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
          <word posp="noun" gloss="daughter"/>
          <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" gender="cl.2" 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>
  </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.4" possessor="no.owner">
      <word posp="noun" gloss="lion"/>
      <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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np type="owner_owned" gender="cl.4" number="sing" role="obj" case="ACC" possessor="no.owner">
-      <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC">
      <word posp="noun" gloss="dog"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
    </np>
-      <np type="owner_owned" role="owner" gender="cl.1" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
      <word posp="noun" gloss="daughter"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="cl.2" 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"/>
  </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.4" 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.4" 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.4" obj="3.sing.cl.4">
-      <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.4" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC">
-      <word posp="noun" gloss="dog"/>
+      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
-      <word posp="noun" gloss="daughter"/>
+      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
-      <word posp="noun" gloss="hunter"/>
+      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for case/
defaultval: noun, case
returning NOM
calling defaultval for case/
defaultval: noun, case
returning NOM

addaffixes:

About to call getSlotValue for lion/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for eat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for dog/noun/number.case/obligatory
Got sing.ACC
About to call getSlotValue for daughter/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for hunter/noun/number.case/obligatory
Got sing.NOM
<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.4" possessor="no.owner">
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </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.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </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.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <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.4" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="&#x28B; &#x268; &#x261; o &#x2C8; t">ʋɨɡoˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" obj="3.sing.cl.4" ph="&#x28B; &#x25B; &#x2C8;">ʋɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC" ph="f &#x254; &#x2C8; w">fɔˈw</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS" ph="&#x272; &#xE6; s">ɲæs</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" ph="f au &#x2C8; &#x272;">fauˈɲ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x261; i p &#x25B; &#x2C8; &#x28B;">ɡipɛˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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="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.4" possessor="no.owner" ph="&#x28B; &#x268; &#x261; o &#x2C8; t">ʋɨɡoˈt</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" obj="3.sing.cl.4" ph="&#x28B; &#x25B; &#x2C8;">ʋɛˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC" ph="f &#x254; &#x2C8; w">fɔˈw</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS" ph="&#x272; &#xE6; s">ɲæs</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" ph="f au &#x2C8; &#x272;">fauˈɲ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner" ph="&#x261; i p &#x25B; &#x2C8; &#x28B;">ɡipɛˈʋ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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="lion" number="sing" def="def" role="subj" locus="number" case="NOM" gender="cl.4" possessor="no.owner">ʋɨɡoˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</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.4" obj="3.sing.cl.4">ʋɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" gender="cl.4" possessor="3.sing.cl.1" case="ACC">fɔˈw</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS">ɲæs</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">fauˈɲ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS">kʷɑj</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" gender="cl.2" possessor="no.owner">ɡipɛˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋɨˈɡot&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈʋɛ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfɔw&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;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ɲæs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.&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;ˈfauɲ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷɑj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&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;ɡiˈpɛʋ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;NOM&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʋɨˈɡotɨd͡ʒ ˈʋɛn kʰʷib ˈfɔwɑd ɲæs ˈfauɲɨd͡ʒ kʷɑj ɡiˈpɛʋɨd͡ʒ</p>
+  <p>wïgótïj wæn quhib fowwad ñäs fauñïj quay gipæwïj</p>
+  <il>
+    <w>
+      <o>ʋɨˈɡot</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈʋɛ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈfɔw</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>ɲæs</o>
+      <g>3.sing.cl.1.POSS</g>
+    </w>
+    <w>
+      <o>ˈfauɲ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>kʷɑj</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ɡiˈpɛʋ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module 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.2">
+    <np type="owner_owned" role="owner" gender="cl.1">
+      <np type="owner_owned" role="owner" gender="cl.2">
        <np number="sing" def="neither" locus="number" role="owner">
          <word person="2" number="sing" posp="pron"/>
        </np>
-        <np number="sing" def="def" locus="number" role="owned">
+        <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned">
+      <np number="sing" def="def" locus="number" role="owned" gender="cl.1">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
-    <np number="sing" def="def" locus="number" role="owned">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
      <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.2">
-    <np type="owner_owned" role="owner" gender="cl.1">
-      <np type="owner_owned" role="owner" gender="cl.2">
+  <np type="owner_owned" case="NOM" gender="cl.2" number="sing">
+    <np type="owner_owned" role="owner" gender="cl.1" number="sing">
+      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
        <np number="sing" def="neither" locus="number" role="owner">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned" gender="cl.1">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
      <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.2" number="sing">
    <np type="owner_owned" role="owner" gender="cl.1" number="sing">
      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
-        <np number="sing" def="neither" locus="number" role="owner">
-          <word person="2" number="sing" posp="pron"/>
-        </np>
-        <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
+        <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned" gender="cl.1">
+      <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
        <word posp="noun" gloss="friend"/>
      </np>
    </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.2">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1">
      <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.2" number="sing">
+    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1">
+      <word posp="noun" gloss="book"/>
+    </np>
    <np type="owner_owned" role="owner" gender="cl.1" number="sing">
+      <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
+        <word posp="noun" gloss="friend"/>
+      </np>
      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
-      <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
-        <word posp="noun" gloss="friend"/>
    </np>
  </np>
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1">
-      <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.2" number="sing">
    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1">
      <word posp="noun" gloss="book"/>
+      <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
    </np>
    <np type="owner_owned" role="owner" gender="cl.1" number="sing">
      <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
        <word posp="noun" gloss="friend"/>
+        <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
      </np>
      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
        <np number="sing" def="def" locus="number" role="owned" gender="cl.2" 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.2" number="sing">
-    <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1">
+  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="NOM">
    <word posp="noun" gloss="book"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
  </np>
-    <np type="owner_owned" role="owner" gender="cl.1" number="sing">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
    <word posp="noun" gloss="friend"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
  </np>
-      <np type="owner_owned" role="owner" gender="cl.2" number="sing">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" 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.2" possessor="3.sing.cl.1" case="NOM">
-    <word posp="noun" gloss="book"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
-    <word posp="noun" gloss="friend"/>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing">
-    <word posp="noun" gloss="son"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
  </np>
</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 book/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for friend/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for son/noun/number.case/obligatory
Got sing.NOM
<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="NOM">
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="NOM"/>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2"/>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing"/>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.2" possessor="3.sing.cl.1" case="NOM">
+  <flat>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="NOM"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing">
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.2" possessor="3.sing.cl.1" case="NOM"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="NOM" ph="&#x28E; i b &#x25B; &#x27E;">ʎibɛɾ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS" ph="&#x272; &#xE6; s">ɲæs</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" ph="c u &#x2C8; k&#x2B7;">cuˈkʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing" ph="n &#x258; &#x2C8; t&#x361;&#x283;">nɘˈt͡ʃ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="k&#x2B7; &#xE6; t&#x361;&#x283;">kʷæt͡ʃ</thingy>
  </flat>
</example>

vowelharmony:

No change.

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.2" possessor="3.sing.cl.1" case="NOM" ph="&#x28E; i b &#x25B; &#x27E;">ʎibɛɾ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS" ph="&#x272; &#xE6; s">ɲæs</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2" ph="c u &#x2C8; k&#x2B7;">cuˈkʷ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS" ph="k&#x2B7; &#x251; j">kʷɑj</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing" ph="n &#x258; &#x2C8; t&#x361;&#x283;">nɘˈt͡ʃ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="k&#x2B7; &#xE6; t&#x361;&#x283;">kʷæt͡ʃ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="3.sing.cl.1" case="NOM">ʎibɛɾ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.1.POSS">ɲæs</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" gender="cl.1" possessor="3.sing.cl.2">cuˈkʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.cl.2.POSS">kʷɑj</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" gender="cl.2" possessor="2.sing">nɘˈt͡ʃ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS">kʷæt͡ʃ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʎibɛɾ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ɲæs&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.1.&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;ˈcukʷ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷɑj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.2.&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;ˈnɘt͡ʃ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷæt͡ʃ&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>ʎibɛɾɨd͡ʒ ɲæs ˈcukʷɨd͡ʒ kʷɑj ˈnɘt͡ʃɨd͡ʒ kʷæt͡ʃ</p>
+  <p>llibærïj ñäs tyuquïj quay nëchïj quäch</p>
+  <il>
+    <w>
+      <o>ʎibɛɾ</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ɲæs</o>
+      <g>3.sing.cl.1.POSS</g>
+    </w>
+    <w>
+      <o>ˈcukʷ</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>kʷɑj</o>
+      <g>3.sing.cl.2.POSS</g>
+    </w>
+    <w>
+      <o>ˈnɘt͡ʃ</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>kʷæt͡ʃ</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 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 sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

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 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.4">
      <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.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" 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.4" 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.4">
      <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.4" 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.4">
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.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.4" 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.4" 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.4">
-      <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.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
    </vp>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for cat/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for sleep/verb/comp/obligatory
Got not.COMP
<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.4" possessor="no.owner">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4">
      <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.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.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4">
    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.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.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" ph="&#x253; e &#x2C8;">ɓeˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</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.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" ph="&#x253; e &#x2C8;">ɓeˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</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.4">ɓeˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q">kʰiɾ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟɔɗ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈɓe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰiɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟɔɗɨd͡ʒ ˈɓen kʰiɾ</p>
+  <p>dyoddïj bben khir</p>
+  <il>
+    <w>
+      <o>ˈɟɔɗ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈɓe</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰiɾ</o>
+      <g>PRES.indicative.active.POS.not.Q</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

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 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.4">
      <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.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" 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.4" 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.4">
      <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.4" 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.4">
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" 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.4" 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.4">
-      <word posp="verb" gloss="run"/>
+      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
    </vp>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for cat/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for run/verb/comp/obligatory
Got not.COMP
<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.4" possessor="no.owner">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4">
      <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    </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.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4">
    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    </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.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" ph="s e &#x2C8;">seˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</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.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" ph="s e &#x2C8;">seˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4">seˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟɔɗ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈse&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟɔɗɨd͡ʒ ˈsen</p>
+  <p>dyoddïj sen</p>
+  <il>
+    <w>
+      <o>ˈɟɔɗ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈse</o>
+      <g>run</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module addgender:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="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.4" 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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
  </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.4" 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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="chase"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" 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.4" 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.4" obj="3.sing.cl.4">
-      <word posp="verb" gloss="chase"/>
+      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" 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.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for cat/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for chase/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for mouse/noun/number.case/obligatory
Got sing.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.4" possessor="no.owner">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </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.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <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.4" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" obj="3.sing.cl.4" ph="&#x272; i s+p &#x254;i &#x2C8;">ɲispɔiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x272; i &#x27E; e &#x2C8; s">ɲiɾeˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" 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.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" obj="3.sing.cl.4" ph="&#x272; i s+p &#x254;i &#x2C8;">ɲispɔiˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x272; i &#x27E; e &#x2C8; s">ɲiɾeˈs</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing.cl.4" obj="3.sing.cl.4">ɲispɔiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">ɲiɾeˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟɔɗ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ˈspɔi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;ɲiˈɾes&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;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟɔɗɨd͡ʒ ɲiˈspɔin ɲiˈɾesɑd</p>
+  <p>dyoddïj ñispoin ñiresad</p>
+  <il>
+    <w>
+      <o>ˈɟɔɗ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ɲiˈspɔi</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>ɲiˈɾes</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module addgender:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4">
      <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="catch"/>
    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4">
      <word posp="noun" gloss="mouse"/>
    </np>
  </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.4">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" 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="catch"/>
    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4">
+    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" 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="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
  </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.4" 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="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.4" 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.4" 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.4" obj="3.sing.cl.4">
-      <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.4" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" 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.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for cat/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for mouse/noun/number.case/obligatory
Got sing.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.4" possessor="no.owner">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.4" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </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.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <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.4" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" obj="3.sing.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x272; i &#x27E; e &#x2C8; s">ɲiɾeˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" 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.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.4" obj="3.sing.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x272; i &#x27E; e &#x2C8; s">ɲiɾeˈs</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" gender="cl.4" possessor="no.owner">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</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.4" obj="3.sing.cl.4">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" gender="cl.4" possessor="no.owner">ɲiɾeˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟɔɗ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷɨ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲiˈɾes&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;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟɔɗɨd͡ʒ ˈkʷɨn kʰʷib ɲiˈɾesɑd</p>
+  <p>dyoddïj quïn quhib ñiresad</p>
+  <il>
+    <w>
+      <o>ˈɟɔɗ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈkʷɨ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ɲiˈɾes</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

module addgender:

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

flattenconjp:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" 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>
    <np role="obj" tr="rheme" case="ACC" gender="cl.4" number="plur" possessor="no.owner">
-      <conjp conj="and">
-        <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner">
+      <np def="def" number="plur" locus="number" gender="cl.4" 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.4" possessor="no.owner">
+      <np def="def" number="plur" locus="number" gender="cl.4" 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.4" possessor="no.owner">
+      <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">
        <word posp="noun" gloss="lion"/>
      </np>
-      </conjp>
    </np>
  </s>
</example>

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" 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.2" obj="3.plur.cl.4">
      <word posp="verb" gloss="kill"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" tr="rheme" case="ACC" gender="cl.4" number="plur" possessor="no.owner">
      <np def="def" number="plur" locus="number" gender="cl.4" 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.4" 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.4" 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>
  </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.2" 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.2" obj="3.plur.cl.4">
      <word posp="verb" gloss="kill"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np role="obj" tr="rheme" case="ACC" gender="cl.4" number="plur" possessor="no.owner">
    <np def="def" number="plur" locus="number" gender="cl.4" 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.4" 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.4" 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>
  </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.2" 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.2" 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.2" obj="3.plur.cl.4">
-      <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.2" obj="3.plur.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" gender="cl.4" 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.4" 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.4" 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.4" 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.4" 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.4" 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"/>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for hunter/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for kill/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for jaguar/noun/number.case/obligatory
Got plur.ACC
About to call getSlotValue for tiger/noun/number.case/obligatory
Got plur.ACC
About to call getSlotValue for lion/noun/number.case/obligatory
Got plur.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.2" possessor="no.owner">
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <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.2" obj="3.plur.cl.4">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
  </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.2" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.2" obj="3.plur.cl.4">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" obj="3.plur.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-  </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.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <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.2" obj="3.plur.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.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.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.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.4" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" ph="&#x261; i p &#x25B; &#x2C8; &#x28B;">ɡipɛˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.2" obj="3.plur.cl.4" ph="t &#xE6; &#x2C8;">tæˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="d i &#x27E; &#x25B; &#x2C8; &#x261;&#x2B7;">diɾɛˈɡʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i p">ip</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="p e &#x2C8; m">peˈm</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x272; i &#x272; &#x258; &#x2C8; k&#x2B0;">ɲiɲɘˈkʰ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i p">ip</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="p e &#x2C8; m">peˈm</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x28B; &#x268; &#x261; o &#x2C8; t">ʋɨɡoˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i p">ip</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="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.2" possessor="no.owner" ph="&#x261; i p &#x25B; &#x2C8; &#x28B;">ɡipɛˈʋ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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.2" obj="3.plur.cl.4" ph="t &#xE6; &#x2C8;">tæˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="d i &#x27E; &#x25B; &#x2C8; &#x261;&#x2B7;">diɾɛˈɡʷ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i p">ip</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="p e &#x2C8; m">peˈm</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x272; i &#x272; &#x258; &#x2C8; k&#x2B0;">ɲiɲɘˈkʰ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i p">ip</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="p e &#x2C8; m">peˈm</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x28B; &#x268; &#x261; o &#x2C8; t">ʋɨɡoˈt</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC" attach="suffix" ph="i p">ip</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="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">ɡipɛˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</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.2" obj="3.plur.cl.4">tæˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">diɾɛˈɡʷ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC">ip</thingy>
+    <word posp="conj" gloss="and">peˈm</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">ɲiɲɘˈkʰ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC">ip</thingy>
+    <word posp="conj" gloss="and">peˈm</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" gender="cl.4" possessor="no.owner" role="obj" tr="rheme" case="ACC">ʋɨɡoˈt</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="plur.ACC">ip</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡiˈpɛʋ&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈtæ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;diˈɾɛɡʷ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;jaguar&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&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;ˈpem&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;ɲiˈɲɘkʰ&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;-ip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&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;ˈpem&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;ʋɨˈɡot&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;-ip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡiˈpɛʋɨd͡ʒ ˈtæn kʰʷib diˈɾɛɡʷip ˈpem ɲiˈɲɘkʰip ˈpem ʋɨˈɡotip</p>
+  <p>gipæwïj tän quhib dirægwip pem ñiñëkhip pem wïgótip</p>
+  <il>
+    <w>
+      <o>ɡiˈpɛʋ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈtæ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>diˈɾɛɡʷ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-ip</o>
+      <g>plur.ACC</g>
+    </w>
+    <w>
+      <o>ˈpem</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ɲiˈɲɘkʰ</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-ip</o>
+      <g>plur.ACC</g>
+    </w>
+    <w>
+      <o>ˈpem</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ʋɨˈɡot</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-ip</o>
+      <g>plur.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

No change.

module adpositions:

No change.

module constorder:

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

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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4">
      <word posp="noun" gloss="cat"/>
    </np>
  </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4">
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </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="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.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
  </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.1"/>
    </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.4">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
-      <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.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" 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.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for pat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for cat/noun/number.case/obligatory
Got sing.ACC
<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <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.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
+  <flat>
    <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.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <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.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4" ph="n i k&#x2B7; &#x25B; &#x2C8;">nikʷɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <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.4" ph="n i k&#x2B7; &#x25B; &#x2C8;">nikʷɛˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x25F; &#x254; &#x2C8; &#x257;">ɟɔˈɗ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</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.4">nikʷɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">ɟɔˈɗ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈkʷɛ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟɔɗ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>niˈkʷɛn kʰʷib ˈɟɔɗɑd</p>
+  <p>niquæn quhib dyoddad</p>
+  <il>
+    <w>
+      <o>niˈkʷɛ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈɟɔɗ</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

<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="catch"/>
+    </vp>
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+      <word posp="noun" gloss="cat"/>
+    </np>
+    <np def="def" number="sing" role="obj" locus="number">
+      <word posp="noun" gloss="mouse"/>
+    </np>
+  </s>
+  <s connector="then">
+    <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" ta="PAST">
-          <word posp="verb" gloss="catch"/>
-        </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <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:

<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="catch"/>
    </vp>
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
      <word posp="noun" gloss="cat"/>
    </np>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
  <s connector="then">
+    <word gloss="then" posp="conj"/>
    <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">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
  </s>
</example>

module subordinate:

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="catch"/>
-    </vp>
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
      <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="catch"/>
+    </vp>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
  <s connector="then">
-    <word gloss="then" posp="conj"/>
-    <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 role="obj">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
+    <word gloss="then" posp="conj"/>
  </s>
</example>

module casemarking:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
      <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="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>
  </s>
  <s connector="then">
-    <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 role="obj">
+    <np role="obj" case="ACC">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module addgender:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="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.4">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np role="obj" case="ACC" gender="cl.4">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module propagatenumber:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="catch"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
-      <word posp="noun" gloss="cat"/>
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </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.4">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
-        <word posp="noun" gloss="cat"/>
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module markowned:

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

copyuptophrase:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
  <s connector="then">
-    <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.1"/>
    </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.4">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

prodrop:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
  <s connector="then">
-    <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.1"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
+    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
-      <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.4" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" 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.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
-      <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.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for mouse/noun/number.case/obligatory
Got sing.ACC
About to call getSlotValue for pat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 3.sing.cl.4/pron/number/optional
Got sing
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <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.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
+  <flat>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
-  <s connector="then">
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
    <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.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x272; i &#x27E; e &#x2C8; s">ɲiɾeˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</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.4" ph="n i k&#x2B7; &#x25B; &#x2C8;">nikʷɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="&#x272; i &#x27E; e &#x2C8; s">ɲiɾeˈs</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</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.4" ph="n i k&#x2B7; &#x25B; &#x2C8;">nikʷɛˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</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.4" obj="3.sing.cl.4">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">ɲiɾeˈs</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</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.4">nikʷɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC">duˈɲ</word>
+    <word gloss="then" posp="conj">jæˈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkʷɨ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲiˈɾes&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;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈkʷɛ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4&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;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈkʷɨn kʰʷib ɲiˈɾesɑd niˈkʷɛn kʰʷib ˈduɲ ˈjæ</p>
+  <p>quïn quhib ñiresad niquæn quhib duñ yä</p>
+  <il>
+    <w>
+      <o>ˈkʷɨ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ɲiˈɾes</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>niˈkʷɛ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈduɲ</o>
+      <g>3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ˈjæ</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

<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"/>
+      <word posp="verb" gloss="eat"/>
    </vp>
-    <np number="sing" def="neither" role="subj" locus="number">
-      <word person="1excl" number="sing" posp="pron"/>
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+      <word posp="noun" gloss="mouse"/>
    </np>
-    <np role="obj">
-      <relp>
+    <np def="def" number="sing" role="obj" locus="number">
+      <word posp="noun" gloss="cheese"/>
+    </np>
+  </s>
+  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
      <word posp="noun" gloss="cat"/>
    </np>
    <np role="obj">
-          <relp>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-              <word posp="verb" gloss="eat"/>
-            </vp>
-            <np def="def" number="sing" role="subj" head="this" locus="number">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="mouse"/>
      </np>
-            <np def="def" number="sing" role="obj" locus="number">
-              <word posp="noun" gloss="cheese"/>
    </np>
-          </relp>
+  </s>
+  <s connector="then">
+    <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>
-      </relp>
+    <np role="obj">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+        <word posp="noun" gloss="cat"/>
      </np>
+    </np>
  </s>
</example>

module sentenceconnectors:

<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="eat"/>
    </vp>
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
      <word posp="noun" gloss="mouse"/>
    </np>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
+    <word gloss="then" posp="conj"/>
    <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" output="aspron">
      <word posp="noun" gloss="cat"/>
    </np>
    <np role="obj">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
  </s>
  <s connector="then">
+    <word gloss="then" posp="conj"/>
    <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">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
  </s>
</example>

module subordinate:

No change.

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="eat"/>
-    </vp>
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
      <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="eat"/>
+    </vp>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <word gloss="then" posp="conj"/>
-    <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" output="aspron">
      <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="catch"/>
+    </vp>
    <np role="obj">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
+    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <word gloss="then" posp="conj"/>
-    <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 role="obj">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
+    <word gloss="then" posp="conj"/>
  </s>
</example>

module casemarking:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
      <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="eat"/>
    </vp>
-    <np def="def" number="sing" role="obj" locus="number">
+    <np def="def" number="sing" role="obj" locus="number" case="ACC">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
      <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="catch"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="ACC">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <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 role="obj">
+    <np role="obj" case="ACC">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module addgender:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="eat"/>
    </vp>
-    <np def="def" number="sing" role="obj" locus="number" case="ACC">
+    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="catch"/>
    </vp>
-    <np role="obj" case="ACC">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np role="obj" case="ACC" gender="cl.4">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np role="obj" case="ACC" gender="cl.4">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module propagatenumber:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="eat"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="catch"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
-      <word posp="noun" gloss="mouse"/>
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
-      <word posp="noun" gloss="cat"/>
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
-        <word posp="noun" gloss="mouse"/>
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
-        <word posp="noun" gloss="cat"/>
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module markowned:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
-    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4">
+    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <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 role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </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 def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <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.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

copyuptophrase:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <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.1"/>
    </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.4">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

prodrop:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <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.1"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cheese"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cheese"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
+    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
+    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
-      <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.4" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
-      <word posp="noun" gloss="cheese"/>
+      <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
-      <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.4" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
-      <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.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for eat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for cheese/noun/number.case/obligatory
Got sing.ACC
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 3.sing.cl.4/pron/number/optional
Got sing
About to call getSlotValue for pat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 3.sing.cl.4/pron/number/optional
Got sing
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <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.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
+  <flat>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
-  <s connector="then">
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
-  </s>
-  <s connector="then">
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
    <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.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.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.4" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="then" posp="conj"/>
-    <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.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="&#x28B; &#x25B; &#x2C8;">ʋɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="k&#x2B0;&#x2B7; &#x268; &#x261; &#x258; &#x2C8; &#x27E;">kʰʷɨɡɘˈɾ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</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.4" obj="3.sing.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</word>
+    <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.4" ph="n i k&#x2B7; &#x25B; &#x2C8;">nikʷɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4" ph="&#x28B; &#x25B; &#x2C8;">ʋɛˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner" ph="k&#x2B0;&#x2B7; &#x268; &#x261; &#x258; &#x2C8; &#x27E;">kʰʷɨɡɘˈɾ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</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.4" obj="3.sing.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</word>
-    <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.4" ph="n i k&#x2B7; &#x25B; &#x2C8;">nikʷɛˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</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.4" obj="3.sing.cl.4">ʋɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" case="ACC" gender="cl.4" possessor="no.owner">kʰʷɨɡɘˈɾ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</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.4" obj="3.sing.cl.4">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC">duˈɲ</word>
+    <word gloss="then" posp="conj">jæˈ</word>
+    <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.4">nikʷɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC">duˈɲ</word>
+    <word gloss="then" posp="conj">jæˈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʋɛ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰʷɨˈɡɘɾ&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;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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ʷɨ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4&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;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈkʷɛ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4&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;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈʋɛn kʰʷib kʰʷɨˈɡɘɾɑd ˈkʷɨn kʰʷib ˈduɲ ˈjæ niˈkʷɛn kʰʷib ˈduɲ ˈjæ</p>
+  <p>wæn quhib quhïgërad quïn quhib duñ yä niquæn quhib duñ yä</p>
+  <il>
+    <w>
+      <o>ˈʋɛ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>kʰʷɨˈɡɘɾ</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>ˈkʷɨ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈduɲ</o>
+      <g>3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ˈjæ</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>niˈkʷɛ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈduɲ</o>
+      <g>3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ˈjæ</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

<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"/>
+      <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" output="aspron">
+      <word posp="noun" gloss="cheese"/>
+    </np>
+  </s>
+  <s connector="then">
+    <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" output="aspron">
+      <word posp="noun" gloss="mouse"/>
+    </np>
    <np role="obj">
-      <relp>
+      <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron">
+        <word posp="noun" gloss="cheese"/>
+      </np>
+    </np>
+  </s>
+  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-        <np def="def" number="sing" role="subj" head="this" locus="number">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
      <word posp="noun" gloss="cat"/>
    </np>
    <np role="obj">
-          <relp>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-              <word posp="verb" gloss="eat"/>
-            </vp>
-            <np def="def" number="sing" role="subj" head="this" locus="number">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="mouse"/>
      </np>
-            <np role="obj">
-              <relp>
+    </np>
+  </s>
+  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-                  <word posp="verb" gloss="buy"/>
+      <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" role="obj" head="this" locus="number">
-                  <word posp="noun" gloss="cheese"/>
-                </np>
-              </relp>
-            </np>
-          </relp>
+    <np role="obj">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+        <word posp="noun" gloss="cat"/>
      </np>
-      </relp>
    </np>
  </s>
</example>

module sentenceconnectors:

<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="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" output="aspron">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
+    <word gloss="then" posp="conj"/>
    <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" output="aspron">
      <word posp="noun" gloss="mouse"/>
    </np>
    <np role="obj">
      <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cheese"/>
      </np>
    </np>
  </s>
  <s connector="then">
+    <word gloss="then" posp="conj"/>
    <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" output="aspron">
      <word posp="noun" gloss="cat"/>
    </np>
    <np role="obj">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
  </s>
  <s connector="then">
+    <word gloss="then" posp="conj"/>
    <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">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
  </s>
</example>

module subordinate:

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="buy"/>
-    </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="buy"/>
+    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <word gloss="then" posp="conj"/>
-    <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" output="aspron">
      <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="eat"/>
+    </vp>
    <np role="obj">
      <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cheese"/>
      </np>
    </np>
+    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <word gloss="then" posp="conj"/>
-    <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" output="aspron">
      <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="catch"/>
+    </vp>
    <np role="obj">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
+    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <word gloss="then" posp="conj"/>
-    <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 role="obj">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
+    <word gloss="then" posp="conj"/>
  </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="buy"/>
    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron">
+    <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron" case="ACC">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
      <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="eat"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="ACC">
      <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cheese"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
      <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="catch"/>
    </vp>
-    <np role="obj">
+    <np role="obj" case="ACC">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <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 role="obj">
+    <np role="obj" case="ACC">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module addgender:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="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="buy"/>
    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron" case="ACC">
+    <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron" case="ACC" gender="cl.4">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="eat"/>
    </vp>
-    <np role="obj" case="ACC">
-      <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron">
+    <np role="obj" case="ACC" gender="cl.4">
+      <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="cheese"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM">
+    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="catch"/>
    </vp>
-    <np role="obj" case="ACC">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np role="obj" case="ACC" gender="cl.4">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron">
+    <np role="obj" case="ACC" gender="cl.4">
+      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </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="buy"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron" case="ACC" gender="cl.4">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="eat"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing">
      <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="cheese"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
      <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="catch"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="mouse"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
        <word posp="noun" gloss="cat"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

<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="buy"/>
    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron" case="ACC" gender="cl.4">
-      <word posp="noun" gloss="cheese"/>
+    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4">
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
-      <word posp="noun" gloss="mouse"/>
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="obj" head="this" locus="number" output="aspron" gender="cl.4">
-        <word posp="noun" gloss="cheese"/>
+      <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4">
+        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" case="NOM" gender="cl.4">
-      <word posp="noun" gloss="cat"/>
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
-        <word posp="noun" gloss="mouse"/>
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <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 role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" output="aspron" gender="cl.4">
-        <word posp="noun" gloss="cat"/>
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

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="buy"/>
    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4">
+    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4">
+    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <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 role="obj" case="ACC" gender="cl.4" number="sing">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4">
+    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
+      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </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.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="buy"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <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.1"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </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.1"/>
    </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.4">
      <word posp="verb" gloss="buy"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </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.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <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.1"/>
    </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.4">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

prodrop:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="buy"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
    </np>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number" case="NOM" gender="cl.4" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <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.1"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addclitics:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="buy"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
        <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="buy"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner">
+    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
+    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
-    <np role="obj" case="ACC" gender="cl.4" number="sing" possessor="no.owner">
-      <np def="def" number="sing" role="subj" head="this" locus="number" gender="cl.4" possessor="no.owner">
+    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
-      <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" subj="1excl.sing" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" case="ACC" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
-      <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.4" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
-      <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.4" obj="3.sing.cl.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
-      <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.4"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
-      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4"/>
+      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for buy/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 3.sing.cl.4/pron/number/optional
Got sing
About to call getSlotValue for eat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 3.sing.cl.4/pron/number/optional
Got sing
About to call getSlotValue for catch/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 3.sing.cl.4/pron/number/optional
Got sing
About to call getSlotValue for pat/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for 3.sing.cl.4/pron/number/optional
Got sing
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" case="ACC" possessor="no.owner"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
      <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.4"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
      <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
+  <flat>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" case="ACC" gender="cl.4" possessor="no.owner">
    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" case="ACC" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </s>
-  <s connector="then">
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
-  </s>
-  <s connector="then">
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
-  </s>
-  <s connector="then">
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">
    <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.4"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" role="obj" head="this" locus="number" gender="cl.4" possessor="no.owner" case="ACC">
    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <word gloss="then" posp="conj"/>
-  </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 posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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.4" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.4" obj="3.sing.cl.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="then" posp="conj"/>
-    <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.4"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4" ph="&#x25F; o &#x2C8;">ɟoˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" case="ACC" possessor="no.owner" ph="d u &#x2C8; &#x272;">duˈɲ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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.4" obj="3.sing.cl.4" ph="&#x28B; &#x25B; &#x2C8;">ʋɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</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.4" obj="3.sing.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</word>
+    <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.4" ph="n i k&#x2B7; &#x25B; &#x2C8;">nikʷɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4" ph="&#x25F; o &#x2C8;">ɟoˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" case="ACC" possessor="no.owner" ph="d u &#x2C8; &#x272;">duˈɲ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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.4" obj="3.sing.cl.4" ph="&#x28B; &#x25B; &#x2C8;">ʋɛˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</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.4" obj="3.sing.cl.4" ph="k&#x2B7; &#x268; &#x2C8;">kʷɨˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</word>
-    <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.4" ph="n i k&#x2B7; &#x25B; &#x2C8;">nikʷɛˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC" ph="d u &#x2C8; &#x272;">duˈɲ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 gloss="then" posp="conj" ph="j &#xE6; &#x2C8;">jæˈ</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing.cl.4">ɟoˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" case="ACC" possessor="no.owner">duˈɲ</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.4" obj="3.sing.cl.4">ʋɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC">duˈɲ</word>
+    <word gloss="then" posp="conj">jæˈ</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.4" obj="3.sing.cl.4">kʷɨˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC">duˈɲ</word>
+    <word gloss="then" posp="conj">jæˈ</word>
+    <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.4">nikʷɛˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="pron" number="sing" gender="cl.4" gloss="3.sing.cl.4" def="def" role="obj" head="this" locus="number" possessor="no.owner" case="ACC">duˈɲ</word>
+    <word gloss="then" posp="conj">jæˈ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɟo&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈʋɛ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;eat&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;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4&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;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈkʷɨ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4&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;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;niˈkʷɛ&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈduɲ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.cl.4&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;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɟon kʰʷib ˈduɲ ˈʋɛn kʰʷib ˈduɲ ˈjæ ˈkʷɨn kʰʷib ˈduɲ ˈjæ niˈkʷɛn kʰʷib ˈduɲ ˈjæ</p>
+  <p>dyón quhib duñ wæn quhib duñ yä quïn quhib duñ yä niquæn quhib duñ yä</p>
+  <il>
+    <w>
+      <o>ˈɟo</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈduɲ</o>
+      <g>3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ˈʋɛ</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈduɲ</o>
+      <g>3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ˈjæ</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>ˈkʷɨ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈduɲ</o>
+      <g>3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ˈjæ</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>niˈkʷɛ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈduɲ</o>
+      <g>3.sing.cl.4</g>
+    </w>
+    <w>
+      <o>ˈjæ</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module adpositions:

No change.

module constorder:

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

module addgender:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="NOM" gender="cl.2" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="boy"/>
+          <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" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1">
          <word posp="verb" gloss="give"/>
+          <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" 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.1" possessor="no.owner">
          <word gloss="a" posp="det"/>
          <word posp="noun" gloss="apple"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </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.2" indobj="3.sing.cl.1">
      <word posp="verb" gloss="surprise"/>
+      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="teacher"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" case="NOM" gender="cl.2" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" 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.2" 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" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1">
-          <word posp="verb" gloss="give"/>
+          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1"/>
          <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" 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.1" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
-          <word gloss="a" posp="det"/>
-          <word posp="noun" gloss="apple"/>
+          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
+          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </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.2" indobj="3.sing.cl.1">
-      <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.2" indobj="3.sing.cl.1"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" 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.1" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for boy/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for give/verb/comp/obligatory
Got COMP
About to call getSlotValue for girl/noun/number.case/obligatory
Got sing.DAT
About to call getSlotValue for a/det/gender/obligatory
Got cl.1
About to call getSlotValue for apple/noun/number.case/obligatory
Got sing.ACC
About to call getSlotValue for surprise/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for teacher/noun/number.case/obligatory
Got sing.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.2" number="sing" possessor="no.owner">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
          <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" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1">
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1"/>
+          <thingy type="verbcomp" function="suffix" gloss="COMP"/>
          <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <np number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
          <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
+          <thingy type="detgender" function="suffix" gloss="cl.1"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </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.2" indobj="3.sing.cl.1">
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.2" number="sing" possessor="no.owner">
-      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1">
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1"/>
    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <np number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">
    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
    <thingy type="detgender" function="suffix" gloss="cl.1"/>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-      </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.2" indobj="3.sing.cl.1">
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </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.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <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" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1"/>
-    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
-    <thingy type="detgender" function="suffix" gloss="cl.1"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <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.2" indobj="3.sing.cl.1"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" ph="&#x261; &#x251; &#x2C8; s+t">ɡɑˈst</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1" ph="p u &#x2C8;">puˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="d&#x361;&#x292;">d͡ʒ</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="j &#x254; &#x2C8; &#x28B;">jɔˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="&#x251; f">ɑf</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner" ph="f o &#x2C8;">foˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner" ph="&#x261; u k &#x25B; &#x2C8; m">ɡukɛˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</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="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" ph="p &#xE6; k&#x2B0; &#x254;i &#x2C8;">pækʰɔiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x261; i t &#x25B; &#x27E;">ɡitɛɾ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="&#x251; f">ɑf</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" 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.2" possessor="no.owner" ph="&#x261; &#x251; &#x2C8; s+t">ɡɑˈst</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</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" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1" ph="p u &#x2C8;">puˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="d&#x361;&#x292;">d͡ʒ</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="j &#x254; &#x2C8; &#x28B;">jɔˈʋ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="&#x251; f">ɑf</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner" ph="f o &#x2C8;">foˈ</word>
-    <thingy type="detgender" function="suffix" gloss="cl.1" attach="suffix" ph="t&#x361;&#x283;">t͡ʃ</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner" ph="&#x261; u k &#x25B; &#x2C8; m">ɡukɛˈm</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC" attach="suffix" ph="&#x251; d">ɑd</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="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing.cl.2" indobj="3.sing.cl.1" ph="p &#xE6; k&#x2B0; &#x254;i &#x2C8;">pækʰɔiˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="&#x261; i t &#x25B; &#x27E;">ɡitɛɾ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="&#x251; f">ɑf</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">ɡɑˈst</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" comp="COMP" subj="3.sing.cl.2" indobj="3.sing.cl.1" obj="3.sing.cl.1">puˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP">d͡ʒ</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" gender="cl.1" possessor="no.owner">jɔˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT">ɑf</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">foˈ</word>
+    <thingy type="detgender" function="suffix" gloss="cl.1">t͡ʃ</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" gender="cl.1" possessor="no.owner">ɡukɛˈm</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.ACC">ɑd</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.2" indobj="3.sing.cl.1">pækʰɔiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">ɡitɛɾ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT">ɑf</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡɑst&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈpu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;give&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d͡ʒ&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&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;girl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɑf&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈfo&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cl.1&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡuˈkɛm&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;-ɑd&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;pæˈkʰɔi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surprise&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡitɛɾ&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;-ɑf&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡɑstɨd͡ʒ ˈpud͡ʒ kʰʷib ˈjɔʋɑf ˈfot͡ʃ ɡuˈkɛmɑd pæˈkʰɔin kʰʷib ɡitɛɾɑf</p>
+  <p>gastïj puj quhib yowaf fóch gukæmad päkhoin quhib gitæraf</p>
+  <il>
+    <w>
+      <o>ˈɡɑst</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈpu</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-d͡ʒ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈjɔʋ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ɑf</o>
+      <g>sing.DAT</g>
+    </w>
+    <w>
+      <o>ˈfo</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>-t͡ʃ</o>
+      <g>cl.1</g>
+    </w>
+    <w>
+      <o>ɡuˈkɛm</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>-ɑd</o>
+      <g>sing.ACC</g>
+    </w>
+    <w>
+      <o>pæˈkʰɔi</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ɡitɛɾ</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>-ɑf</o>
+      <g>sing.DAT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module subordinate:

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

module adpositions:

No change.

module constorder:

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

module addgender:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" 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.2" 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.2" indobj="3.sing.cl.1" 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.2" indobj="3.sing.cl.1" obj="1excl.sing"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" 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.1" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np role="obj" tr="rheme" case="ACC" gender="cl.2" 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.1"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" 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="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" 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" comp="COMP" subj="1excl.sing" obj="2.sing"/>
          <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
        </vp>
        <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.1"/>
+          <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </s>
</example>
calling defaultval for comp/
defaultval: verb, comp
returning not.COMP

addaffixes:

About to call getSlotValue for boy/noun/number.case/obligatory
Got sing.NOM
About to call getSlotValue for tell/verb/comp/obligatory
Got not.COMP
About to call getSlotValue for girl/noun/number.case/obligatory
Got sing.DAT
About to call getSlotValue for 1excl.sing/pron/number/optional
Got sing
About to call getSlotValue for love/verb/comp/obligatory
Got COMP
About to call getSlotValue for 2.sing/pron/number/optional
Got sing
<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.2" possessor="no.owner">
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
      <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.2" indobj="3.sing.cl.1" 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.2" indobj="3.sing.cl.1" obj="1excl.sing"/>
+      <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
      <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
+      <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np role="obj" tr="rheme" case="ACC" gender="cl.2" 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.1" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
          <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" comp="COMP" 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" comp="COMP" subj="1excl.sing" obj="2.sing"/>
+          <thingy type="verbcomp" function="suffix" gloss="COMP"/>
          <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
        </vp>
        <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.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
  </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.2" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
    <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.2" indobj="3.sing.cl.1" 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.2" indobj="3.sing.cl.1" obj="1excl.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np role="obj" tr="rheme" case="ACC" gender="cl.2" 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.1" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <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" comp="COMP" 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" comp="COMP" subj="1excl.sing" obj="2.sing"/>
    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-        </vp>
-        <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.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-  </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.2" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM"/>
-    <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.2" indobj="3.sing.cl.1" obj="1excl.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <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" comp="COMP" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="verbcomp" function="suffix" gloss="COMP"/>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner" ph="&#x261; &#x251; &#x2C8; s+t">ɡɑˈst</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
+    <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.2" indobj="3.sing.cl.1" obj="1excl.sing" ph="c u &#x2C8;">cuˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="j &#x254; &#x2C8; &#x28B;">jɔˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="&#x251; f">ɑf</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="k&#x2B7; e &#x2C8; &#x261;">kʷeˈɡ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <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" comp="COMP" subj="1excl.sing" obj="2.sing" ph="&#x25F; i &#x2C8;">ɟiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="d&#x361;&#x292;">d͡ʒ</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="f o &#x2C8; &#x27E;">foˈɾ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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="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.2" possessor="no.owner" ph="&#x261; &#x251; &#x2C8; s+t">ɡɑˈst</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM" attach="suffix" ph="&#x268; d&#x361;&#x292;">ɨd͡ʒ</thingy>
-    <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.2" indobj="3.sing.cl.1" obj="1excl.sing" ph="c u &#x2C8;">cuˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="not.COMP" attach="suffix" ph="n">n</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q" ph="k&#x2B0;&#x2B7; i b">kʰʷib</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner" ph="j &#x254; &#x2C8; &#x28B;">jɔˈʋ</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT" attach="suffix" ph="&#x251; f">ɑf</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" ph="k&#x2B7; e &#x2C8; &#x261;">kʷeˈɡ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <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" comp="COMP" subj="1excl.sing" obj="2.sing" ph="&#x25F; i &#x2C8;">ɟiˈ</word>
-    <thingy type="verbcomp" function="suffix" gloss="COMP" attach="suffix" ph="d&#x361;&#x292;">d͡ʒ</thingy>
-    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q" ph="k&#x2B0; i &#x27E;">kʰiɾ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="f o &#x2C8; &#x27E;">foˈɾ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" 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 posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" gender="cl.2" possessor="no.owner">ɡɑˈst</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.NOM">ɨd͡ʒ</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.2" indobj="3.sing.cl.1" obj="1excl.sing">cuˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="not.COMP">n</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PAST.indicative.active.POS.not.Q">kʰʷib</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" gender="cl.1" possessor="no.owner">jɔˈʋ</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.DAT">ɑf</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" gender="cl.1" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">kʷeˈɡ</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" comp="COMP" subj="1excl.sing" obj="2.sing">ɟiˈ</word>
+    <thingy type="verbcomp" function="suffix" gloss="COMP">d͡ʒ</thingy>
+    <thingy type="vpta.mode.voice.negation.question" function="enclitic" gloss="PRES.indicative.active.POS.not.Q">kʰiɾ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" gender="cl.1" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner">foˈɾ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈɡɑst&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;-ɨd͡ʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈcu&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;-n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;not.&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;kʰʷib&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&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;girl&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-ɑf&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ˈkʷeɡ&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;ˈɟi&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;-d͡ʒ&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;kʰiɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.indicative.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;.not.Q&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ˈfoɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ˈɡɑstɨd͡ʒ ˈcun kʰʷib ˈjɔʋɑf ˈkʷeɡ ˈɟid͡ʒ kʰiɾ ˈfoɾ</p>
+  <p>gastïj tyun quhib yowaf queg dyij khir fór</p>
+  <il>
+    <w>
+      <o>ˈɡɑst</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ɨd͡ʒ</o>
+      <g>sing.NOM</g>
+    </w>
+    <w>
+      <o>ˈcu</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-n</o>
+      <g>not.COMP</g>
+    </w>
+    <w>
+      <o>kʰʷib</o>
+      <g>PAST.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈjɔʋ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-ɑf</o>
+      <g>sing.DAT</g>
+    </w>
+    <w>
+      <o>ˈkʷeɡ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ˈɟi</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-d͡ʒ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>kʰiɾ</o>
+      <g>PRES.indicative.active.POS.not.Q</g>
+    </w>
+    <w>
+      <o>ˈfoɾ</o>
+      <g>2.sing</g>
+    </w>
+  </il>
</example>