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

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

module sentenceconnectors:

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

module complementise:

No change.

module adpositions:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <np head="this" role="subj" number="plur">
      <word posp="pron" number="plur" gloss="3.plur"/>
    </np>
-    <vp tam="pres-state" ta="PRES">
+    <vp tam="pres-state" ta="PRES" subj="3.plur">
      <word lexposp="adj" posp="verb" gloss="blind"/>
    </vp>
  </s>
  <s connector="then">
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number" case="LOC">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <np head="this" role="subj" number="plur">
        <word posp="pron" number="plur" gloss="3.plur"/>
      </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.plur">
      <word posp="verb" gloss="catch"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

prodrop:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
-    <np head="this" role="subj" number="plur">
-      <word posp="pron" number="plur" gloss="3.plur"/>
-    </np>
    <vp tam="pres-state" ta="PRES" subj="3.plur">
      <word lexposp="adj" posp="verb" gloss="blind"/>
    </vp>
  </s>
  <s connector="then">
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp"/>
        <np number="sing" def="def" locus="number" case="LOC">
          <word posp="noun" gloss="knife"/>
        </np>
      </pp>
    </np>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <np head="this" role="subj" number="plur">
        <word posp="pron" number="plur" gloss="3.plur"/>
      </np>
    </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"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp tam="pres-state" ta="PRES" subj="3.plur">
-      <word lexposp="adj" posp="verb" gloss="blind"/>
+      <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.plur"/>
    </vp>
  </s>
  <s connector="then">
    <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" case="LOC">
-          <word posp="noun" gloss="knife"/>
+          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC"/>
        </np>
      </pp>
    </np>
    <np head="this" role="obj" number="plur" def="def" tr="rheme" locus="number">
-      <word posp="pron" number="plur" gloss="3.plur"/>
+      <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addaffixes:

About to call getSlotValue for blind/verb/mode/optional
About to call getSlotValue for blind/verb/obj/optional
About to call getSlotValue for woman/noun/number.case/optional
About to call getSlotValue for knife/noun/number.case/optional
Got sing.LOC
About to call getSlotValue for 3.plur/pron/number/obligatory
Got plur
About to call getSlotValue for catch/verb/mode/optional
Got indicative
About to call getSlotValue for catch/verb/obj/optional
Got 3.plur
<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <s>
    <vp tam="pres-state" ta="PRES" subj="3.plur">
      <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.plur"/>
    </vp>
  </s>
  <s connector="then">
    <np role="subj" number="sing" def="def" locus="number">
      <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number"/>
      <pp role="comitative">
        <word gloss="COMIT" posp="pp" role="comitative"/>
        <np number="sing" def="def" locus="number" case="LOC">
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC"/>
+          <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC"/>
        </np>
      </pp>
    </np>
    <np head="this" role="obj" number="plur" def="def" tr="rheme" locus="number">
      <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="plur"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.plur"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <vp tam="pres-state" ta="PRES" subj="3.plur">
+  <flat>
    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.plur"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np role="subj" number="sing" def="def" locus="number">
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number"/>
-      <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
-        <np number="sing" def="def" locus="number" case="LOC">
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC"/>
-        </np>
-      </pp>
-    </np>
-    <np head="this" role="obj" number="plur" def="def" tr="rheme" locus="number">
    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="plur"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.plur"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.plur"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC"/>
-    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="plur"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.plur"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word gloss="then" posp="conj"/>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" ph="k&#x2BC; e">kʼe</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.plur.SUBJ" ph="n u&#x330;">nṵ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" ph="&#x261; i">ɡi</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="j a&#x330; t&#x361;&#x283; u">ja̰t͡ʃu</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" ph="&#x272; i&#x2D0; d a">ɲiːda</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC" attach="suffix" ph="d&#x361;&#x292; u&#x330;">d͡ʒṵ</thingy>
+    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number" ph="&#x27E; u&#x330;">ɾṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="plur" attach="suffix" ph="p u">pu</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.plur" ph="&#x28B; o">ʋo</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" attach="suffix" ph="t&#x361;&#x283;&#x2BC; u">t͡ʃʼu</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" ph="k&#x2BC; e">kʼe</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.plur.SUBJ" ph="n u&#x330;">nṵ</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" ph="&#x261; i">ɡi</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="j a&#x330; t&#x361;&#x283; u">ja̰t͡ʃu</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" ph="&#x272; i&#x2D0; d a">ɲiːda</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC" attach="suffix" ph="d&#x361;&#x292; u&#x330;">d͡ʒṵ</thingy>
-    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number" ph="&#x27E; u&#x330;">ɾṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="plur" attach="suffix" ph="p u">pu</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.plur" ph="&#x28B; o">ʋo</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" attach="suffix" ph="t&#x361;&#x283;&#x2BC; u">t͡ʃʼu</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur">kʼe</word>
+    <thingy type="vpsubj" function="enclitic" gloss="3.plur.SUBJ">nṵ</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number">ɡi</word>
+    <word gloss="COMIT" posp="pp" role="comitative">ja̰t͡ʃu</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC">ɲiːda</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC">d͡ʒṵ</thingy>
+    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number">ɾṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="plur">pu</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">ʋo</word>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ">t͡ʃʼu</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word gloss="then" posp="conj">ᶢǃi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kʼe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;blind&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡi&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;ja̰t͡ʃu&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;ɲiːda&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;knife&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d͡ʒṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɾṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-pu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋo&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;catch&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʃʼu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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;ᶢǃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kʼe nṵ ɡi ja̰t͡ʃu ɲiːdad͡ʒṵ ɾṵpu ʋot͡ʃʼu t͡ʂu ᶢǃi</p>
+  <p>gke nu’ gi ya’chu ñiidaju’ ru’pu wochʼu t͡ʂu gqi</p>
+  <il>
+    <w>
+      <o>kʼe</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>nṵ</o>
+      <g>3.plur.SUBJ</g>
+    </w>
+    <w>
+      <o>ɡi</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>ja̰t͡ʃu</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>ɲiːda</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-d͡ʒṵ</o>
+      <g>sing.LOC</g>
+    </w>
+    <w>
+      <o>ɾṵ</o>
+      <g>3.plur</g>
+    </w>
+    <w>
+      <o>-pu</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ʋo</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʃʼu</o>
+      <g>3.plur.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǃi</o>
+      <g>then</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 sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" 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>
  </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>
    <np def="def" number="sing" tr="theme" role="obj" 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>
  </s>
</example>

