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.

tva1
tva2
tva1
tva2

module affixdensity:

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>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="catch"/>
+    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <np 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>
+    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
-      <np 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>
    <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>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <word posp="verb" gloss="catch"/>
    </vp>
    <np role="obj" def="def" number="plur" tr="rheme" locus="number">
      <np head="this" role="subj" number="plur">
        <word posp="pron" number="plur" gloss="3.plur"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

prodrop:

No change.

addclitics:

<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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="catch"/>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
-    <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>
    <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>
    <np head="this" role="subj" number="plur">
-      <word posp="pron" number="plur" gloss="3.plur"/>
+      <word posp="pron" number="plur" gloss="3.plur" head="this" role="subj"/>
    </np>
    <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"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addaffixes:

About to call getSlotValue for woman/noun/number/obligatory
Got sing
About to call getSlotValue for woman/noun/def.case/optional
About to call getSlotValue for knife/noun/number/obligatory
Got sing
About to call getSlotValue for knife/noun/def.case/optional
Got def.LOC
<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" head="this" role="subj"/>
    </np>
    <vp tam="pres-state" ta="PRES" subj="3.plur">
      <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
    </vp>
  </s>
  <s connector="then">
    <np role="subj" number="sing" def="def" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <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">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC"/>
+          <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
        </np>
      </pp>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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"/>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

flatten:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
-  <s>
-    <np head="this" role="subj" number="plur">
+  <flat>
    <word posp="pron" number="plur" gloss="3.plur" head="this" role="subj"/>
-    </np>
-    <vp tam="pres-state" ta="PRES" subj="3.plur">
    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np role="subj" number="sing" def="def" locus="number">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <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">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC"/>
    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
-        </np>
-      </pp>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
    <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 posp="pron" number="plur" gloss="3.plur" head="this" role="subj"/>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" number="plur" gloss="3.plur" head="this" role="subj" ph="t i">ti</word>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" ph="t e &#x294; a">teʔa</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" ph="u s u">usu</word>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="k i k i &#x294; i">kikiʔi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" ph="o t i s a">otisa</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="s a t i">sati</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number" ph="t i">ti</word>
+    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="pron" number="plur" gloss="3.plur" head="this" role="subj" ph="t i">ti</word>
-    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur" ph="t e &#x294; a">teʔa</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" ph="u s u">usu</word>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="k i k i &#x294; i">kikiʔi</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" ph="o t i s a">otisa</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="s a t i">sati</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number" ph="t i">ti</word>
-    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
+    <word posp="pron" number="plur" gloss="3.plur" head="this" role="subj">ti</word>
+    <word lexposp="adj" posp="verb" gloss="blind" tam="pres-state" ta="PRES" subj="3.plur">teʔa</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number">usu</word>
+    <word gloss="COMIT" posp="pp" role="comitative">kikiʔi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC">otisa</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC">sati</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">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="plur" gloss="3.plur" head="this" role="obj" def="def" tr="rheme" locus="number">ti</word>
+    <word gloss="then" posp="conj">ʔe</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ti&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;teʔa&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;k-&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;usu&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;kikiʔi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;otisa&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;-sati&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;tãhẽ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ti&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;ʔe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ti teʔa kusu kikiʔi kotisasati tãhẽ tutu ti ʔe</p>
+  <p>ti teqa kusu kikiqi kotisasati tanhen tutu ti qe</p>
+  <il>
+    <w>
+      <o>ti</o>
+      <g>3.plur</g>
+    </w>
+    <w>
+      <o>teʔa</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>usu</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>kikiʔi</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>otisa</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>-sati</o>
+      <g>def.LOC</g>
+    </w>
+    <w>
+      <o>tãhẽ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>ti</o>
+      <g>3.plur</g>
+    </w>
+    <w>
+      <o>ʔe</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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

<example id="love2" translation="He (the boy) loves her (the girl).">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
-  </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="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="h u">hu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="h u t e">hute</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" ph="h u">hu</word>
  </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="subj" locus="number" ph="h u">hu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="h u t e">hute</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number" ph="h u">hu</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number">hu</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">hute</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS">ʔati</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="obj" locus="number">hu</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;hute&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;ʔati&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hu hute ʔati hu</p>
+  <p>hu hute qati hu</p>
+  <il>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>hute</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʔati</o>
+      <g>PRES.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for NN1/noun/number/obligatory
Got sing
About to call getSlotValue for NN1/noun/def.case/optional
About to call getSlotValue for NN2/noun/number/obligatory
Got sing
About to call getSlotValue for NN2/noun/def.case/optional
<example id="loveprop" translation="NN1 hates NN2.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Okatihi hates Uasaa.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="Okatihi" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="o k a t i h i#">okatihi#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s i h o &#x294; a">sihoʔa</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="Uasaa" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="u &#x294; a s a &#x294; a">uʔasaʔa</word>
  </flat>
</example>

vowelharmony:

<example id="loveprop" translation="Okatihi hates Uasaa.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="Okatihi" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="o k a t i h i#">okatihi#</word>
+    <word posp="noun" gloss="Okatihi" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="o# k a# t i# h i#" underlying="o k a t i h i#">o#ka#ti#hi#</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s i h o &#x294; a">sihoʔa</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="Uasaa" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="u &#x294; a s a &#x294; a">uʔasaʔa</word>
  </flat>
</example>

removetags:

<example id="loveprop" translation="Okatihi hates Uasaa.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="Okatihi" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" ph="o# k a# t i# h i#" underlying="o k a t i h i#">o#ka#ti#hi#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s i h o &#x294; a">sihoʔa</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="Uasaa" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes" ph="u &#x294; a s a &#x294; a">uʔasaʔa</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="Okatihi" def="def" number="sing" tr="theme" role="subj" locus="number" propernoun="yes" underlying="o k a t i h i#">o#ka#ti#hi#</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">sihoʔa</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS">ʔati</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="Uasaa" def="def" number="sing" tr="rheme" role="obj" locus="number" propernoun="yes">uʔasaʔa</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;okatihĩ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Okatihi&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sihoʔa&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;ʔati&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;uʔasaʔa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Uasaa&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kõkãtĩhĩ sihoʔa ʔati kuʔasaʔa</p>
+  <p>kOnkantinhin sihoqa qati kUqasaqa</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>okatihĩ</o>
+      <g>Okatihi</g>
+    </w>
+    <w>
+      <o>sihoʔa</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>ʔati</o>
+      <g>PRES.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>uʔasaʔa</o>
+      <g>Uasaa</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 affixdensity:

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:

<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 number="sing" def="def" locus="number" role="owner" case="GEN">
+      <word posp="noun" gloss="boy"/>
    </np>
