initial XML:

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

cleanup:

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

module adj2verb:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

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

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for woman/noun/number/optional
Got sing
About to call getSlotValue for knife/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/number/optional
Got plur
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <subs>
      <vp tam="pres-state" ta="PRES">
        <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES"/>
        <thingy type="vpta" function="enclitic" gloss="PRES"/>
      </vp>
      <word gloss="COMP" posp="pp"/>
    </subs>
    <np role="obj" number="plur" def="def" tr="rheme" locus="number">
      <word posp="det" gloss="yon" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
      <word posp="num" gloss="three" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
      <word posp="noun" gloss="mouse" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </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">
+  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np number="sing" def="def" locus="number">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-      </pp>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <subs>
-      <vp tam="pres-state" ta="PRES">
    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-      </vp>
    <word gloss="COMP" posp="pp"/>
-    </subs>
-    <np role="obj" number="plur" def="def" tr="rheme" locus="number">
    <word posp="det" gloss="yon" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
    <word posp="num" gloss="three" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
    <word posp="noun" gloss="mouse" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <word gloss="COMP" posp="pp"/>
-    <word posp="det" gloss="yon" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
-    <word posp="num" gloss="three" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
-    <word posp="noun" gloss="mouse" role="obj" number="plur" def="def" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" ph="s u &#xA712; p">su꜒p</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="k y &#xA716; t&#x2B0; o &#xA716;&#xA712; p">ky꜖tʰo꜖꜒p</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="p o &#xA716;">po꜖</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" ph="w &#x289; &#xA712; t&#x361;&#x283;">wʉ꜒t͡ʃ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="det" gloss="yon" role="obj" number="plur" def="def" tr="rheme" locus="number" ph="f e &#xA712;&#xA716; &#x14B;">fe꜒꜖ŋ</word>
+    <word posp="num" gloss="three" role="obj" number="plur" def="def" tr="rheme" locus="number" ph="x e &#xA712; &#x27E;">xe꜒ɾ</word>
+    <word posp="noun" gloss="mouse" role="obj" number="plur" def="def" tr="rheme" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="y &#xA716; k">y꜖k</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" ph="s u &#xA712; p">su꜒p</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="k y &#xA716; t&#x2B0; o &#xA716;&#xA712; p">ky꜖tʰo꜖꜒p</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" ph="p o &#xA716;">po꜖</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" ph="w &#x289; &#xA712; t&#x361;&#x283;">wʉ꜒t͡ʃ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="det" gloss="yon" role="obj" number="plur" def="def" tr="rheme" locus="number" ph="f e &#xA712;&#xA716; &#x14B;">fe꜒꜖ŋ</word>
-    <word posp="num" gloss="three" role="obj" number="plur" def="def" tr="rheme" locus="number" ph="x e &#xA712; &#x27E;">xe꜒ɾ</word>
-    <word posp="noun" gloss="mouse" role="obj" number="plur" def="def" tr="rheme" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="y &#xA716; k">y꜖k</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number">su꜒p</word>
+    <word gloss="COMIT" posp="pp" role="comitative">ky꜖tʰo꜖꜒p</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number">po꜖</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES">wʉ꜒t͡ʃ</word>
+    <word gloss="COMP" posp="pp">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="det" gloss="yon" role="obj" number="plur" def="def" tr="rheme" locus="number">fe꜒꜖ŋ</word>
+    <word posp="num" gloss="three" role="obj" number="plur" def="def" tr="rheme" locus="number">xe꜒ɾ</word>
+    <word posp="noun" gloss="mouse" role="obj" number="plur" def="def" tr="rheme" locus="number">ti꜒꜖pʰu꜖꜒p</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">y꜖k</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;su꜒p&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;ky꜖tʰo꜖꜒p&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;po꜖&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;to꜒꜖n&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉ꜒t͡ʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰi꜖tø꜒꜖ŋ&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;fe꜒꜖ŋ&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;xe꜒ɾ&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;ti꜒꜖pʰu꜖꜒p&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;-y꜖k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt;</p>
+  <p>su꜒p ky꜖tʰo꜖꜒p po꜖ to꜒꜖n ty꜒꜖p wʉ꜒t͡ʃ pʰi꜖tø꜒꜖ŋ fe꜒꜖ŋ xe꜒ɾ ti꜒꜖pʰu꜖꜒py꜖k</p>
+  <p>sūb gy̠tób bo̠ dòn dỳb wʉ̄dj pi̠dø̀ng fèng khēr dìpúby̠g</p>
+  <il>
+    <w>
+      <o>su꜒p</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>ky꜖tʰo꜖꜒p</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>po꜖</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>to꜒꜖n</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>wʉ꜒t͡ʃ</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>fe꜒꜖ŋ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>xe꜒ɾ</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>ti꜒꜖pʰu꜖꜒p</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-y꜖k</o>
+      <g>plur</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

No change.

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">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </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 def="def" number="sing" tr="theme" role="obj" locus="number">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

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

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="k &#x251; &#xA716;&#xA712; &#x27E;">kɑ꜖꜒ɾ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">kɑ꜖꜒ɾ</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;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kɑ꜖꜒ɾ</p>
+  <p>gár</p>
+  <il>
+    <w>
+      <o>kɑ꜖꜒ɾ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

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:

No change.

module markowner:

No change.

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">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="rheme" role="subj" locus="number">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </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 def="def" number="sing" tr="theme" role="obj" locus="number">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </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" obj="3.sing">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="obj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

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

vowelharmony:

No change.

removetags:

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

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </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="rheme" role="obj" output="aspron" locus="number">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2her" translation="He loves *her*.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </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" obj="3.sing">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
  </s>
</example>

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

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

vowelharmony:

No change.

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="k &#x251; &#xA716;&#xA712; &#x27E;">kɑ꜖꜒ɾ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number" ph="t &#x289; &#xA712;&#xA716;">tʉ꜒꜖</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">kɑ꜖꜒ɾ</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="obj" locus="number">tʉ꜒꜖</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;love&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;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kɑ꜖꜒ɾ tʉ꜒꜖</p>
+  <p>gár dʉ̀</p>
+  <il>
+    <w>
+      <o>kɑ꜖꜒ɾ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>tʉ꜒꜖</o>
+      <g>3.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <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" obj="3.sing">
      <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>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Futsir hates Tatsak.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="Futsir" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="f u &#xA712; t&#x361;s&#x2B0; i &#xA716; &#x27E;">fu꜒t͡sʰi꜖ɾ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="t&#x361;s &#xE6; &#xA716;&#xA712; w e &#xA716;&#xA712; k">t͡sæ꜖꜒we꜖꜒k</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="Tatsak" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="t &#xE6; &#xA712; t&#x361;s&#x2B0; &#x251; &#xA716;&#xA712; k">tæ꜒t͡sʰɑ꜖꜒k</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Futsir hates Tatsak.">
  <flat>
