initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

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

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

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

module wordorder:

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

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" possessor="no.owner"/>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner"/>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner"/>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner"/>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="plur"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.plur"/>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" possessor="no.owner" ph="v &#xE6; p">væp</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" possessor="no.owner" ph="k e c">kec</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="d u k u l">dukul</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="d i &#x28E;">diʎ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="l e">le</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="s o z">soz</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="p u c &#xF8; d">pucød</word>
+    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="w &#x289; b">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.plur.OBJ" ph="z &#x251; z">zɑz</thingy>
  </flat>
</example>

vowelharmony:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" possessor="no.owner" ph="v &#xE6; p">væp</word>
    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" possessor="no.owner" ph="k e c">kec</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word gloss="COMIT" posp="pp" role="comitative" ph="d u k u l">dukul</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="d i &#x28E;">diʎ</word>
    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="l e">le</word>
    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="s o z">soz</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="p u c &#xF8; d">pucød</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="w &#x289; b">wʉb</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
    <thingy type="vpobj" function="enclitic" gloss="3.plur.OBJ" ph="z &#x251; z">zɑz</thingy>
  </flat>
</example>

removetags:

<example id="nomphr" translation="The woman with the knife caught those three blind mice.">
  <flat>
-    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" possessor="no.owner" ph="v &#xE6; p">væp</word>
-    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" possessor="no.owner" ph="k e c">kec</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="d u k u l">dukul</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="d i &#x28E;">diʎ</word>
-    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="l e">le</word>
-    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="s o z">soz</word>
-    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
-    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="w &#x289; b">wʉb</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.plur.OBJ" ph="z &#x251; z">zɑz</thingy>
+    <word posp="noun" gloss="woman" role="subj" number="sing" def="def" locus="number" case="NOM" possessor="no.owner">væp</word>
+    <word posp="noun" gloss="knife" number="sing" def="def" locus="number" case="LOC" possessor="no.owner">kec</word>
+    <word gloss="COMIT" posp="pp" role="comitative">dukul</word>
+    <word posp="det" gloss="yon" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner">diʎ</word>
+    <word posp="num" gloss="three" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner">le</word>
+    <word posp="adj" gloss="blind" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner">soz</word>
+    <word posp="noun" gloss="mouse" role="obj" def="def" number="plur" tr="rheme" locus="number" case="ACC" possessor="no.owner" underlying="p u c &#xF8; d">pycød</word>
+    <thingy type="npnumber" function="enclitic" gloss="plur">ɡen</thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.plur.OBJ">zɑz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;væp&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;woman&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kec&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;dukul&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;diʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;yon&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;le&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;three&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;soz&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;pucød&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;ɡen&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉb&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zɑz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>væp kec dukul diʎ le soz pycød ɡen tiʒ wʉb ʒæc zɑz</p>
+  <p>väp kety dukul dill le soz pytyød gen tizh wʉb zhäty zaz</p>
+  <il>
+    <w>
+      <o>væp</o>
+      <g>woman</g>
+    </w>
+    <w>
+      <o>kec</o>
+      <g>knife</g>
+    </w>
+    <w>
+      <o>dukul</o>
+      <g>COMIT</g>
+    </w>
+    <w>
+      <o>diʎ</o>
+      <g>yon</g>
+    </w>
+    <w>
+      <o>le</o>
+      <g>three</g>
+    </w>
+    <w>
+      <o>soz</o>
+      <g>blind</g>
+    </w>
+    <w>
+      <o>pucød</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>ɡen</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>wʉb</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>zɑz</o>
+      <g>3.plur.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_verb_obj
<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 gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

<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"/>
+      <word gloss="girl" lexposp="noun" posp="verb">
+        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
+        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
+      </word>
    </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 adpositions:

No change.

module constorder:

<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>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-      <word posp="noun" gloss="boy"/>
-    </np>
  </s>
</example>

module casemarking:

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

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" case="NOM">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <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 gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowned:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <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 gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#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="love2" translation="He (the boy) loves her (the girl).">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <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">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
-      <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">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="k u &#x261;">kuɡ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#xE6; &#x25F;">æɟ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2" translation="He (the boy) loves her (the girl).">
  <flat>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="k u &#x261;">kuɡ</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#xE6; &#x25F;">æɟ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">kuɡ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb">æɟ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kuɡ&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;-æɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kuɡæɟ</p>
+  <p>kugädy</p>
+  <il>
+    <w>
+      <o>kuɡ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-æɟ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_verb_obj
<example id="love2he" translation="*He* loves her.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" output="aspron" locus="number" case="NOM">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+      <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 gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowned:

<example id="love2he" translation="*He* loves her.">
  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM">
+    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <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 gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#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="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <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">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word posp="pron" number="sing" gloss="3.sing"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+      <thingy type="npcase" function="enclitic" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2he" translation="*He* loves her.">
  <s>
    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner">
-      <word posp="pron" number="sing" gloss="3.sing"/>
+      <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="NOM"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
-      <word gloss="girl" lexposp="noun" posp="verb">
+      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2he" translation="*He* loves her.">
-  <s>
-    <np def="def" number="sing" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    </np>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
-      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="f &#x251; z">fɑz</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="k u &#x261;">kuɡ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#xE6; &#x25F;">æɟ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2he" translation="*He* loves her.">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="f &#x251; z">fɑz</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="k u &#x261;">kuɡ</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#xE6; &#x25F;">æɟ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="rheme" role="subj" locus="number" case="NOM" possessor="no.owner">fɑz</word>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">kuɡ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb">æɟ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fɑz&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;kuɡ&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;-æɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>fɑz kuɡæɟ</p>
+  <p>faz kugädy</p>
+  <il>
+    <w>
+      <o>fɑz</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>kuɡ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-æɟ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_verb_obj
<example id="love2her" translation="He loves *her*.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
      <word posp="noun" gloss="boy"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
      <word posp="noun" gloss="boy"/>
    </np>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
-      <word posp="noun" gloss="boy"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <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 gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowned:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <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 gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#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="love2her" translation="He loves *her*.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <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">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

<example id="love2her" translation="He loves *her*.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
-      <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">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addclitics:

<example id="love2her" translation="He loves *her*.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
      <word gloss="girl" lexposp="noun" posp="verb">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="love2her" translation="He loves *her*.">
  <s>
    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
-      <word gloss="girl" lexposp="noun" posp="verb">
+      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
        <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="love2her" translation="He loves *her*.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
-      <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">
+  <flat>
    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="k u &#x261;">kuɡ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#xE6; &#x25F;">æɟ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love2her" translation="He loves *her*.">
  <flat>
-    <thingy gloss="love&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" ph="k u &#x261;">kuɡ</word>
-    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#xE6; &#x25F;">æɟ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="girl" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">kuɡ</word>
+    <thingy gloss="love&#x2082;" type="nounverbderivaft" origposp="verb">æɟ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kuɡ&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;-æɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;love&lt;/span&gt;&lt;/span&gt;</p>
+  <p>kuɡæɟ</p>
+  <p>kugädy</p>
+  <il>
+    <w>
+      <o>kuɡ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>-æɟ</o>
+      <g>love</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

-<example id="loveprop" translation="NN1 hates NN2.">
+<example id="loveprop" translation="Mizal hates Kefon.">
  <flat>
-    <word posp="noun" gloss="NN1" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="noun" gloss="NN2" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="hate" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="Mizal" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" propernoun="yes" ph="m i z &#x251; l">mizɑl</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="Kefon" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" propernoun="yes" ph="k e f o n">kefon</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="d &#xE6; p o n">dæpon</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="loveprop" translation="Mizal hates Kefon.">
  <flat>
-    <word posp="noun" gloss="Mizal" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" propernoun="yes" ph="m i z &#x251; l">mizɑl</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="Kefon" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" propernoun="yes" ph="k e f o n">kefon</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="d &#xE6; p o n">dæpon</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="Mizal" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" propernoun="yes">mizɑl</word>
+    <word posp="noun" gloss="Kefon" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" propernoun="yes">kefon</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">dæpon</word>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mizɑl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Mizal&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kefon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;Kefon&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;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dæpon&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;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mizɑl kefon tiʒ dæpon dʉl</p>
+  <p>Mizal Kefon tizh däpon dʉl</p>
+  <il>
+    <w>
+      <o>mizɑl</o>
+      <g>Mizal</g>
+    </w>
+    <w>
+      <o>kefon</o>
+      <g>Kefon</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>dæpon</o>
+      <g>hate</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

<example id="posso1" translation="the boy's apple">
-  <np type="owner_owned" case="NOM">
+  <np type="owner_owned" case="NOM" 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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="m e w">mew</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM" ph="t &#x289; v &#x251; b">tʉvɑb</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1" translation="the boy's apple">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="m e w">mew</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM" ph="t &#x289; v &#x251; b">tʉvɑb</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner">mew</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM">tʉvɑb</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mew&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʉvɑb&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;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mew tʉvɑb tæh</p>
+  <p>mew tʉvab täh</p>
+  <il>
+    <w>
+      <o>mew</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>tʉvɑb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

<example id="posso1b" translation="his (the boy's) apple">
-  <np type="owner_owned" case="NOM">
+  <np type="owner_owned" case="NOM" 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" case="NOM" 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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="f &#x251; z">fɑz</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM" ph="t &#x289; v &#x251; b">tʉvɑb</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso1b" translation="his (the boy's) apple">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="f &#x251; z">fɑz</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM" ph="t &#x289; v &#x251; b">tʉvɑb</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner">fɑz</word>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM">tʉvɑb</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fɑz&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ʉvɑb&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;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>fɑz tʉvɑb tæh</p>
+  <p>faz tʉvab täh</p>
+  <il>
+    <w>
+      <o>fɑz</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>tʉvɑb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

<example id="posso2" translation="my apple">
-  <np type="owner_owned" case="NOM">
+  <np type="owner_owned" case="NOM" 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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="1excl.sing" case="NOM"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="1excl.sing" case="NOM" ph="t &#x289; v &#x251; b">tʉvɑb</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS" ph="&#x292; i p">ʒip</thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso2" translation="my apple">
  <flat>
-    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="1excl.sing" case="NOM" ph="t &#x289; v &#x251; b">tʉvɑb</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS" ph="&#x292; i p">ʒip</thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="apple" number="sing" def="def" locus="number" role="owned" possessor="1excl.sing" case="NOM">tʉvɑb</word>
+    <thingy type="nppossessor" function="enclitic" gloss="1excl.sing.POSS">ʒip</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʉvɑb&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;ʒip&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>tʉvɑb ʒip</p>
+  <p>tʉvab zhip</p>
+  <il>
+    <w>
+      <o>tʉvɑb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>ʒip</o>
+      <g>1excl.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="2.sing"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="ACC"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="kiss" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="&#x283; i w &#x251; &#x25F;">ʃiwɑɟ</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM" ph="l &#xF8; &#x283;">løʃ</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="2.sing" ph="k i t &#xE6; d">kitæd</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="&#x292; &#x251; m">ʒɑm</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="ACC" ph="&#x25F; u m">ɟum</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="j &#x289; p i j">jʉpij</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="posso3" translation="The hunter's daughter kissed your neighbour's son.">
  <flat>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="&#x283; i w &#x251; &#x25F;">ʃiwɑɟ</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM" ph="l &#xF8; &#x283;">løʃ</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="2.sing" ph="k i t &#xE6; d">kitæd</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="&#x292; &#x251; m">ʒɑm</thingy>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="ACC" ph="&#x25F; u m">ɟum</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="j &#x289; p i j">jʉpij</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner">ʃiwɑɟ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM">løʃ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word posp="noun" gloss="neighbour" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="2.sing">kitæd</word>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS">ʒɑm</thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="ACC">ɟum</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">jʉpij</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃiwɑɟ&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;løʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kitæd&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;ʒɑm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟum&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;son&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;jʉpij&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʃiwɑɟ løʃ tæh kitæd ʒɑm ɟum tæh tiʒ jʉpij ʒæc dʉl</p>