+  </np>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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="owned">
    <word posp="noun" gloss="apple"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN">
    <word posp="noun" gloss="boy"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1" translation="the boy's apple">
  <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>
  <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>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="u s i s u s i">usisusi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="o s a">osa</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="u s i s u s i">usisusi</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" ph="o s a">osa</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">usisusi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN">osa</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">ʔaka</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&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;usisusi&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;k-&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;osa&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;-ʔaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kusisusi kosaʔaka</p>
+  <p>kusisusi kosaqaka</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>usisusi</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>osa</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>-ʔaka</o>
+      <g>def.GEN</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

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:

<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 number="sing" def="def" locus="number" role="owner" case="GEN">
+      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
+  </np>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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="owned">
    <word posp="noun" gloss="apple"/>
  </np>
  <np number="sing" def="def" locus="number" role="owner" case="GEN">
    <word posp="pron" number="sing" gloss="3.sing"/>
  </np>
-  </np>
</example>

movedowntoword:

<example id="posso1b" translation="his (the boy's) apple">
  <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>
  <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>
</example>

addaffixes:

About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/def.case/optional
<example id="posso1b" translation="his (the boy's) apple">
  <np number="sing" def="def" locus="number" role="owned">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
  </np>
  <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"/>
  </np>
</example>

flatten:

<example id="posso1b" translation="his (the boy's) apple">
-  <np number="sing" def="def" locus="number" role="owned">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-  </np>
-  <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"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nounnumber" function="prefix" 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"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="u s i s u s i">usisusi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="h u">hu</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="u s i s u s i">usisusi</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" ph="h u">hu</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">usisusi</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN">hu</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;usisusi&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;hu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kusisusi hu</p>
+  <p>kusisusi hu</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>usisusi</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</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 affixdensity:

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:

<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"/>
-    </np>
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
+    <np number="sing" def="neither" locus="number" role="owner" case="GEN">
+      <word person="1excl" number="sing" posp="pron"/>
    </np>
+  </np>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="posso2" translation="my apple">
  <np type="owner_owned" number="sing">
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
    <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>
</example>

copyuptophrase:

<example id="posso2" translation="my apple">
  <np type="owner_owned" number="sing">
    <np number="sing" def="def" locus="number" role="owned">
      <word posp="noun" gloss="apple"/>
    </np>
-    <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>
</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="def" locus="number" role="owned">
    <word posp="noun" gloss="apple"/>
  </np>
  <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>
</example>

movedowntoword:

<example id="posso2" translation="my apple">
  <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>
  <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>
</example>

addaffixes:

About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/def.case/optional
<example id="posso2" translation="my apple">
  <np number="sing" def="def" locus="number" role="owned">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
  </np>
  <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"/>
  </np>
</example>

flatten:

<example id="posso2" translation="my apple">
-  <np number="sing" def="def" locus="number" role="owned">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned"/>
-  </np>
-  <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"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nounnumber" function="prefix" 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"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="u s i s u s i">usisusi</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="h e#">he#</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" ph="u s i s u s i">usisusi</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN" ph="h e#">he#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned">usisusi</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" role="owner" case="GEN">he#</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;usisusi&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;hẽ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kusisusi hẽ</p>
+  <p>kusisusi hen</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>usisusi</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

<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 number="sing" def="def" locus="number" role="owner" case="GEN">
+          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
+    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
    <np role="obj" 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 number="sing" def="def" locus="number" role="owned">
+          <word posp="noun" gloss="son"/>
        </np>
+        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <word posp="noun" gloss="neighbour"/>
          </np>
+          <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">
-          <word posp="noun" gloss="son"/>
        </np>
      </np>
    </np>
  </s>
</example>

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<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="owned">
          <word posp="noun" gloss="daughter"/>
        </np>
        <np number="sing" def="def" locus="number" role="owner" case="GEN">
          <word posp="noun" gloss="hunter"/>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="kiss"/>
    </vp>
    <np role="obj" number="sing">
      <np type="owner_owned" number="sing">
        <np number="sing" def="def" locus="number" role="owned">
          <word posp="noun" gloss="son"/>
        </np>
        <np type="owner_owned" role="owner" number="sing">
          <np number="sing" def="def" locus="number" role="owned" case="GEN">
            <word posp="noun" gloss="neighbour"/>
          </np>
          <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>
      </np>
    </np>
  </s>
</example>

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/def.case/optional
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/def.case/optional
Got def.GEN
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for son/noun/def.case/optional
About to call getSlotValue for neighbour/noun/number/obligatory
Got sing
About to call getSlotValue for neighbour/noun/def.case/optional
Got def.GEN
<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <s>
    <np number="sing" def="def" locus="number" role="owned">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </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="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </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"/>
    </np>
  </s>
</example>

flatten:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
-  <s>
-    <np number="sing" def="def" locus="number" role="owned">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owner" case="GEN">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    </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="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <np number="sing" def="def" locus="number" role="owned">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
-    </np>
-    <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    </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"/>
-    </np>
-  </s>
+  </flat>
</example>

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="a t a#">ata#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s i &#x294; u &#x294; i#">siʔuʔi#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="a# &#x294; i">a#ʔi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="e t a k u h i">etakuhi</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="h i">hi</word>
  </flat>
</example>

vowelharmony:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="a t a#">ata#</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="a# t a#" underlying="a t a#">a#ta#</word>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s i &#x294; u &#x294; i#">siʔuʔi#</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" ph="s i# &#x294; u# &#x294; i#" underlying="s i &#x294; u &#x294; i#">si#ʔu#ʔi#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="a# &#x294; i">a#ʔi</word>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="a# &#x294; i#" underlying="a# &#x294; i">a#ʔi#</word>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="e t a k u h i">etakuhi</word>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="h i">hi</word>
  </flat>
</example>

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" ph="a# t a#" underlying="a t a#">a#ta#</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s i# &#x294; u# &#x294; i#" underlying="s i &#x294; u &#x294; i#">si#ʔu#ʔi#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" ph="a# &#x294; i#" underlying="a# &#x294; i">a#ʔi#</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" ph="e t a k u h i">etakuhi</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="h i">hi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" underlying="a t a#">a#ta#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">ikaʔiʔa</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">ʔaka</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" underlying="s i &#x294; u &#x294; i#">si#ʔu#ʔi#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" underlying="a# &#x294; i">a#ʔi#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN">etakuhi</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">ʔaka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">hi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;atã&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&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;ikaʔiʔa&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;-ʔaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;siʔuʔĩ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ãʔi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;etakuhi&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;-ʔaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;hi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kãtã kikaʔiʔaʔaka sĩʔũʔĩ tutu kãʔĩ ketakuhiʔaka hi</p>
+  <p>kantan kikaqiqaqaka sinqunqin tutu kanqin ketakuhiqaka hi</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>atã</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ikaʔiʔa</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ʔaka</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>siʔuʔĩ</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ãʔi</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>etakuhi</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>-ʔaka</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>hi</o>
+      <g>2.sing</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 affixdensity:

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/obligatory
Got sing
About to call getSlotValue for lamb/noun/def.case/optional
<example id="lamb0" translation="a lamb">
  <np number="sing" tr="rheme" locus="number">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number"/>
  </np>