-    <word posp="noun" gloss="Futsir" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="f u &#xA712; t&#x361;s&#x2B0; i &#xA716; &#x27E;">fu꜒t͡sʰi꜖ɾ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing" ph="t&#x361;s &#xE6; &#xA716;&#xA712; w e &#xA716;&#xA712; k">t͡sæ꜖꜒we꜖꜒k</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="Tatsak" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="t &#xE6; &#xA712; t&#x361;s&#x2B0; &#x251; &#xA716;&#xA712; k">tæ꜒t͡sʰɑ꜖꜒k</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="Futsir" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes">fu꜒t͡sʰi꜖ɾ</word>
+    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">t͡sæ꜖꜒we꜖꜒k</word>
+    <word posp="noun" gloss="Tatsak" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes">tæ꜒t͡sʰɑ꜖꜒k</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fu꜒t͡sʰi꜖ɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Futsir&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sæ꜖꜒we꜖꜒k&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;tæ꜒t͡sʰɑ꜖꜒k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Tatsak&lt;/span&gt;&lt;/span&gt;</p>
+  <p>fu꜒t͡sʰi꜖ɾ t͡sæ꜖꜒we꜖꜒k tæ꜒t͡sʰɑ꜖꜒k</p>
+  <p>Fūtzhi̠r tzä́wég Dǟtzhág</p>
+  <il>
+    <w>
+      <o>fu꜒t͡sʰi꜖ɾ</o>
+      <g>Futsir</g>
+    </w>
+    <w>
+      <o>t͡sæ꜖꜒we꜖꜒k</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>tæ꜒t͡sʰɑ꜖꜒k</o>
+      <g>Tatsak</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k&#x2B0; e &#xA712; t">kʰe꜒t</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="w &#x289; &#xA716;&#xA712; t&#x361;&#x283; &#xE6; &#xA716; s">wʉ꜖꜒t͡ʃæ꜖s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k&#x2B0; e &#xA712; t">kʰe꜒t</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="w &#x289; &#xA716;&#xA712; t&#x361;&#x283; &#xE6; &#xA716; s">wʉ꜖꜒t͡ʃæ꜖s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN">kʰe꜒t</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">wʉ꜖꜒t͡ʃæ꜖s</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰe꜒t&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;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉ꜖꜒t͡ʃæ꜖s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰe꜒t kʉ꜒n wʉ꜖꜒t͡ʃæ꜖s</p>
+  <p>kēd gʉ̄n wʉ́djä̠s</p>
+  <il>
+    <w>
+      <o>kʰe꜒t</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>wʉ꜖꜒t͡ʃæ꜖s</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t &#x289; &#xA712;&#xA716;">tʉ꜒꜖</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="w &#x289; &#xA716;&#xA712; t&#x361;&#x283; &#xE6; &#xA716; s">wʉ꜖꜒t͡ʃæ꜖s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="t &#x289; &#xA712;&#xA716;">tʉ꜒꜖</word>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="w &#x289; &#xA716;&#xA712; t&#x361;&#x283; &#xE6; &#xA716; s">wʉ꜖꜒t͡ʃæ꜖s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN">tʉ꜒꜖</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">wʉ꜖꜒t͡ʃæ꜖s</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʉ꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉ꜖꜒t͡ʃæ꜖s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʉ꜒꜖ kʉ꜒n wʉ꜖꜒t͡ʃæ꜖s</p>
+  <p>dʉ̀ gʉ̄n wʉ́djä̠s</p>
+  <il>
+    <w>
+      <o>tʉ꜒꜖</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>wʉ꜖꜒t͡ʃæ꜖s</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="w &#xF8; &#xA712;&#xA716;">wø꜒꜖</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="w &#x289; &#xA716;&#xA712; t&#x361;&#x283; &#xE6; &#xA716; s">wʉ꜖꜒t͡ʃæ꜖s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="w &#xF8; &#xA712;&#xA716;">wø꜒꜖</word>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="w &#x289; &#xA716;&#xA712; t&#x361;&#x283; &#xE6; &#xA716; s">wʉ꜖꜒t͡ʃæ꜖s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN">wø꜒꜖</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">wʉ꜖꜒t͡ʃæ꜖s</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wø꜒꜖&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;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉ꜖꜒t͡ʃæ꜖s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>wø꜒꜖ kʉ꜒n wʉ꜖꜒t͡ʃæ꜖s</p>
+  <p>wø̀ gʉ̄n wʉ́djä̠s</p>
+  <il>
+    <w>
+      <o>wø꜒꜖</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>wʉ꜖꜒t͡ʃæ꜖s</o>
+      <g>apple</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj">
      <np type="owner_owned">
-        <np number="sing" def="def" locus="number" role="owner">
+        <np number="sing" def="def" locus="number" role="owner" case="GEN">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <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">
+          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
            <word person="2" number="sing" posp="pron"/>
          </np>
-          <np number="sing" def="def" locus="number" role="owned">
+          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module propagatenumber:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj">
-      <np type="owner_owned">
+    <np role="subj" number="sing">
+      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owner" case="GEN">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <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 role="obj" number="sing">
+      <np type="owner_owned" number="sing">
+        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
            <word person="2" number="sing" posp="pron"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owner" case="GEN">
          <word posp="noun" gloss="hunter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
      </np>
    </np>
    <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" number="sing">
      <np type="owner_owned" number="sing">
        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="neither" locus="number" role="owner" case="GEN">
-            <word person="2" number="sing" posp="pron"/>
+            <word person="2" number="sing" posp="pron" gloss="2.sing"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <word posp="noun" gloss="neighbour"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np role="subj" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owner" case="GEN">
          <word posp="noun" gloss="hunter"/>
+          <thingy type="npcase" function="enclitic" gloss="GEN"/>
        </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" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kiss"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" number="sing">
      <np type="owner_owned" number="sing">
        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
            <word person="2" number="sing" posp="pron" gloss="2.sing"/>
+            <thingy type="npcase" function="enclitic" gloss="GEN"/>
          </np>
          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <word posp="noun" gloss="neighbour"/>
+            <thingy type="npcase" function="enclitic" gloss="GEN"/>
          </np>
        </np>
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
-    <np role="subj" number="sing">
-      <np type="owner_owned" number="sing">
+    <np type="owner_owned" number="sing" role="subj">
      <np number="sing" def="def" locus="number" role="owner" case="GEN">
        <word posp="noun" gloss="hunter"/>
        <thingy type="npcase" function="enclitic" gloss="GEN"/>
      </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" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="kiss"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" number="sing">
-      <np type="owner_owned" number="sing">
+    <np type="owner_owned" number="sing" role="obj">
      <np type="owner_owned" role="owner" number="sing">
        <np number="sing" def="neither" locus="number" role="owner" case="GEN" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing"/>
          <thingy type="npcase" function="enclitic" gloss="GEN"/>
        </np>
        <np number="sing" def="def" locus="number" role="owned" case="GEN">
          <word posp="noun" gloss="neighbour"/>
          <thingy type="npcase" function="enclitic" gloss="GEN"/>
        </np>
      </np>
      <np number="sing" def="def" locus="number" role="owned">
        <word posp="noun" gloss="son"/>
      </np>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

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