+  <p>shiwady løsh täh kitäd zham dyum täh tizh jʉpij zhäty dʉl</p>
+  <il>
+    <w>
+      <o>ʃiwɑɟ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>løʃ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>kitæd</o>
+      <g>neighbour</g>
+    </w>
+    <w>
+      <o>ʒɑm</o>
+      <g>2.sing.POSS</g>
+    </w>
+    <w>
+      <o>ɟum</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>jʉpij</o>
+      <g>kiss</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner"/>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner" ph="&#x25F; i &#x261;">ɟiɡ</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner" ph="n &#xE6; d e d">næded</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb0" translation="a lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner" ph="&#x25F; i &#x261;">ɟiɡ</word>
-    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner" ph="n &#xE6; d e d">næded</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner">ɟiɡ</word>
+    <word posp="noun" gloss="lamb" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner">næded</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;næded&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;lamb&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɟiɡ næded</p>
+  <p>dyig näded</p>
+  <il>
+    <w>
+      <o>ɟiɡ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>næded</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>

module articles:

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

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner" ph="&#x25F; i &#x261;">ɟiɡ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner" ph="n &#xE6; d e d">næded</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e s">es</thingy>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb1" translation="a little lamb">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner" ph="&#x25F; i &#x261;">ɟiɡ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner" ph="n &#xE6; d e d">næded</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e s">es</thingy>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner">ɟiɡ</word>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" locus="number" case="NOM" possessor="no.owner">næded</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">es</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;næded&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;-es&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;little&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɟiɡ nædedes</p>
+  <p>dyig nädedes</p>
+  <il>
+    <w>
+      <o>ɟiɡ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>næded</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-es</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>

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb2" translation="She had a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner">
      <word gloss="a" posp="det"/>
      <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>
-    <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="have"/>
    </vp>
  </s>
</example>

prodrop:

<example id="lamb2" translation="She had a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <np number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner">
      <word gloss="a" posp="det"/>
      <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>
    <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="have"/>
    </vp>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x25F; i &#x261;">ɟiɡ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="n &#xE6; d e d">næded</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e s">es</thingy>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="m &#x251; v">mɑv</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb2" translation="She had a little lamb.">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x25F; i &#x261;">ɟiɡ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="n &#xE6; d e d">næded</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e s">es</thingy>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="m &#x251; v">mɑv</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner">ɟiɡ</word>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner">næded</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">es</thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">mɑv</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;næded&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;-es&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mɑv&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɟiɡ nædedes tiʒ mɑv ʒæc dʉl</p>
+  <p>dyig nädedes tizh mav zhäty dʉl</p>
+  <il>
+    <w>
+      <o>ɟiɡ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>næded</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-es</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>mɑv</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number" case="NOM">
-      <word posp="noun" gloss="girl"/>
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+      <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="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowned:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM">
+    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <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="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <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="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
-      <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">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

addclitics:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
      <word gloss="have" lexposp="verb" posp="verb">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <s>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-      <word gloss="have" lexposp="verb" posp="verb">
+      <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
        <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
        <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb3" translation="She wanted to have a little lamb.">
-  <s>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
-      <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">
+  <flat>
    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb"/>
-    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing"/>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="m &#x251; v">mɑv</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="u j">uj</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb3" translation="She wanted to have a little lamb.">
  <flat>
-    <thingy gloss="want&#x2081;" type="verbverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" ph="m &#x251; v">mɑv</word>
-    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb" attach="suffix" ph="u j">uj</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word gloss="have" lexposp="verb" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing">mɑv</word>
+    <thingy gloss="want&#x2082;" type="verbverbderivaft" origposp="verb">uj</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mɑv&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;-uj&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mɑvuj ʒæc</p>
+  <p>mavuj zhäty</p>
+  <il>
+    <w>
+      <o>mɑv</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>-uj</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

No change.

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

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

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" possessor="no.owner">
      <word posp="pron" number="sing" gloss="3.sing"/>
    </np>
    <np role="obj" number="sing" possessor="no.owner">
      <np type="owner_owned" number="sing">
        <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
          <word gloss="a" posp="det"/>
          <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>
        <np role="owner" number="sing" case="GEN" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </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="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
  </s>
</example>

prodrop:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
-    <np def="def" number="sing" tr="theme" role="subj" locus="number" possessor="no.owner">
-      <word posp="pron" number="sing" gloss="3.sing"/>
-    </np>
    <np role="obj" number="sing" possessor="no.owner">
      <np type="owner_owned" number="sing">
        <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
          <word gloss="a" posp="det"/>
          <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>
        <np role="owner" number="sing" case="GEN" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="have"/>
            </vp>
          </subs>
        </np>
      </np>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
    </vp>
  </s>
</example>

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <s>
-    <np type="owner_owned" number="sing" role="obj" possessor="no.owner">
    <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
      <word gloss="a" posp="det"/>
      <word gloss="lamb" lexposp="noun" posp="noun">
        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
      </word>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
    </np>
    <np role="owner" number="sing" case="GEN" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="have"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        </vp>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="GEN"/>
    </np>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">
      <word posp="verb" gloss="want"/>
      <word posp="adv" gloss="often"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing" ph="&#x25F; i &#x261;">ɟiɡ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing" ph="n &#xE6; d e d">næded</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e s">es</thingy>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="m &#x251; v">mɑv</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="t &#xE6; k">tæk</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x283; u w">ʃuw</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="n y f">nyf</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb4" translation="She often wanted to have a little lamb.">
  <flat>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing" ph="&#x25F; i &#x261;">ɟiɡ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing" ph="n &#xE6; d e d">næded</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e s">es</thingy>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="m &#x251; v">mɑv</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="t &#xE6; k">tæk</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="&#x283; u w">ʃuw</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing" ph="n y f">nyf</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">ɟiɡ</word>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">næded</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">es</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">mɑv</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN">tæk</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">ʃuw</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing">nyf</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;næded&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;-es&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;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mɑv&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ʃuw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nyf&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɟiɡ nædedes tæh mɑv ʒæc tæk ʃuw nyf ʒæc dʉl</p>
+  <p>dyig nädedes täh mav zhäty täk shuw nyf zhäty dʉl</p>
+  <il>
+    <w>
+      <o>ɟiɡ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>næded</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-es</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>mɑv</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tæk</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ʃuw</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>nyf</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp tam="pres-state" question="yes" negation="yes">
      <verb>be</verb>
    </vp>
    <np number="sing" def="neither" role="subj">
      <pron person="2" number="sing"/>
    </np>
    <np role="obj">
      <subs>
        <vp tam="past-punct">
          <verb>think</verb>
        </vp>
        <np role="obj">
          <subs>
            <vp tam="past-punct">
              <verb>want</verb>
              <adv>often</adv>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron">
              <noun>girl</noun>
            </np>
            <np role="obj">
              <subs>
                <vp tam="past-punct">
                  <verb>have</verb>
                </vp>
                <np def="indef" number="sing" tr="rheme" role="subj">
                  <noun>lamb</noun>
                  <adj>little</adj>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

cleanup:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <vp tam="pres-state" question="yes" negation="yes">
-      <verb>be</verb>
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active">
+      <word posp="verb" gloss="be"/>
    </vp>
-    <np number="sing" def="neither" role="subj">
-      <pron person="2" number="sing"/>
+    <np number="sing" def="neither" role="subj" locus="number">
+      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
-        <vp tam="past-punct">
-          <verb>think</verb>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
-            <vp tam="past-punct">
-              <verb>want</verb>
-              <adv>often</adv>
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+              <word posp="verb" gloss="want"/>
+              <word posp="adv" gloss="often"/>
            </vp>
-            <np def="def" number="sing" tr="theme" role="subj" output="aspron">
-              <noun>girl</noun>
+            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
+              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
-                <vp tam="past-punct">
-                  <verb>have</verb>
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+                  <word posp="verb" gloss="have"/>
                </vp>
-                <np def="indef" number="sing" tr="rheme" role="subj">
-                  <noun>lamb</noun>
-                  <adj>little</adj>
+                <np def="indef" number="sing" tr="rheme" role="subj" locus="number">
+                  <word posp="noun" gloss="lamb"/>
+                  <word posp="adj" gloss="little"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

module articles:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
                  <word posp="verb" gloss="have"/>
                </vp>
-                <np def="indef" number="sing" tr="rheme" role="subj" locus="number">
+                <np number="sing" tr="rheme" role="subj" locus="number">
                  <word posp="noun" gloss="lamb"/>
                  <word posp="adj" gloss="little"/>
+                  <word gloss="a" posp="det"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

module nonpastonly:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active">
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <subs>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
            </vp>
            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="obj">
              <subs>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active">
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                </vp>
                <np number="sing" tr="rheme" role="subj" locus="number">
                  <word posp="noun" gloss="lamb"/>
                  <word posp="adj" gloss="little"/>
                  <word gloss="a" posp="det"/>
                </np>
              </subs>
            </np>
          </subs>
        </np>
      </subs>
    </np>
  </s>
</example>

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
+          <np type="owner_owned">
+            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
+              <word posp="noun" gloss="girl"/>
+            </np>
+            <np role="owner" number="sing">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
-            <np def="def" number="sing" tr="theme" role="subj" output="aspron" locus="number">
-              <word posp="noun" gloss="girl"/>
-            </np>
                <np role="obj">
-              <subs>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-                  <word posp="verb" gloss="have"/>
-                </vp>
-                <np number="sing" tr="rheme" role="subj" locus="number">
+                  <np type="owner_owned">
+                    <np number="sing" tr="rheme" role="owned" locus="number">
                      <word posp="noun" gloss="lamb"/>
                      <word posp="adj" gloss="little"/>
                      <word gloss="a" posp="det"/>
                    </np>
+                    <np role="owner" number="sing">
+                      <subs>
+                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+                          <word posp="verb" gloss="have"/>
+                        </vp>
                      </subs>
                    </np>
+                  </np>
+                </np>
              </subs>
            </np>
+          </np>
+        </np>
      </subs>
    </np>
  </s>
</example>
submodule transform_adj
<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <np type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" locus="number">
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
                      <word gloss="a" posp="det"/>
                    </np>
                    <np role="owner" number="sing">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
              </subs>
            </np>
          </np>
        </np>
      </subs>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2
tva1
tva1
tva2
tva1
tva2
tva1
tva2
tva1
tva1
tva2

module affixdensity:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
        <np role="obj">
          <np type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" locus="number">
-                      <word posp="noun" gloss="lamb"/>
-                      <word posp="adj" gloss="little"/>
+                      <word gloss="lamb" lexposp="noun" posp="noun">
+                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
+                      </word>
                      <word gloss="a" posp="det"/>
                    </np>
                    <np role="owner" number="sing">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
              </subs>
            </np>
          </np>
        </np>
      </subs>
    </np>
  </s>
</example>

module adpositions:

No change.

module constorder:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
-      <word posp="verb" gloss="be"/>
-    </vp>
    <np number="sing" def="neither" role="subj" locus="number">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj">
      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-          <word posp="verb" gloss="think"/>