addclitics:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="obj" 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">
+      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="obj" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for 3.sing/pron/number/obligatory
Got sing
About to call getSlotValue for love/verb/mode/optional
Got indicative
About to call getSlotValue for love/verb/obj/optional
Got 3.sing
<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="obj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number"/>
+      <thingy type="pronnumber" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" 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"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number"/>
    <thingy type="pronnumber" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" 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"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" 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"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" ph="&#x261; e&#x2D0;">ɡeː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" ph="&#x261; e&#x2D0;">ɡeː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">ɡeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡeː&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͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mṵtṵ ɡeːt͡ʂa</p>
+  <p>mu’tu’ geet͡ʂa</p>
+  <il>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡeː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</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 sequential:

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

module casemarking:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="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>
    <np def="def" number="sing" tr="theme" role="obj" 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>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" 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">
+      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </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>
    <np def="def" number="sing" tr="theme" role="obj" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for 3.sing/pron/number/obligatory
Got sing
About to call getSlotValue for 3.sing/pron/number/obligatory
Got sing
About to call getSlotValue for love/verb/mode/optional
Got indicative
About to call getSlotValue for love/verb/obj/optional
Got 3.sing
<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" def="def" tr="rheme" role="subj" locus="number"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <np def="def" number="sing" tr="theme" role="obj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number"/>
+      <thingy type="pronnumber" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" 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"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

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"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <np def="def" number="sing" tr="theme" role="obj" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number"/>
    <thingy type="pronnumber" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" 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"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </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"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" 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"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" ph="&#x261; e&#x2D0;">ɡeː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" ph="&#x261; e&#x2D0;">ɡeː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">ɡeː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡeː&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͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mṵtṵ mṵtṵ ɡeːt͡ʂa</p>
+  <p>mu’tu’ mu’tu’ geet͡ʂa</p>
+  <il>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡeː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</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 sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="NN2"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <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>
  </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>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
      <word posp="noun" gloss="NN2"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="hate"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for NN1/noun/number.case/optional
About to call getSlotValue for NN2/noun/number.case/optional
About to call getSlotValue for hate/verb/mode/optional
Got indicative
About to call getSlotValue for hate/verb/obj/optional
Got 3.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"/>
    </np>
    <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"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </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"/>
-    </np>
-    <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"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Vasicha hates Tsuchoti.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="Vasicha" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="&#x28B; a s i t&#x361;&#x283; a">ʋasit͡ʃa</word>
+    <word posp="noun" gloss="Tsuchoti" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="t&#x361;s u t&#x361;&#x283; o t i">t͡sut͡ʃoti</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="p a&#x330; t e">pa̰te</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Vasicha hates Tsuchoti.">
  <flat>
-    <word posp="noun" gloss="Vasicha" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="&#x28B; a s i t&#x361;&#x283; a">ʋasit͡ʃa</word>
-    <word posp="noun" gloss="Tsuchoti" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="t&#x361;s u t&#x361;&#x283; o t i">t͡sut͡ʃoti</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="p a&#x330; t e">pa̰te</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="Vasicha" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes">ʋasit͡ʃa</word>
+    <word posp="noun" gloss="Tsuchoti" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes">t͡sut͡ʃoti</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">pa̰te</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋasit͡ʃa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Vasicha&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡sut͡ʃoti&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Tsuchoti&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pa̰te&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͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʋasit͡ʃa t͡sut͡ʃoti pa̰tet͡ʂa</p>
+  <p>Wasicha Tzuchoti pa’tet͡ʂa</p>
+  <il>
+    <w>
+      <o>ʋasit͡ʃa</o>
+      <g>Vasicha</g>
+    </w>
+    <w>
+      <o>t͡sut͡ʃoti</o>
+      <g>Tsuchoti</g>
+    </w>
+    <w>
+      <o>pa̰te</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</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 sequential:

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:

No change.

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"/>
  </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"/>
  </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.case/optional
Got sing.GEN
About to call getSlotValue for apple/noun/number.case/optional
<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.case" function="suffix" gloss="sing.GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
  </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.case" function="suffix" gloss="sing.GEN"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-  </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.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="n o&#x330;">no̰</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="&#x28B; i p e d&#x361;&#x292; a">ʋiped͡ʒa</word>
  </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="n o&#x330;">no̰</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="&#x28B; i p e d&#x361;&#x292; a">ʋiped͡ʒa</word>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN">no̰</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">t͡sḭ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">ʋiped͡ʒa</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;no̰&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;-t͡sḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;ʋiped͡ʒa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>no̰t͡sḭ ʋiped͡ʒa</p>
+  <p>no’tzi’ wipeja</p>
+  <il>
+    <w>
+      <o>no̰</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-t͡sḭ</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>ʋiped͡ʒa</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 sequential:

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:

No change.

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"/>
  </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"/>
  </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 3.sing/pron/number/obligatory
Got sing
About to call getSlotValue for apple/noun/number.case/optional
<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="pronnumber" function="suffix" gloss="sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
  </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="pronnumber" function="suffix" gloss="sing"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-  </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="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="&#x28B; i p e d&#x361;&#x292; a">ʋiped͡ʒa</word>
  </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="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="&#x28B; i p e d&#x361;&#x292; a">ʋiped͡ʒa</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">ʋiped͡ʒa</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;3.sing&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;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋiped͡ʒa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mṵtṵ ʋiped͡ʒa</p>
+  <p>mu’tu’ wipeja</p>
+  <il>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʋiped͡ʒa</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 sequential:

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:

No change.

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"/>
  </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"/>
  </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 1excl.sing/pron/number/obligatory
Got sing
About to call getSlotValue for apple/noun/number.case/optional
<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="pronnumber" function="suffix" gloss="sing"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
  </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="pronnumber" function="suffix" gloss="sing"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-  </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="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="t&#x361;&#x282; o">t͡ʂo</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="&#x28B; i p e d&#x361;&#x292; a">ʋiped͡ʒa</word>
  </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="t&#x361;&#x282; o">t͡ʂo</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="&#x28B; i p e d&#x361;&#x292; a">ʋiped͡ʒa</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN">t͡ʂo</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">ʋiped͡ʒa</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂo&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ṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋiped͡ʒa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;apple&lt;/span&gt;&lt;/span&gt;</p>
+  <p>t͡ʂotṵ ʋiped͡ʒa</p>
+  <p>t͡ʂotu’ wipeja</p>
+  <il>
+    <w>
+      <o>t͡ʂo</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʋiped͡ʒa</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 sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
  </s>
</example>

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module 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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
  </s>
</example>

copyuptophrase:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for hunter/noun/number.case/optional
Got sing.GEN
About to call getSlotValue for daughter/noun/number.case/optional
About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
About to call getSlotValue for neighbour/noun/number.case/optional
Got sing.GEN
About to call getSlotValue for son/noun/number.case/optional
About to call getSlotValue for kiss/verb/mode/optional
Got indicative
About to call getSlotValue for kiss/verb/obj/optional
Got 3.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.case" function="suffix" gloss="sing.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
    </np>
    <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="pronnumber" function="suffix" gloss="sing"/>
    </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.case" function="suffix" gloss="sing.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="son" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