addaffixes:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t y &#xA716; f au &#xA716; &#x27E;">ty꜖fau꜖ɾ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="s y &#xA712; &#x14B;">sy꜒ŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="f &#x251; &#xA716;&#xA712; f i &#xA712; p">fɑ꜖꜒fi꜒p</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x283; &#x289; &#xA716;&#xA712; k">t͡ʃʉ꜖꜒k</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="t&#x361;&#x283; i &#xA712;&#xA716; n &#xF8; &#xA712; t&#x361;s">t͡ʃi꜒꜖nø꜒t͡s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="t&#x361;s &#x289; &#xA712;&#xA716; k">t͡sʉ꜒꜖k</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t y &#xA716; f au &#xA716; &#x27E;">ty꜖fau꜖ɾ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="s y &#xA712; &#x14B;">sy꜒ŋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="f &#x251; &#xA716;&#xA712; f i &#xA712; p">fɑ꜖꜒fi꜒p</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x283; &#x289; &#xA716;&#xA712; k">t͡ʃʉ꜖꜒k</word>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="t&#x361;&#x283; i &#xA712;&#xA716; n &#xF8; &#xA712; t&#x361;s">t͡ʃi꜒꜖nø꜒t͡s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="t&#x361;s &#x289; &#xA712;&#xA716; k">t͡sʉ꜒꜖k</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">ty꜖fau꜖ɾ</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned">sy꜒ŋ</word>
+    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">fɑ꜖꜒fi꜒p</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">t͡ʃʉ꜖꜒k</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN">t͡ʃi꜒꜖nø꜒t͡s</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned">t͡sʉ꜒꜖k</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ty꜖fau꜖ɾ&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;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sy꜒ŋ&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;fɑ꜖꜒fi꜒p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kiss&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʉ꜖꜒k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃi꜒꜖nø꜒t͡s&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;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʉ꜒꜖k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ty꜖fau꜖ɾ kʉ꜒n sy꜒ŋ fɑ꜖꜒fi꜒p ty꜒꜖p t͡ʃʉ꜖꜒k kʉ꜒n t͡ʃi꜒꜖nø꜒t͡s kʉ꜒n t͡sʉ꜒꜖k</p>
+  <p>dy̠fau̠r gʉ̄n sȳng fáfīb dỳb djʉ́g gʉ̄n djìnø̄tz gʉ̄n tzʉ̀g</p>
+  <il>
+    <w>
+      <o>ty꜖fau꜖ɾ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>sy꜒ŋ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>fɑ꜖꜒fi꜒p</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃʉ꜖꜒k</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>t͡ʃi꜒꜖nø꜒t͡s</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>t͡sʉ꜒꜖k</o>
+      <g>son</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" ph="t&#x361;s &#x289; &#xA716; n ai &#xA712; s">t͡sʉ꜖nai꜒s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" ph="t&#x361;s &#x289; &#xA716; n ai &#xA712; s">t͡sʉ꜖nai꜒s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number">t͡sʉ꜖nai꜒s</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʉ꜖nai꜒s&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡sʉ꜖nai꜒s</p>
+  <p>tzʉ̠naīs</p>
+  <il>
+    <w>
+      <o>t͡sʉ꜖nai꜒s</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

<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">
+          <relp>
+            <vp tam="pres-state">
+              <word lexposp="adj" posp="verb" gloss="little"/>
+            </vp>
+            <np head="this" role="subj" number="sing">
              <word posp="noun" gloss="lamb"/>
-          <word posp="adj" gloss="little"/>
            </np>
+          </relp>
+        </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">
          <relp>
            <vp tam="pres-state">
              <word lexposp="adj" posp="verb" gloss="little"/>
            </vp>
            <np head="this" role="subj" number="sing">
              <word posp="noun" gloss="lamb"/>
            </np>
          </relp>
        </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">
          <relp>
-            <vp tam="pres-state">
+            <vp tam="pres-state" ta="PRES">
              <word lexposp="adj" posp="verb" gloss="little"/>
            </vp>
            <np head="this" role="subj" number="sing">
              <word posp="noun" gloss="lamb"/>
            </np>
          </relp>
        </np>
      </subs>
    </np>
  </s>
</example>

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

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">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </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" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <subs>
            <vp tam="pres-state" ta="PRES">
              <word lexposp="adj" posp="verb" gloss="little"/>
            </vp>
            <word gloss="COMP" posp="pp"/>
          </subs>
          <np role="subj" number="sing">
            <word posp="noun" gloss="lamb"/>
          </np>
        </np>
        <word gloss="COMP" posp="pp"/>
      </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:

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">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <subs>
            <vp tam="pres-state" ta="PRES">
              <word lexposp="adj" posp="verb" gloss="little"/>
            </vp>
            <word gloss="COMP" posp="pp"/>
          </subs>
          <np role="subj" number="sing">
            <word posp="noun" gloss="lamb"/>
          </np>
        </np>
        <word gloss="COMP" posp="pp"/>
      </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">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="have"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <subs>
            <vp tam="pres-state" ta="PRES">
              <word lexposp="adj" posp="verb" gloss="little"/>
            </vp>
            <word gloss="COMP" posp="pp"/>
          </subs>
          <np role="subj" number="sing">
            <word posp="noun" gloss="lamb"/>
          </np>
        </np>
        <word gloss="COMP" posp="pp"/>
      </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" obj="3.sing">
      <word posp="verb" gloss="want"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="have"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <subs>
            <vp tam="pres-state" ta="PRES">
              <word lexposp="adj" posp="verb" gloss="little"/>
+              <thingy type="vpta" function="enclitic" gloss="PRES"/>
            </vp>
            <word gloss="COMP" posp="pp"/>
          </subs>
          <np role="subj" number="sing">
            <word posp="noun" gloss="lamb"/>
          </np>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="have"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
-        <np number="sing" tr="rheme" role="obj" locus="number">
        <subs>
          <vp tam="pres-state" ta="PRES">
            <word lexposp="adj" posp="verb" gloss="little"/>
            <thingy type="vpta" function="enclitic" gloss="PRES"/>
          </vp>
          <word gloss="COMP" posp="pp"/>
        </subs>
-          <np role="subj" number="sing">
+        <np role="obj" number="sing" tr="rheme" locus="number">
          <word posp="noun" gloss="lamb"/>
        </np>
-        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

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" obj="3.sing">
-      <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" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
-          <word posp="verb" gloss="have"/>
+          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <subs>
          <vp tam="pres-state" ta="PRES">
-            <word lexposp="adj" posp="verb" gloss="little"/>
+            <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES"/>
            <thingy type="vpta" function="enclitic" gloss="PRES"/>
          </vp>
-          <word gloss="COMP" posp="pp"/>
+          <word gloss="COMP" posp="pp" role="obj" number="sing"/>
        </subs>
        <np role="obj" number="sing" tr="rheme" locus="number">
-          <word posp="noun" gloss="lamb"/>
+          <word posp="noun" gloss="lamb" role="obj" number="sing" tr="rheme" locus="number"/>
        </np>
-        <word gloss="COMP" posp="pp"/>
+        <word gloss="COMP" posp="pp" role="obj" number="sing"/>
      </subs>
    </np>
  </s>
</example>

addaffixes:

About to call getSlotValue for lamb/noun/number/optional
Got sing
<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" obj="3.sing">
      <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np role="obj" number="sing">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <subs>
          <vp tam="pres-state" ta="PRES">
            <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES"/>
            <thingy type="vpta" function="enclitic" gloss="PRES"/>
          </vp>
          <word gloss="COMP" posp="pp" role="obj" number="sing"/>
        </subs>
        <np role="obj" number="sing" tr="rheme" locus="number">
          <word posp="noun" gloss="lamb" role="obj" number="sing" tr="rheme" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" number="sing"/>
      </subs>
    </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" obj="3.sing">
+  <flat>
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np role="obj" number="sing">
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <subs>
-          <vp tam="pres-state" ta="PRES">
    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-          </vp>
    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-        </subs>