-        </vp>
        <np role="obj">
          <np type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing">
              <subs>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-                  <word posp="verb" gloss="want"/>
-                  <word posp="adv" gloss="often"/>
-                </vp>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" locus="number">
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
                      <word gloss="a" posp="det"/>
                    </np>
                    <np role="owner" number="sing">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
+                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+                  <word posp="verb" gloss="want"/>
+                  <word posp="adv" gloss="often"/>
+                </vp>
              </subs>
            </np>
          </np>
        </np>
+        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+          <word posp="verb" gloss="think"/>
+        </vp>
      </subs>
    </np>
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+      <word posp="verb" gloss="be"/>
+    </vp>
  </s>
</example>

module casemarking:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
-    <np role="obj">
+    <np role="obj" case="ACC">
      <subs>
-        <np role="obj">
+        <np role="obj" case="ACC">
          <np type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing">
              <subs>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" locus="number">
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
                      <word gloss="a" posp="det"/>
                    </np>
                    <np role="owner" number="sing">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

module markowner:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj" case="ACC">
      <subs>
        <np role="obj" case="ACC">
          <np type="owner_owned">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
-            <np role="owner" number="sing">
+            <np role="owner" number="sing" case="GEN">
              <subs>
                <np role="obj">
                  <np type="owner_owned">
                    <np number="sing" tr="rheme" role="owned" locus="number">
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
                      <word gloss="a" posp="det"/>
                    </np>
-                    <np role="owner" number="sing">
+                    <np role="owner" number="sing" case="GEN">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

module propagatenumber:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="ACC">
+    <np role="obj" case="ACC" number="sing">
      <subs>
-        <np role="obj" case="ACC">
-          <np type="owner_owned">
+        <np role="obj" case="ACC" number="sing">
+          <np type="owner_owned" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
            <np role="owner" number="sing" case="GEN">
              <subs>
-                <np role="obj">
-                  <np type="owner_owned">
+                <np role="obj" number="sing">
+                  <np type="owner_owned" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number">
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
                      <word gloss="a" posp="det"/>
                    </np>
                    <np role="owner" number="sing" case="GEN">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

module simplifynumber:

No change.

createpronouns:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj" case="ACC" number="sing">
      <subs>
        <np role="obj" case="ACC" number="sing">
          <np type="owner_owned" number="sing">
-            <np def="def" number="sing" tr="theme" role="owned" output="aspron" locus="number">
-              <word posp="noun" gloss="girl"/>
+            <np def="def" number="sing" tr="theme" role="owned" locus="number">
+              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <np role="owner" number="sing" case="GEN">
              <subs>
                <np role="obj" number="sing">
                  <np type="owner_owned" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number">
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
                      <word gloss="a" posp="det"/>
                    </np>
                    <np role="owner" number="sing" case="GEN">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

module markowned:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word person="2" number="sing" posp="pron"/>
    </np>
-    <np role="obj" case="ACC" number="sing">
+    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
-        <np role="obj" case="ACC" number="sing">
+        <np role="obj" case="ACC" number="sing" possessor="no.owner">
          <np type="owner_owned" number="sing">
-            <np def="def" number="sing" tr="theme" role="owned" locus="number">
+            <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
-            <np role="owner" number="sing" case="GEN">
+            <np role="owner" number="sing" case="GEN" possessor="no.owner">
              <subs>
-                <np role="obj" number="sing">
+                <np role="obj" number="sing" possessor="no.owner">
                  <np type="owner_owned" number="sing">
-                    <np number="sing" tr="rheme" role="owned" locus="number">
+                    <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
                      <word gloss="a" posp="det"/>
                    </np>
-                    <np role="owner" number="sing" case="GEN">
+                    <np role="owner" number="sing" case="GEN" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word person="2" number="sing" posp="pron"/>
    </np>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="ACC" number="sing" possessor="no.owner">
          <np type="owner_owned" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <np role="owner" number="sing" case="GEN" possessor="no.owner">
              <subs>
                <np role="obj" number="sing" possessor="no.owner">
                  <np type="owner_owned" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
+                      <word gloss="a" posp="det"/>
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
-                      <word gloss="a" posp="det"/>
                    </np>
                    <np role="owner" number="sing" case="GEN" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
-      <word person="2" number="sing" posp="pron"/>
+      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="ACC" number="sing" possessor="no.owner">
          <np type="owner_owned" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <np role="owner" number="sing" case="GEN" possessor="no.owner">
              <subs>
                <np role="obj" number="sing" possessor="no.owner">
                  <np type="owner_owned" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
                      <word gloss="a" posp="det"/>
                      <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>
                    <np role="owner" number="sing" case="GEN" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

copyuptophrase:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner">
+    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="2">
      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
    </np>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="ACC" number="sing" possessor="no.owner">
          <np type="owner_owned" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <np role="owner" number="sing" case="GEN" possessor="no.owner">
              <subs>
                <np role="obj" number="sing" possessor="no.owner">
                  <np type="owner_owned" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
                      <word gloss="a" posp="det"/>
                      <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>
                    <np role="owner" number="sing" case="GEN" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </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" obj="3.sing">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </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" obj="3.sing">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES">
+    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

prodrop:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
-    <np number="sing" def="neither" role="subj" locus="number" case="NOM" possessor="no.owner" person="2">
-      <word person="2" number="sing" posp="pron" gloss="2.sing"/>
-    </np>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="ACC" number="sing" possessor="no.owner">
          <np type="owner_owned" number="sing">
            <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing">
              <word posp="pron" number="sing" gloss="3.sing"/>
            </np>
            <np role="owner" number="sing" case="GEN" possessor="no.owner">
              <subs>
                <np role="obj" number="sing" possessor="no.owner">
                  <np type="owner_owned" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
                      <word gloss="a" posp="det"/>
                      <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>
                    <np role="owner" number="sing" case="GEN" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
                        </vp>
                      </subs>
                    </np>
                  </np>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
                </vp>
              </subs>
            </np>
          </np>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="think"/>
        </vp>
      </subs>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
      <word posp="verb" gloss="be"/>
    </vp>
  </s>
</example>

addclitics:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="ACC" number="sing" possessor="no.owner">
-          <np type="owner_owned" number="sing">
-            <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing">
+          <np type="owner_owned" number="sing" case="ACC">
+            <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC">
              <word posp="pron" number="sing" gloss="3.sing"/>
+              <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
            </np>
            <np role="owner" number="sing" case="GEN" possessor="no.owner">
              <subs>
                <np role="obj" number="sing" possessor="no.owner">
                  <np type="owner_owned" number="sing">
                    <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
                      <word gloss="a" posp="det"/>
                      <word gloss="lamb" lexposp="noun" posp="noun">
                        <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                        <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                      </word>
+                      <thingy type="npnumber" function="enclitic" gloss="sing"/>
+                      <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
                    </np>
                    <np role="owner" number="sing" case="GEN" possessor="no.owner">
                      <subs>
                        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                          <word posp="verb" gloss="have"/>
+                          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+                          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+                          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+                          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                        </vp>
                      </subs>
+                      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+                      <thingy type="npcase" function="enclitic" gloss="GEN"/>
                    </np>
                  </np>
+                  <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
                </np>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
                  <word posp="verb" gloss="want"/>
                  <word posp="adv" gloss="often"/>
+                  <thingy type="vpta" function="enclitic" gloss="PAST"/>
+                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+                  <thingy type="vpvoice" function="enclitic" gloss="active"/>
+                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+                  <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
                </vp>
              </subs>
+              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            </np>
          </np>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+          <thingy type="npcase" function="enclitic" gloss="ACC"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="think"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
        </vp>
      </subs>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+      <thingy type="npcase" function="enclitic" gloss="ACC"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
      <word posp="verb" gloss="be"/>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="NEG"/>
+      <thingy type="vpsubj" function="enclitic" gloss="2.sing"/>
+      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
-        <np role="obj" case="ACC" number="sing" possessor="no.owner">
-          <np type="owner_owned" number="sing" case="ACC">
+        <np type="owner_owned" number="sing" case="ACC" role="obj" possessor="no.owner">
          <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC">
            <word posp="pron" number="sing" gloss="3.sing"/>
            <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
          </np>
          <np role="owner" number="sing" case="GEN" possessor="no.owner">
            <subs>
-                <np role="obj" number="sing" possessor="no.owner">
-                  <np type="owner_owned" number="sing">
+              <np type="owner_owned" number="sing" role="obj" possessor="no.owner">
                <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
                  <word gloss="a" posp="det"/>
                  <word gloss="lamb" lexposp="noun" posp="noun">
                    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
                  </word>
                  <thingy type="npnumber" function="enclitic" gloss="sing"/>
                  <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
                </np>
                <np role="owner" number="sing" case="GEN" possessor="no.owner">
                  <subs>
                    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                      <word posp="verb" gloss="have"/>
                      <thingy type="vpta" function="enclitic" gloss="PAST"/>
                      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                      <thingy type="vpvoice" function="enclitic" gloss="active"/>
                      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                    </vp>
                  </subs>
                  <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
                  <thingy type="npcase" function="enclitic" gloss="GEN"/>
                </np>
              </np>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-                </np>
              <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
                <word posp="verb" gloss="want"/>
                <word posp="adv" gloss="often"/>
                <thingy type="vpta" function="enclitic" gloss="PAST"/>
                <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                <thingy type="vpvoice" function="enclitic" gloss="active"/>
                <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
              </vp>
            </subs>
            <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
          </np>
        </np>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        <thingy type="npcase" function="enclitic" gloss="ACC"/>
-        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="think"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
        </vp>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="ACC"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
      <word posp="verb" gloss="be"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="NEG"/>
      <thingy type="vpsubj" function="enclitic" gloss="2.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
-        <np type="owner_owned" number="sing" case="ACC" role="obj" possessor="no.owner">
        <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC">
          <word posp="pron" number="sing" gloss="3.sing"/>
          <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
        </np>
        <np role="owner" number="sing" case="GEN" possessor="no.owner">
          <subs>
-              <np type="owner_owned" number="sing" role="obj" possessor="no.owner">
            <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
              <word gloss="a" posp="det"/>
              <word gloss="lamb" lexposp="noun" posp="noun">
                <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
              </word>
              <thingy type="npnumber" function="enclitic" gloss="sing"/>
              <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
            </np>
            <np role="owner" number="sing" case="GEN" possessor="no.owner">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
                  <word posp="verb" gloss="have"/>
                  <thingy type="vpta" function="enclitic" gloss="PAST"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                  <thingy type="vpvoice" function="enclitic" gloss="active"/>
                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                </vp>
              </subs>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
              <thingy type="npcase" function="enclitic" gloss="GEN"/>
            </np>
-              </np>
            <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
              <word posp="verb" gloss="want"/>
              <word posp="adv" gloss="often"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
            </vp>
          </subs>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
-        </np>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        <thingy type="npcase" function="enclitic" gloss="ACC"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="think"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
        </vp>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="ACC"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
      <word posp="verb" gloss="be"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="NEG"/>
      <thingy type="vpsubj" function="enclitic" gloss="2.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

movedowntoword:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <s>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC">
-          <word posp="pron" number="sing" gloss="3.sing"/>
+          <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC"/>
          <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
        </np>
        <np role="owner" number="sing" case="GEN" possessor="no.owner">
          <subs>
            <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
-              <word gloss="a" posp="det"/>
-              <word gloss="lamb" lexposp="noun" posp="noun">
+              <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing"/>
+              <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
                <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
                <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
              </word>
              <thingy type="npnumber" function="enclitic" gloss="sing"/>
              <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
            </np>
            <np role="owner" number="sing" case="GEN" possessor="no.owner">
              <subs>
                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-                  <word posp="verb" gloss="have"/>