+  <flat>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
-    </np>
-    <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="pronnumber" function="suffix" gloss="sing"/>
-    </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.case" function="suffix" gloss="sing.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="son" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </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.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k a k i m a&#x330;">kakima̰</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="t&#x361;&#x283;&#x2BC; e">t͡ʃʼe</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="p i&#x330;">pḭ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="f u t&#x361;&#x283;&#x2BC; a&#x2D0; z i">fut͡ʃʼaːzi</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="p o">po</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="h a &#x28B; o">haʋo</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="k a k i m a&#x330;">kakima̰</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="t&#x361;&#x283;&#x2BC; e">t͡ʃʼe</word>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="p i&#x330;">pḭ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="f u t&#x361;&#x283;&#x2BC; a&#x2D0; z i">fut͡ʃʼaːzi</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="p o">po</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="h a &#x28B; o">haʋo</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">kakima̰</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">t͡sḭ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned">t͡ʃʼe</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">pḭ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN">fut͡ʃʼaːzi</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">t͡sḭ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned">po</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">haʋo</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakima̰&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;-t͡sḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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͡ʃʼe&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;pḭ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fut͡ʃʼaːzi&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;-t͡sḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;po&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;haʋo&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakima̰t͡sḭ t͡ʃʼe pḭtṵ fut͡ʃʼaːzit͡sḭ po haʋot͡ʂa t͡ʂu</p>
+  <p>kakima’tzi’ chʼe pi’tu’ fuchʼaazitzi’ po hawot͡ʂa t͡ʂu</p>
+  <il>
+    <w>
+      <o>kakima̰</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-t͡sḭ</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>t͡ʃʼe</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>pḭ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>fut͡ʃʼaːzi</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-t͡sḭ</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>po</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>haʋo</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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.case/optional

No change.

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number"/>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" ph="h i &#x272; a&#x2D0; k a">hiɲaːka</word>
  </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="h i &#x272; a&#x2D0; k a">hiɲaːka</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number">hiɲaːka</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hiɲaːka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hiɲaːka</p>
+  <p>hiñaaka</p>
+  <il>
+    <w>
+      <o>hiɲaːka</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 sequential:

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

module sentenceconnectors:

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

module complementise:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np head="this" role="subj" number="sing">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <vp tam="pres-state" ta="PRES" subj="3.sing">
      <word lexposp="adj" posp="verb" gloss="little"/>
    </vp>
  </s>
  <s connector="then">
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <np head="this" role="subj" number="sing">
            <word posp="pron" number="sing" gloss="3.sing"/>
          </np>
        </np>
        <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>
        <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" obj="3.sing">
      <word posp="verb" gloss="want"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp tam="pres-state" ta="PRES" subj="3.sing">
      <word lexposp="adj" posp="verb" gloss="little"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
  <s connector="then">
    <np role="obj" number="sing">
      <subs>
        <np number="sing" tr="rheme" role="obj" locus="number">
          <np head="this" role="subj" number="sing">
            <word posp="pron" number="sing" gloss="3.sing"/>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
+          <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
          <word posp="verb" gloss="have"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
        </vp>
        <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" obj="3.sing">
+      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="want"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp tam="pres-state" ta="PRES" subj="3.sing">
      <word lexposp="adj" posp="verb" gloss="little"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
  <s connector="then">
    <np role="obj" number="sing">
      <subs>
-        <np number="sing" tr="rheme" role="obj" locus="number">
-          <np head="this" role="subj" number="sing">
+        <np head="this" role="obj" number="sing" tr="rheme" locus="number">
          <word posp="pron" number="sing" gloss="3.sing"/>
        </np>
-        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <thingy type="vpnegation" function="proclitic" gloss="POS"/>
          <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
          <word posp="verb" gloss="have"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
        </vp>
        <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" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="want"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for little/verb/mode/optional
About to call getSlotValue for little/verb/obj/optional
About to call getSlotValue for 3.sing/pron/number/obligatory
Got sing
About to call getSlotValue for have/verb/mode/optional
Got indicative
About to call getSlotValue for have/verb/obj/optional
Got 3.sing
About to call getSlotValue for want/verb/mode/optional
Got indicative
About to call getSlotValue for want/verb/obj/optional
Got 3.sing
<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp tam="pres-state" ta="PRES" subj="3.sing">
      <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES" subj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
  <s connector="then">
    <np role="obj" number="sing">
      <subs>
        <np head="this" role="obj" number="sing" tr="rheme" locus="number">
          <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <thingy type="vpnegation" function="proclitic" gloss="POS"/>
          <thingy type="vpquestion" function="proclitic" 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="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbobj" function="suffix" gloss="3.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
        </vp>
        <word gloss="COMP" posp="pp" role="obj" number="sing"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp tam="pres-state" ta="PRES" subj="3.sing">
+  <flat>
    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES" subj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np role="obj" number="sing">
-      <subs>
-        <np head="this" role="obj" number="sing" tr="rheme" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" 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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-        </vp>
    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-      </subs>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES" subj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" 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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <word gloss="COMP" posp="pp" role="obj" number="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word gloss="then" posp="conj"/>
+    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES" subj="3.sing" ph="&#x261; e&#x330;">ɡḛ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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="&#x1DA2;&#x1C0; i&#x330;">ᶢǀḭ</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="t&#x361;&#x283; u j a&#x2D0;">t͡ʃujaː</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="f e&#x2D0;">feː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES" subj="3.sing" ph="&#x261; e&#x330;">ɡḛ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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="&#x1DA2;&#x1C0; i&#x330;">ᶢǀḭ</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="obj" number="sing" ph="t&#x361;&#x283; u j a&#x2D0;">t͡ʃujaː</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="f e&#x2D0;">feː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
+    <word lexposp="adj" posp="verb" gloss="little" tam="pres-state" ta="PRES" subj="3.sing">ɡḛ</word>
+    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">ᶢǀḭ</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word gloss="COMP" posp="pp" role="obj" number="sing">t͡ʃujaː</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">feː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word gloss="then" posp="conj">ᶢǃi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡḛ&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;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǀḭ&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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͡ʃujaː&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;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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;ᶢǃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡḛ mṵtṵ ᶢǀḭt͡ʂa t͡ʂu t͡ʃujaː feːt͡ʂa t͡ʂu ᶢǃi</p>
+  <p>ge’ mu’tu’ gci’t͡ʂa t͡ʂu chuyaa feet͡ʂa t͡ʂu gqi</p>
+  <il>
+    <w>
+      <o>ɡḛ</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ᶢǀḭ</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃujaː</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>feː</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǃi</o>
+      <g>then</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 sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love" translation="I love you.">
  <s>
    <np number="sing" def="neither" role="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>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