-        <np role="obj" number="sing" tr="rheme" locus="number">
    <word posp="noun" gloss="lamb" role="obj" number="sing" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-      </subs>
-    </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" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-    <word posp="noun" gloss="lamb" role="obj" number="sing" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="m &#xE6; &#xA712; &#x27E;">mæ꜒ɾ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="k &#x289; &#xA716;&#xA712; t">kʉ꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES" ph="x &#x251; &#xA716;&#xA712;">xɑ꜖꜒</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="lamb" role="obj" number="sing" tr="rheme" locus="number" ph="t&#x361;s &#x289; &#xA716; n ai &#xA712; s">t͡sʉ꜖nai꜒s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
  </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" obj="3.sing" ph="m &#xE6; &#xA712; &#x27E;">mæ꜒ɾ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="k &#x289; &#xA716;&#xA712; t">kʉ꜖꜒t</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES" ph="x &#x251; &#xA716;&#xA712;">xɑ꜖꜒</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="noun" gloss="lamb" role="obj" number="sing" tr="rheme" locus="number" ph="t&#x361;s &#x289; &#xA716; n ai &#xA712; s">t͡sʉ꜖nai꜒s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">mæ꜒ɾ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">kʉ꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES">xɑ꜖꜒</word>
+    <word gloss="COMP" posp="pp" role="obj" number="sing">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="lamb" role="obj" number="sing" tr="rheme" locus="number">t͡sʉ꜖nai꜒s</word>
+    <word gloss="COMP" posp="pp" role="obj" number="sing">pʰi꜖tø꜒꜖ŋ</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;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʉ꜖꜒t&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xɑ꜖꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰi꜖tø꜒꜖ŋ&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;t͡sʉ꜖nai꜒s&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;pʰi꜖tø꜒꜖ŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mæ꜒ɾ ty꜒꜖p kʉ꜖꜒t ty꜒꜖p xɑ꜖꜒ pʰi꜖tø꜒꜖ŋ t͡sʉ꜖nai꜒s pʰi꜖tø꜒꜖ŋ</p>
+  <p>mǟr dỳb gʉ́d dỳb khá pi̠dø̀ng tzʉ̠naīs pi̠dø̀ng</p>
+  <il>
+    <w>
+      <o>mæ꜒ɾ</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>kʉ꜖꜒t</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xɑ꜖꜒</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>t͡sʉ꜖nai꜒s</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
  </s>
</example>

copyuptophrase:

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

prodrop:

<example id="love" translation="I love you.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </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" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
-    </np>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <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="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

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

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k &#x251; &#xA716;&#xA712; &#x27E;">kɑ꜖꜒ɾ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">kɑ꜖꜒ɾ</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;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kɑ꜖꜒ɾ</p>
+  <p>gár</p>
+  <il>
+    <w>
+      <o>kɑ꜖꜒ɾ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="surface" def="def" number="sing"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t&#x361;&#x283; &#xE6; &#xA716; &#x27E;">t͡ʃæ꜖ɾ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="t&#x361;&#x283; u &#xA716; t&#x361;s">t͡ʃu꜖t͡s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" ph="x &#x289; &#xA712; m">xʉ꜒m</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="t&#x361;&#x283; &#xE6; &#xA716; &#x27E;">t͡ʃæ꜖ɾ</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" ph="t&#x361;&#x283; u &#xA716; t&#x361;s">t͡ʃu꜖t͡s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" ph="x &#x289; &#xA712; m">xʉ꜒m</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes">t͡ʃæ꜖ɾ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number">t͡ʃu꜖t͡s</word>
+    <word posp="noun" gloss="surface" def="def" number="sing">xʉ꜒m</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃæ꜖ɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃu꜖t͡s&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;xʉ꜒m&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surface&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃæ꜖ɾ t͡ʃu꜖t͡s xʉ꜒m</p>
+  <p>djä̠r dju̠tz khʉ̄m</p>
+  <il>
+    <w>
+      <o>t͡ʃæ꜖ɾ</o>
+      <g>in</g>
+    </w>
+    <w>
+      <o>t͡ʃu꜖t͡s</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>xʉ꜒m</o>
+      <g>surface</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="inside" def="def" number="sing"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="x ai &#xA716;&#xA712; n">xai꜖꜒n</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="s i &#xA716;&#xA712; k&#x2B0; i &#xA712;&#xA716; t&#x361;&#x283;">si꜖꜒kʰi꜒꜖t͡ʃ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" ph="n i &#xA712;&#xA716; n">ni꜒꜖n</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="x ai &#xA716;&#xA712; n">xai꜖꜒n</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" ph="s i &#xA716;&#xA712; k&#x2B0; i &#xA712;&#xA716; t&#x361;&#x283;">si꜖꜒kʰi꜒꜖t͡ʃ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" ph="n i &#xA712;&#xA716; n">ni꜒꜖n</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes">xai꜖꜒n</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number">si꜖꜒kʰi꜒꜖t͡ʃ</word>
+    <word posp="noun" gloss="inside" def="def" number="sing">ni꜒꜖n</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xai꜖꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;si꜖꜒kʰi꜒꜖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;ni꜒꜖n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;inside&lt;/span&gt;&lt;/span&gt;</p>
+  <p>xai꜖꜒n si꜖꜒kʰi꜒꜖t͡ʃ ni꜒꜖n</p>
+  <p>khaín síkìdj nìn</p>
+  <il>
+    <w>
+      <o>xai꜖꜒n</o>
+      <g>to</g>
+    </w>
+    <w>
+      <o>si꜖꜒kʰi꜒꜖t͡ʃ</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>ni꜒꜖n</o>
+      <g>inside</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

No change.

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="k y &#xA716; t&#x2B0; o &#xA716;&#xA712; p">ky꜖tʰo꜖꜒p</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="w &#xF8; &#xA712;&#xA716;">wø꜒꜖</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="k y &#xA716; t&#x2B0; o &#xA716;&#xA712; p">ky꜖tʰo꜖꜒p</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" ph="w &#xF8; &#xA712;&#xA716;">wø꜒꜖</word>
+    <word gloss="COMIT" posp="pp" role="comitative">ky꜖tʰo꜖꜒p</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number">wø꜒꜖</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ky꜖tʰo꜖꜒p&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;wø꜒꜖&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ky꜖tʰo꜖꜒p wø꜒꜖</p>
+  <p>gy̠tób wø̀</p>
+  <il>
+    <w>
+      <o>ky꜖tʰo꜖꜒p</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>wø꜒꜖</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="wo1" translation="The jaguar killed the hunter.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number">
+  <flat>
    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" locus="number">
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" ph="t&#x2B0; i &#xA716;&#xA712; &#x14B; y &#xA712;">tʰi꜖꜒ŋy꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="w &#xE6; &#xA716;&#xA712; &#x14B;">wæ꜖꜒ŋ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="t y &#xA716; f au &#xA716; &#x27E;">ty꜖fau꜖ɾ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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" ph="t&#x2B0; i &#xA716;&#xA712; &#x14B; y &#xA712;">tʰi꜖꜒ŋy꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="w &#xE6; &#xA716;&#xA712; &#x14B;">wæ꜖꜒ŋ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="t y &#xA716; f au &#xA716; &#x27E;">ty꜖fau꜖ɾ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number">tʰi꜖꜒ŋy꜒</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">wæ꜖꜒ŋ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number">ty꜖fau꜖ɾ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰi꜖꜒ŋy꜒&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;wæ꜖꜒ŋ&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ty꜖fau꜖ɾ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʰi꜖꜒ŋy꜒ wæ꜖꜒ŋ ty꜒꜖p ty꜖fau꜖ɾ</p>
+  <p>tíngȳ wä́ng dỳb dy̠fau̠r</p>
+  <il>
+    <w>
+      <o>tʰi꜖꜒ŋy꜒</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>wæ꜖꜒ŋ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ty꜖fau꜖ɾ</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

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