+                  <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
                  <thingy type="vpta" function="enclitic" gloss="PAST"/>
                  <thingy type="vpmode" function="enclitic" gloss="indicative"/>
                  <thingy type="vpvoice" function="enclitic" gloss="active"/>
                  <thingy type="vpnegation" function="enclitic" gloss="POS"/>
                </vp>
              </subs>
              <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
              <thingy type="npcase" function="enclitic" gloss="GEN"/>
            </np>
            <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
-              <word posp="verb" gloss="want"/>
-              <word posp="adv" gloss="often"/>
+              <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
+              <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
              <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
            </vp>
          </subs>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        <thingy type="npcase" function="enclitic" gloss="ACC"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
-          <word posp="verb" gloss="think"/>
+          <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
        </vp>
      </subs>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="ACC"/>
    </np>
    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
-      <word posp="verb" gloss="be"/>
+      <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="NEG"/>
      <thingy type="vpsubj" function="enclitic" gloss="2.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
-  <s>
-    <np role="obj" case="ACC" number="sing" possessor="no.owner">
-      <subs>
-        <np def="def" number="sing" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC">
+  <flat>
    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-        </np>
-        <np role="owner" number="sing" case="GEN" possessor="no.owner">
-          <subs>
-            <np number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing"/>
-              <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">
    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing"/>
    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-              </word>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-            </np>
-            <np role="owner" number="sing" case="GEN" possessor="no.owner">
-              <subs>
-                <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-                </vp>
-              </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-            </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-            </vp>
-          </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-        </vp>
-      </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    </np>
-    <vp question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">
    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="NEG"/>
    <thingy type="vpsubj" function="enclitic" gloss="2.sing"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing"/>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj"/>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing"/>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="GEN"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="NEG"/>
-    <thingy type="vpsubj" function="enclitic" gloss="2.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC" ph="f &#x251; z">fɑz</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing" ph="&#x25F; i &#x261;">ɟiɡ</word>
+    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing" ph="n &#xE6; d e d">næded</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e s">es</thingy>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="m &#x251; v">mɑv</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN" ph="t &#xE6; k">tæk</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="&#x283; u w">ʃuw</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="n y f">nyf</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="&#x28E; i c">ʎic</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing" ph="n o f">nof</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="NEG" ph="&#x28E; i n">ʎin</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="2.sing.SUBJ" ph="s e m">sem</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="lamb5" translation="Are you not one of those who thought that she often wanted to have a little lamb?">
  <flat>
-    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC" ph="f &#x251; z">fɑz</word>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing" ph="&#x25F; i &#x261;">ɟiɡ</word>
-    <thingy gloss="little&#x2081;" type="nounnounderivbef" origposp="adj" attach="prefix" ph=""></thingy>
-    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing" ph="n &#xE6; d e d">næded</word>
-    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj" attach="suffix" ph="e s">es</thingy>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="m &#x251; v">mɑv</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="GEN" ph="t &#xE6; k">tæk</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="&#x283; u w">ʃuw</word>
-    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="n y f">nyf</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="&#x28E; i c">ʎic</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing" ph="n o f">nof</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="NEG" ph="&#x28E; i n">ʎin</thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="2.sing.SUBJ" ph="s e m">sem</thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="pron" number="sing" gloss="3.sing" def="def" tr="theme" role="owned" locus="number" possessor="3.sing" case="ACC">fɑz</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word gloss="a" posp="det" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">ɟiɡ</word>
+    <word gloss="lamb" lexposp="noun" posp="noun" number="sing" tr="rheme" role="owned" locus="number" possessor="3.sing">næded</word>
+    <thingy gloss="little&#x2082;" type="nounnounderivaft" origposp="adj">es</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word posp="verb" gloss="have" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">mɑv</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="npcase" function="enclitic" gloss="GEN">tæk</thingy>
+    <word posp="verb" gloss="want" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">ʃuw</word>
+    <word posp="adv" gloss="often" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">nyf</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="think" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">ʎic</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="be" question="Q" negation="NEG" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="2.sing" obj="3.sing">nof</word>
+    <thingy type="vpnegation" function="enclitic" gloss="NEG">ʎin</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="2.sing.SUBJ">sem</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;fɑz&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;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;næded&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;-es&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;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mɑv&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&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;ʃuw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;want&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nyf&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;often&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʎic&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;think&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nof&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;be&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʎin&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;NEG&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sem&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>fɑz tæh ɟiɡ nædedes tæh mɑv ʒæc tæk ʃuw nyf ʒæc dʉl tiʒ ʎic ʒæc dʉl tiʒ nof ʎin sem dʉl</p>
+  <p>faz täh dyig nädedes täh mav zhäty täk shuw nyf zhäty dʉl tizh llity zhäty dʉl tizh nof llin sem dʉl</p>
+  <il>
+    <w>
+      <o>fɑz</o>
+      <g>3.sing</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>ɟiɡ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>næded</o>
+      <g>lamb</g>
+    </w>
+    <w>
+      <o>-es</o>
+      <g>little</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>mɑv</o>
+      <g>have</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tæk</o>
+      <g>GEN</g>
+    </w>
+    <w>
+      <o>ʃuw</o>
+      <g>want</g>
+    </w>
+    <w>
+      <o>nyf</o>
+      <g>often</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʎic</o>
+      <g>think</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>nof</o>
+      <g>be</g>
+    </w>
+    <w>
+      <o>ʎin</o>
+      <g>NEG</g>
+    </w>
+    <w>
+      <o>sem</o>
+      <g>2.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="2.sing"/>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="p i c">pic</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ" ph="l o n">lon</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="love" translation="I love you.">
  <flat>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="1excl.sing" obj="2.sing" ph="p i c">pic</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
-    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ" ph="l o n">lon</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">pic</word>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ">lon</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pic&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;luʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pic luʒ lon</p>
+  <p>pity luzh lon</p>
+  <il>
+    <w>
+      <o>pic</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>luʒ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>lon</o>
+      <g>2.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np type="owner_owned" case="LOC" number="sing">
-      <np def="def" number="sing" locus="number" possessor="no.owner">
+      <np def="def" number="sing" locus="number" possessor="no.owner" case="LOC">
        <word posp="noun" gloss="table"/>
+        <thingy type="npnumber" function="enclitic" gloss="sing"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
-      <np def="def" number="sing" possessor="no.owner">
+      <np def="def" number="sing" possessor="no.owner" case="LOC">
        <word posp="noun" gloss="surface"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="npcase" function="enclitic" gloss="LOC"/>
    </np>
    <word gloss="in" posp="pp"/>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
-    <np type="owner_owned" case="LOC" number="sing">
    <np def="def" number="sing" locus="number" possessor="no.owner" case="LOC">
      <word posp="noun" gloss="table"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" possessor="no.owner" case="LOC">
      <word posp="noun" gloss="surface"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="npcase" function="enclitic" gloss="LOC"/>
-    </np>
    <word gloss="in" posp="pp"/>
  </pp>
</example>

movedowntoword:

<example id="adpos1" translation="on the table">
  <pp p="in" location="surface" precise="yes">
    <np def="def" number="sing" locus="number" possessor="no.owner" case="LOC">
-      <word posp="noun" gloss="table"/>
+      <word posp="noun" gloss="table" def="def" number="sing" locus="number" possessor="no.owner" case="LOC"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" possessor="no.owner" case="LOC">
-      <word posp="noun" gloss="surface"/>
+      <word posp="noun" gloss="surface" def="def" number="sing" possessor="no.owner" case="LOC"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="npcase" function="enclitic" gloss="LOC"/>
-    <word gloss="in" posp="pp"/>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
  </pp>
</example>

addaffixes:

No change.

flatten:

<example id="adpos1" translation="on the table">
-  <pp p="in" location="surface" precise="yes">
-    <np def="def" number="sing" locus="number" possessor="no.owner" case="LOC">
+  <flat>
    <word posp="noun" gloss="table" def="def" number="sing" locus="number" possessor="no.owner" case="LOC"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np def="def" number="sing" possessor="no.owner" case="LOC">
    <word posp="noun" gloss="surface" def="def" number="sing" possessor="no.owner" case="LOC"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="npcase" function="enclitic" gloss="LOC"/>
    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" possessor="no.owner" case="LOC"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="surface" def="def" number="sing" possessor="no.owner" case="LOC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="LOC"/>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes"/>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" possessor="no.owner" case="LOC" ph="&#x292; i s">ʒis</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="surface" def="def" number="sing" possessor="no.owner" case="LOC" ph="&#x261; y &#x292;">ɡyʒ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC" ph="l &#x289; n">lʉn</thingy>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="l &#x289; &#x283;">lʉʃ</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos1" translation="on the table">
  <flat>
-    <word posp="noun" gloss="table" def="def" number="sing" locus="number" possessor="no.owner" case="LOC" ph="&#x292; i s">ʒis</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="surface" def="def" number="sing" possessor="no.owner" case="LOC" ph="&#x261; y &#x292;">ɡyʒ</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="LOC" ph="l &#x289; n">lʉn</thingy>
-    <word gloss="in" posp="pp" p="in" location="surface" precise="yes" ph="l &#x289; &#x283;">lʉʃ</word>
+    <word posp="noun" gloss="table" def="def" number="sing" locus="number" possessor="no.owner" case="LOC">ʒis</word>
+    <word posp="noun" gloss="surface" def="def" number="sing" possessor="no.owner" case="LOC">ɡyʒ</word>
+    <thingy type="npcase" function="enclitic" gloss="LOC">lʉn</thingy>
+    <word gloss="in" posp="pp" p="in" location="surface" precise="yes">lʉʃ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒis&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;ɡyʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;surface&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lʉn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lʉʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;in&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʒis ɡyʒ lʉn lʉʃ</p>
+  <p>zhis gyzh lʉn lʉsh</p>
+  <il>
+    <w>
+      <o>ʒis</o>
+      <g>table</g>
+    </w>
+    <w>
+      <o>ɡyʒ</o>
+      <g>surface</g>
+    </w>
+    <w>
+      <o>lʉn</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>lʉʃ</o>
+      <g>in</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

module constorder:

No change.

module casemarking:

No change.

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np type="owner_owned" case="DAT" number="sing">
-      <np def="def" number="sing" locus="number" possessor="no.owner">
+      <np def="def" number="sing" locus="number" possessor="no.owner" case="DAT">
        <word posp="noun" gloss="box"/>
+        <thingy type="npnumber" function="enclitic" gloss="sing"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
-      <np def="def" number="sing" possessor="no.owner">
+      <np def="def" number="sing" possessor="no.owner" case="DAT">
        <word posp="noun" gloss="inside"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="npcase" function="enclitic" gloss="DAT"/>
    </np>
    <word gloss="to" posp="pp"/>
  </pp>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
-    <np type="owner_owned" case="DAT" number="sing">
    <np def="def" number="sing" locus="number" possessor="no.owner" case="DAT">
      <word posp="noun" gloss="box"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" possessor="no.owner" case="DAT">
      <word posp="noun" gloss="inside"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="npcase" function="enclitic" gloss="DAT"/>
-    </np>
    <word gloss="to" posp="pp"/>
  </pp>
</example>

movedowntoword:

<example id="adpos2" translation="into the box">
  <pp p="to" location="inside" precise="yes">
    <np def="def" number="sing" locus="number" possessor="no.owner" case="DAT">