</example>

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" ph="o s a &#x294; i &#x294; u#">osaʔiʔu#</word>
  </flat>
</example>

vowelharmony:

<example id="lamb0" translation="a lamb">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" ph="o s a &#x294; i &#x294; u#">osaʔiʔu#</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" ph="o# s a# &#x294; i# &#x294; u#" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
  </flat>
</example>

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" ph="o# s a# &#x294; i# &#x294; u#" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;osaʔiʔũ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kõsãʔĩʔũ</p>
+  <p>konsanqinqun</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>osaʔiʔũ</o>
+      <g>lamb</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

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

module affixdensity:

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

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

addaffixes:

About to call getSlotValue for lamb/noun/number/obligatory
Got sing
About to call getSlotValue for lamb/noun/def.case/optional
<example id="lamb1" translation="a little lamb">
  <np number="sing" tr="rheme" locus="number">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number">
      <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
      <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    </word>
  </np>
</example>

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="a &#x294;">aʔ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" ph="o s a &#x294; i &#x294; u#">osaʔiʔu#</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="s i">si</thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb1" translation="a little lamb">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="a &#x294;">aʔ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" ph="o s a &#x294; i &#x294; u#">osaʔiʔu#</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="s i">si</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="a# &#x294;" underlying="a &#x294;">a#ʔ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" ph="o# s a# &#x294; i# &#x294; u#" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="s i#" underlying="s i">si#</thingy>
  </flat>
</example>

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="a# &#x294;" underlying="a &#x294;">a#ʔ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" ph="o# s a# &#x294; i# &#x294; u#" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="s i#" underlying="s i">si#</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="a &#x294;">a#ʔ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="s i">si#</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&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;aʔ-&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;osaʔiʔũ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-si&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little₂&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kãʔõsãʔĩʔũsĩ</p>
+  <p>kanqonsanqinqunsin</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>aʔ-</o>
+      <g>little₁</g>
+    </w>
+    <w>
+      <o>osaʔiʔũ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-si</o>
+      <g>little₂</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word gloss="lamb" lexposp="noun" posp="verb">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <word gloss="lamb" lexposp="noun" posp="verb">
+      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
        <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
        <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb2" translation="She had a little lamb.">
-  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="h u">hu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x294;">ʔ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="a &#x294;">aʔ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="o s a &#x294; i &#x294; u#">osaʔiʔu#</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="s i">si</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="k u">ku</thingy>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
  </flat>
</example>

vowelharmony:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="h u">hu</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x294;">ʔ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="a &#x294;">aʔ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="o s a &#x294; i &#x294; u#">osaʔiʔu#</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="s i">si</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="a# &#x294;" underlying="a &#x294;">a#ʔ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="o# s a# &#x294; i# &#x294; u#" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="s i#" underlying="s i">si#</thingy>
    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="k u">ku</thingy>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
  </flat>
</example>

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="h u">hu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
-    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph="&#x294;">ʔ</thingy>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph="a# &#x294;" underlying="a &#x294;">a#ʔ</thingy>
-    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="o# s a# &#x294; i# &#x294; u#" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="s i#" underlying="s i">si#</thingy>
-    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="k u">ku</thingy>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number">hu</word>
+    <thingy gloss="have&#x2081;" type="nounverbderivbef" origposp="verb">ʔ</thingy>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" underlying="a &#x294;">a#ʔ</thingy>
+    <word gloss="lamb" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" underlying="o s a &#x294; i &#x294; u#">o#sa#ʔi#ʔu#</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" underlying="s i">si#</thingy>
+    <thingy gloss="have&#x2082;" type="nounverbderivaft" origposp="verb">ku</thingy>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;ʔ-&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;aʔ-&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;osaʔiʔũ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;-si&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;-ku&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hu ʔãʔõsãʔĩʔũsĩku tutu</p>
+  <p>hu qanqonsanqinqunsinku tutu</p>
+  <il>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ʔ-</o>
+      <g>have₁</g>
+    </w>
+    <w>
+      <o>aʔ-</o>
+      <g>little₁</g>
+    </w>
+    <w>
+      <o>osaʔiʔũ</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-si</o>
+      <g>little₂</g>
+    </w>
+    <w>
+      <o>-ku</o>
+      <g>have₂</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np def="indef" number="sing" tr="rheme" role="obj" locus="number">
+      <relp>
+        <vp tam="pres-state">
+          <word lexposp="adj" posp="verb" gloss="black"/>
+        </vp>
+        <np head="this" role="subj" number="sing">
          <word posp="noun" gloss="lamb"/>
-      <word posp="adj" gloss="black"/>
        </np>
+      </relp>
+    </np>
  </s>
</example>

module articles:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
      <word posp="verb" gloss="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np def="indef" number="sing" tr="rheme" role="obj" locus="number">
+    <np number="sing" tr="rheme" role="obj" locus="number">
      <relp>
        <vp tam="pres-state">
          <word lexposp="adj" posp="verb" gloss="black"/>
        </vp>
        <np head="this" role="subj" number="sing">
          <word posp="noun" gloss="lamb"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module nonpastonly:

<example id="lamb2b" translation="She loved a black 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="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <relp>
-        <vp tam="pres-state">
+        <vp tam="pres-state" ta="PRES">
          <word lexposp="adj" posp="verb" gloss="black"/>
        </vp>
        <np head="this" role="subj" number="sing">
          <word posp="noun" gloss="lamb"/>
        </np>
      </relp>
    </np>
  </s>
</example>

module noepistemic:

No change.

module sequential:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
+    <vp tam="pres-state" ta="PRES">
+      <word lexposp="adj" posp="verb" gloss="black"/>
+    </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="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
-      <relp>
-        <vp tam="pres-state" ta="PRES">
-          <word lexposp="adj" posp="verb" gloss="black"/>
-        </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>
  </s>
</example>

module sentenceconnectors:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <vp tam="pres-state" ta="PRES">
      <word lexposp="adj" posp="verb" gloss="black"/>
    </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="love"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number">
      <np head="this" role="subj" number="sing" output="aspron">
        <word posp="noun" gloss="lamb"/>
      </np>
    </np>
  </s>
</example>

module complementise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
-    <vp tam="pres-state" ta="PRES">
-      <word lexposp="adj" posp="verb" gloss="black"/>
-    </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="black"/>
+    </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="love"/>
-    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="love"/>
+    </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>
+    <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="lamb2b" translation="She loved a black 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="black"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
      <word posp="verb" gloss="love"/>
    </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 head="this" role="subj" number="sing">
+        <word posp="pron" number="sing" gloss="3.sing"/>
      </np>
    </np>
    <word gloss="then" posp="conj"/>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb2b" translation="She loved a black 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="black"/>
    </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>