addaffixes:

About to call getSlotValue for lion/noun/number/optional
Got sing
About to call getSlotValue for hunter/noun/number/optional
Got sing
About to call getSlotValue for daughter/noun/number/optional
Got sing
About to call getSlotValue for dog/noun/number/optional
Got sing
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
      <thingy type="npcase" function="enclitic" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
      <thingy type="npcase" function="enclitic" gloss="GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </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">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" ph="p&#x2B0; i &#xA716; p i &#xA712;&#xA716;">pʰi꜖pi꜒꜖</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="x ai &#xA716; s">xai꜖s</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t y &#xA716; f au &#xA716; &#x27E;">ty꜖fau꜖ɾ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s y &#xA712; &#x14B;">sy꜒ŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="&#x14B; y &#xA712;&#xA716; &#x14B;">ŋy꜒꜖ŋ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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" ph="p&#x2B0; i &#xA716; p i &#xA712;&#xA716;">pʰi꜖pi꜒꜖</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="x ai &#xA716; s">xai꜖s</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="t y &#xA716; f au &#xA716; &#x27E;">ty꜖fau꜖ɾ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s y &#xA712; &#x14B;">sy꜒ŋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="&#x14B; y &#xA712;&#xA716; &#x14B;">ŋy꜒꜖ŋ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number">pʰi꜖pi꜒꜖</word>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">xai꜖s</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">ty꜖fau꜖ɾ</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN">sy꜒ŋ</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned">ŋy꜒꜖ŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰi꜖pi꜒꜖&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;xai꜖s&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ty꜖fau꜖ɾ&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;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sy꜒ŋ&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;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ŋy꜒꜖ŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pʰi꜖pi꜒꜖ xai꜖s ty꜒꜖p ty꜖fau꜖ɾ kʉ꜒n sy꜒ŋ kʉ꜒n ŋy꜒꜖ŋ</p>
+  <p>pi̠bì khai̠s dỳb dy̠fau̠r gʉ̄n sȳng gʉ̄n ngỳng</p>
+  <il>
+    <w>
+      <o>pʰi꜖pi꜒꜖</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>xai꜖s</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ty꜖fau꜖ɾ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>sy꜒ŋ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ŋy꜒꜖ŋ</o>
+      <g>dog</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x283; &#x289; &#xA716;&#xA712; k">t͡ʃʉ꜖꜒k</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="t&#x361;s &#x289; &#xA712;&#xA716; k">t͡sʉ꜒꜖k</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s e &#xA716; f">se꜖f</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="p&#x2B0; u k">pʰuk</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x283; &#x289; &#xA716;&#xA712; k">t͡ʃʉ꜖꜒k</word>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="t&#x361;s &#x289; &#xA712;&#xA716; k">t͡sʉ꜒꜖k</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="s e &#xA716; f">se꜖f</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="k &#x289; &#xA712; n">kʉ꜒n</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="p&#x2B0; u k">pʰuk</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">t͡ʃʉ꜖꜒k</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN">t͡sʉ꜒꜖k</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN">se꜖f</word>
+    <thingy type="npcase" function="enclitic" gloss="GEN">kʉ꜒n</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned">pʰuk</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃʉ꜖꜒k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʉ꜒꜖k&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;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;se꜖f&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;kʉ꜒n&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰuk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʃʉ꜖꜒k kʉ꜒n t͡sʉ꜒꜖k kʉ꜒n se꜖f kʉ꜒n pʰuk</p>
+  <p>djʉ́g gʉ̄n tzʉ̀g gʉ̄n se̠f gʉ̄n pug</p>
+  <il>
+    <w>
+      <o>t͡ʃʉ꜖꜒k</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>t͡sʉ꜒꜖k</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>se꜖f</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>kʉ꜒n</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>pʰuk</o>
+      <g>book</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

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:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="&#x27E; u &#xA712; w">ɾu꜒w</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="&#x27E; u &#xA712; w">ɾu꜒w</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">kɑ꜒</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">ɾu꜒w</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;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾu꜒w&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kɑ꜒ ɾu꜒w</p>
+  <p>gā rūw</p>
+  <il>
+    <w>
+      <o>kɑ꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ɾu꜒w</o>
+      <g>sleep</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

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:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <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">
      <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">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <word posp="verb" gloss="run"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="k o &#xA716;&#xA712; p">ko꜖꜒p</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="k o &#xA716;&#xA712; p">ko꜖꜒p</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">kɑ꜒</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">ko꜖꜒p</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;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ko꜖꜒p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kɑ꜒ ko꜖꜒p</p>
+  <p>gā gób</p>
+  <il>
+    <w>
+      <o>kɑ꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ko꜖꜒p</o>
+      <g>run</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <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" obj="3.sing">
      <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>

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">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="chase"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/number/optional
Got sing
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </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">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="n i &#xA716;&#xA712; t&#x361;s&#x2B0; i &#xA712;&#xA716; m">ni꜖꜒t͡sʰi꜒꜖m</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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" ph="k &#x251; &#xA712;">kɑ꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="n i &#xA716;&#xA712; t&#x361;s&#x2B0; i &#xA712;&#xA716; m">ni꜖꜒t͡sʰi꜒꜖m</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">kɑ꜒</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">ni꜖꜒t͡sʰi꜒꜖m</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number">ti꜒꜖pʰu꜖꜒p</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;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ni꜖꜒t͡sʰi꜒꜖m&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;ti꜒꜖pʰu꜖꜒p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kɑ꜒ ni꜖꜒t͡sʰi꜒꜖m ti꜒꜖pʰu꜖꜒p</p>
+  <p>gā nítzhìm dìpúb</p>
+  <il>
+    <w>
+      <o>kɑ꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ni꜖꜒t͡sʰi꜒꜖m</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>ti꜒꜖pʰu꜖꜒p</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <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" obj="3.sing">
      <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>

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/number/optional
Got sing
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </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">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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" ph="k &#x251; &#xA712;">kɑ꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">kɑ꜒</word>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number">ti꜒꜖pʰu꜖꜒p</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;cat&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;to꜒꜖n&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ti꜒꜖pʰu꜖꜒p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kɑ꜒ to꜒꜖n ty꜒꜖p ti꜒꜖pʰu꜖꜒p</p>
+  <p>gā dòn dỳb dìpúb</p>
+  <il>
+    <w>
+      <o>kɑ꜒</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>to꜒꜖n</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ti꜒꜖pʰu꜖꜒p</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

No change.

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">
      <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" number="plur">
      <conjp conj="and">
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="jaguar"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="tiger"/>
        </np>
        <np def="def" number="plur" locus="number">
          <word posp="noun" gloss="lion"/>
        </np>
      </conjp>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <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" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="kill"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
-    <np role="obj" tr="rheme" number="plur">
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="jaguar"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="tiger"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="lion"/>
    </np>