-      <word posp="noun" gloss="box"/>
+      <word posp="noun" gloss="box" def="def" number="sing" locus="number" possessor="no.owner" case="DAT"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <np def="def" number="sing" possessor="no.owner" case="DAT">
-      <word posp="noun" gloss="inside"/>
+      <word posp="noun" gloss="inside" def="def" number="sing" possessor="no.owner" case="DAT"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="npcase" function="enclitic" gloss="DAT"/>
-    <word gloss="to" posp="pp"/>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
  </pp>
</example>

addaffixes:

No change.

flatten:

<example id="adpos2" translation="into the box">
-  <pp p="to" location="inside" precise="yes">
-    <np def="def" number="sing" locus="number" possessor="no.owner" case="DAT">
+  <flat>
    <word posp="noun" gloss="box" def="def" number="sing" locus="number" possessor="no.owner" case="DAT"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
-    <np def="def" number="sing" possessor="no.owner" case="DAT">
    <word posp="noun" gloss="inside" def="def" number="sing" possessor="no.owner" case="DAT"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="npcase" function="enclitic" gloss="DAT"/>
    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
-  </pp>
+  </flat>
</example>

addvocab:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" possessor="no.owner" case="DAT"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="inside" def="def" number="sing" possessor="no.owner" case="DAT"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="DAT"/>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes"/>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" possessor="no.owner" case="DAT" ph="s &#xE6; c &#xE6; m">sæcæm</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="inside" def="def" number="sing" possessor="no.owner" case="DAT" ph="&#x261; i h">ɡih</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="DAT" ph="c i w">ciw</thingy>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="t i h">tih</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos2" translation="into the box">
  <flat>
-    <word posp="noun" gloss="box" def="def" number="sing" locus="number" possessor="no.owner" case="DAT" ph="s &#xE6; c &#xE6; m">sæcæm</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="inside" def="def" number="sing" possessor="no.owner" case="DAT" ph="&#x261; i h">ɡih</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="DAT" ph="c i w">ciw</thingy>
-    <word gloss="to" posp="pp" p="to" location="inside" precise="yes" ph="t i h">tih</word>
+    <word posp="noun" gloss="box" def="def" number="sing" locus="number" possessor="no.owner" case="DAT">sæcæm</word>
+    <word posp="noun" gloss="inside" def="def" number="sing" possessor="no.owner" case="DAT">ɡih</word>
+    <thingy type="npcase" function="enclitic" gloss="DAT">ciw</thingy>
+    <word gloss="to" posp="pp" p="to" location="inside" precise="yes">tih</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sæcæm&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;ɡih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;inside&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ciw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tih&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;to&lt;/span&gt;&lt;/span&gt;</p>
+  <p>sæcæm ɡih ciw tih</p>
+  <p>sätyäm gih tyiw tih</p>
+  <il>
+    <w>
+      <o>sæcæm</o>
+      <g>box</g>
+    </w>
+    <w>
+      <o>ɡih</o>
+      <g>inside</g>
+    </w>
+    <w>
+      <o>ciw</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>tih</o>
+      <g>to</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

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

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="adpos3" translation="with me">
  <pp role="comitative">
    <np number="sing" def="neither" locus="number" case="LOC" possessor="no.owner" 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" possessor="no.owner"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="LOC"/>
    </np>
-    <word gloss="COMIT" posp="pp"/>
+    <word gloss="COMIT" posp="pp" role="comitative"/>
  </pp>
</example>

addaffixes:

No change.

flatten:

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

addvocab:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="LOC"/>
-    <word gloss="COMIT" posp="pp" role="comitative"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC" possessor="no.owner" ph="l u n">lun</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="LOC" ph="l &#x289; n">lʉn</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative" ph="d u k u l">dukul</word>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="adpos3" translation="with me">
  <flat>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC" possessor="no.owner" ph="l u n">lun</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="LOC" ph="l &#x289; n">lʉn</thingy>
-    <word gloss="COMIT" posp="pp" role="comitative" ph="d u k u l">dukul</word>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" locus="number" case="LOC" possessor="no.owner">lun</word>
+    <thingy type="npcase" function="enclitic" gloss="LOC">lʉn</thingy>
+    <word gloss="COMIT" posp="pp" role="comitative">dukul</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lun&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;lʉn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;LOC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dukul&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;COMIT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lun lʉn dukul</p>
+  <p>lun lʉn dukul</p>
+  <il>
+    <w>
+      <o>lun</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>lʉn</o>
+      <g>LOC</g>
+    </w>
+    <w>
+      <o>dukul</o>
+      <g>COMIT</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p &#xE6; &#x28E; &#xE6; d">pæʎæd</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x283; i w &#x251; &#x25F;">ʃiwɑɟ</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="c &#x251; k">cɑk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo1" translation="The jaguar killed the hunter.">
  <flat>
-    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" possessor="no.owner" ph="p &#xE6; &#x28E; &#xE6; d">pæʎæd</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x283; i w &#x251; &#x25F;">ʃiwɑɟ</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="c &#x251; k">cɑk</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="jaguar" number="sing" def="def" role="subj" locus="number" case="NOM" possessor="no.owner">pæʎæd</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" role="obj" locus="number" case="ACC" possessor="no.owner">ʃiwɑɟ</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">cɑk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pæʎæd&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;ʃiwɑɟ&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;cɑk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pæʎæd ʃiwɑɟ tiʒ cɑk ʒæc dʉl</p>
+  <p>pälläd shiwady tizh tyak zhäty dʉl</p>
+  <il>
+    <w>
+      <o>pæʎæd</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ʃiwɑɟ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>cɑk</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="3.sing"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="ACC"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" possessor="no.owner" ph="&#x292; i &#x25F; &#xE6; b">ʒiɟæb</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="&#x283; i w &#x251; &#x25F;">ʃiwɑɟ</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="3.sing" ph="l &#xF8; &#x283;">løʃ</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="ACC" ph="s i p">sip</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="&#x28E; &#x289; l">ʎʉl</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="wo2" translation="The lion ate the hunter's daughter's dog.">
  <flat>
-    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" possessor="no.owner" ph="&#x292; i &#x25F; &#xE6; b">ʒiɟæb</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner" ph="&#x283; i w &#x251; &#x25F;">ʃiwɑɟ</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="3.sing" ph="l &#xF8; &#x283;">løʃ</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="ACC" ph="s i p">sip</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="&#x28E; &#x289; l">ʎʉl</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="lion" number="sing" def="def" role="subj" locus="number" case="NOM" possessor="no.owner">ʒiɟæb</word>
+    <word posp="noun" gloss="hunter" number="sing" def="def" locus="number" role="owner" case="GEN" possessor="no.owner">ʃiwɑɟ</word>
+    <word posp="noun" gloss="daughter" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="3.sing">løʃ</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word posp="noun" gloss="dog" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="ACC">sip</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">ʎʉl</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒiɟæb&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;ʃiwɑɟ&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;løʃ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;daughter&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sip&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;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʎʉl&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʒiɟæb ʃiwɑɟ løʃ tæh sip tæh tiʒ ʎʉl ʒæc dʉl</p>
+  <p>zhidyäb shiwady løsh täh sip täh tizh llʉl zhäty dʉl</p>
+  <il>
+    <w>
+      <o>ʒiɟæb</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>ʃiwɑɟ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>løʃ</o>
+      <g>daughter</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>sip</o>
+      <g>dog</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʎʉl</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

No change.

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

No change.

module casemarking:

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

module markowner:

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

module propagatenumber:

<example id="poss3" translation="your son's friend's book">
-  <np type="owner_owned" case="NOM">
-    <np type="owner_owned" role="owner">
-      <np type="owner_owned" role="owner">
+  <np type="owner_owned" case="NOM" 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 markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

No change.

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="2.sing"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing"/>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="3.sing"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="2.sing" ph="&#x25F; u m">ɟum</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="&#x292; &#x251; m">ʒɑm</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="3.sing" ph="b o v">bov</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM" ph="k i t &#x251; b">kitɑb</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="poss3" translation="your son's friend's book">
  <flat>
-    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="2.sing" ph="&#x25F; u m">ɟum</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS" ph="&#x292; &#x251; m">ʒɑm</thingy>
-    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="3.sing" ph="b o v">bov</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM" ph="k i t &#x251; b">kitɑb</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="son" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="2.sing">ɟum</word>
+    <thingy type="nppossessor" function="enclitic" gloss="2.sing.POSS">ʒɑm</thingy>
+    <word posp="noun" gloss="friend" number="sing" def="def" locus="number" role="owned" case="GEN" possessor="3.sing">bov</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word posp="noun" gloss="book" number="sing" def="def" locus="number" role="owned" possessor="3.sing" case="NOM">kitɑb</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟum&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;ʒɑm&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;bov&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;friend&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kitɑb&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;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɟum ʒɑm bov tæh kitɑb tæh</p>
+  <p>dyum zham bov täh kitab täh</p>
+  <il>
+    <w>
+      <o>ɟum</o>
+      <g>son</g>
+    </w>
+    <w>
+      <o>ʒɑm</o>
+      <g>2.sing.POSS</g>
+    </w>
+    <w>
+      <o>bov</o>
+      <g>friend</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>kitɑb</o>
+      <g>book</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" 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="&#x283; &#xE6; &#x28E;">ʃæʎ</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_stat" translation="The cat is sleeping.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" 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="&#x283; &#xE6; &#x28E;">ʃæʎ</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">nøh</word>
+    <word posp="verb" gloss="sleep" negation="POS" question="not.Q" tense="present" asp="imperfective" mode="indicative" voice="active" ta="PRES" subj="3.sing">ʃæʎ</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nøh&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;ʃæʎ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;sleep&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nøh ʃæʎ</p>
+  <p>nøh shäll</p>
+  <il>
+    <w>
+      <o>nøh</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>ʃæʎ</o>
+      <g>sleep</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="c e j">cej</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="intr_act" translation="The cat is running.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="c e j">cej</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">nøh</word>
+    <word posp="verb" gloss="run" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">cej</word>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nøh&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;cej&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;run&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nøh cej</p>
+  <p>nøh tyej</p>
+  <il>
+    <w>
+      <o>nøh</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>cej</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 articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

submodule transform_verb_obj
<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
    <np number="sing" def="def" role="subj" tr="theme" locus="number">
      <word posp="noun" gloss="cat"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

<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"/>
+      <word gloss="mouse" lexposp="noun" posp="verb">
+        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
+        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
+      </word>
    </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 adpositions:

No change.

module constorder:

<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">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
-      <word posp="noun" gloss="cat"/>
-    </np>
  </s>
</example>

module casemarking:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM">
+    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#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="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES">
+    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">
      <word posp="noun" gloss="cat"/>
+      <thingy type="npnumber" function="enclitic" gloss="sing"/>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+      <thingy type="npcase" function="enclitic" gloss="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
      <word gloss="mouse" lexposp="noun" posp="verb">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
+      <thingy type="vpta" function="enclitic" gloss="PRES"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <s>
    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="NOM"/>
    </np>
    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
-      <word gloss="mouse" lexposp="noun" posp="verb">
+      <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
        <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
        <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
      </word>
      <thingy type="vpta" function="enclitic" gloss="PRES"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="tr_pres" translation="The cat is chasing the mouse.">
-  <s>
-    <np number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    </np>
-    <vp tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
-      <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing">
    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
-      </word>
    <thingy type="vpta" function="enclitic" gloss="PRES"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing"/>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="p u c &#xF8; d">pucød</word>
+    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x251; &#x25F;">ɑɟ</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="p u c &#xF8; d">pucød</word>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x251; &#x25F;">ɑɟ</thingy>
    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

removetags:

<example id="tr_pres" translation="The cat is chasing the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <thingy gloss="chase&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
-    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="&#x251; &#x25F;">ɑɟ</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">nøh</word>
+    <word gloss="mouse" lexposp="noun" posp="verb" tam="pres-cont" negation="POS" question="not.Q" ta="PRES" subj="3.sing" underlying="p u c &#xF8; d">pycød</word>
+    <thingy gloss="chase&#x2082;" type="nounverbderivaft" origposp="verb">ɑɟ</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nøh&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;pucød&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;-ɑɟ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;chase&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nøh pycødɑɟ</p>
+  <p>nøh pytyødady</p>
+  <il>
+    <w>
+      <o>nøh</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>pucød</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>-ɑɟ</o>
+      <g>chase</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="p u c &#xF8; d">pucød</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="w &#x289; b">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="p u c &#xF8; d">pucød</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="w &#x289; b">wʉb</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

removetags:

<example id="tr_past" translation="The cat caught the mouse.">
  <flat>
-    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner" ph="n &#xF8; h">nøh</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" possessor="no.owner" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="w &#x289; b">wʉb</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="cat" number="sing" def="def" role="subj" tr="theme" locus="number" case="NOM" possessor="no.owner">nøh</word>
+    <word posp="noun" gloss="mouse" number="sing" def="def" role="obj" tr="rheme" locus="number" case="ACC" possessor="no.owner" underlying="p u c &#xF8; d">pycød</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nøh&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;pucød&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉb&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nøh pycød tiʒ wʉb ʒæc dʉl</p>
+  <p>nøh pytyød tizh wʉb zhäty dʉl</p>
+  <il>
+    <w>
+      <o>nøh</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>pucød</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>wʉb</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

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

flattenconjp:

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

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="npnumber" function="enclitic" gloss="plur"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="npnumber" function="enclitic" gloss="plur"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="conj" gloss="and"/>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC"/>
-    <thingy type="npnumber" function="enclitic" gloss="plur"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="kill" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" obj="3.plur"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.plur"/>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="&#x283; i w &#x251; &#x25F;">ʃiwɑɟ</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="p &#xE6; &#x28E; &#xE6; d">pæʎæd</word>
+    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="&#x28E; &#x289; w">ʎʉw</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x283; u &#x292; e w">ʃuʒew</word>
+    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="conj" gloss="and" ph="&#x28E; &#x289; w">ʎʉw</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x292; i &#x25F; &#xE6; b">ʒiɟæb</word>
+    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="c &#x251; k">cɑk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.plur.OBJ" ph="z &#x251; z">zɑz</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="conj1" translation="The hunter killed the jaguars, the tigers and the lions.">
  <flat>
-    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="&#x283; i w &#x251; &#x25F;">ʃiwɑɟ</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="p &#xE6; &#x28E; &#xE6; d">pæʎæd</word>
-    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="&#x28E; &#x289; w">ʎʉw</word>
-    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x283; u &#x292; e w">ʃuʒew</word>
-    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="conj" gloss="and" ph="&#x28E; &#x289; w">ʎʉw</word>
-    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC" ph="&#x292; i &#x25F; &#xE6; b">ʒiɟæb</word>
-    <thingy type="npnumber" function="enclitic" gloss="plur" ph="&#x261; e n">ɡen</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="c &#x251; k">cɑk</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.plur.OBJ" ph="z &#x251; z">zɑz</thingy>
+    <word posp="noun" gloss="hunter" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">ʃiwɑɟ</word>
+    <word posp="noun" gloss="jaguar" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC">pæʎæd</word>
+    <thingy type="npnumber" function="enclitic" gloss="plur">ɡen</thingy>
+    <word posp="conj" gloss="and">ʎʉw</word>
+    <word posp="noun" gloss="tiger" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC">ʃuʒew</word>
+    <thingy type="npnumber" function="enclitic" gloss="plur">ɡen</thingy>
+    <word posp="conj" gloss="and">ʎʉw</word>
+    <word posp="noun" gloss="lion" def="def" number="plur" locus="number" possessor="no.owner" role="obj" tr="rheme" case="ACC">ʒiɟæb</word>
+    <thingy type="npnumber" function="enclitic" gloss="plur">ɡen</thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">cɑk</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.plur.OBJ">zɑz</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʃiwɑɟ&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;pæʎæd&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;ɡen&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;ʎʉw&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;ʃuʒew&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;ɡen&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;ʎʉw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;and&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒiɟæb&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;ɡen&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;cɑk&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;kill&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;zɑz&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.plur.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ʃiwɑɟ pæʎæd ɡen ʎʉw ʃuʒew ɡen ʎʉw ʒiɟæb ɡen tiʒ cɑk ʒæc zɑz</p>
+  <p>shiwady pälläd gen llʉw shuzhew gen llʉw zhidyäb gen tizh tyak zhäty zaz</p>
+  <il>
+    <w>
+      <o>ʃiwɑɟ</o>
+      <g>hunter</g>
+    </w>
+    <w>
+      <o>pæʎæd</o>
+      <g>jaguar</g>
+    </w>
+    <w>
+      <o>ɡen</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ʎʉw</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ʃuʒew</o>
+      <g>tiger</g>
+    </w>
+    <w>
+      <o>ɡen</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>ʎʉw</o>
+      <g>and</g>
+    </w>
+    <w>
+      <o>ʒiɟæb</o>
+      <g>lion</g>
+    </w>
+    <w>
+      <o>ɡen</o>
+      <g>plur</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>cɑk</o>
+      <g>kill</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>zɑz</o>
+      <g>3.plur.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

No change.

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

No change.

unwrapOwnerOwned:

No change.

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="n &#xF8; h">nøh</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="relp1" translation="I patted the cat.">
  <flat>
-    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner" ph="n &#xF8; h">nøh</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" tr="rheme" role="obj" locus="number" case="ACC" possessor="no.owner">nøh</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">boʃɑʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nøh&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;boʃɑʒ&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;luʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>nøh tiʒ boʃɑʒ ʒæc luʒ dʉl</p>
+  <p>nøh tizh boshazh zhäty luzh dʉl</p>
+  <il>
+    <w>
+      <o>nøh</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>boʃɑʒ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>luʒ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module nominalise:

No change.

tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <np def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner">
          <word posp="noun" gloss="mouse"/>
+          <thingy type="npnumber" function="enclitic" gloss="sing"/>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+          <thingy type="npcase" function="enclitic" gloss="ACC"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number" possessor="no.owner">
+      <np def="def" number="sing" role="subj" locus="number" possessor="no.owner" case="ACC">
        <word posp="noun" gloss="cat"/>
+        <thingy type="npnumber" function="enclitic" gloss="sing"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+      <thingy type="npcase" function="enclitic" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
+      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
-    <np role="obj" case="ACC" number="sing" possessor="no.owner">
    <subs>
      <np def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner">
        <word posp="noun" gloss="mouse"/>
        <thingy type="npnumber" function="enclitic" gloss="sing"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        <thingy type="npcase" function="enclitic" gloss="ACC"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
        <word posp="verb" gloss="catch"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
      </vp>
    </subs>
-      <np def="def" number="sing" role="subj" locus="number" possessor="no.owner" case="ACC">
+    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
      <word posp="noun" gloss="cat"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <s>
    <subs>
      <np def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner">
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner"/>
        <thingy type="npnumber" function="enclitic" gloss="sing"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        <thingy type="npcase" function="enclitic" gloss="ACC"/>
      </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
-        <word posp="verb" gloss="catch"/>
+        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp2" translation="I patted the cat that caught the mouse.">
-  <s>
-    <subs>
-      <np def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner">
+  <flat>
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-      </np>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" ph="p u c &#xF8; d">pucød</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="w &#x289; b">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="n &#xF8; h">nøh</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" ph="p u c &#xF8; d">pucød</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="w &#x289; b">wʉb</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="n &#xF8; h">nøh</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

removetags:

<example id="relp2" translation="I patted the cat that caught the mouse.">
  <flat>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="w &#x289; b">wʉb</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="n &#xF8; h">nøh</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" underlying="p u c &#xF8; d">pycød</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">nøh</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">boʃɑʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pucød&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉb&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nøh&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;boʃɑʒ&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;luʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>pycød tiʒ wʉb ʒæc dʉl nøh tiʒ boʃɑʒ ʒæc luʒ dʉl</p>
+  <p>pytyød tizh wʉb zhäty dʉl nøh tizh boshazh zhäty luzh dʉl</p>
+  <il>
+    <w>
+      <o>pucød</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>wʉb</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>nøh</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>boʃɑʒ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>luʒ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module nominalise:

No change.

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

module affixdensity:

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

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

No change.

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <np role="obj" case="ACC" number="sing" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word gloss="cheese" lexposp="noun" posp="verb">
                <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
                <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
              </word>
+              <thingy type="vpta" function="enclitic" gloss="PAST"/>
+              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+              <thingy type="vpvoice" function="enclitic" gloss="active"/>
+              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
            </vp>
          </subs>
-          <np def="def" number="sing" role="subj" locus="number" possessor="no.owner">
+          <np def="def" number="sing" role="subj" locus="number" possessor="no.owner" case="ACC">
            <word posp="noun" gloss="mouse"/>
+            <thingy type="npnumber" function="enclitic" gloss="sing"/>
+            <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
          </np>
+          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+          <thingy type="npcase" function="enclitic" gloss="ACC"/>
        </np>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
          <word posp="verb" gloss="catch"/>
+          <thingy type="vpta" function="enclitic" gloss="PAST"/>
+          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+          <thingy type="vpvoice" function="enclitic" gloss="active"/>
+          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+          <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
        </vp>
      </subs>
-      <np def="def" number="sing" role="subj" locus="number" possessor="no.owner">
+      <np def="def" number="sing" role="subj" locus="number" possessor="no.owner" case="ACC">
        <word posp="noun" gloss="cat"/>
+        <thingy type="npnumber" function="enclitic" gloss="sing"/>
+        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
+      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
+      <thingy type="npcase" function="enclitic" gloss="ACC"/>
    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat"/>
+      <thingy type="vpta" function="enclitic" gloss="PAST"/>
+      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
+      <thingy type="vpvoice" function="enclitic" gloss="active"/>
+      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
+      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
+      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

propagateArgumentCase:

No change.

unwrapArgumentNPs:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
-    <np role="obj" case="ACC" number="sing" possessor="no.owner">
    <subs>
-        <np role="obj" case="ACC" number="sing" possessor="no.owner">
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
          <word gloss="cheese" lexposp="noun" posp="verb">
            <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
            <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
          </word>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        </vp>
      </subs>
-          <np def="def" number="sing" role="subj" locus="number" possessor="no.owner" case="ACC">
+      <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
        <word posp="noun" gloss="mouse"/>
        <thingy type="npnumber" function="enclitic" gloss="sing"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="ACC"/>
-        </np>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
        <word posp="verb" gloss="catch"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
      </vp>
    </subs>
-      <np def="def" number="sing" role="subj" locus="number" possessor="no.owner" case="ACC">
+    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
      <word posp="noun" gloss="cat"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    </np>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

unwrapOwnerOwned:

No change.

movedowntoword:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <s>
    <subs>
      <subs>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-          <word gloss="cheese" lexposp="noun" posp="verb">
+          <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
            <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
            <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
          </word>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
        <thingy type="npnumber" function="enclitic" gloss="sing"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="ACC"/>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
-        <word posp="verb" gloss="catch"/>
+        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
    </vp>
  </s>
</example>

addaffixes:

No change.