About to call getSlotValue for love/verb/mode/optional
Got indicative
About to call getSlotValue for love/verb/obj/optional
Got 2.sing
<example id="love" translation="I love you.">
  <s>
    <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"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" 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"/>
+      <thingy type="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="2.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
    </vp>
  </s>
</example>

flatten:

<example id="love" translation="I love you.">
-  <s>
-    <np number="sing" def="neither" role="obj" locus="number" person="2">
+  <flat>
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" 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"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="2.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" 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"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="2.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="p i&#x330;">pḭ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" ph="&#x261; e&#x2D0;">ɡeː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; u&#x330;">t͡ʂṵ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="p i&#x330;">pḭ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" ph="&#x261; e&#x2D0;">ɡeː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; u&#x330;">t͡ʂṵ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number">pḭ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">ɡeː</word>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ">t͡ʂṵ</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">t͡ʃu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pḭ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡeː&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;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pḭtṵ ɡeːt͡ʂṵ t͡ʃu</p>
+  <p>pi’tu’ geet͡ʂu’ chu</p>
+  <il>
+    <w>
+      <o>pḭ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡeː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡ʂṵ</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʃu</o>
+      <g>1excl.sing.SUBJ</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 sequential:

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">
-    <np def="def" number="sing" locus="number">
+    <word gloss="in_surface" posp="pp"/>
+    <np def="def" number="sing" locus="number" case="LOC">
      <word posp="noun" gloss="table"/>
    </np>
  </pp>
</example>

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="s a&#x2D0;">saː</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" ph="&#x288; i&#x2D0; b i">ʈiːbi</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC" attach="suffix" ph="d&#x361;&#x292; u&#x330;">d͡ʒṵ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="s a&#x2D0;">saː</word>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" ph="&#x288; i&#x2D0; b i">ʈiːbi</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC" attach="suffix" ph="d&#x361;&#x292; u&#x330;">d͡ʒṵ</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">saː</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC">ʈiːbi</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC">d͡ʒṵ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in_surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈiːbi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;table&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d͡ʒṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>saː ʈiːbid͡ʒṵ</p>
+  <p>saa rtiibiju’</p>
+  <il>
+    <w>
+      <o>saː</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>ʈiːbi</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-d͡ʒṵ</o>
+      <g>sing.LOC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

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">
-    <np def="def" number="sing" locus="number">
+    <word gloss="to_inside" posp="pp"/>
+    <np def="def" number="sing" locus="number" case="LOC">
      <word posp="noun" gloss="box"/>
    </np>
  </pp>
</example>

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

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

addaffixes:

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

flatten:

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

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="n u">nu</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" ph="&#x288; i m a&#x2D0; &#x288; u">ʈimaːʈu</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC" attach="suffix" ph="d&#x361;&#x292; u&#x330;">d͡ʒṵ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="n u">nu</word>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" ph="&#x288; i m a&#x2D0; &#x288; u">ʈimaːʈu</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC" attach="suffix" ph="d&#x361;&#x292; u&#x330;">d͡ʒṵ</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">nu</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC">ʈimaːʈu</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.LOC">d͡ʒṵ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to_inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʈimaːʈu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;box&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-d͡ʒṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nu ʈimaːʈud͡ʒṵ</p>
+  <p>nu rtimaartuju’</p>
+  <il>
+    <w>
+      <o>nu</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>ʈimaːʈu</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-d͡ʒṵ</o>
+      <g>sing.LOC</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module 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" case="LOC">
-      <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" case="LOC">
+    <np number="sing" def="neither" locus="number" case="LOC" 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" case="LOC" 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" case="LOC"/>
    </np>
  </pp>
</example>

addaffixes:

About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
<example id="adpos3" translation="with me">
  <pp role="comitative">
    <word gloss="COMIT" posp="pp" role="comitative"/>
    <np number="sing" def="neither" locus="number" case="LOC" person="1excl">
      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC"/>
+      <thingy type="pronnumber" function="suffix" gloss="sing"/>
    </np>
  </pp>
</example>

flatten:

<example id="adpos3" translation="with me">
-  <pp role="comitative">
+  <flat>
    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <np number="sing" def="neither" locus="number" case="LOC" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </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" case="LOC"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="j a&#x330; t&#x361;&#x283; u">ja̰t͡ʃu</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC" ph="t&#x361;&#x282; o">t͡ʂo</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="j a&#x330; t&#x361;&#x283; u">ja̰t͡ʃu</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC" ph="t&#x361;&#x282; o">t͡ʂo</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">ja̰t͡ʃu</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC">t͡ʂo</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ja̰t͡ʃu&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;t͡ʂo&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ṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ja̰t͡ʃu t͡ʂotṵ</p>
+  <p>ya’chu t͡ʂotu’</p>
+  <il>
+    <w>
+      <o>ja̰t͡ʃu</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>t͡ʂo</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>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 sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for jaguar/noun/number.case/optional
About to call getSlotValue for hunter/noun/number.case/optional
About to call getSlotValue for kill/verb/mode/optional
Got indicative
About to call getSlotValue for kill/verb/obj/optional
Got 3.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"/>
    </np>
    <np number="sing" def="def" role="obj" locus="number">
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </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"/>
-    </np>
-    <np number="sing" def="def" role="obj" locus="number">
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" ph="&#x1D4F;&#x1C3; a s+k a&#x2D0; t&#x361;s i">ᵏǃaskaːt͡si</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="k a k i m a&#x330;">kakima̰</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="t a&#x2D0;">taː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="&#x1D4F;&#x1C3; a s+k a&#x2D0; t&#x361;s i">ᵏǃaskaːt͡si</word>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="k a k i m a&#x330;">kakima̰</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="t a&#x2D0;">taː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number">ᵏǃaskaːt͡si</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number">kakima̰</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">taː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᵏǃaskaːt͡si&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;kakima̰&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;taː&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ᵏǃaskaːt͡si kakima̰ taːt͡ʂa t͡ʂu</p>
+  <p>qaskaatzi kakima’ taat͡ʂa t͡ʂu</p>
+  <il>
+    <w>
+      <o>ᵏǃaskaːt͡si</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>kakima̰</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>taː</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="eat"/>
    </vp>
  </s>
</example>

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module 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>
    <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>
-    <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>
  </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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="lion"/>
    </np>
-    <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"/>
        </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number">
      <word posp="noun" gloss="lion"/>
    </np>
-    <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"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