-    <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="love"/>
    </vp>
    <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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="lamb2b" translation="She loved a black 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="black"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="love"/>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="lamb2b" translation="She loved a black 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="black"/>
    </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="love"/>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
-    <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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb2b" translation="She loved a black lamb.">
  <s>
    <np head="this" role="subj" number="sing">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" head="this" role="subj"/>
    </np>
    <vp tam="pres-state" ta="PRES" subj="3.sing">
-      <word lexposp="adj" posp="verb" gloss="black"/>
+      <word lexposp="adj" posp="verb" gloss="black" tam="pres-state" ta="PRES" subj="3.sing"/>
    </vp>
  </s>
  <s connector="then">
    <np def="def" number="sing" tr="theme" role="subj" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-      <word posp="verb" gloss="love"/>
+      <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb2b" translation="She loved a black lamb.">
-  <s>
-    <np head="this" role="subj" number="sing">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" head="this" role="subj"/>
-    </np>
-    <vp tam="pres-state" ta="PRES" subj="3.sing">
    <word lexposp="adj" posp="verb" gloss="black" tam="pres-state" ta="PRES" subj="3.sing"/>
-    </vp>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" tr="theme" role="subj" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" head="this" role="subj"/>
-    <word lexposp="adj" posp="verb" gloss="black" tam="pres-state" ta="PRES" subj="3.sing"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" number="sing" gloss="3.sing" head="this" role="subj" ph="h u">hu</word>
+    <word lexposp="adj" posp="verb" gloss="black" tam="pres-state" ta="PRES" subj="3.sing" ph="k e#">ke#</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="h u">hu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="h u t e">hute</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number" ph="h u">hu</word>
+    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2b" translation="She loved a black lamb.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" head="this" role="subj" ph="h u">hu</word>
-    <word lexposp="adj" posp="verb" gloss="black" tam="pres-state" ta="PRES" subj="3.sing" ph="k e#">ke#</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number" ph="h u">hu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpquestion" function="proclitic" gloss="not.Q" ph=""></thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="h u t e">hute</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number" ph="h u">hu</word>
-    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
+    <word posp="pron" number="sing" gloss="3.sing" head="this" role="subj">hu</word>
+    <word lexposp="adj" posp="verb" gloss="black" tam="pres-state" ta="PRES" subj="3.sing">ke#</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="subj" locus="number">hu</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">hute</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" head="this" role="obj" tr="rheme" locus="number">hu</word>
+    <word gloss="then" posp="conj">ʔe</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kẽ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;black&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;hute&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;ʔe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hu kẽ hu hute tutu hu ʔe</p>
+  <p>hu ken hu hute tutu hu qe</p>
+  <il>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kẽ</o>
+      <g>black</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>hute</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ʔe</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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="h u t e">hute</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="h i">hi</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="h u t e">hute</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="h i">hi</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">he#</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">hute</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS">ʔati</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number">hi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hẽ&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;hute&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;ʔati&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hẽ hute ʔati hi</p>
+  <p>hen hute qati hi</p>
+  <il>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>hute</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʔati</o>
+      <g>PRES.active.POS</g>
+    </w>
+    <w>
+      <o>hi</o>
+      <g>2.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

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

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module 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/obligatory
Got sing
About to call getSlotValue for table/noun/def.case/optional
Got def.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">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.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">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC"/>
    <thingy type="noundef.case" function="suffix" gloss="def.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"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes" ph="s a k i">saki</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" ph="a &#x294; a s u">aʔasu</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="s a t i">sati</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 k i">saki</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC" ph="a &#x294; a s u">aʔasu</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="s a t i">sati</thingy>
+    <word gloss="in_surface" posp="pp" p="in" location="surface" precise="yes">saki</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" case="LOC">aʔasu</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC">sati</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;saki&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;k-&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;aʔasu&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;-sati&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>saki kaʔasusati</p>
+  <p>saki kaqasusati</p>
+  <il>
+    <w>
+      <o>saki</o>
+      <g>in_surface</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>aʔasu</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>-sati</o>
+      <g>def.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 affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module 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/obligatory
Got sing
About to call getSlotValue for box/noun/def.case/optional
Got def.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">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.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">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC"/>
    <thingy type="noundef.case" function="suffix" gloss="def.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"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC"/>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes" ph="t i# t u#">ti#tu#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" ph="a k a t a &#x294; u">akataʔu</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="s a t i">sati</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="t i# t u#">ti#tu#</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC" ph="a k a t a &#x294; u">akataʔu</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.LOC" attach="suffix" ph="s a t i">sati</thingy>
+    <word gloss="to_inside" posp="pp" p="to" location="inside" precise="yes">ti#tu#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" case="LOC">akataʔu</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.LOC">sati</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tĩtũ&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;k-&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;akataʔ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;-sati&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tĩtũ kakataʔusati</p>
+  <p>tintun kakataqusati</p>
+  <il>
+    <w>
+      <o>tĩtũ</o>
+      <g>to_inside</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>akataʔu</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>-sati</o>
+      <g>def.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 affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

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

No change.

flatten:

<example id="adpos3" translation="with me">
-  <pp role="comitative">
+  <flat>
    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <np number="sing" def="neither" locus="number" case="LOC" person="1excl">
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC"/>
-    </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"/>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="k i k i &#x294; i">kikiʔi</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC" ph="h e#">he#</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="k i k i &#x294; i">kikiʔi</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC" ph="h e#">he#</word>
+    <word gloss="COMIT" posp="pp" role="comitative">kikiʔi</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC">he#</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kikiʔi&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;hẽ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kikiʔi hẽ</p>
+  <p>kikiqi hen</p>
+  <il>
+    <w>
+      <o>kikiʔi</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for jaguar/noun/number/obligatory
Got sing
About to call getSlotValue for jaguar/noun/def.case/optional
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/def.case/optional
<example id="wo1" translation="The jaguar killed the hunter.">
  <s>
    <np number="sing" def="def" role="subj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" ph="u k i t i# k i#">ukiti#ki#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u k i#">suki#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
  </flat>
</example>

vowelharmony:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" ph="u k i t i# k i#">ukiti#ki#</word>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" ph="u# k i# t i# k i#" underlying="u k i t i# k i#">u#ki#ti#ki#</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u k i#">suki#</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" ph="s u# k i#" underlying="s u k i#">su#ki#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
  </flat>
</example>

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" ph="u# k i# t i# k i#" underlying="u k i t i# k i#">u#ki#ti#ki#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k i#" underlying="s u k i#">su#ki#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" underlying="u k i t i# k i#">u#ki#ti#ki#</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" underlying="s u k i#">su#ki#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number">ikaʔiʔa</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ukitĩkĩ&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;sukĩ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ikaʔiʔa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;hunter&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kũkĩtĩkĩ sũkĩ tutu kikaʔiʔa</p>
+  <p>kunkintinkin sunkin tutu kikaqiqa</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ukitĩkĩ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>sukĩ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ikaʔiʔa</o>
+      <g>hunter</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