flatten:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
-  <s>
-    <subs>
-      <subs>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
-          <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+  <flat>
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-          </word>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-        </vp>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-      </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-    </vp>
-  </s>
+  </flat>
</example>

addvocab:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb"/>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
+    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x261; &#x251; m e w">ɡɑmew</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="e b">eb</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="p u c &#xF8; d">pucød</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="w &#x289; b">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="n &#xF8; h">nøh</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

vowelharmony:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x261; &#x251; m e w">ɡɑmew</word>
    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="e b">eb</thingy>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="p u c &#xF8; d">pucød</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="w &#x289; b">wʉb</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="n &#xF8; h">nøh</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
  </flat>
</example>

removetags:

<example id="relp3" translation="I patted the cat that caught the mouse that ate the cheese.">
  <flat>
-    <thingy gloss="eat&#x2081;" type="nounverbderivbef" origposp="verb" attach="prefix" ph=""></thingy>
-    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="&#x261; &#x251; m e w">ɡɑmew</word>
-    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb" attach="suffix" ph="e b">eb</thingy>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing" ph="w &#x289; b">wʉb</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" ph="n &#xF8; h">nøh</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <word gloss="cheese" lexposp="noun" posp="verb" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">ɡɑmew</word>
+    <thingy gloss="eat&#x2082;" type="nounverbderivaft" origposp="verb">eb</thingy>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" underlying="p u c &#xF8; d">pycød</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="3.sing">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC">nøh</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">boʃɑʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡɑmew&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;-eb&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pucød&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉb&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nøh&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;boʃɑʒ&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;luʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>ɡɑmeweb ʒæc pycød tiʒ wʉb ʒæc dʉl nøh tiʒ boʃɑʒ ʒæc luʒ dʉl</p>
+  <p>gameweb zhäty pytyød tizh wʉb zhäty dʉl nøh tizh boshazh zhäty luzh dʉl</p>
+  <il>
+    <w>
+      <o>ɡɑmew</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>-eb</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>pucød</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>wʉb</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>nøh</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>boʃɑʒ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>luʒ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

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

module sentenceconnectors:

No change.

module nominalise:

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

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

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

prodrop:

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

addclitics:

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

unwrapOwnerOwned:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <subs>
      <subs>
-        <np type="owner_owned" number="sing" case="ACC">
        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing" person="1excl" case="ACC">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
          <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
        </np>
        <np role="owner" number="sing" case="GEN" possessor="no.owner">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="buy"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
            </vp>
          </subs>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
-        </np>
        <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
          <word posp="noun" gloss="cheese"/>
          <thingy type="npnumber" function="enclitic" gloss="sing"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        <thingy type="npcase" function="enclitic" gloss="ACC"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
          <word posp="verb" gloss="eat"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
        <word posp="noun" gloss="mouse"/>
        <thingy type="npnumber" function="enclitic" gloss="sing"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="ACC"/>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
        <word posp="verb" gloss="catch"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
      <word posp="noun" gloss="cat"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
      <word posp="verb" gloss="pat"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
    </vp>
  </s>
</example>

movedowntoword:

<example id="relp4" translation="I patted the cat that caught the mouse that ate the cheese that I bought.">
  <s>
    <subs>
      <subs>
        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing" person="1excl" case="ACC">
-          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
+          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" possessor="3.sing" case="ACC"/>
          <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
        </np>
        <np role="owner" number="sing" case="GEN" possessor="no.owner">
          <subs>
            <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="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
              <thingy type="vpta" function="enclitic" gloss="PAST"/>
              <thingy type="vpmode" function="enclitic" gloss="indicative"/>
              <thingy type="vpvoice" function="enclitic" gloss="active"/>
              <thingy type="vpnegation" function="enclitic" gloss="POS"/>
            </vp>
          </subs>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
-          <word posp="noun" gloss="cheese"/>
+          <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
          <thingy type="npnumber" function="enclitic" gloss="sing"/>
          <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        </np>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
        <thingy type="npcase" function="enclitic" gloss="ACC"/>
        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
-          <word posp="verb" gloss="eat"/>
+          <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
          <thingy type="vpta" function="enclitic" gloss="PAST"/>
          <thingy type="vpmode" function="enclitic" gloss="indicative"/>
          <thingy type="vpvoice" function="enclitic" gloss="active"/>
          <thingy type="vpnegation" function="enclitic" gloss="POS"/>
          <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
        </vp>
      </subs>
      <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
-        <word posp="noun" gloss="mouse"/>
+        <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
        <thingy type="npnumber" function="enclitic" gloss="sing"/>
        <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      </np>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
      <thingy type="npcase" function="enclitic" gloss="ACC"/>
      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
-        <word posp="verb" gloss="catch"/>
+        <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
        <thingy type="vpta" function="enclitic" gloss="PAST"/>
        <thingy type="vpmode" function="enclitic" gloss="indicative"/>
        <thingy type="vpvoice" function="enclitic" gloss="active"/>
        <thingy type="vpnegation" function="enclitic" gloss="POS"/>
        <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
      </vp>
    </subs>
    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
-      <word posp="noun" gloss="cat"/>
+      <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
      <thingy type="npnumber" function="enclitic" gloss="sing"/>
      <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
-      <word posp="verb" gloss="pat"/>
+      <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing"/>
      <thingy type="vpta" function="enclitic" gloss="PAST"/>
      <thingy type="vpmode" function="enclitic" gloss="indicative"/>
      <thingy type="vpvoice" function="enclitic" gloss="active"/>
      <thingy type="vpnegation" function="enclitic" gloss="POS"/>
      <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
      <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
    </vp>
  </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>
-    <subs>
-      <subs>
-        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing" person="1excl" case="ACC">
+  <flat>
    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" possessor="3.sing" case="ACC"/>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-        </np>
-        <np role="owner" number="sing" case="GEN" possessor="no.owner">
-          <subs>
-            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-            </vp>
-          </subs>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
-        <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-        </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-        <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
-        </vp>
-      </subs>
-      <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-      </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-      <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
-      </vp>
-    </subs>
-    <np def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
    <thingy type="npnumber" function="enclitic" gloss="sing"/>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    </np>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing">
    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing"/>
    <thingy type="vpta" function="enclitic" gloss="PAST"/>
    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
    <thingy type="vpvoice" function="enclitic" gloss="active"/>
    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
-    </vp>
-  </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="owned" locus="number" possessor="3.sing" case="ACC"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="pat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="1excl.sing" obj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" possessor="3.sing" case="ACC" ph="l u n">lun</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="d u s">dus</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="&#x261; &#x251; m e w">ɡɑmew</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="&#x28E; &#x289; l">ʎʉl</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="p u c &#xF8; d">pucød</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="w &#x289; b">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="n &#xF8; h">nøh</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="1excl.sing" ph="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
  </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="owned" locus="number" possessor="3.sing" case="ACC" ph="l u n">lun</word>
    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="d u s">dus</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="&#x261; &#x251; m e w">ɡɑmew</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="&#x28E; &#x289; l">ʎʉl</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="p u c &#xF8; d">pucød</word>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="w &#x289; b">wʉb</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="n &#xF8; h">nøh</word>
    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="1excl.sing" ph="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
  </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="owned" locus="number" possessor="3.sing" case="ACC" ph="l u n">lun</word>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" ph="d u s">dus</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="&#x261; &#x251; m e w">ɡɑmew</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="&#x28E; &#x289; l">ʎʉl</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
-    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="p y c &#xF8; d" underlying="p u c &#xF8; d">pycød</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing" ph="w &#x289; b">wʉb</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
-    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" ph="n &#xF8; h">nøh</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="1excl.sing" ph="b o &#x283; &#x251; &#x292;">boʃɑʒ</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ" ph="l u &#x292;">luʒ</thingy>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" possessor="3.sing" case="ACC">lun</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word posp="verb" gloss="buy" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">dus</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <word posp="noun" gloss="cheese" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">ɡɑmew</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="eat" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">ʎʉl</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ">tɑn</thingy>
+    <word posp="noun" gloss="mouse" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl" underlying="p u c &#xF8; d">pycød</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="catch" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" obj="1excl.sing">wʉb</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ">tɑn</thingy>
+    <word posp="noun" gloss="cat" def="def" number="sing" role="obj" locus="number" possessor="no.owner" case="ACC" person="1excl">nøh</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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="1excl.sing">boʃɑʒ</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="1excl.sing.SUBJ">luʒ</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ">tɑn</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dus&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɡɑmew&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ʎʉl&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tɑn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pucød&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;wʉb&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tɑn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;nøh&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;boʃɑʒ&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;luʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;SUBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tɑn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>lun tæh dus ʒæc ɡɑmew tiʒ ʎʉl ʒæc tɑn pycød tiʒ wʉb ʒæc tɑn nøh tiʒ boʃɑʒ ʒæc luʒ tɑn</p>
+  <p>lun täh dus zhäty gamew tizh llʉl zhäty tan pytyød tizh wʉb zhäty tan nøh tizh boshazh zhäty luzh tan</p>
+  <il>
+    <w>
+      <o>lun</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>dus</o>
+      <g>buy</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>ɡɑmew</o>
+      <g>cheese</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>ʎʉl</o>
+      <g>eat</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tɑn</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>pucød</o>
+      <g>mouse</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>wʉb</o>
+      <g>catch</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tɑn</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+    <w>
+      <o>nøh</o>
+      <g>cat</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>boʃɑʒ</o>
+      <g>pat</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>luʒ</o>
+      <g>1excl.sing.SUBJ</g>
+    </w>
+    <w>
+      <o>tɑn</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

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

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

<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">
+      <np type="owner_owned">
+        <np number="sing" def="def" head="this" role="owned" locus="number">
+          <word posp="noun" gloss="boy"/>
+        </np>
+        <np role="owner" number="sing">
          <subs>
            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
              <word posp="verb" gloss="give"/>
            </vp>
-        <np number="sing" def="def" head="this" role="subj" locus="number">
-          <word posp="noun" gloss="boy"/>
-        </np>
            <np number="sing" role="obj" locus="number">
              <word posp="noun" gloss="apple"/>
              <word gloss="a" posp="det"/>
            </np>
            <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
              <word posp="noun" gloss="girl"/>
            </np>
          </subs>
        </np>
+      </np>
+    </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">
      <np type="owner_owned">
        <np number="sing" def="def" head="this" role="owned" locus="number">
          <word posp="noun" gloss="boy"/>
        </np>
        <np role="owner" number="sing">
          <subs>
-            <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"/>
              <word gloss="a" posp="det"/>
            </np>
-            <np number="sing" def="def" role="indobj" tr="rheme" locus="number">
-              <word posp="noun" gloss="girl"/>
-            </np>
+            <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+              <word posp="verb" gloss="give"/>
+            </vp>
          </subs>
        </np>
      </np>
    </np>
    <np number="sing" def="def" role="indobj" locus="number">
      <word posp="noun" gloss="teacher"/>
    </np>
+    <vp negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST">
+      <word posp="verb" gloss="surprise"/>
+    </vp>
  </s>
</example>

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

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

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

No change.

copyuptophrase:

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

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" possessor="3.sing" case="NOM"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="DAT"/>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="DAT"/>
-    <word posp="verb" gloss="surprise" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" possessor="3.sing" case="NOM" ph="m e w">mew</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" possessor="no.owner" ph="k u &#x261;">kuɡ</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="DAT" ph="c i w">ciw</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x25F; i &#x261;">ɟiɡ</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" ph="t &#x289; v &#x251; b">tʉvɑb</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing" ph="m &#x251; j">mɑj</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" possessor="no.owner" ph="k &#xE6; l i m">kælim</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="DAT" ph="c i w">ciw</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="s &#x251; n i s">sɑnis</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="comp1" translation="It surprised the teacher that the boy had given the girl an apple.">
  <flat>