movedowntoword:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number">
-      <word posp="noun" gloss="lion"/>
+      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
    </np>
    <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"/>
    </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"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for lion/noun/number.case/optional
About to call getSlotValue for hunter/noun/number.case/optional
Got sing.GEN
About to call getSlotValue for daughter/noun/number.case/optional
Got sing.GEN
About to call getSlotValue for dog/noun/number.case/optional
About to call getSlotValue for eat/verb/mode/optional
Got indicative
About to call getSlotValue for eat/verb/obj/optional
Got 3.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"/>
    </np>
    <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.case" function="suffix" gloss="sing.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.case" function="suffix" gloss="sing.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="dog" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

flatten:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
-  <s>
-    <np number="sing" def="def" role="subj" locus="number">
+  <flat>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
-    </np>
-    <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.case" function="suffix" gloss="sing.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.case" function="suffix" gloss="sing.GEN"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="dog" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" ph="f u t&#x361;&#x283; u&#x2D0; &#x272; i&#x330;">fut͡ʃuːɲḭ</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k a k i m a&#x330;">kakima̰</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="t&#x361;&#x283;&#x2BC; e">t͡ʃʼe</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="f u">fu</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x272; o&#x330;">ɲo̰</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="f u t&#x361;&#x283; u&#x2D0; &#x272; i&#x330;">fut͡ʃuːɲḭ</word>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="k a k i m a&#x330;">kakima̰</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="t&#x361;&#x283;&#x2BC; e">t͡ʃʼe</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="f u">fu</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x272; o&#x330;">ɲo̰</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number">fut͡ʃuːɲḭ</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">kakima̰</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">t͡sḭ</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN">t͡ʃʼe</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">t͡sḭ</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned">fu</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">ɲo̰</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fut͡ʃuːɲḭ&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;kakima̰&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;-t͡sḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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͡ʃʼe&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;-t͡sḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;fu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;dog&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲo̰&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>fut͡ʃuːɲḭ kakima̰t͡sḭ t͡ʃʼet͡sḭ fu ɲo̰t͡ʂa t͡ʂu</p>
+  <p>fuchuuñi’ kakima’tzi’ chʼetzi’ fu ño’t͡ʂa t͡ʂu</p>
+  <il>
+    <w>
+      <o>fut͡ʃuːɲḭ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>kakima̰</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-t͡sḭ</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>t͡ʃʼe</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-t͡sḭ</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>fu</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>ɲo̰</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

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:

No change.

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"/>
  </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>

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"/>
  </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"/>
  </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"/>
  </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 2.sing/pron/number/obligatory
Got sing
About to call getSlotValue for son/noun/number.case/optional
Got sing.GEN
About to call getSlotValue for friend/noun/number.case/optional
Got sing.GEN
About to call getSlotValue for book/noun/number.case/optional
<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="pronnumber" function="suffix" gloss="sing"/>
  </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.case" function="suffix" gloss="sing.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.case" function="suffix" gloss="sing.GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned"/>
  </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="pronnumber" function="suffix" gloss="sing"/>
-  </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.case" function="suffix" gloss="sing.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.case" function="suffix" gloss="sing.GEN"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned">
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned"/>
-  </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="pronnumber" function="suffix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned"/>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="p i&#x330;">pḭ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="p o">po</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="b o">bo</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="b e&#x2D0;">beː</word>
  </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="p i&#x330;">pḭ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="p o">po</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="b o">bo</word>
-    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN" attach="suffix" ph="t&#x361;s i&#x330;">t͡sḭ</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="b e&#x2D0;">beː</word>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">pḭ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN">po</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">t͡sḭ</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN">bo</word>
+    <thingy type="nounnumber.case" function="suffix" gloss="sing.GEN">t͡sḭ</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned">beː</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&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;sing&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;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-t͡sḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;bo&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;-t͡sḭ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing.&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;beː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pḭtṵ pot͡sḭ bot͡sḭ beː</p>
+  <p>pi’tu’ potzi’ botzi’ bee</p>
+  <il>
+    <w>
+      <o>pḭ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>po</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-t͡sḭ</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>bo</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-t͡sḭ</o>
+      <g>sing.GEN</g>
+    </w>
+    <w>
+      <o>beː</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 sequential:

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">
+      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for cat/noun/number.case/optional
About to call getSlotValue for sleep/verb/mode/optional
Got indicative
About to call getSlotValue for sleep/verb/obj/optional
<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"/>
    </np>
    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </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"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </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="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="&#x261; a&#x330;">ɡa̰</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="&#x288; i&#x2D0;">ʈiː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="&#x261; a&#x330;">ɡa̰</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="&#x288; i&#x2D0;">ʈiː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">ɡa̰</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">ʈiː</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡa̰&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;ʈiː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡa̰ ʈiː</p>
+  <p>ga’ rtii</p>
+  <il>
+    <w>
+      <o>ɡa̰</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ʈiː</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 sequential:

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">
+      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="run"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for cat/noun/number.case/optional
About to call getSlotValue for run/verb/mode/optional
About to call getSlotValue for run/verb/obj/optional

No change.

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"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="vpsubj" function="enclitic" gloss="3.sing"/>
-    </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="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="&#x261; a&#x330;">ɡa̰</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="n a&#x2D0;">naː</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="&#x261; a&#x330;">ɡa̰</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="n a&#x2D0;">naː</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">ɡa̰</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">naː</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡa̰&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;naː&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡa̰ naː</p>
+  <p>ga’ naa</p>
+  <il>
+    <w>
+      <o>ɡa̰</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>naː</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 sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number.case/optional
About to call getSlotValue for mouse/noun/number.case/optional
About to call getSlotValue for chase/verb/mode/optional
About to call getSlotValue for chase/verb/obj/optional
Got 3.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"/>
    </np>
    <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"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="&#x261; a&#x330;">ɡa̰</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="&#x28B; u n i d i">ʋunidi</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="k&#x2BC; i t e">kʼite</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="&#x261; a&#x330;">ɡa̰</word>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="&#x28B; u n i d i">ʋunidi</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="k&#x2BC; i t e">kʼite</word>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">ɡa̰</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number">ʋunidi</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">kʼite</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡa̰&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;ʋunidi&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;kʼite&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡa̰ ʋunidi kʼitet͡ʂa</p>
+  <p>ga’ wunidi gkitet͡ʂa</p>
+  <il>
+    <w>
+      <o>ɡa̰</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ʋunidi</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>kʼite</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</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 sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number.case/optional
About to call getSlotValue for mouse/noun/number.case/optional
About to call getSlotValue for catch/verb/mode/optional
Got indicative
About to call getSlotValue for catch/verb/obj/optional
Got 3.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"/>
    </np>
    <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"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

flatten:

<example id="tr_past" translation="The cat caught the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    </np>
-    <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"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="&#x261; a&#x330;">ɡa̰</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="&#x28B; u n i d i">ʋunidi</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x28B; o">ʋo</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="&#x261; a&#x330;">ɡa̰</word>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="&#x28B; u n i d i">ʋunidi</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x28B; o">ʋo</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">ɡa̰</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number">ʋunidi</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">ʋo</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡa̰&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;ʋunidi&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;ʋo&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡa̰ ʋunidi ʋot͡ʂa t͡ʂu</p>
+  <p>ga’ wunidi wot͡ʂa t͡ʂu</p>
+  <il>
+    <w>
+      <o>ɡa̰</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ʋunidi</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ʋo</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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>
-    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

No change.

module 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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kill"/>
    </vp>
  </s>
</example>

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for hunter/noun/number.case/optional
About to call getSlotValue for jaguar/noun/number.case/optional
About to call getSlotValue for tiger/noun/number.case/optional
About to call getSlotValue for lion/noun/number.case/optional
About to call getSlotValue for kill/verb/mode/optional
Got indicative
About to call getSlotValue for kill/verb/obj/optional
Got 3.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"/>
    </np>
    <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"/>
    </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"/>
    </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"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.plur"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.plur"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" ph="k a k i m a&#x330;">kakima̰</word>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="&#x1D4F;&#x1C3; a s+k a&#x2D0; t&#x361;s i">ᵏǃaskaːt͡si</word>
+    <word posp="conj" gloss="and" ph="&#x272; a&#x330;">ɲa̰</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="&#x1DA2;&#x1C3; a j u m u">ᶢǃajumu</word>
+    <word posp="conj" gloss="and" ph="&#x272; a&#x330;">ɲa̰</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="f u t&#x361;&#x283; u&#x2D0; &#x272; i&#x330;">fut͡ʃuːɲḭ</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="t a&#x2D0;">taː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" attach="suffix" ph="t&#x361;&#x283;&#x2BC; u">t͡ʃʼu</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" ph="k a k i m a&#x330;">kakima̰</word>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="&#x1D4F;&#x1C3; a s+k a&#x2D0; t&#x361;s i">ᵏǃaskaːt͡si</word>
-    <word posp="conj" gloss="and" ph="&#x272; a&#x330;">ɲa̰</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="&#x1DA2;&#x1C3; a j u m u">ᶢǃajumu</word>
-    <word posp="conj" gloss="and" ph="&#x272; a&#x330;">ɲa̰</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="f u t&#x361;&#x283; u&#x2D0; &#x272; i&#x330;">fut͡ʃuːɲḭ</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="t a&#x2D0;">taː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ" attach="suffix" ph="t&#x361;&#x283;&#x2BC; u">t͡ʃʼu</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number">kakima̰</word>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme">ᵏǃaskaːt͡si</word>
+    <word posp="conj" gloss="and">ɲa̰</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme">ᶢǃajumu</word>
+    <word posp="conj" gloss="and">ɲa̰</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme">fut͡ʃuːɲḭ</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">taː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.plur.OBJ">t͡ʃʼu</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kakima̰&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;ᵏǃaskaːt͡si&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;ɲa̰&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;ᶢǃajumu&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;ɲa̰&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;fut͡ʃuːɲḭ&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;taː&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;-t͡ʃʼu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kakima̰ ᵏǃaskaːt͡si ɲa̰ ᶢǃajumu ɲa̰ fut͡ʃuːɲḭ taːt͡ʃʼu t͡ʂu</p>
+  <p>kakima’ qaskaatzi ña’ gqayumu ña’ fuchuuñi’ taachʼu t͡ʂu</p>
+  <il>
+    <w>
+      <o>kakima̰</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>ᵏǃaskaːt͡si</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ɲa̰</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ᶢǃajumu</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>ɲa̰</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>fut͡ʃuːɲḭ</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>taː</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>-t͡ʃʼu</o>
+      <g>3.plur.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number.case/optional
About to call getSlotValue for pat/verb/mode/optional
Got indicative
About to call getSlotValue for pat/verb/obj/optional
Got 3.sing
<example id="relp1" translation="I patted the cat.">
  <s>
    <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"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" ph="&#x261; a&#x330;">ɡa̰</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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" ph="n a &#x28B; u">naʋu</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" ph="&#x261; a&#x330;">ɡa̰</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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" ph="n a &#x28B; u">naʋu</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number">ɡa̰</word>
+    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">naʋu</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">t͡ʃu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡa̰&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;naʋu&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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͡ʃu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡa̰ naʋut͡ʂa t͡ʂu t͡ʃu</p>
+  <p>ga’ nawut͡ʂa t͡ʂu chu</p>
+  <il>
+    <w>
+      <o>ɡa̰</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>naʋu</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃu</o>
+      <g>1excl.sing.SUBJ</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 sequential:

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

module sentenceconnectors:

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

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="obj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addaffixes:

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

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <np def="def" number="sing" role="obj" locus="number">
+  <flat>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="obj" head="this" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="&#x28B; u n i d i">ʋunidi</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x28B; o">ʋo</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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" ph="n a &#x28B; u">naʋu</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
+    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="&#x28B; u n i d i">ʋunidi</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x28B; o">ʋo</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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" ph="n a &#x28B; u">naʋu</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
-    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number">ʋunidi</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">ʋo</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">naʋu</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">t͡ʃu</thingy>
+    <word gloss="then" posp="conj">ᶢǃi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋunidi&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;ʋo&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naʋu&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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͡ʃu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʋunidi ʋot͡ʂa t͡ʂu mṵtṵ naʋut͡ʂa t͡ʂu t͡ʃu ᶢǃi</p>
+  <p>wunidi wot͡ʂa t͡ʂu mu’tu’ nawut͡ʂa t͡ʂu chu gqi</p>
+  <il>
+    <w>
+      <o>ʋunidi</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ʋo</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>naʋu</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃu</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>ᶢǃi</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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