About to call getSlotValue for lion/noun/number/obligatory
Got sing
About to call getSlotValue for lion/noun/def.case/optional
About to call getSlotValue for dog/noun/number/obligatory
Got sing
About to call getSlotValue for dog/noun/def.case/optional
About to call getSlotValue for daughter/noun/number/obligatory
Got sing
About to call getSlotValue for daughter/noun/def.case/optional
Got def.GEN
About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/def.case/optional
Got def.GEN
<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <s>
    <np number="sing" def="def" role="subj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np number="sing" def="def" locus="number" role="owned">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
    </np>
    <np number="sing" def="def" locus="number" role="owned" case="GEN">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </np>
    <np number="sing" def="def" locus="number" role="owner" case="GEN">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
+      <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" ph="a t i t i s i">atitisi</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u">su#ku</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="a s i">asi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="a t a#">ata#</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
  </flat>
</example>

vowelharmony:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" ph="a t i t i s i">atitisi</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u">su#ku</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" ph="s u# k u#" underlying="s u# k u">su#ku#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="a s i">asi</word>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="a t a#">ata#</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="a# t a#" underlying="a t a#">a#ta#</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a# k a#" underlying="&#x294; a k a">ʔa#ka#</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
  </flat>
</example>

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" ph="a t i t i s i">atitisi</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u#" underlying="s u# k u">su#ku#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" ph="a s i">asi</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" ph="a# t a#" underlying="a t a#">a#ta#</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a# k a#" underlying="&#x294; a k a">ʔa#ka#</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number">atitisi</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" underlying="s u# k u">su#ku#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned">asi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" underlying="a t a#">a#ta#</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" underlying="&#x294; a k a">ʔa#ka#</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN">ikaʔiʔa</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN">ʔaka</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&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;atitisi&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;sũku&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;asi&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;k-&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;atã&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;-ʔaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;k-&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;ikaʔiʔa&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;-ʔaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&lt;span class="glssc"&gt;GEN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>katitisi sũkũ tutu kasi kãtãʔãkã kikaʔiʔaʔaka</p>
+  <p>katitisi sunkun tutu kasi kantanqankan kikaqiqaqaka</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>atitisi</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>sũku</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>asi</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>atã</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>-ʔaka</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ikaʔiʔa</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>-ʔaka</o>
+      <g>def.GEN</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 affixdensity:

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:

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

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

movedowntoword:

<example id="poss3" translation="your son's friend's book">
  <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>
  <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" 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="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>
</example>

addaffixes:

About to call getSlotValue for book/noun/number/obligatory
Got sing
About to call getSlotValue for book/noun/def.case/optional
About to call getSlotValue for friend/noun/number/obligatory
Got sing
About to call getSlotValue for friend/noun/def.case/optional
Got def.GEN
About to call getSlotValue for son/noun/number/obligatory
Got sing
About to call getSlotValue for son/noun/def.case/optional
Got def.GEN
<example id="poss3" translation="your son's friend's book">
  <np number="sing" def="def" locus="number" role="owned">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
  </np>
  <np number="sing" def="def" locus="number" role="owned" case="GEN">
+    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
  </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"/>
  </np>
</example>

flatten:

<example id="poss3" translation="your son's friend's book">
-  <np number="sing" def="def" locus="number" role="owned">
+  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-  </np>
-  <np number="sing" def="def" locus="number" role="owned" case="GEN">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-  </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"/>
-  </np>
+  </flat>
</example>

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN"/>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="e t u k i">etuki</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="o# k a">o#ka</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="a# &#x294; i">a#ʔi</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="h i">hi</word>
  </flat>
</example>

vowelharmony:

<example id="poss3" translation="your son's friend's book">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="e t u k i">etuki</word>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="o# k a">o#ka</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="o# k a#" underlying="o# k a">o#ka#</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a# k a#" underlying="&#x294; a k a">ʔa#ka#</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="a# &#x294; i">a#ʔi</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a k a">ʔaka</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="a# &#x294; i#" underlying="a# &#x294; i">a#ʔi#</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a# k a#" underlying="&#x294; a k a">ʔa#ka#</thingy>
    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="h i">hi</word>
  </flat>
</example>

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" ph="e t u k i">etuki</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" ph="o# k a#" underlying="o# k a">o#ka#</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a# k a#" underlying="&#x294; a k a">ʔa#ka#</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" ph="a# &#x294; i#" underlying="a# &#x294; i">a#ʔi#</word>
-    <thingy type="noundef.case" function="suffix" gloss="def.GEN" attach="suffix" ph="&#x294; a# k a#" underlying="&#x294; a k a">ʔa#ka#</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN" ph="h i">hi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned">etuki</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" underlying="o# k a">o#ka#</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" underlying="&#x294; a k a">ʔa#ka#</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" underlying="a# &#x294; i">a#ʔi#</word>
+    <thingy type="noundef.case" function="suffix" gloss="def.GEN" underlying="&#x294; a k a">ʔa#ka#</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" locus="number" role="owner" case="GEN">hi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;etuki&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;book&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&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;õka&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;-ʔaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;k-&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;ãʔi&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;-ʔaka&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;def.&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;hi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ketuki kõkãʔãkã kãʔĩʔãkã hi</p>
+  <p>ketuki konkanqankan kanqinqankan hi</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>etuki</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>õka</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>-ʔaka</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ãʔi</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>-ʔaka</o>
+      <g>def.GEN</g>
+    </w>
+    <w>
+      <o>hi</o>
+      <g>2.sing</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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="sleep"/>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
    </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="vpmode" function="proclitic" gloss="indicative"/>
      <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.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
    </vp>
  </s>
</example>

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/def.case/optional
<example id="intr_stat" translation="The cat is sleeping.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <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="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
    </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>
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <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="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k a s i">kasi</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k a s i">kasi</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">utu</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">kasi</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS">ʔati</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&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;utu&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;kasi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔati&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kutu kasi ʔati</p>
+  <p>kutu kasi qati</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>utu</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>kasi</o>
+      <g>sleep</g>
+    </w>
+    <w>
+      <o>ʔati</o>
+      <g>PRES.active.POS</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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="run"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="intr_act" translation="The cat is running.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
-      <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="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"/>
    </vp>
  </s>
</example>

addaffixes:

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

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    <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="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
+    <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="t a# &#x294; u">ta#ʔu</word>
  </flat>
</example>

vowelharmony:

<example id="intr_act" translation="The cat is running.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
    <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="t a# &#x294; u">ta#ʔu</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="t a# &#x294; u#" underlying="t a# &#x294; u">ta#ʔu#</word>
  </flat>