-    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" possessor="3.sing" case="NOM" ph="m e w">mew</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" possessor="no.owner" ph="k u &#x261;">kuɡ</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="DAT" ph="c i w">ciw</thingy>
-    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" ph="&#x25F; i &#x261;">ɟiɡ</word>
-    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner" ph="t &#x289; v &#x251; b">tʉvɑb</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing" ph="m &#x251; j">mɑj</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ" ph="d &#x289; l">dʉl</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" possessor="no.owner" ph="k &#xE6; l i m">kælim</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="DAT" ph="c i w">ciw</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="s &#x251; n i s">sɑnis</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <word posp="noun" gloss="boy" number="sing" def="def" head="this" role="owned" locus="number" possessor="3.sing" case="NOM">mew</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word posp="noun" gloss="girl" number="sing" def="def" role="indobj" tr="rheme" locus="number" case="DAT" possessor="no.owner">kuɡ</word>
+    <thingy type="npcase" function="enclitic" gloss="DAT">ciw</thingy>
+    <word gloss="a" posp="det" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner">ɟiɡ</word>
+    <word posp="noun" gloss="apple" number="sing" role="obj" locus="number" case="ACC" possessor="no.owner">tʉvɑb</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="give" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" indobj="3.sing" obj="3.sing">mɑj</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="3.sing.OBJ">dʉl</thingy>
+    <word posp="noun" gloss="teacher" number="sing" def="def" role="indobj" locus="number" case="DAT" possessor="no.owner">kælim</word>
+    <thingy type="npcase" function="enclitic" gloss="DAT">ciw</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">sɑnis</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mew&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;boy&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kuɡ&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;ciw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ɟiɡ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;a&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tʉvɑb&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mɑj&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;dʉl&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;kælim&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;teacher&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;ciw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;sɑnis&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mew tæh kuɡ ciw ɟiɡ tʉvɑb tiʒ mɑj ʒæc dʉl kælim ciw sɑnis ʒæc</p>
+  <p>mew täh kug tyiw dyig tʉvab tizh maj zhäty dʉl kälim tyiw sanis zhäty</p>
+  <il>
+    <w>
+      <o>mew</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>kuɡ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>ciw</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>ɟiɡ</o>
+      <g>a</g>
+    </w>
+    <w>
+      <o>tʉvɑb</o>
+      <g>apple</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>mɑj</o>
+      <g>give</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>dʉl</o>
+      <g>3.sing.OBJ</g>
+    </w>
+    <w>
+      <o>kælim</o>
+      <g>teacher</g>
+    </w>
+    <w>
+      <o>ciw</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>sɑnis</o>
+      <g>surprise</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+  </il>
</example>

initial XML:

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

cleanup:

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

module articles:

No change.

module nonpastonly:

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

module noepistemic:

No change.

module RelN:

No change.

module sentenceconnectors:

No change.

module nominalise:

<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">
+      <np type="owner_owned">
+        <np number="sing" def="neither" role="owned" locus="number">
+          <word person="1excl" number="sing" posp="pron"/>
+        </np>
+        <np role="owner" number="sing">
          <subs>
            <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>
+    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number">
      <word posp="noun" gloss="girl"/>
    </np>
  </s>
</example>
tva1
tva2
tva1
tva2

module affixdensity:

No change.

module adpositions:

No change.

module constorder:

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

module casemarking:

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

module markowner:

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

module propagatenumber:

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

module simplifynumber:

No change.

createpronouns:

No change.

module markowned:

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

module ngen:

No change.

module wordorder:

No change.

module wordorder:

No change.

module wordorder:

No change.

module conjp:

No change.

flattenconjp:

No change.

fixpronouns:

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

copyuptophrase:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <s>
    <np def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">
      <word posp="noun" gloss="boy"/>
    </np>
    <np def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" possessor="no.owner">
      <word posp="noun" gloss="girl"/>
    </np>
-    <np role="obj" tr="rheme" case="ACC" number="sing" possessor="no.owner">
+    <np role="obj" tr="rheme" case="ACC" number="sing" possessor="no.owner" person="1excl">
      <np type="owner_owned" number="sing">
-        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing">
+        <np number="sing" def="neither" role="owned" locus="number" possessor="3.sing" person="1excl">
          <word person="1excl" number="sing" posp="pron" gloss="1excl.sing"/>
        </np>
-        <np role="owner" number="sing" case="GEN" possessor="no.owner">
+        <np role="owner" number="sing" case="GEN" possessor="no.owner" person="2">
          <subs>
-            <np number="sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner">
+            <np number="sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" person="2">
              <word person="2" number="sing" posp="pron" gloss="2.sing"/>
            </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" obj="2.sing">
              <word posp="verb" gloss="love"/>
            </vp>
          </subs>
        </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" indobj="3.sing" obj="1excl.sing">
      <word posp="verb" gloss="tell"/>
    </vp>
  </s>
</example>

prodrop:

No change.

addclitics:

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

propagateArgumentCase:

No change.

unwrapArgumentNPs:

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

unwrapOwnerOwned:

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

movedowntoword:

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

addaffixes:

No change.

flatten:

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

addvocab:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="NOM"/>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" possessor="no.owner"/>
-    <thingy type="npnumber" function="enclitic" gloss="sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="DAT"/>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" possessor="3.sing" case="ACC" tr="rheme"/>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing"/>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PRES"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpobj" function="enclitic" gloss="2.sing"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner"/>
-    <thingy type="npcase" function="enclitic" gloss="ACC"/>
-    <word posp="verb" gloss="tell" negation="POS" question="not.Q" tense="past" asp="action" mode="indicative" voice="active" ta="PAST" subj="3.sing" indobj="3.sing" obj="1excl.sing"/>
-    <thingy type="vpta" function="enclitic" gloss="PAST"/>
-    <thingy type="vpmode" function="enclitic" gloss="indicative"/>
-    <thingy type="vpvoice" function="enclitic" gloss="active"/>
-    <thingy type="vpnegation" function="enclitic" gloss="POS"/>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing"/>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing"/>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m e w">mew</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" possessor="no.owner" ph="k u &#x261;">kuɡ</word>
+    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="DAT" ph="c i w">ciw</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" possessor="3.sing" case="ACC" tr="rheme" ph="l u n">lun</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="l i s">lis</word>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="p i c">pic</word>
+    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ" ph="l o n">lon</thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="m e l">mel</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
+    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
+    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
+    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
+    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
  </flat>
</example>

vowelharmony:

No change.

removetags:

<example id="quot1" translation="The boy told the girl that he loved her.">
  <flat>
-    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner" ph="m e w">mew</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="NOM" ph=""></thingy>
-    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" possessor="no.owner" ph="k u &#x261;">kuɡ</word>
-    <thingy type="npnumber" function="enclitic" gloss="sing" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="DAT" ph="c i w">ciw</thingy>
-    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" possessor="3.sing" case="ACC" tr="rheme" ph="l u n">lun</word>
-    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS" ph="t &#xE6; h">tæh</thingy>
-    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner" ph="l i s">lis</word>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</thingy>
-    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing" ph="p i c">pic</word>
-    <thingy type="vpta" function="enclitic" gloss="PRES" ph=""></thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ" ph="l o n">lon</thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="nppossessor" function="enclitic" gloss="no.owner.POSS" ph=""></thingy>
-    <thingy type="npcase" function="enclitic" gloss="ACC" ph="t i &#x292;">tiʒ</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="m e l">mel</word>
-    <thingy type="vpta" function="enclitic" gloss="PAST" ph="&#x292; &#xE6; c">ʒæc</thingy>
-    <thingy type="vpmode" function="enclitic" gloss="indicative" ph=""></thingy>
-    <thingy type="vpvoice" function="enclitic" gloss="active" ph=""></thingy>
-    <thingy type="vpnegation" function="enclitic" gloss="POS" ph=""></thingy>
-    <thingy type="vpsubj" function="enclitic" gloss="3.sing.SUBJ" ph=""></thingy>
-    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ" ph="t &#x251; n">tɑn</thingy>
+    <word posp="noun" gloss="boy" def="def" number="sing" tr="theme" role="subj" locus="number" case="NOM" possessor="no.owner">mew</word>
+    <word posp="noun" gloss="girl" def="def" number="sing" tr="theme" role="indobj" locus="number" case="DAT" possessor="no.owner">kuɡ</word>
+    <thingy type="npcase" function="enclitic" gloss="DAT">ciw</thingy>
+    <word person="1excl" number="sing" posp="pron" gloss="1excl.sing" def="neither" role="owned" locus="number" possessor="3.sing" case="ACC" tr="rheme">lun</word>
+    <thingy type="nppossessor" function="enclitic" gloss="3.sing.POSS">tæh</thingy>
+    <word person="2" number="sing" posp="pron" gloss="2.sing" def="neither" role="obj" locus="number" case="ACC" possessor="no.owner">lis</word>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</thingy>
+    <word posp="verb" gloss="love" negation="POS" question="not.Q" tense="gnomic" asp="imperfective" mode="indicative" voice="active" ta="PRES" obj="2.sing">pic</word>
+    <thingy type="vpobj" function="enclitic" gloss="2.sing.OBJ">lon</thingy>
+    <thingy type="npcase" function="enclitic" gloss="ACC">tiʒ</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">mel</word>
+    <thingy type="vpta" function="enclitic" gloss="PAST">ʒæc</thingy>
+    <thingy type="vpobj" function="enclitic" gloss="1excl.sing.OBJ">tɑn</thingy>
  </flat>
+  <p>&lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mew&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;kuɡ&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;ciw&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;DAT&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lun&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tæh&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;3.sing.&lt;span class="glssc"&gt;POSS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;lis&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;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;pic&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;lon&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;2.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tiʒ&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;ACC&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;mel&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;ʒæc&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;&lt;span class="glssc"&gt;PAST&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span class="ilpair"&gt;&lt;span class="mor"&gt;tɑn&lt;/span&gt;&lt;br&gt;&lt;span class="gls"&gt;1excl.sing.&lt;span class="glssc"&gt;OBJ&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;</p>
+  <p>mew kuɡ ciw lun tæh lis tiʒ pic lon tiʒ mel ʒæc tɑn</p>
+  <p>mew kug tyiw lun täh lis tizh pity lon tizh mel zhäty tan</p>
+  <il>
+    <w>
+      <o>mew</o>
+      <g>boy</g>
+    </w>
+    <w>
+      <o>kuɡ</o>
+      <g>girl</g>
+    </w>
+    <w>
+      <o>ciw</o>
+      <g>DAT</g>
+    </w>
+    <w>
+      <o>lun</o>
+      <g>1excl.sing</g>
+    </w>
+    <w>
+      <o>tæh</o>
+      <g>3.sing.POSS</g>
+    </w>
+    <w>
+      <o>lis</o>
+      <g>2.sing</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>pic</o>
+      <g>love</g>
+    </w>
+    <w>
+      <o>lon</o>
+      <g>2.sing.OBJ</g>
+    </w>
+    <w>
+      <o>tiʒ</o>
+      <g>ACC</g>
+    </w>
+    <w>
+      <o>mel</o>
+      <g>tell</g>
+    </w>
+    <w>
+      <o>ʒæc</o>
+      <g>PAST</g>
+    </w>
+    <w>
+      <o>tɑn</o>
+      <g>1excl.sing.OBJ</g>
+    </w>
+  </il>
</example>