module sentenceconnectors:

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

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np def="def" number="sing" role="subj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="cheese"/>
    </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"/>
    </vp>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <np role="obj" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number">
        <word posp="pron" number="sing" gloss="3.sing"/>
      </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="catch"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <np role="obj" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number">
        <word posp="pron" number="sing" gloss="3.sing"/>
      </np>
    </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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="obj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="obj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <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="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addaffixes:

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

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <np def="def" number="sing" role="obj" locus="number">
+  <flat>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="obj" head="this" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    <thingy type="pronnumber" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="obj" head="this" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="m i z i &#x27E; a">miziɾa</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x272; o&#x330;">ɲo̰</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x28B; o">ʋo</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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" ph="n a &#x28B; u">naʋu</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
+    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="m i z i &#x27E; a">miziɾa</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x272; o&#x330;">ɲo̰</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x28B; o">ʋo</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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" ph="n a &#x28B; u">naʋu</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
-    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number">miziɾa</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">ɲo̰</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">ʋo</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word gloss="then" posp="conj">ᶢǃi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">naʋu</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">t͡ʃu</thingy>
+    <word gloss="then" posp="conj">ᶢǃi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;miziɾa&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;ɲo̰&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋo&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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;ᶢǃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naʋu&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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͡ʃu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>miziɾa ɲo̰t͡ʂa t͡ʂu mṵtṵ ʋot͡ʂa t͡ʂu ᶢǃi mṵtṵ naʋut͡ʂa t͡ʂu t͡ʃu ᶢǃi</p>
+  <p>mizira ño’t͡ʂa t͡ʂu mu’tu’ wot͡ʂa t͡ʂu gqi mu’tu’ nawut͡ʂa t͡ʂu chu gqi</p>
+  <il>
+    <w>
+      <o>miziɾa</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>ɲo̰</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʋo</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǃi</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>naʋu</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃu</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>ᶢǃi</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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

module sentenceconnectors:

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

module complementise:

No change.

module adpositions:

No change.

module constorder:

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

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <np def="def" number="sing" role="obj" head="this" 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="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="buy"/>
    </vp>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <np role="obj" number="sing">
      <np def="def" number="sing" role="obj" head="this" locus="number">
        <word posp="pron" number="sing" gloss="3.sing"/>
      </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="eat"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <np role="obj" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number">
        <word posp="pron" number="sing" gloss="3.sing"/>
      </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="catch"/>
    </vp>
    <word gloss="then" posp="conj"/>
  </s>
  <s connector="then">
-    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
-      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
-    </np>
    <np role="obj" number="sing">
      <np def="def" number="sing" role="subj" head="this" locus="number">
        <word posp="pron" number="sing" gloss="3.sing"/>
      </np>
    </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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

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

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <np def="def" number="sing" role="obj" head="this" locus="number">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="obj" head="this" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    <thingy type="pronnumber" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="obj" head="this" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    <thingy type="pronnumber" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="obj" head="this" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    </vp>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="&#x28B; u&#x2D0;">ʋuː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x272; o&#x330;">ɲo̰</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x28B; o">ʋo</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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" ph="n a &#x28B; u">naʋu</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
+    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing" ph="&#x28B; u&#x2D0;">ʋuː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x272; o&#x330;">ɲo̰</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" subj="3.sing" obj="3.sing" ph="&#x28B; o">ʋo</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="m u&#x330;">mṵ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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" ph="n a &#x28B; u">naʋu</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
-    <word gloss="then" posp="conj" ph="&#x1DA2;&#x1C3; i">ᶢǃi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">ʋuː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">t͡ʃu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">ɲo̰</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word gloss="then" posp="conj">ᶢǃi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">ʋo</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word gloss="then" posp="conj">ᶢǃi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">mṵ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">naʋu</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">t͡ʃu</thingy>
+    <word gloss="then" posp="conj">ᶢǃi</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;3.sing&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;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋuː&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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͡ʃu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɲo̰&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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;ᶢǃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʋo&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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;ᶢǃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mṵ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;naʋu&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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͡ʃu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ᶢǃi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mṵtṵ ʋuːt͡ʂa t͡ʂu t͡ʃu mṵtṵ ɲo̰t͡ʂa t͡ʂu ᶢǃi mṵtṵ ʋot͡ʂa t͡ʂu ᶢǃi mṵtṵ naʋut͡ʂa t͡ʂu t͡ʃu ᶢǃi</p>
+  <p>mu’tu’ wuut͡ʂa t͡ʂu chu mu’tu’ ño’t͡ʂa t͡ʂu gqi mu’tu’ wot͡ʂa t͡ʂu gqi mu’tu’ nawut͡ʂa t͡ʂu chu gqi</p>
+  <il>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʋuː</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃu</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɲo̰</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǃi</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ʋo</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ᶢǃi</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>mṵ</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>naʋu</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃu</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>ᶢǃi</o>
+      <g>then</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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"/>
-        <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>
+        <np number="sing" role="obj" locus="number">
+          <word posp="noun" gloss="apple"/>
+        </np>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+          <word posp="verb" gloss="give"/>
+        </vp>
+        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="surprise"/>
+    </vp>
  </s>
</example>

module casemarking:

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

module 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>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number">
          <word posp="noun" gloss="apple"/>
        </np>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+        <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>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <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>
  </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>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
          <word posp="noun" gloss="girl"/>
        </np>
        <np number="sing" role="obj" locus="number">
          <word posp="noun" gloss="apple"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">
+          <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+          <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
          <word posp="verb" gloss="give"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
+      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="surprise"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/number.case/optional
About to call getSlotValue for girl/noun/number.case/optional
About to call getSlotValue for apple/noun/number.case/optional
About to call getSlotValue for give/verb/mode/optional
Got indicative
About to call getSlotValue for give/verb/obj/optional
Got 3.sing
About to call getSlotValue for teacher/noun/number.case/optional
About to call getSlotValue for surprise/verb/mode/optional
Got indicative
About to call getSlotValue for surprise/verb/obj/optional
<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"/>
        </np>
        <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"/>
        </np>
        <np number="sing" role="obj" locus="number">
          <word posp="noun" gloss="apple" number="sing" role="obj" 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">
          <thingy type="vpnegation" function="proclitic" gloss="POS"/>
          <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
          <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="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbobj" function="suffix" gloss="3.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
        </vp>
        <word gloss="COMP" posp="pp" role="subj" number="sing"/>
      </subs>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" 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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

flatten:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
-  <s>
-    <np role="subj" 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"/>
-        </np>
-        <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"/>
-        </np>
-        <np number="sing" role="obj" locus="number">
    <word posp="noun" gloss="apple" number="sing" role="obj" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-        </vp>
    <word gloss="COMP" posp="pp" role="subj" number="sing"/>