</example>

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
-    <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="t a# &#x294; u#" underlying="t a# &#x294; u">ta#ʔu#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">utu</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" underlying="t a# &#x294; u">ta#ʔu#</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;utu&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;tãʔu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kutu tãʔũ</p>
+  <p>kutu tanqun</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>utu</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tãʔu</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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/def.case/optional
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for mouse/noun/def.case/optional
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing">
      <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"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    <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="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
+    <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="&#x294; u t u# k a#">ʔutu#ka#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="i k u# h u &#x294; a">iku#huʔa</word>
  </flat>
</example>

vowelharmony:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
    <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="&#x294; u t u# k a#">ʔutu#ka#</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" ph="&#x294; u# t u# k a#" underlying="&#x294; u t u# k a#">ʔu#tu#ka#</word>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="i k u# h u &#x294; a">iku#huʔa</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="i# k u# h u# &#x294; a#" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
-    <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="&#x294; u# t u# k a#" underlying="&#x294; u t u# k a#">ʔu#tu#ka#</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="i# k u# h u# &#x294; a#" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">utu</word>
+    <word posp="verb" gloss="chase" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" obj="3.sing" underlying="&#x294; u t u# k a#">ʔu#tu#ka#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;utu&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;ʔutũkã&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;k-&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;ikũhuʔa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kutu ʔũtũkã kĩkũhũʔã</p>
+  <p>kutu quntunkan kinkunhunqan</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>utu</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ʔutũkã</o>
+      <g>chase</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ikũhuʔa</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/def.case/optional
About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for mouse/noun/def.case/optional
<example id="tr_past" translation="The cat caught the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np number="sing" def="def" role="obj" tr="rheme" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="i k u# h u &#x294; a">iku#huʔa</word>
  </flat>
</example>

vowelharmony:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="i k u# h u &#x294; a">iku#huʔa</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="i# k u# h u# &#x294; a#" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" ph="u t u">utu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" ph="i# k u# h u# &#x294; a#" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number">utu</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">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;utu&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;tãhẽ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ikũhuʔa&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;mouse&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kutu tãhẽ tutu kĩkũhũʔã</p>
+  <p>kutu tanhen tutu kinkunhunqan</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>utu</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tãhẽ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ikũhuʔa</o>
+      <g>mouse</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module sequential:

No change.

module sentenceconnectors:

No change.

module complementise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for hunter/noun/number/obligatory
Got sing
About to call getSlotValue for hunter/noun/def.case/optional
About to call getSlotValue for jaguar/noun/number/obligatory
Got plur
About to call getSlotValue for jaguar/noun/def.case/optional
About to call getSlotValue for tiger/noun/number/obligatory
Got plur
About to call getSlotValue for tiger/noun/def.case/optional
About to call getSlotValue for lion/noun/number/obligatory
Got plur
About to call getSlotValue for lion/noun/def.case/optional
<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">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="plur" locus="number" role="obj" tr="rheme">
+      <thingy type="nounnumber" function="prefix" gloss="plur"/>
      <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">
+      <thingy type="nounnumber" function="prefix" gloss="plur"/>
      <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">
+      <thingy type="nounnumber" function="prefix" gloss="plur"/>
      <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
-    <word posp="conj" gloss="and"/>
-    <thingy type="nounnumber" function="prefix" gloss="plur"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u k i#">suki#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="u k i t i# k i#">ukiti#ki#</word>
+    <word posp="conj" gloss="and" ph="t i#">ti#</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="u# &#x294; i &#x294; i t a#">u#ʔiʔita#</word>
+    <word posp="conj" gloss="and" ph="t i#">ti#</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="a t i t i s i">atitisi</word>
  </flat>
</example>

vowelharmony:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u k i#">suki#</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" ph="s u# k i#" underlying="s u k i#">su#ki#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="u k i t i# k i#">ukiti#ki#</word>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="u# k i# t i# k i#" underlying="u k i t i# k i#">u#ki#ti#ki#</word>
    <word posp="conj" gloss="and" ph="t i#">ti#</word>
    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="u# &#x294; i &#x294; i t a#">u#ʔiʔita#</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="u# &#x294; i# &#x294; i# t a#" underlying="u# &#x294; i &#x294; i t a#">u#ʔi#ʔi#ta#</word>
    <word posp="conj" gloss="and" ph="t i#">ti#</word>
    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="a t i t i s i">atitisi</word>
  </flat>
</example>

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" ph="i k a &#x294; i &#x294; a">ikaʔiʔa</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k i#" underlying="s u k i#">su#ki#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="u# k i# t i# k i#" underlying="u k i t i# k i#">u#ki#ti#ki#</word>
-    <word posp="conj" gloss="and" ph="t i#">ti#</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="u# &#x294; i# &#x294; i# t a#" underlying="u# &#x294; i &#x294; i t a#">u#ʔi#ʔi#ta#</word>
-    <word posp="conj" gloss="and" ph="t i#">ti#</word>
-    <thingy type="nounnumber" function="prefix" gloss="plur" attach="prefix" ph="s">s</thingy>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme" ph="a t i t i s i">atitisi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number">ikaʔiʔa</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" underlying="s u k i#">su#ki#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="plur">s</thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" role="obj" tr="rheme" underlying="u k i t i# k i#">u#ki#ti#ki#</word>
+    <word posp="conj" gloss="and">ti#</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur">s</thingy>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" role="obj" tr="rheme" underlying="u# &#x294; i &#x294; i t a#">u#ʔi#ʔi#ta#</word>
+    <word posp="conj" gloss="and">ti#</word>
+    <thingy type="nounnumber" function="prefix" gloss="plur">s</thingy>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" role="obj" tr="rheme">atitisi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ikaʔiʔa&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;sukĩ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;s-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;plur&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ukitĩkĩ&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;tĩ&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;s-&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;ũʔiʔitã&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;tĩ&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;s-&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;atitisi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lion&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kikaʔiʔa sũkĩ tutu sũkĩtĩkĩ tĩ sũʔĩʔĩtã tĩ satitisi</p>
+  <p>kikaqiqa sunkin tutu sunkintinkin tin sunqinqintan tin satitisi</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ikaʔiʔa</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>sukĩ</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>s-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ukitĩkĩ</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>tĩ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>s-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ũʔiʔitã</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>tĩ</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>s-</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>atitisi</o>
+      <g>lion</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.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for cat/noun/number/obligatory
Got sing
About to call getSlotValue for cat/noun/def.case/optional
<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" def="neither" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" tr="rheme" role="obj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i s u s i#">kisusi#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" ph="u t u">utu</word>
  </flat>
</example>

vowelharmony:

<example id="relp1" translation="I patted the cat.">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i s u s i#">kisusi#</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" ph="k i# s u# s i#" underlying="k i s u s i#">ki#su#si#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" ph="u t u">utu</word>
  </flat>