-    </np>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for hunter/noun/number/optional
Got sing
About to call getSlotValue for jaguar/noun/number/optional
Got plur
About to call getSlotValue for tiger/noun/number/optional
Got plur
About to call getSlotValue for lion/noun/number/optional
Got plur
<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
    <word posp="conj" gloss="and"/>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
+      <thingy type="nounnumber" function="suffix" gloss="plur"/>
    </np>
  </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">
+  <flat>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
    <word posp="conj" gloss="and"/>
-    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    </np>
-  </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <thingy type="nounnumber" function="suffix" gloss="plur"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" ph="t y &#xA716; f au &#xA716; &#x27E;">ty꜖fau꜖ɾ</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="w &#xE6; &#xA716;&#xA712; &#x14B;">wæ꜖꜒ŋ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="t&#x2B0; i &#xA716;&#xA712; &#x14B; y &#xA712;">tʰi꜖꜒ŋy꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="y &#xA716; k">y꜖k</thingy>
+    <word posp="conj" gloss="and" ph="p&#x2B0; y &#xA716; p">pʰy꜖p</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="t&#x361;s&#x2B0; u &#xA716;&#xA712; w &#x251; &#xA712;&#xA716; n">t͡sʰu꜖꜒wɑ꜒꜖n</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="y &#xA716; k">y꜖k</thingy>
+    <word posp="conj" gloss="and" ph="p&#x2B0; y &#xA716; p">pʰy꜖p</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="p&#x2B0; i &#xA716; p i &#xA712;&#xA716;">pʰi꜖pi꜒꜖</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="y &#xA716; k">y꜖k</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" ph="t y &#xA716; f au &#xA716; &#x27E;">ty꜖fau꜖ɾ</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur" ph="w &#xE6; &#xA716;&#xA712; &#x14B;">wæ꜖꜒ŋ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="t&#x2B0; i &#xA716;&#xA712; &#x14B; y &#xA712;">tʰi꜖꜒ŋy꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="y &#xA716; k">y꜖k</thingy>
-    <word posp="conj" gloss="and" ph="p&#x2B0; y &#xA716; p">pʰy꜖p</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="t&#x361;s&#x2B0; u &#xA716;&#xA712; w &#x251; &#xA712;&#xA716; n">t͡sʰu꜖꜒wɑ꜒꜖n</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="y &#xA716; k">y꜖k</thingy>
-    <word posp="conj" gloss="and" ph="p&#x2B0; y &#xA716; p">pʰy꜖p</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="p&#x2B0; i &#xA716; p i &#xA712;&#xA716;">pʰi꜖pi꜒꜖</word>
-    <thingy type="nounnumber" function="suffix" gloss="plur" attach="suffix" ph="y &#xA716; k">y꜖k</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number">ty꜖fau꜖ɾ</word>
+    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">wæ꜖꜒ŋ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme">tʰi꜖꜒ŋy꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">y꜖k</thingy>
+    <word posp="conj" gloss="and">pʰy꜖p</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme">t͡sʰu꜖꜒wɑ꜒꜖n</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">y꜖k</thingy>
+    <word posp="conj" gloss="and">pʰy꜖p</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme">pʰi꜖pi꜒꜖</word>
+    <thingy type="nounnumber" function="suffix" gloss="plur">y꜖k</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ty꜖fau꜖ɾ&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;wæ꜖꜒ŋ&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰi꜖꜒ŋy꜒&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;-y꜖k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰy꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sʰu꜖꜒wɑ꜒꜖n&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;-y꜖k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰy꜖p&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;pʰi꜖pi꜒꜖&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;-y꜖k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ty꜖fau꜖ɾ wæ꜖꜒ŋ ty꜒꜖p tʰi꜖꜒ŋy꜒y꜖k pʰy꜖p t͡sʰu꜖꜒wɑ꜒꜖ny꜖k pʰy꜖p pʰi꜖pi꜒꜖y꜖k</p>
+  <p>dy̠fau̠r wä́ng dỳb tíngȳy̠g py̠b tzhúwàny̠g py̠b pi̠bìy̠g</p>
+  <il>
+    <w>
+      <o>ty꜖fau꜖ɾ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>wæ꜖꜒ŋ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tʰi꜖꜒ŋy꜒</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>-y꜖k</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>pʰy꜖p</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>t͡sʰu꜖꜒wɑ꜒꜖n</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>-y꜖k</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>pʰy꜖p</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>pʰi꜖pi꜒꜖</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>-y꜖k</o>
+      <g>plur</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="relp1" translation="I patted the cat.">
  <s>
    <np number="sing" def="neither" role="subj" locus="number">
-      <word person="1excl" number="sing" posp="pron"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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>

copyuptophrase:

<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" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
    </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">
      <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>

prodrop:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/optional
Got sing
<example id="relp1" translation="I patted the cat.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="relp1" translation="I patted the cat.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
+  <flat>
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </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"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2B0; y &#xA716; &#x14B; au &#xA716;&#xA712; t">tʰy꜖ŋau꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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" ph="t&#x2B0; y &#xA716; &#x14B; au &#xA716;&#xA712; t">tʰy꜖ŋau꜖꜒t</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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">tʰy꜖ŋau꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number">kɑ꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰy꜖ŋau꜖꜒t&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kɑ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʰy꜖ŋau꜖꜒t ty꜒꜖p kɑ꜒</p>
+  <p>ty̠ngaúd dỳb gā</p>
+  <il>
+    <w>
+      <o>tʰy꜖ŋau꜖꜒t</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>kɑ꜒</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

addaffixes:

About to call getSlotValue for mouse/noun/number/optional
Got sing
About to call getSlotValue for cat/noun/number/optional
Got sing
<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <subs>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
      </vp>
      <np def="def" number="sing" role="obj" locus="number">
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
+        <thingy type="nounnumber" function="suffix" gloss="sing"/>
      </np>
      <word gloss="COMP" posp="pp"/>
    </subs>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <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"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2B0; y &#xA716; &#x14B; au &#xA716;&#xA712; t">tʰy꜖ŋau꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <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" ph="t&#x2B0; y &#xA716; &#x14B; au &#xA716;&#xA712; t">tʰy꜖ŋau꜖꜒t</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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">tʰy꜖ŋau꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number">ti꜒꜖pʰu꜖꜒p</word>
+    <word gloss="COMP" posp="pp">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number">kɑ꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰy꜖ŋau꜖꜒t&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;to꜒꜖n&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ti꜒꜖pʰu꜖꜒p&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;pʰi꜖tø꜒꜖ŋ&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ɑ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʰy꜖ŋau꜖꜒t ty꜒꜖p to꜒꜖n ty꜒꜖p ti꜒꜖pʰu꜖꜒p pʰi꜖tø꜒꜖ŋ kɑ꜒</p>
+  <p>ty̠ngaúd dỳb dòn dỳb dìpúb pi̠dø̀ng gā</p>
+  <il>
+    <w>
+      <o>tʰy꜖ŋau꜖꜒t</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>to꜒꜖n</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ti꜒꜖pʰu꜖꜒p</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>kɑ꜒</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

addaffixes:

About to call getSlotValue for cheese/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/number/optional
Got sing
About to call getSlotValue for cat/noun/number/optional
Got sing
<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <subs>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
      </vp>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np def="def" number="sing" role="obj" locus="number">
          <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
      <np def="def" number="sing" role="obj" locus="number">
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
+        <thingy type="nounnumber" function="suffix" gloss="sing"/>
      </np>
      <word gloss="COMP" posp="pp"/>
    </subs>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