-      </subs>
-    </np>
-    <np number="sing" def="def" role="indobj" locus="number">
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" 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">
    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <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="verbmode" function="suffix" gloss="indicative"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <word gloss="COMP" posp="pp" role="subj" number="sing"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" ph="n o&#x330;">no̰</word>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="t o&#x330;">to̰</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="&#x28B; i p e d&#x361;&#x292; a">ʋiped͡ʒa</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="&#x1DA2;&#x1C3; u&#x2D0;">ᶢǃuː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="COMP" posp="pp" role="subj" number="sing" ph="t&#x361;&#x283; u j a&#x2D0;">t͡ʃujaː</word>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="m a &#x261; i&#x2D0; t i">maɡiːti</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="t&#x361;&#x282; i k i">t͡ʂiki</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" 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="n o&#x330;">no̰</word>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="t o&#x330;">to̰</word>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="&#x28B; i p e d&#x361;&#x292; a">ʋiped͡ʒa</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="&#x1DA2;&#x1C3; u&#x2D0;">ᶢǃuː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; a">t͡ʂa</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <word gloss="COMP" posp="pp" role="subj" number="sing" ph="t&#x361;&#x283; u j a&#x2D0;">t͡ʃujaː</word>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="m a &#x261; i&#x2D0; t i">maɡiːti</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="t&#x361;&#x282; i k i">t͡ʂiki</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number">no̰</word>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number">to̰</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number">ʋiped͡ʒa</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">ᶢǃuː</word>
+    <thingy type="verbobj" function="suffix" gloss="3.sing.OBJ">t͡ʂa</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
+    <word gloss="COMP" posp="pp" role="subj" number="sing">t͡ʃujaː</word>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number">maɡiːti</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͡ʂiki</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;no̰&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;to̰&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;ʋiped͡ʒa&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;ᶢǃuː&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;-t͡ʂa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&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͡ʃujaː&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;maɡiːti&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂiki&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;t͡ʂu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>no̰ to̰ ʋiped͡ʒa ᶢǃuːt͡ʂa t͡ʂu t͡ʃujaː maɡiːti t͡ʂiki t͡ʂu</p>
+  <p>no’ to’ wipeja gquut͡ʂa t͡ʂu chuyaa magiiti t͡ʂiki t͡ʂu</p>
+  <il>
+    <w>
+      <o>no̰</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>to̰</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>ʋiped͡ʒa</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ᶢǃuː</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>-t͡ʂa</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>t͡ʃujaː</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>maɡiːti</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>t͡ʂiki</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module sentenceconnectors:

No change.

module complementise:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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>
    <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>
        <np number="sing" def="neither" role="obj" locus="number">
          <word person="2" number="sing" posp="pron"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
          <word posp="verb" gloss="love"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
  </s>
</example>

module 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>
    <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>
        <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>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
          <word posp="verb" gloss="love"/>
        </vp>
        <word gloss="COMP" posp="pp"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="tell"/>
    </vp>
  </s>
</example>

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/number.case/optional
About to call getSlotValue for girl/noun/number.case/optional
About to call getSlotValue for 1excl.sing/pron/number/obligatory
Got sing
About to call getSlotValue for 2.sing/pron/number/obligatory
Got sing
About to call getSlotValue for love/verb/mode/optional
Got indicative
About to call getSlotValue for love/verb/obj/optional
Got 2.sing
About to call getSlotValue for tell/verb/mode/optional
Got indicative
About to call getSlotValue for tell/verb/obj/optional
Got 1excl.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"/>
    </np>
    <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"/>
    </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"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <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"/>
+          <thingy type="pronnumber" function="suffix" gloss="sing"/>
        </np>
        <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">
          <thingy type="vpnegation" function="proclitic" gloss="POS"/>
          <thingy type="vpquestion" function="proclitic" 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"/>
+          <thingy type="verbmode" function="suffix" gloss="indicative"/>
+          <thingy type="verbobj" function="suffix" gloss="2.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PRES"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
        </vp>
        <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl"/>
      </subs>
    </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">
      <thingy type="vpnegation" function="proclitic" gloss="POS"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <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="verbmode" function="suffix" gloss="indicative"/>
+      <thingy type="verbobj" function="suffix" gloss="1excl.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
-    <thingy type="pronnumber" function="suffix" gloss="sing"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" 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"/>
-    <thingy type="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="2.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl"/>
-    <thingy type="vpnegation" function="proclitic" gloss="POS"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <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="verbmode" function="suffix" gloss="indicative"/>
-    <thingy type="verbobj" function="suffix" gloss="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" ph="n o&#x330;">no̰</word>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" ph="t o&#x330;">to̰</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="t&#x361;&#x282; o">t͡ʂo</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="p i&#x330;">pḭ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" 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" ph="&#x261; e&#x2D0;">ɡeː</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; u&#x330;">t͡ʂṵ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl" ph="t&#x361;&#x283; u j a&#x2D0;">t͡ʃujaː</word>
+    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="j a">ja</word>
+    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
+    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="t&#x361;s&#x2BC; u&#x330;">t͡sʼṵ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" ph="n o&#x330;">no̰</word>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" ph="t o&#x330;">to̰</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="t&#x361;&#x282; o">t͡ʂo</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="p i&#x330;">pḭ</word>
-    <thingy type="pronnumber" function="suffix" gloss="sing" attach="suffix" ph="t u&#x330;">tṵ</thingy>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" 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" ph="&#x261; e&#x2D0;">ɡeː</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ" attach="suffix" ph="t&#x361;&#x282; u&#x330;">t͡ʂṵ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="t&#x361;&#x283; u">t͡ʃu</thingy>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl" ph="t&#x361;&#x283; u j a&#x2D0;">t͡ʃujaː</word>
-    <thingy type="vpnegation" function="proclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" 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="j a">ja</word>
-    <thingy type="verbmode" function="suffix" gloss="indicative" attach="suffix" ph=""></thingy>
-    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ" attach="suffix" ph="t&#x361;s&#x2BC; u&#x330;">t͡sʼṵ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="t&#x361;&#x282; u">t͡ʂu</thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number">no̰</word>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number">to̰</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">t͡ʂo</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number">pḭ</word>
+    <thingy type="pronnumber" function="suffix" gloss="sing">tṵ</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">ɡeː</word>
+    <thingy type="verbobj" function="suffix" gloss="2.sing.OBJ">t͡ʂṵ</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">t͡ʃu</thingy>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl">t͡ʃujaː</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">ja</word>
+    <thingy type="verbobj" function="suffix" gloss="1excl.sing.OBJ">t͡sʼṵ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">t͡ʂu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;no̰&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;to̰&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;t͡ʂo&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ṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pḭ&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;-tṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡeː&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;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʃujaː&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;ja&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;-t͡sʼṵ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;t͡ʂu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>no̰ to̰ t͡ʂotṵ pḭtṵ ɡeːt͡ʂṵ t͡ʃu t͡ʃujaː jat͡sʼṵ t͡ʂu</p>
+  <p>no’ to’ t͡ʂotu’ pi’tu’ geet͡ʂu’ chu chuyaa yatzʼu’ t͡ʂu</p>
+  <il>
+    <w>
+      <o>no̰</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>to̰</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>t͡ʂo</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>pḭ</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>-tṵ</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ɡeː</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>-t͡ʂṵ</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʃu</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>t͡ʃujaː</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>ja</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>-t͡sʼṵ</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>t͡ʂu</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>