</example>

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i# s u# s i#" underlying="k i s u s i#">ki#su#si#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" ph="u t u">utu</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">he#</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" underlying="k i s u s i#">ki#su#si#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number">utu</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hẽ&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;kisusĩ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;utu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;cat&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hẽ kĩsũsĩ tutu kutu</p>
+  <p>hen kinsunsin tutu kutu</p>
+  <il>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kisusĩ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>utu</o>
+      <g>cat</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module 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.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <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="subj" 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="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="catch"/>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="mouse"/>
    </np>
  </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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
-    <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>
    <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="subj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
      <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.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number">
-      <word posp="noun" gloss="mouse"/>
+      <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
    </np>
  </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"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addaffixes:

About to call getSlotValue for mouse/noun/number/obligatory
Got sing
About to call getSlotValue for mouse/noun/def.case/optional
<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" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
    </np>
  </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" def="neither" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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"/>
    </np>
    <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="subj" head="this" locus="number">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <np def="def" number="sing" role="obj" locus="number">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
-    </np>
-  </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" def="neither" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
    <word gloss="then" posp="conj"/>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="i k u# h u &#x294; a">iku#huʔa</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i s u s i#">kisusi#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
+    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
  </flat>
</example>

vowelharmony:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="i k u# h u &#x294; a">iku#huʔa</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="i# k u# h u# &#x294; a#" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i s u s i#">kisusi#</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" ph="k i# s u# s i#" underlying="k i s u s i#">ki#su#si#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" ph="i# k u# h u# &#x294; a#" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i# s u# s i#" underlying="k i s u s i#">ki#su#si#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
-    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number">hu</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">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" underlying="i k u# h u &#x294; a">i#ku#hu#ʔa#</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">he#</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" underlying="k i s u s i#">ki#su#si#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">hu</word>
+    <word gloss="then" posp="conj">ʔe</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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ãhẽ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ikũhuʔa&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;hẽ&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;kisusĩ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;ʔe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hu tãhẽ tutu kĩkũhũʔã hẽ kĩsũsĩ tutu hu ʔe</p>
+  <p>hu tanhen tutu kinkunhunqan hen kinsunsin tutu hu qe</p>
+  <il>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>tãhẽ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ikũhuʔa</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kisusĩ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ʔe</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.

tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

<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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="eat"/>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" 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="3.sing" obj="3.sing">
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="catch"/>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
+      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
+      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <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="subj" 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="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="eat"/>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number">
      <word posp="noun" gloss="cheese"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" 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="3.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="catch"/>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
-    <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>
    <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>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <thingy type="vpquestion" function="proclitic" gloss="not.Q"/>
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
-    <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>
    <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="subj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
      <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.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number">
-      <word posp="noun" gloss="cheese"/>
+      <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
      <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.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <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"/>
+      <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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>
    <word gloss="then" posp="conj"/>
  </s>
</example>

addaffixes:

About to call getSlotValue for cheese/noun/number/obligatory
Got sing
About to call getSlotValue for cheese/noun/def.case/optional
<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" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" role="obj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
    </np>
  </s>
  <s connector="then">
    <np def="def" number="sing" role="subj" head="this" locus="number">
      <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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"/>
    </np>
    <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" def="neither" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <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"/>
    </np>
    <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="subj" head="this" locus="number">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <np def="def" number="sing" role="obj" locus="number">
    <thingy type="nounnumber" function="prefix" gloss="sing"/>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
-    </np>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
    <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" def="neither" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
    <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="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <word gloss="then" posp="conj"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <word gloss="then" posp="conj"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u">su#ku</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="o &#x294; a &#x294; a t u">oʔaʔatu</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
+    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i s u s i#">kisusi#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
+    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
  </flat>
</example>

vowelharmony:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u">su#ku</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" ph="s u# k u#" underlying="s u# k u">su#ku#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="o &#x294; a &#x294; a t u">oʔaʔatu</word>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i s u s i#">kisusi#</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" ph="k i# s u# s i#" underlying="k i s u s i#">ki#su#si#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u#" underlying="s u# k u">su#ku#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" ph="o &#x294; a &#x294; a t u">oʔaʔatu</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
-    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i# s u# s i#" underlying="k i s u s i#">ki#su#si#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
-    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number">hu</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" underlying="s u# k u">su#ku#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number">oʔaʔatu</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number">hu</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">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">hu</word>
+    <word gloss="then" posp="conj">ʔe</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">he#</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" underlying="k i s u s i#">ki#su#si#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">hu</word>
+    <word gloss="then" posp="conj">ʔe</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;sũku&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;oʔaʔatu&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;hu&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ãhẽ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;ʔe&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;hẽ&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;kisusĩ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;ʔe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hu sũkũ tutu koʔaʔatu hu tãhẽ tutu hu ʔe hẽ kĩsũsĩ tutu hu ʔe</p>
+  <p>hu sunkun tutu koqaqatu hu tanhen tutu hu qe hen kinsunsin tutu hu qe</p>
+  <il>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>sũku</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>oʔaʔatu</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>tãhẽ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ʔe</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kisusĩ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ʔe</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.

tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

addaffixes:

No change.

flatten:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
-  <s>
-    <np number="sing" def="neither" role="subj" locus="number" person="1excl">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
-  </s>
-  <s connector="then">
-    <np def="def" number="sing" role="subj" head="this" locus="number">
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
    <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" def="def" role="subj" 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="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
    <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" def="neither" role="subj" locus="number"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    </vp>
-    <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"/>
-    </np>
    <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 person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <word gloss="then" posp="conj"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <word gloss="then" posp="conj"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number"/>
-    <word gloss="then" posp="conj"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="&#x294; u# s e#">ʔu#se#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u">su#ku</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
+    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
+    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i s u s i#">kisusi#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
+    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
  </flat>
</example>

vowelharmony:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="&#x294; u# s e#">ʔu#se#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u">su#ku</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" ph="s u# k u#" underlying="s u# k u">su#ku#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i s u s i#">kisusi#</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" ph="k i# s u# s i#" underlying="k i s u s i#">ki#su#si#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
  </flat>
</example>