+  <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"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <subs>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-      </vp>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np def="def" number="sing" role="obj" locus="number">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
    <word gloss="COMP" posp="pp"/>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      </np>
    <word gloss="COMP" posp="pp"/>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </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="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2B0; y &#xA716; &#x14B; au &#xA716;&#xA712; t">tʰy꜖ŋau꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="x ai &#xA716; s">xai꜖s</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="k &#x251; &#xA716;&#xA712; k u &#xA716; m">kɑ꜖꜒ku꜖m</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </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="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2B0; y &#xA716; &#x14B; au &#xA716;&#xA712; t">tʰy꜖ŋau꜖꜒t</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="x ai &#xA716; s">xai꜖s</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="k &#x251; &#xA716;&#xA712; k u &#xA716; m">kɑ꜖꜒ku꜖m</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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">tʰy꜖ŋau꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">xai꜖s</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number">kɑ꜖꜒ku꜖m</word>
+    <word gloss="COMP" posp="pp">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number">ti꜒꜖pʰu꜖꜒p</word>
+    <word gloss="COMP" posp="pp">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number">kɑ꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰy꜖ŋau꜖꜒t&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;to꜒꜖n&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xai꜖s&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kɑ꜖꜒ku꜖m&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;pʰi꜖tø꜒꜖ŋ&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;ti꜒꜖pʰu꜖꜒p&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;pʰi꜖tø꜒꜖ŋ&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ɑ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʰy꜖ŋau꜖꜒t ty꜒꜖p to꜒꜖n ty꜒꜖p xai꜖s ty꜒꜖p kɑ꜖꜒ku꜖m pʰi꜖tø꜒꜖ŋ ti꜒꜖pʰu꜖꜒p pʰi꜖tø꜒꜖ŋ kɑ꜒</p>
+  <p>ty̠ngaúd dỳb dòn dỳb khai̠s dỳb gágu̠m pi̠dø̀ng dìpúb pi̠dø̀ng gā</p>
+  <il>
+    <w>
+      <o>tʰy꜖ŋau꜖꜒t</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>to꜒꜖n</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xai꜖s</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>kɑ꜖꜒ku꜖m</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ti꜒꜖pʰu꜖꜒p</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>kɑ꜒</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

addclitics:

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

addaffixes:

About to call getSlotValue for cheese/noun/number/optional
Got sing
About to call getSlotValue for mouse/noun/number/optional
Got sing
About to call getSlotValue for cat/noun/number/optional
Got sing
<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <subs>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
      </vp>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
          <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <subs>
          <np number="sing" def="neither" role="subj" locus="number" person="1excl">
            <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
          </np>
          <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
            <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
            <thingy type="vpta" function="enclitic" gloss="PAST"/>
            <thingy type="vpmode" function="enclitic" gloss="indicative"/>
            <thingy type="vpvoice" function="enclitic" gloss="active"/>
            <thingy type="vpnegation" function="enclitic" gloss="POS"/>
            <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
          </vp>
          <word gloss="COMP" posp="pp"/>
        </subs>
        <np def="def" number="sing" role="obj" locus="number" person="1excl">
          <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <word gloss="COMP" posp="pp"/>
      </subs>
      <np def="def" number="sing" role="obj" locus="number">
        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
+        <thingy type="nounnumber" function="suffix" gloss="sing"/>
      </np>
      <word gloss="COMP" posp="pp"/>
    </subs>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
  </s>
</example>

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
+  <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"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <subs>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-      </vp>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <subs>
-          <np number="sing" def="neither" role="subj" locus="number" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-          </np>
-          <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-          </vp>
    <word gloss="COMP" posp="pp"/>
-        </subs>
-        <np def="def" number="sing" role="obj" locus="number" person="1excl">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
    <word gloss="COMP" posp="pp"/>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-      </np>
    <word gloss="COMP" posp="pp"/>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word gloss="COMP" posp="pp"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2B0; y &#xA716; &#x14B; au &#xA716;&#xA712; t">tʰy꜖ŋau꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="x ai &#xA716; s">xai꜖s</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="w &#xF8; &#xA712;&#xA716;">wø꜒꜖</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2B0; &#x251; &#xA712;&#xA716; n">tʰɑ꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl" ph="k &#x251; &#xA716;&#xA712; k u &#xA716; m">kɑ꜖꜒ku꜖m</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="t&#x2B0; y &#xA716; &#x14B; au &#xA716;&#xA712; t">tʰy꜖ŋau꜖꜒t</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="t o &#xA712;&#xA716; n">to꜒꜖n</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="x ai &#xA716; s">xai꜖s</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="w &#xF8; &#xA712;&#xA716;">wø꜒꜖</word>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" ph="t&#x2B0; &#x251; &#xA712;&#xA716; n">tʰɑ꜒꜖n</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl" ph="k &#x251; &#xA716;&#xA712; k u &#xA716; m">kɑ꜖꜒ku꜖m</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="t i &#xA712;&#xA716; p&#x2B0; u &#xA716;&#xA712; p">ti꜒꜖pʰu꜖꜒p</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMP" posp="pp" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" ph="k &#x251; &#xA712;">kɑ꜒</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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">tʰy꜖ŋau꜖꜒t</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">to꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">xai꜖s</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">wø꜒꜖</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing">tʰɑ꜒꜖n</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word gloss="COMP" posp="pp">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" person="1excl">kɑ꜖꜒ku꜖m</word>
+    <word gloss="COMP" posp="pp">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number">ti꜒꜖pʰu꜖꜒p</word>
+    <word gloss="COMP" posp="pp">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number">kɑ꜒</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʰy꜖ŋau꜖꜒t&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;to꜒꜖n&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;xai꜖s&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wø꜒꜖&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;tʰɑ꜒꜖n&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰi꜖tø꜒꜖ŋ&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ɑ꜖꜒ku꜖m&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;pʰi꜖tø꜒꜖ŋ&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;ti꜒꜖pʰu꜖꜒p&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;pʰi꜖tø꜒꜖ŋ&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ɑ꜒&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʰy꜖ŋau꜖꜒t ty꜒꜖p to꜒꜖n ty꜒꜖p xai꜖s ty꜒꜖p wø꜒꜖ tʰɑ꜒꜖n ty꜒꜖p pʰi꜖tø꜒꜖ŋ kɑ꜖꜒ku꜖m pʰi꜖tø꜒꜖ŋ ti꜒꜖pʰu꜖꜒p pʰi꜖tø꜒꜖ŋ kɑ꜒</p>
+  <p>ty̠ngaúd dỳb dòn dỳb khai̠s dỳb wø̀ tàn dỳb pi̠dø̀ng gágu̠m pi̠dø̀ng dìpúb pi̠dø̀ng gā</p>
+  <il>
+    <w>
+      <o>tʰy꜖ŋau꜖꜒t</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>to꜒꜖n</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>xai꜖s</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>wø꜒꜖</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>tʰɑ꜒꜖n</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>kɑ꜖꜒ku꜖m</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ti꜒꜖pʰu꜖꜒p</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>kɑ꜒</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

addaffixes:

About to call getSlotValue for boy/noun/number/optional
Got sing
About to call getSlotValue for girl/noun/number/optional
Got sing
About to call getSlotValue for apple/noun/number/optional
Got sing
About to call getSlotValue for teacher/noun/number/optional
Got sing
<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <s>
    <np role="subj" number="sing">
      <subs>
        <np number="sing" def="def" head="this" role="subj" locus="number">
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">
          <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <np number="sing" role="obj" locus="number">
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
+          <thingy type="nounnumber" function="suffix" gloss="sing"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" number="sing"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
      <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </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" number="sing">
-      <subs>
-        <np number="sing" def="def" head="this" role="subj" locus="number">
+  <flat>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">
    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
-        <np number="sing" role="obj" locus="number">
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-        </np>
    <word gloss="COMP" posp="pp" role="subj" number="sing"/>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np number="sing" def="def" role="indobj" locus="number">
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word gloss="COMP" posp="pp" role="subj" number="sing"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" ph="k&#x2B0; e &#xA712; t">kʰe꜒t</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="x au &#xA716;&#xA712; m">xau꜖꜒m</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="w i &#xA712; t&#x361;s">wi꜒t͡s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="w &#x289; &#xA716;&#xA712; t&#x361;&#x283; &#xE6; &#xA716; s">wʉ꜖꜒t͡ʃæ꜖s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="subj" number="sing" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="t&#x2B0; y &#xA716; w o &#xA716;&#xA712; f">tʰy꜖wo꜖꜒f</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="f i t&#x361;&#x283; e s">fit͡ʃes</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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" ph="k&#x2B0; e &#xA712; t">kʰe꜒t</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing" ph="x au &#xA716;&#xA712; m">xau꜖꜒m</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="w i &#xA712; t&#x361;s">wi꜒t͡s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="w &#x289; &#xA716;&#xA712; t&#x361;&#x283; &#xE6; &#xA716; s">wʉ꜖꜒t͡ʃæ꜖s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="subj" number="sing" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="t&#x2B0; y &#xA716; w o &#xA716;&#xA712; f">tʰy꜖wo꜖꜒f</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="f i t&#x361;&#x283; e s">fit͡ʃes</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number">kʰe꜒t</word>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">xau꜖꜒m</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number">wi꜒t͡s</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number">wʉ꜖꜒t͡ʃæ꜖s</word>
+    <word gloss="COMP" posp="pp" role="subj" number="sing">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">tʰy꜖wo꜖꜒f</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number">fit͡ʃes</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰe꜒t&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;xau꜖꜒m&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wi꜒t͡s&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;wʉ꜖꜒t͡ʃæ꜖s&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;pʰi꜖tø꜒꜖ŋ&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;tʰy꜖wo꜖꜒f&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fit͡ʃes&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰe꜒t xau꜖꜒m ty꜒꜖p wi꜒t͡s wʉ꜖꜒t͡ʃæ꜖s pʰi꜖tø꜒꜖ŋ tʰy꜖wo꜖꜒f ty꜒꜖p fit͡ʃes</p>
+  <p>kēd khaúm dỳb wītz wʉ́djä̠s pi̠dø̀ng ty̠wóf dỳb fidjes</p>
+  <il>
+    <w>
+      <o>kʰe꜒t</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>xau꜖꜒m</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>wi꜒t͡s</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>wʉ꜖꜒t͡ʃæ꜖s</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>tʰy꜖wo꜖꜒f</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>fit͡ʃes</o>
+      <g>teacher</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

<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="indobj" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme">
+    <np role="obj" tr="rheme" number="sing">
      <subs>
        <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>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

addaffixes:

About to call getSlotValue for boy/noun/number/optional
Got sing
About to call getSlotValue for girl/noun/number/optional
Got sing
<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" 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" indobj="3.sing" obj="1excl.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
      <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number"/>
+      <thingy type="nounnumber" function="suffix" gloss="sing"/>
    </np>
    <np role="obj" tr="rheme" number="sing" person="1excl">
      <subs>
        <np number="sing" def="neither" role="subj" locus="number" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
          <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PRES"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl"/>
      </subs>
    </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">
+  <flat>
    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" 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" indobj="3.sing" obj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    </vp>
-    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number"/>
    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np role="obj" tr="rheme" number="sing" person="1excl">
-      <subs>
-        <np number="sing" def="neither" role="subj" locus="number" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-        </vp>
-        <np number="sing" def="neither" role="obj" locus="number" person="2">
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
-        </np>
    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl"/>
-      </subs>
-    </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"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number"/>
-    <thingy type="nounnumber" function="suffix" gloss="sing"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" ph="k&#x2B0; e &#xA712; t">kʰe꜒t</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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" indobj="3.sing" obj="1excl.sing" ph="&#x27E; e &#xA712; s">ɾe꜒s</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" ph="w i &#xA712; t&#x361;s">wi꜒t͡s</word>
+    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="w &#xF8; &#xA712;&#xA716;">wø꜒꜖</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k &#x251; &#xA716;&#xA712; &#x27E;">kɑ꜖꜒ɾ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="t&#x361;&#x283; &#x289; &#xA716;&#xA712; k">t͡ʃʉ꜖꜒k</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
  </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" ph="k&#x2B0; e &#xA712; t">kʰe꜒t</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" 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" indobj="3.sing" obj="1excl.sing" ph="&#x27E; e &#xA712; s">ɾe꜒s</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t y &#xA712;&#xA716; p">ty꜒꜖p</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" ph="w i &#xA712; t&#x361;s">wi꜒t͡s</word>
-    <thingy type="nounnumber" function="suffix" gloss="sing" attach="suffix" ph=""></thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="w &#xF8; &#xA712;&#xA716;">wø꜒꜖</word>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="k &#x251; &#xA716;&#xA712; &#x27E;">kɑ꜖꜒ɾ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="enclitic" gloss="not.Q" ph=""></thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="t&#x361;&#x283; &#x289; &#xA716;&#xA712; k">t͡ʃʉ꜖꜒k</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl" ph="p&#x2B0; i &#xA716; t &#xF8; &#xA712;&#xA716; &#x14B;">pʰi꜖tø꜒꜖ŋ</word>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number">kʰe꜒t</word>
+    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">ɾe꜒s</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ty꜒꜖p</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number">wi꜒t͡s</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">wø꜒꜖</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">kɑ꜖꜒ɾ</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number">t͡ʃʉ꜖꜒k</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl">pʰi꜖tø꜒꜖ŋ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʰe꜒t&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;ɾe꜒s&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;ty꜒꜖p&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wi꜒t͡s&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;wø꜒꜖&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;kɑ꜖꜒ɾ&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;t͡ʃʉ꜖꜒k&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pʰi꜖tø꜒꜖ŋ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʰe꜒t ɾe꜒s ty꜒꜖p wi꜒t͡s wø꜒꜖ kɑ꜖꜒ɾ t͡ʃʉ꜖꜒k pʰi꜖tø꜒꜖ŋ</p>
+  <p>kēd rēs dỳb wītz wø̀ gár djʉ́g pi̠dø̀ng</p>
+  <il>
+    <w>
+      <o>kʰe꜒t</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>ɾe꜒s</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>ty꜒꜖p</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>wi꜒t͡s</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>wø꜒꜖</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kɑ꜖꜒ɾ</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>t͡ʃʉ꜖꜒k</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>pʰi꜖tø꜒꜖ŋ</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>