removetags:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="&#x294; u# s e#">ʔu#se#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u# k u#" underlying="s u# k u">su#ku#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
-    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number" ph="h u">hu</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t a# h e#">ta#he#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
-    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="k i# s u# s i#" underlying="k i s u s i#">ki#su#si#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number" ph="h u">hu</word>
-    <word gloss="then" posp="conj" ph="&#x294; e">ʔe</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">he#</word>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">ʔu#se#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">hu</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number">hu</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" underlying="s u# k u">su#ku#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">hu</word>
+    <word gloss="then" posp="conj">ʔe</word>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="subj" head="this" locus="number">hu</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">ta#he#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">hu</word>
+    <word gloss="then" posp="conj">ʔe</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">he#</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" underlying="k i s u s i#">ki#su#si#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" role="obj" head="this" locus="number">hu</word>
+    <word gloss="then" posp="conj">ʔe</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hẽ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʔũsẽ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;hu&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;sũku&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;ʔe&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;hu&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ãhẽ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;ʔe&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;hẽ&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;kisusĩ&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hu&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;ʔe&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;then&lt;/span&gt;&lt;/span&gt;</p>
+  <p>hẽ ʔũsẽ tutu hu hu sũkũ tutu hu ʔe hu tãhẽ tutu hu ʔe hẽ kĩsũsĩ tutu hu ʔe</p>
+  <p>hen qunsen tutu hu hu sunkun tutu hu qe hu tanhen tutu hu qe hen kinsunsin tutu hu qe</p>
+  <il>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>ʔũsẽ</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>sũku</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ʔe</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>tãhẽ</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ʔe</o>
+      <g>then</g>
+    </w>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>kisusĩ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>hu</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>ʔe</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>
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/def.case/optional
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for girl/noun/def.case/optional
About to call getSlotValue for apple/noun/number/obligatory
Got sing
About to call getSlotValue for apple/noun/def.case/optional
About to call getSlotValue for teacher/noun/number/obligatory
Got sing
About to call getSlotValue for teacher/noun/def.case/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">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="3.sing">
          <thingy type="vpmode" function="proclitic" gloss="indicative"/>
          <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
        </vp>
        <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
        </np>
        <np number="sing" role="obj" locus="number">
+          <thingy type="nounnumber" function="prefix" gloss="sing"/>
          <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
        </np>
        <word gloss="COMP" posp="pp" role="subj" number="sing"/>
      </subs>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np number="sing" def="def" role="indobj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number"/>
-    <word gloss="COMP" posp="pp" role="subj" number="sing"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" ph="o s a">osa</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u k u">suku</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="u s i">usi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="u s i s u s i">usisusi</word>
+    <word gloss="COMP" posp="pp" role="subj" number="sing" ph="t a k u k i">takuki</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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 i# t u &#x294; a">ti#tuʔa</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="e h i s i s i">ehisisi</word>
  </flat>
</example>

vowelharmony:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" ph="o s a">osa</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u k u">suku</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="u s i">usi</word>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="u s i s u s i">usisusi</word>
    <word gloss="COMP" posp="pp" role="subj" number="sing" ph="t a k u k i">takuki</word>
    <thingy type="vpmode" function="proclitic" gloss="indicative" 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 i# t u &#x294; a">ti#tuʔa</word>
+    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" ph="t i# t u# &#x294; a#" underlying="t i# t u &#x294; a">ti#tu#ʔa#</word>
    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="e h i s i s i">ehisisi</word>
  </flat>
</example>

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number" ph="o s a">osa</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="s u k u">suku</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" ph="u s i">usi</word>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" ph="u s i s u s i">usisusi</word>
-    <word gloss="COMP" posp="pp" role="subj" number="sing" ph="t a k u k i">takuki</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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 i# t u# &#x294; a#" underlying="t i# t u &#x294; a">ti#tu#ʔa#</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" ph="e h i s i s i">ehisisi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="subj" locus="number">osa</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">suku</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number">usi</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number">usisusi</word>
+    <word gloss="COMP" posp="pp" role="subj" number="sing">takuki</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" underlying="t i# t u &#x294; a">ti#tu#ʔa#</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number">ehisisi</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;osa&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;suku&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;usi&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;k-&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;usisusi&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;takuki&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tĩtuʔa&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ehisisi&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kosa suku tutu kusi kusisusi takuki tĩtũʔã tutu kehisisi</p>
+  <p>kosa suku tutu kusi kusisusi takuki tintunqan tutu kehisisi</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>osa</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>suku</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>usi</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>usisusi</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>takuki</o>
+      <g>COMP</g>
+    </w>
+    <w>
+      <o>tĩtuʔa</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>ehisisi</o>
+      <g>teacher</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module adj2verb:

No change.

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module 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>
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

About to call getSlotValue for boy/noun/number/obligatory
Got sing
About to call getSlotValue for boy/noun/def.case/optional
About to call getSlotValue for girl/noun/number/obligatory
Got sing
About to call getSlotValue for girl/noun/def.case/optional
<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">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing">
      <thingy type="vpmode" function="proclitic" gloss="indicative"/>
      <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
    </vp>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
+      <thingy type="nounnumber" function="prefix" gloss="sing"/>
      <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"/>
        </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="vpmode" function="proclitic" gloss="indicative"/>
          <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
        </vp>
        <np number="sing" def="neither" role="obj" locus="number" person="2">
          <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
        </np>
        <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl"/>
      </subs>
    </np>
  </s>
</example>

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number"/>
-    <thingy type="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS"/>
-    <thingy type="nounnumber" function="prefix" gloss="sing"/>
-    <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="vpmode" function="proclitic" gloss="indicative"/>
-    <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="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number"/>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl"/>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" ph="o s a">osa</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t i s a">tisa</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" ph="u s i">usi</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
+    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="h u t e">hute</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="h i">hi</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl" ph="t a k u k i">takuki</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" ph="o s a">osa</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="t i s a">tisa</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS" ph="t u t u">tutu</thingy>
-    <thingy type="nounnumber" function="prefix" gloss="sing" attach="prefix" ph="k">k</thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" ph="u s i">usi</word>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number" ph="h e#">he#</word>
-    <thingy type="vpmode" function="proclitic" gloss="indicative" 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="h u t e">hute</word>
-    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS" ph="&#x294; a t i">ʔati</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" ph="h i">hi</word>
-    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl" ph="t a k u k i">takuki</word>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number">osa</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">tisa</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PAST.active.POS">tutu</thingy>
+    <thingy type="nounnumber" function="prefix" gloss="sing">k</thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number">usi</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="subj" locus="number">he#</word>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing">hute</word>
+    <thingy type="vpta.voice.negation" function="enclitic" gloss="PRES.active.POS">ʔati</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number">hi</word>
+    <word gloss="COMP" posp="pp" role="obj" tr="rheme" number="sing" person="1excl">takuki</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;osa&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;tisa&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;tutu&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;k-&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;usi&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;hẽ&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;hute&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;ʔati&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PRES&lt;/span&gt;.active.&lt;span class="glssc"&gt;POS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;hi&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;takuki&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMP&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kosa tisa tutu kusi hẽ hute ʔati hi takuki</p>
+  <p>kosa tisa tutu kusi hen hute qati hi takuki</p>
+  <il>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>osa</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>tisa</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>tutu</o>
+      <g>PAST.active.POS</g>
+    </w>
+    <w>
+      <o>k-</o>
+      <g>sing</g>
+    </w>
+    <w>
+      <o>usi</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>hẽ</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>hute</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>ʔati</o>
+      <g>PRES.active.POS</g>
+    </w>
+    <w>
+      <o>hi</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>takuki</o>
+      <g>COMP</g>
+    </w>
+  </il>
</example>